/external/skia/tests/ |
D | GrGLSLPrettyPrintTest.cpp | 91 SkTArray<int> lengths; in DEF_TEST() local 93 lengths.push_back((int)input1.size()); in DEF_TEST() 95 lengths.push_back((int)input2.size()); in DEF_TEST() 97 lengths.push_back((int)input3.size()); in DEF_TEST() 99 lengths.push_back((int)input4.size()); in DEF_TEST() 101 lengths.push_back((int)input5.size()); in DEF_TEST() 103 lengths.push_back((int)input6.size()); in DEF_TEST() 105 SkString test = GrGLSLPrettyPrint::PrettyPrintGLSL(testStr.begin(), lengths.begin(), in DEF_TEST() 110 lengths.reset(); in DEF_TEST() 112 lengths.push_back((int)neg1.size()); in DEF_TEST() [all …]
|
/external/toybox/toys/posix/ |
D | wc.c | 34 static void show_lengths(unsigned long *lengths, char *name) 39 xprintf(" %ld"+nospace, lengths[i]); 42 TT.totals[i] += lengths[i]; 51 unsigned long word=0, lengths[]={0,0,0}; in do_wc() local 71 if (toybuf[i]==10) lengths[0]++; in do_wc() 74 if (!word) lengths[1]++; in do_wc() 77 lengths[2]++; in do_wc() 81 show_lengths(lengths, name); in do_wc()
|
/external/zlib/src/contrib/puff/ |
D | puff.c | 546 short lengths[FIXLCODES]; in fixed() local 556 lengths[symbol] = 8; in fixed() 558 lengths[symbol] = 9; in fixed() 560 lengths[symbol] = 7; in fixed() 562 lengths[symbol] = 8; in fixed() 563 construct(&lencode, lengths, FIXLCODES); in fixed() 567 lengths[symbol] = 5; in fixed() 568 construct(&distcode, lengths, MAXDCODES); in fixed() 670 short lengths[MAXCODES]; /* descriptor code lengths */ in dynamic() local 692 lengths[order[index]] = bits(s, 3); in dynamic() [all …]
|
/external/mesa3d/src/mesa/math/ |
D | m_norm_tmp.h | 46 const GLfloat *lengths, in TAG() 59 if (!lengths) { in TAG() 98 GLfloat len = lengths[i]; in TAG() 113 const GLfloat *lengths, in TAG() 126 if (!lengths) { in TAG() 163 GLfloat len = lengths[i]; in TAG() 178 const GLfloat *lengths, in TAG() 191 (void) lengths; in TAG() 207 const GLfloat *lengths, in TAG() 223 (void) lengths; in TAG() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DictionaryBreakEngine.java | 24 private int lengths[]; field in DictionaryBreakEngine.PossibleWord 33 lengths = new int[POSSIBLE_WORD_LIST_MAX]; in PossibleWord() 43 prefix = dict.matches(fIter, rangeEnd - start, lengths, count, lengths.length); in candidates() 50 fIter.setIndex(start + lengths[count[0]-1]); in candidates() 59 fIter.setIndex(offset + lengths[mark]); in acceptMarked() 60 return lengths[mark]; in acceptMarked() 67 fIter.setIndex(offset + lengths[--current]); in backUp()
|
D | DictionaryMatcher.java | 28 public abstract int matches(CharacterIterator text, int maxLength, int[] lengths, in matches() argument 31 public int matches(CharacterIterator text, int maxLength, int[] lengths, in matches() argument 33 return matches(text, maxLength, lengths, count, limit, null); in matches()
|
D | CjkBreakEngine.java | 142 int lengths[] = new int[numChars]; in divideUpDictionaryRange() local 153 fDictionary.matches(text, maxSearchLength, lengths, count_, maxSearchLength, values); in divideUpDictionaryRange() 161 …if ((count == 0 || lengths[0] != 1) && current32(text) != DONE32 && !fHangulWordSet.contains(curre… in divideUpDictionaryRange() 163 lengths[count] = 1; in divideUpDictionaryRange() 169 if (newSnlp < bestSnlp[lengths[j] + i]) { in divideUpDictionaryRange() 170 bestSnlp[lengths[j] + i] = newSnlp; in divideUpDictionaryRange() 171 prev[lengths[j] + i] = i; in divideUpDictionaryRange()
|
/external/skia/src/gpu/gl/builders/ |
D | GrGLShaderStringBuilder.cpp | 24 int* lengths, in GrGLCompileAndAttachShader() argument 36 SkString prettySource = GrGLSLPrettyPrint::PrettyPrintGLSL(strings, lengths, count, false); in GrGLCompileAndAttachShader() 41 GR_GL_CALL(gli, ShaderSource(shaderId, count, strings, lengths)); in GrGLCompileAndAttachShader() 48 SkString shader = GrGLSLPrettyPrint::PrettyPrintGLSL(strings, lengths, count, false); in GrGLCompileAndAttachShader() 74 … SkDebugf("%s", GrGLSLPrettyPrint::PrettyPrintGLSL(strings, lengths, count, true).c_str()); in GrGLCompileAndAttachShader() 84 SkDebugf("%s", GrGLSLPrettyPrint::PrettyPrintGLSL(strings, lengths, count, true).c_str()); in GrGLCompileAndAttachShader()
|
D | GrGLSLPrettyPrint.cpp | 16 int* lengths, in prettify() argument 36 fLength = lengths[i]; in prettify() 197 int* lengths, in PrettyPrintGLSL() argument 201 return pp.prettify(strings, lengths, count, countlines); in PrettyPrintGLSL()
|
/external/libvncserver/webclients/novnc/include/ |
D | jsunzip.js | 303 this.build_tree = function(t, lengths, loffset, num) argument 312 for (i = 0; i < num; ++i) t.table[lengths[loffset + i]]++; 326 if (lengths[loffset + i]) t.trans[offs[lengths[loffset + i]]++] = i; 400 var lengths = new Array(288+32); 413 for (i = 0; i < 19; ++i) lengths[i] = 0; 421 lengths[this.clcidx[i]] = clen; 425 this.build_tree(code_tree, lengths, 0, 19); 437 var prev = lengths[num - 1]; 440 lengths[num++] = prev; 448 lengths[num++] = 0; [all …]
|
/external/marisa-trie/tests/ |
D | trie-test.cc | 139 std::vector<std::size_t> lengths; in TestTrie() local 140 ASSERT(trie.find("Baddie", &ids, &lengths) == 1); in TestTrie() 143 ASSERT(lengths.size() == 1); in TestTrie() 144 ASSERT(lengths[0] == 3); in TestTrie() 146 ASSERT(trie.find_callback("anderson", FindCallback(&ids, &lengths)) == 1); in TestTrie() 149 ASSERT(lengths.size() == 2); in TestTrie() 150 ASSERT(lengths[1] == 3); in TestTrie() 337 std::vector<std::size_t> lengths; in TestPrefixTrie() local 338 ASSERT(trie.find("card", &ids, &lengths) == 1); in TestPrefixTrie() 341 ASSERT(lengths.size() == 1); in TestPrefixTrie() [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | DiskLruCache.java | 361 size += entry.lengths[t]; in processJournal() 541 long oldLength = entry.lengths[i]; in completeEdit() 543 entry.lengths[i] = newLength; in completeEdit() 609 size -= entry.lengths[i]; in removeEntry() 610 entry.lengths[i] = 0; in removeEntry() 771 private final long[] lengths; field in Snapshot 773 private Snapshot(String key, long sequenceNumber, Source[] sources, long[] lengths) { in Snapshot() argument 777 this.lengths = lengths; in Snapshot() 800 return lengths[index]; in getLength() 932 private final long[] lengths; [all …]
|
/external/marisa-trie/v0_1_5/tests/ |
D | trie-test.cc | 141 std::vector<std::size_t> lengths; in TestTrie() local 142 ASSERT(trie.find("Baddie", &ids, &lengths) == 1); in TestTrie() 145 ASSERT(lengths.size() == 1); in TestTrie() 146 ASSERT(lengths[0] == 3); in TestTrie() 148 ASSERT(trie.find_callback("anderson", FindCallback(&ids, &lengths)) == 1); in TestTrie() 151 ASSERT(lengths.size() == 2); in TestTrie() 152 ASSERT(lengths[1] == 3); in TestTrie() 339 std::vector<std::size_t> lengths; in TestPrefixTrie() local 340 ASSERT(trie.find("card", &ids, &lengths) == 1); in TestPrefixTrie() 343 ASSERT(lengths.size() == 1); in TestPrefixTrie() [all …]
|
/external/mesa3d/src/gallium/state_trackers/clover/api/ |
D | program.cpp | 30 const char **strings, const size_t *lengths, in clCreateProgramWithSource() argument 43 source += (lengths && lengths[i] ? in clCreateProgramWithSource() 44 std::string(strings[i], strings[i] + lengths[i]) : in clCreateProgramWithSource() 58 const cl_device_id *devs, const size_t *lengths, in clCreateProgramWithBinary() argument 64 if (!count || !devs || !lengths || !binaries) in clCreateProgramWithBinary() 88 binaries, binaries + count, lengths); in clCreateProgramWithBinary()
|
/external/zopfli/src/zopfli/ |
D | tree.c | 30 void ZopfliLengthsToSymbols(const unsigned* lengths, size_t n, unsigned maxbits, in ZopfliLengthsToSymbols() argument 47 assert(lengths[i] <= maxbits); in ZopfliLengthsToSymbols() 48 bl_count[lengths[i]]++; in ZopfliLengthsToSymbols() 60 unsigned len = lengths[i]; in ZopfliLengthsToSymbols()
|
/external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/ |
D | DiskLruCache.java | 330 size += entry.lengths[t]; in processJournal() 433 return new Value(key, entry.sequenceNumber, entry.cleanFiles, entry.lengths); in get() 527 long oldLength = entry.lengths[i]; in completeEdit() 529 entry.lengths[i] = newLength; in completeEdit() 592 size -= entry.lengths[i]; in remove() 593 entry.lengths[i] = 0; in remove() 669 private final long[] lengths; field in DiskLruCache.Value 672 private Value(String key, long sequenceNumber, File[] files, long[] lengths) { in Value() argument 676 this.lengths = lengths; in Value() 700 return lengths[index]; in getLength() [all …]
|
/external/toybox/toys/other/ |
D | vmstat.c | 81 "sy\0id\0wa", lengths[] = {2,2,6,6,6,6,4,4,5,5,4,4,2,2,2,2}; in vmstat_main() local 101 for (i=0; i<sizeof(lengths); i++) { in vmstat_main() 102 printf(" %*s"+!i, lengths[i], headers); in vmstat_main() 133 for (i=0; i<sizeof(lengths); i++) { in vmstat_main() 145 expected += lengths[i] + !!i; in vmstat_main()
|
/external/mesa3d/src/mesa/tnl/ |
D | t_vb_normals.c | 54 const GLfloat *lengths; in run_normal_stage() local 63 lengths = NULL; in run_normal_stage() 65 lengths = VB->NormalLengthPtr; in run_normal_stage() 70 lengths, in run_normal_stage()
|
/external/icu/icu4c/source/test/perf/dicttrieperf/ |
D | dicttrieperf.cpp | 347 int32_t *lengths, int &count, int limit ) { in ucharsTrieMatches() argument 364 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too. in ucharsTrieMatches() 440 int32_t lengths[20]; in call() local 451 lengths, count, UPRV_LENGTHOF(lengths)); in call() 452 if(count==0 || lengths[count-1]!=lines[i].len) { in call() 546 int32_t *lengths, int &count, int limit ) { in bytesTrieMatches() argument 558 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too. in bytesTrieMatches() 589 int32_t lengths[20]; in call() local 600 lengths, count, UPRV_LENGTHOF(lengths)); in call() 601 if(count==0 || lengths[count-1]!=lines[i].len) { in call()
|
/external/icu/icu4c/source/common/ |
D | dictionarydata.cpp | 44 int32_t *lengths, int32_t *cpLengths, int32_t *values, in matches() argument 61 if (lengths != NULL) { in matches() 62 lengths[wordCount] = lengthMatched; in matches() 112 int32_t *lengths, int32_t *cpLengths, int32_t *values, in matches() argument 128 if (lengths != NULL) { in matches() 129 lengths[wordCount] = lengthMatched; in matches()
|
D | dictionarydata.h | 92 int32_t *lengths, int32_t *cpLengths, int32_t *values, 107 int32_t *lengths, int32_t *cpLengths, int32_t *values, 125 int32_t *lengths, int32_t *cpLengths, int32_t *values,
|
/external/libvorbis/vq/ |
D | latticetune.c | 42 long *lengths; in main() local 85 lengths=_ogg_calloc(entries,sizeof(long)); in main() 133 build_tree_from_lengths0(entries,hits,lengths); in main() 135 c->lengthlist=lengths; in main()
|
/external/marisa-trie/tools/ |
D | marisa-find.cc | 41 static std::vector<std::size_t> lengths; in find_all() local 42 const std::size_t num_keys = trie.find(str, &key_ids, &lengths); in find_all() 47 std::cout.write(str.c_str(), lengths[i]) << '\t' << str << '\n'; in find_all() 53 lengths.clear(); in find_all()
|
/external/marisa-trie/v0_1_5/tools/ |
D | marisa_alpha-find.cc | 41 static std::vector<std::size_t> lengths; in find_all() local 42 const std::size_t num_keys = trie.find(str, &key_ids, &lengths); in find_all() 47 std::cout.write(str.c_str(), lengths[i]) << '\t' << str << '\n'; in find_all() 53 lengths.clear(); in find_all()
|
/external/v8/test/mjsunit/ |
D | string-indexof-1.js | 116 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];
|