Searched defs:lengths (Results 1 - 25 of 56) sorted by relevance

123

/external/chromium_org/v8/test/mjsunit/
H A Dstring-indexof-1.js116 var lengths = [1, 4, 15]; // Single char, simple and complex. variable
118 for (var lengthIndex = 0; lengthIndex < lengths.length; lengthIndex++) {
119 var length = lengths[lengthIndex];
/external/v8/test/mjsunit/
H A Dstring-indexof-1.js116 var lengths = [1, 4, 15]; // Single char, simple and complex. variable
118 for (var lengthIndex = 0; lengthIndex < lengths.length; lengthIndex++) {
119 var length = lengths[lengthIndex];
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/
H A Dt_vb_normals.c54 const GLfloat *lengths; local
59 /* We can only use the display list's saved normal lengths if we've
63 lengths = NULL;
65 lengths = VB->NormalLengthPtr;
70 lengths,
/external/mesa3d/src/mesa/tnl/
H A Dt_vb_normals.c54 const GLfloat *lengths; local
59 /* We can only use the display list's saved normal lengths if we've
63 lengths = NULL;
65 lengths = VB->NormalLengthPtr;
70 lengths,
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/geocoding/
H A Darea_code_map.cc54 const int* const lengths = storage_->GetPossibleLengths(); local
59 const int possible_length = lengths[lengths_index];
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/api/
H A Dprogram.cpp30 const char **strings, const size_t *lengths,
43 source += (lengths && lengths[i] ?
44 std::string(strings[i], strings[i] + lengths[i]) :
58 const cl_device_id *devs, const size_t *lengths,
64 if (!count || !devs || !lengths || !binaries)
88 binaries, binaries + count, lengths);
29 clCreateProgramWithSource(cl_context ctx, cl_uint count, const char **strings, const size_t *lengths, cl_int *errcode_ret) argument
57 clCreateProgramWithBinary(cl_context ctx, cl_uint count, const cl_device_id *devs, const size_t *lengths, const unsigned char **binaries, cl_int *status_ret, cl_int *errcode_ret) argument
/external/chromium_org/third_party/skia/src/animator/
H A DSkGetCondensedInfo.cpp22 static int _searchByName(const unsigned char* lengths, int count, const char* strings, const char target[]) { argument
27 if (strcmp(&strings[lengths[mid << 2]], target) < 0)
32 if (strcmp(&strings[lengths[hi << 2]], target) != 0)
/external/marisa-trie/tests/
H A Dtrie-test.cc139 std::vector<std::size_t> lengths; local
140 ASSERT(trie.find("Baddie", &ids, &lengths) == 1);
143 ASSERT(lengths.size() == 1);
144 ASSERT(lengths[0] == 3);
146 ASSERT(trie.find_callback("anderson", FindCallback(&ids, &lengths)) == 1);
149 ASSERT(lengths.size() == 2);
150 ASSERT(lengths[1] == 3);
337 std::vector<std::size_t> lengths; local
338 ASSERT(trie.find("card", &ids, &lengths) == 1);
341 ASSERT(lengths
375 std::size_t lengths[10]; local
539 std::vector<std::size_t> lengths; local
[all...]
/external/mesa3d/src/gallium/state_trackers/clover/api/
H A Dprogram.cpp30 const char **strings, const size_t *lengths,
43 source += (lengths && lengths[i] ?
44 std::string(strings[i], strings[i] + lengths[i]) :
58 const cl_device_id *devs, const size_t *lengths,
64 if (!count || !devs || !lengths || !binaries)
88 binaries, binaries + count, lengths);
29 clCreateProgramWithSource(cl_context ctx, cl_uint count, const char **strings, const size_t *lengths, cl_int *errcode_ret) argument
57 clCreateProgramWithBinary(cl_context ctx, cl_uint count, const cl_device_id *devs, const size_t *lengths, const unsigned char **binaries, cl_int *status_ret, cl_int *errcode_ret) argument
/external/skia/src/animator/
H A DSkGetCondensedInfo.cpp22 static int _searchByName(const unsigned char* lengths, int count, const char* strings, const char target[]) { argument
27 if (strcmp(&strings[lengths[mid << 2]], target) < 0)
32 if (strcmp(&strings[lengths[hi << 2]], target) != 0)
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DStyleRareInheritedData.cpp42 Length lengths[1]; member in struct:WebCore::SameSizeAsStyleRareInheritedData
/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DTextCodecUTF8.cpp68 static const uint8_t lengths[256] = { local
86 return lengths[firstByte];
/external/chromium_org/third_party/mesa/src/src/mesa/math/
H A Dm_norm_tmp.h38 * lengths - length of each incoming normal (may be NULL) (a display list
46 const GLfloat *lengths,
59 if (!lengths) {
98 GLfloat len = lengths[i];
113 const GLfloat *lengths,
126 if (!lengths) {
163 GLfloat len = lengths[i];
178 const GLfloat *lengths,
191 (void) lengths;
207 const GLfloat *lengths,
43 transform_normalize_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
110 transform_normalize_normals_no_rot( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
175 transform_rescale_normals_no_rot( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
204 transform_rescale_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
236 transform_normals_no_rot( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
266 transform_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
296 normalize_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
342 rescale_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
[all...]
H A Dm_debug_norm.c126 const GLfloat *lengths,
134 (void) lengths;
149 const GLfloat *lengths,
162 if ( !lengths ) {
174 scale = lengths[i];;
123 ref_norm_transform_rescale( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
146 ref_norm_transform_normalize( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
/external/icu4c/common/
H A Ddictionarydata.cpp38 int32_t UCharsDictionaryMatcher::matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count, int32_t limit, int32_t *values) const { argument
53 lengths[count++] = numChars;
102 int32_t BytesDictionaryMatcher::matches(UText *text, int32_t maxLength, int32_t *lengths, int32_t &count, int32_t limit, int32_t *values) const { argument
117 lengths[count++] = numChars;
/external/libvorbis/vq/
H A Dhuffbuild.c131 long *lengths=_ogg_calloc(vals,sizeof(long)); local
149 build_tree_from_lengths0(vals,hist,lengths);
169 fprintf(file,"%2ld,",lengths[j]);
H A Dlatticetune.c31 LSP fitting, then generates new codeword lengths for maximally
42 long *lengths; local
85 lengths=_ogg_calloc(entries,sizeof(long));
132 /* build the codeword lengths */
133 build_tree_from_lengths0(entries,hits,lengths);
135 c->lengthlist=lengths;
/external/marisa-trie/tools/
H A Dmarisa-find.cc41 static std::vector<std::size_t> lengths; local
42 const std::size_t num_keys = trie.find(str, &key_ids, &lengths);
47 std::cout.write(str.c_str(), lengths[i]) << '\t' << str << '\n';
53 lengths.clear();
/external/marisa-trie/v0_1_5/tests/
H A Dtrie-test.cc141 std::vector<std::size_t> lengths; local
142 ASSERT(trie.find("Baddie", &ids, &lengths) == 1);
145 ASSERT(lengths.size() == 1);
146 ASSERT(lengths[0] == 3);
148 ASSERT(trie.find_callback("anderson", FindCallback(&ids, &lengths)) == 1);
151 ASSERT(lengths.size() == 2);
152 ASSERT(lengths[1] == 3);
339 std::vector<std::size_t> lengths; local
340 ASSERT(trie.find("card", &ids, &lengths) == 1);
343 ASSERT(lengths
377 std::size_t lengths[10]; local
557 std::vector<std::size_t> lengths; local
[all...]
/external/marisa-trie/v0_1_5/tools/
H A Dmarisa_alpha-find.cc41 static std::vector<std::size_t> lengths; local
42 const std::size_t num_keys = trie.find(str, &key_ids, &lengths);
47 std::cout.write(str.c_str(), lengths[i]) << '\t' << str << '\n';
53 lengths.clear();
/external/mesa3d/src/mesa/math/
H A Dm_norm_tmp.h38 * lengths - length of each incoming normal (may be NULL) (a display list
46 const GLfloat *lengths,
59 if (!lengths) {
98 GLfloat len = lengths[i];
113 const GLfloat *lengths,
126 if (!lengths) {
163 GLfloat len = lengths[i];
178 const GLfloat *lengths,
191 (void) lengths;
207 const GLfloat *lengths,
43 transform_normalize_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
110 transform_normalize_normals_no_rot( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
175 transform_rescale_normals_no_rot( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
204 transform_rescale_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
236 transform_normals_no_rot( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
266 transform_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
296 normalize_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
342 rescale_normals( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
[all...]
H A Dm_debug_norm.c126 const GLfloat *lengths,
134 (void) lengths;
149 const GLfloat *lengths,
162 if ( !lengths ) {
174 scale = lengths[i];;
123 ref_norm_transform_rescale( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
146 ref_norm_transform_normalize( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) argument
/external/qemu/block/
H A Ddmg.c33 * lengths[i] is the length of the compressed chunk,
42 uint64_t* lengths; member in struct:BDRVDMGState
85 s->offsets = s->lengths = s->sectors = s->sectorcounts = NULL;
132 s->lengths = qemu_realloc(s->lengths, new_size);
141 last_in_offset = s->offsets[i-1]+s->lengths[i-1];
160 s->lengths[i] = read_off(bs, offset);
163 if(s->lengths[i]>max_compressed_size)
164 max_compressed_size = s->lengths[i];
232 s->compressed_chunk+i, s->lengths[chun
[all...]
/external/tcpdump/
H A Dutil.c213 static const char *lengths[] = {"y", "w", "d", "h", "m", "s"}; local
215 const char **l = lengths;
/external/zlib/src/contrib/puff/
H A Dpuff.c52 * 1.3 20 Mar 2002 - Go back to lengths for puff() parameters [Gailly]
94 #define MAXCODES (MAXLCODES+MAXDCODES) /* maximum codes lengths to read */
213 * a negative value if there is an error. If all of the lengths are zero, i.e.
220 * a simple integer ordering of codes of the same lengths. Hence below the
309 * Given the list of code lengths length[0..n-1] representing a canonical
320 * codes past the end of the incomplete lengths.
351 (h->count[length[symbol]])++; /* assumes lengths are within bounds */
355 /* check for an over-subscribed or incomplete set of lengths */
393 * - Literals, lengths, and the end-of-block code are combined into a single
397 * - There are 256 possible lengths (
546 short lengths[FIXLCODES]; local
670 short lengths[MAXCODES]; /* descriptor code lengths */ local
[all...]

Completed in 407 milliseconds

123