Home
last modified time | relevance | path

Searched refs:lengths (Results 1 – 25 of 207) sorted by relevance

123456789

/external/skia/tests/
DGrGLSLPrettyPrintTest.cpp93 SkTArray<int> lengths; in DEF_TEST() local
95 lengths.push_back((int)input1.size()); in DEF_TEST()
97 lengths.push_back((int)input2.size()); in DEF_TEST()
99 lengths.push_back((int)input3.size()); in DEF_TEST()
101 lengths.push_back((int)input4.size()); in DEF_TEST()
103 lengths.push_back((int)input5.size()); in DEF_TEST()
105 lengths.push_back((int)input6.size()); in DEF_TEST()
107 SkString test = GrGLSLPrettyPrint::PrettyPrintGLSL(testStr.begin(), lengths.begin(), in DEF_TEST()
112 lengths.reset(); in DEF_TEST()
114 lengths.push_back((int)neg1.size()); in DEF_TEST()
[all …]
/external/toybox/toys/posix/
Dwc.c34 static void show_lengths(unsigned long *lengths, char *name)
41 printf(" %*ld"+first, space, lengths[i]);
44 TT.totals[i] += lengths[i];
53 unsigned long word = 0, lengths[] = {0,0,0,0}; in do_wc() local
61 lengths[2] = st.st_size; in do_wc()
74 if (toybuf[pos]=='\n') lengths[0]++; in do_wc()
75 lengths[2]++; in do_wc()
86 lengths[3]++; in do_wc()
93 if (!word) lengths[1]++; in do_wc()
103 show_lengths(lengths, name); in do_wc()
/external/zlib/src/contrib/puff/
Dpuff.c546 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/
Dm_norm_tmp.h46 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/
DDictionaryBreakEngine.java26 private int lengths[]; field in DictionaryBreakEngine.PossibleWord
35 lengths = new int[POSSIBLE_WORD_LIST_MAX]; in PossibleWord()
45 prefix = dict.matches(fIter, rangeEnd - start, lengths, count, lengths.length); in candidates()
52 fIter.setIndex(start + lengths[count[0]-1]); in candidates()
61 fIter.setIndex(offset + lengths[mark]); in acceptMarked()
62 return lengths[mark]; in acceptMarked()
69 fIter.setIndex(offset + lengths[--current]); in backUp()
DDictionaryMatcher.java30 public abstract int matches(CharacterIterator text, int maxLength, int[] lengths, in matches() argument
33 public int matches(CharacterIterator text, int maxLength, int[] lengths, in matches() argument
35 return matches(text, maxLength, lengths, count, limit, null); in matches()
DCjkBreakEngine.java146 int lengths[] = new int[numChars]; in divideUpDictionaryRange() local
157 fDictionary.matches(text, maxSearchLength, lengths, count_, maxSearchLength, values); in divideUpDictionaryRange()
166 …if ((count == 0 || lengths[0] != 1) && current32(text) != DONE32 && !fHangulWordSet.contains(curre… in divideUpDictionaryRange()
168 lengths[count] = 1; in divideUpDictionaryRange()
174 if (newSnlp < bestSnlp[lengths[j] + i]) { in divideUpDictionaryRange()
175 bestSnlp[lengths[j] + i] = newSnlp; in divideUpDictionaryRange()
176 prev[lengths[j] + i] = i; in divideUpDictionaryRange()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDictionaryBreakEngine.java27 private int lengths[]; field in DictionaryBreakEngine.PossibleWord
36 lengths = new int[POSSIBLE_WORD_LIST_MAX]; in PossibleWord()
46 prefix = dict.matches(fIter, rangeEnd - start, lengths, count, lengths.length); in candidates()
53 fIter.setIndex(start + lengths[count[0]-1]); in candidates()
62 fIter.setIndex(offset + lengths[mark]); in acceptMarked()
63 return lengths[mark]; in acceptMarked()
70 fIter.setIndex(offset + lengths[--current]); in backUp()
DDictionaryMatcher.java31 public abstract int matches(CharacterIterator text, int maxLength, int[] lengths, in matches() argument
34 public int matches(CharacterIterator text, int maxLength, int[] lengths, in matches() argument
36 return matches(text, maxLength, lengths, count, limit, null); in matches()
DCjkBreakEngine.java147 int lengths[] = new int[numChars]; in divideUpDictionaryRange() local
158 fDictionary.matches(text, maxSearchLength, lengths, count_, maxSearchLength, values); in divideUpDictionaryRange()
167 …if ((count == 0 || lengths[0] != 1) && current32(text) != DONE32 && !fHangulWordSet.contains(curre… in divideUpDictionaryRange()
169 lengths[count] = 1; in divideUpDictionaryRange()
175 if (newSnlp < bestSnlp[lengths[j] + i]) { in divideUpDictionaryRange()
176 bestSnlp[lengths[j] + i] = newSnlp; in divideUpDictionaryRange()
177 prev[lengths[j] + i] = i; in divideUpDictionaryRange()
/external/libvncserver/webclients/novnc/include/
Djsunzip.js303 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;
408 var lengths = new Array(288+32);
421 for (i = 0; i < 19; ++i) lengths[i] = 0;
429 lengths[this.clcidx[i]] = clen;
433 this.build_tree(code_tree, lengths, 0, 19);
445 var prev = lengths[num - 1];
448 lengths[num++] = prev;
456 lengths[num++] = 0;
[all …]
/external/syslinux/gpxe/src/include/gpxe/
Discsi.h75 union iscsi_segment_lengths lengths; member
105 union iscsi_segment_lengths lengths; member
134 union iscsi_segment_lengths lengths; member
200 union iscsi_segment_lengths lengths; member
250 union iscsi_segment_lengths lengths; member
295 union iscsi_segment_lengths lengths; member
345 union iscsi_segment_lengths lengths; member
393 union iscsi_segment_lengths lengths; member
429 union iscsi_segment_lengths lengths; member
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DDiskLruCache.java360 size += entry.lengths[t]; in processJournal()
540 long oldLength = entry.lengths[i]; in completeEdit()
542 entry.lengths[i] = newLength; in completeEdit()
608 size -= entry.lengths[i]; in removeEntry()
609 entry.lengths[i] = 0; in removeEntry()
770 private final long[] lengths; field in Snapshot
772 private Snapshot(String key, long sequenceNumber, Source[] sources, long[] lengths) { in Snapshot() argument
776 this.lengths = lengths; in Snapshot()
799 return lengths[index]; in getLength()
958 private final long[] lengths;
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/api/
Dprogram.cpp30 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/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/
DDiskLruCache.java330 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/zopfli/src/zopfli/
Dtree.c30 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/toybox/toys/other/
Dvmstat.c83 "sy\0id\0wa", lengths[] = {2,2,6,6,6,6,4,4,5,5,4,4,2,2,2,2}; in vmstat_main() local
104 for (i=0; i<sizeof(lengths); i++) { in vmstat_main()
105 printf(" %*s"+!i, lengths[i], header); in vmstat_main()
136 for (i=0; i<sizeof(lengths); i++) { in vmstat_main()
149 expected += lengths[i] + !!i; in vmstat_main()
/external/skia/src/gpu/gl/builders/
DGrGLSLPrettyPrint.cpp16 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()
DGrGLShaderStringBuilder.cpp29 int* lengths, in GrGLCompileAndAttachShader() argument
44 sksl = GrGLSLPrettyPrint::PrettyPrintGLSL(strings, lengths, count, false); in GrGLCompileAndAttachShader()
47 sksl.append(strings[i], lengths[i]); in GrGLCompileAndAttachShader()
82 SkString shader = GrGLSLPrettyPrint::PrettyPrintGLSL(strings, lengths, count, false); in GrGLCompileAndAttachShader()
/external/icu/icu4c/source/test/perf/dicttrieperf/
Ddicttrieperf.cpp351 int32_t *lengths, int &count, int limit ) { in ucharsTrieMatches() argument
368 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too. in ucharsTrieMatches()
444 int32_t lengths[20]; in call() local
455 lengths, count, UPRV_LENGTHOF(lengths)); in call()
456 if(count==0 || lengths[count-1]!=lines[i].len) { in call()
550 int32_t *lengths, int &count, int limit ) { in bytesTrieMatches() argument
562 lengths[count++]=numChars; // CompactTrieDictionary just counts chars too. in bytesTrieMatches()
593 int32_t lengths[20]; in call() local
604 lengths, count, UPRV_LENGTHOF(lengths)); in call()
605 if(count==0 || lengths[count-1]!=lines[i].len) { in call()
/external/mesa3d/src/mesa/tnl/
Dt_vb_normals.c54 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/common/
Ddictionarydata.cpp46 int32_t *lengths, int32_t *cpLengths, int32_t *values, in matches() argument
63 if (lengths != NULL) { in matches()
64 lengths[wordCount] = lengthMatched; in matches()
114 int32_t *lengths, int32_t *cpLengths, int32_t *values, in matches() argument
130 if (lengths != NULL) { in matches()
131 lengths[wordCount] = lengthMatched; in matches()
/external/libvorbis/vq/
Dlatticetune.c42 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/icu/tools/
DZoneCompactor.java37 private Map<String,Integer> lengths = new HashMap<String,Integer>(); field in ZoneCompactor
80 lengths.put(s, (int) length); in ZoneCompactor()
96 lengths.put(from, lengths.get(to)); in ZoneCompactor()
143 f.writeInt(lengths.get(actualZoneName)); in ZoneCompactor()
/external/skia/src/utils/
DSkCurveMeasure.cpp160 Sk8f lengths = evaluateDerivativeLength(absc*t, xCoeff, yCoeff, fSegType); in computeLength() local
161 lengths = weights*lengths; in computeLength()
163 lengths = lengths*(t*0.5f); in computeLength()
167 length += lengths[i]; in computeLength()

123456789