Home
last modified time | relevance | path

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

12345678

/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/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/
Dshadow-handler.js20 lengths: [], property
31 shadow.lengths.push(result[0]);
54 while (left.lengths.length < Math.max(left.lengths.length, right.lengths.length))
55 left.lengths.push({px: 0});
56 while (right.lengths.length < Math.max(left.lengths.length, right.lengths.length))
57 right.lengths.push({px: 0});
66 for (var i = 0; i < left.lengths.length; i++) {
67 var mergedDimensions = scope.mergeDimensions(left.lengths[i], right.lengths[i], i == 2);
94 return {inset: inset, color: [0, 0, 0, 0], lengths: [{px: 0}, {px: 0}, {px: 0}, {px: 0}]};
/external/toybox/toys/posix/
Dwc.c34 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
58 lengths[2] = st.st_size; in do_wc()
68 lengths[2] += len; in do_wc()
85 if (toybuf[i]==10) lengths[0]++; in do_wc()
88 if (!word) lengths[1]++; in do_wc()
91 lengths[2]++; in do_wc()
96 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.java24 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()
DDictionaryMatcher.java28 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()
DCjkBreakEngine.java142 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/icu/android_icu4j/src/main/java/android/icu/text/
DDictionaryBreakEngine.java25 private int lengths[]; field in DictionaryBreakEngine.PossibleWord
34 lengths = new int[POSSIBLE_WORD_LIST_MAX]; in PossibleWord()
44 prefix = dict.matches(fIter, rangeEnd - start, lengths, count, lengths.length); in candidates()
51 fIter.setIndex(start + lengths[count[0]-1]); in candidates()
60 fIter.setIndex(offset + lengths[mark]); in acceptMarked()
61 return lengths[mark]; in acceptMarked()
68 fIter.setIndex(offset + lengths[--current]); in backUp()
DDictionaryMatcher.java29 public abstract int matches(CharacterIterator text, int maxLength, int[] lengths, in matches() argument
32 public int matches(CharacterIterator text, int maxLength, int[] lengths, in matches() argument
34 return matches(text, maxLength, lengths, count, limit, null); in matches()
DCjkBreakEngine.java143 int lengths[] = new int[numChars]; in divideUpDictionaryRange() local
154 fDictionary.matches(text, maxSearchLength, lengths, count_, maxSearchLength, values); in divideUpDictionaryRange()
162 …if ((count == 0 || lengths[0] != 1) && current32(text) != DONE32 && !fHangulWordSet.contains(curre… in divideUpDictionaryRange()
164 lengths[count] = 1; in divideUpDictionaryRange()
170 if (newSnlp < bestSnlp[lengths[j] + i]) { in divideUpDictionaryRange()
171 bestSnlp[lengths[j] + i] = newSnlp; in divideUpDictionaryRange()
172 prev[lengths[j] + i] = i; in divideUpDictionaryRange()
/external/skia/src/gpu/gl/builders/
DGrGLShaderStringBuilder.cpp24 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()
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()
/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/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()
931 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/opencv3/modules/calib3d/src/
Dp3p.cpp129 double lengths[4][3]; in solve() local
130 int n = solve_for_lengths(lengths, distances, cosines); in solve()
136 M_orig[0][0] = lengths[i][0] * mu0; in solve()
137 M_orig[0][1] = lengths[i][0] * mv0; in solve()
138 M_orig[0][2] = lengths[i][0] * mk0; in solve()
140 M_orig[1][0] = lengths[i][1] * mu1; in solve()
141 M_orig[1][1] = lengths[i][1] * mv1; in solve()
142 M_orig[1][2] = lengths[i][1] * mk1; in solve()
144 M_orig[2][0] = lengths[i][2] * mu2; in solve()
145 M_orig[2][1] = lengths[i][2] * mv2; in solve()
[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/autotest/client/cros/audio/
Daudio_data.py129 lengths = [len(self.channel_data[ch])
131 if len(set(lengths)) != 1:
133 'Channel lengths are not the same: %r' % lengths)
134 length = lengths[0]
/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/icu/icu4c/source/test/perf/dicttrieperf/
Ddicttrieperf.cpp347 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/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.cpp44 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()
/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()

12345678