Home
last modified time | relevance | path

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

12345678910>>...17

/external/u-boot/fs/jffs2/
Dmini_inflate.c39 stream->codes.lengths = stream->code_lengths; in init_stream()
45 stream->lengths.bits = 16; in init_stream()
46 stream->lengths.num_symbols = 288; in init_stream()
47 stream->lengths.lengths = stream->length_lengths; in init_stream()
48 stream->lengths.symbols = stream->length_symbols; in init_stream()
49 stream->lengths.count = stream->length_count; in init_stream()
50 stream->lengths.first = stream->length_first; in init_stream()
51 stream->lengths.pos = stream->length_pos; in init_stream()
55 stream->distance.lengths = stream->distance_lengths; in init_stream()
141 struct huffman_set *lengths = &(stream->lengths); in decompress_huffman() local
[all …]
/external/skqp/tests/
DGrSKSLPrettyPrintTest.cpp91 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 SkSL::String test = GrSKSLPrettyPrint::PrettyPrint(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/skia/tests/
DGrSKSLPrettyPrintTest.cpp91 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 SkSL::String test = GrSKSLPrettyPrint::PrettyPrint(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/
Dwc.c34 static void show_lengths(unsigned long *lengths, char *name)
50 printf(" %*ld"+first, space, lengths[i]);
53 TT.totals[i] += lengths[i];
62 unsigned long word = 0, lengths[] = {0,0,0,0}; in do_wc() local
70 lengths[2] = st.st_size; in do_wc()
83 if (toybuf[pos]=='\n') lengths[0]++; in do_wc()
84 lengths[2]++; in do_wc()
95 lengths[3]++; in do_wc()
102 if (!word) lengths[1]++; in do_wc()
112 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/tensorflow/tensorflow/python/ops/ragged/
Dragged_tensor_shape.py267 def broadcast_dimension(self, axis, lengths): argument
292 lengths = ragged_util.convert_to_int_tensor(
293 lengths, name='lengths', dtype=dtypes.int64)
296 if lengths.shape.ndims is None:
298 elif lengths.shape.ndims > 1:
301 lengths_is_scalar = (lengths.shape.ndims == 0)
306 condition = math_ops.equal(lengths, 1)
309 math_ops.equal(lengths, self.dimension_size(axis)))
314 math_ops.equal(lengths, 1) | math_ops.equal(axis_dim_size, 1)
315 | math_ops.equal(axis_dim_size, lengths))
[all …]
Dragged_from_tensor_op_test.py43 RaggedTensor.from_tensor(dt, lengths=[1, 0, 3]), [[5], [], [6, 0, 0]])
52 RaggedTensor.from_tensor(dt_3d, lengths=([2, 0, 3], [1, 1, 2, 0, 1])),
309 lengths=None, argument
315 rt = RaggedTensor.from_tensor(dt, lengths, padding, ragged_rank)
317 rt = RaggedTensor.from_tensor(dt, lengths, padding)
441 def testEmpty(self, dt_shape, expected, lengths=None, padding=None): argument
443 rt = RaggedTensor.from_tensor(dt, lengths, padding)
499 lengths=None, argument
505 lengths, padding, ragged_rank)
Dragged_tensor.py618 for lengths in reversed(nested_row_lengths):
619 result = cls.from_row_lengths(result, lengths)
1048 lengths=None, argument
1106 if lengths is not None and padding is not None:
1114 with ops.name_scope(name, "RaggedFromTensor", [tensor, lengths, padding]):
1133 values = cls.from_tensor(flattened, lengths, padding)
1179 lengths = math_ops.reduce_max(length_for_nondefault_value, axis=1)
1181 if lengths is not None:
1182 if isinstance(lengths,
1183 (list, tuple)) and len(lengths) and not isinstance(
[all …]
/external/skqp/src/gpu/gl/builders/
DGrGLShaderStringBuilder.cpp36 static void print_sksl_line_by_line(const char** skslStrings, int* lengths, int count, in print_sksl_line_by_line() argument
40 SkSL::String sksl = GrSKSLPrettyPrint::PrettyPrint(skslStrings, lengths, count, false);
64 const char** skslStrings, int* lengths, int count, in GrSkSLtoGLSL() argument
72 print_sksl_line_by_line(skslStrings, lengths, count, [&](const char* ln) { in GrSkSLtoGLSL()
83 sksl = GrSKSLPrettyPrint::PrettyPrint(skslStrings, lengths, count, false); in GrSkSLtoGLSL()
86 sksl.append(skslStrings[i], lengths[i]); in GrSkSLtoGLSL()
101 print_sksl_line_by_line(skslStrings, lengths, count); in GrSkSLtoGLSL()
108 print_sksl_line_by_line(skslStrings, lengths, count); in GrSkSLtoGLSL()
179 int* lengths, int count, const SkSL::Program::Settings& settings) { in GrGLPrintShader() argument
180 print_sksl_line_by_line(skslStrings, lengths, count); in GrGLPrintShader()
[all …]
/external/skia/src/gpu/gl/builders/
DGrGLShaderStringBuilder.cpp36 static void print_sksl_line_by_line(const char** skslStrings, int* lengths, int count, in print_sksl_line_by_line() argument
40 SkSL::String sksl = GrSKSLPrettyPrint::PrettyPrint(skslStrings, lengths, count, false);
64 const char** skslStrings, int* lengths, int count, in GrSkSLtoGLSL() argument
72 print_sksl_line_by_line(skslStrings, lengths, count, [&](const char* ln) { in GrSkSLtoGLSL()
83 sksl = GrSKSLPrettyPrint::PrettyPrint(skslStrings, lengths, count, false); in GrSkSLtoGLSL()
86 sksl.append(skslStrings[i], lengths[i]); in GrSkSLtoGLSL()
101 print_sksl_line_by_line(skslStrings, lengths, count); in GrSkSLtoGLSL()
108 print_sksl_line_by_line(skslStrings, lengths, count); in GrSkSLtoGLSL()
179 int* lengths, int count, const SkSL::Program::Settings& settings) { in GrGLPrintShader() argument
180 print_sksl_line_by_line(skslStrings, lengths, count); in GrGLPrintShader()
[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/android_icu4j/src/main/java/android/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()
DCjkBreakEngine.java146 int lengths[] = new int[numCodePts]; in divideUpDictionaryRange() local
163 fDictionary.matches(text, maxSearchLength, lengths, count_, maxSearchLength, values); in divideUpDictionaryRange()
172 …if ((count == 0 || lengths[0] != 1) && current32(text) != DONE32 && !fHangulWordSet.contains(curre… in divideUpDictionaryRange()
174 lengths[count] = 1; in divideUpDictionaryRange()
180 if (newSnlp < bestSnlp[lengths[j] + i]) { in divideUpDictionaryRange()
181 bestSnlp[lengths[j] + i] = newSnlp; in divideUpDictionaryRange()
182 prev[lengths[j] + i] = i; in divideUpDictionaryRange()
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()
/external/icu/icu4j/main/classes/core/src/com/ibm/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()
DCjkBreakEngine.java145 int lengths[] = new int[numCodePts]; in divideUpDictionaryRange() local
162 fDictionary.matches(text, maxSearchLength, lengths, count_, maxSearchLength, values); in divideUpDictionaryRange()
171 …if ((count == 0 || lengths[0] != 1) && current32(text) != DONE32 && !fHangulWordSet.contains(curre… in divideUpDictionaryRange()
173 lengths[count] = 1; in divideUpDictionaryRange()
179 if (newSnlp < bestSnlp[lengths[j] + i]) { in divideUpDictionaryRange()
180 bestSnlp[lengths[j] + i] = newSnlp; in divideUpDictionaryRange()
181 prev[lengths[j] + i] = i; in divideUpDictionaryRange()
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()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DScan.h59lengths(L), currentSource(0), currentChar(0), stringBias(b), finale(f), singleLogical(single), in numSources()
110 while(charToRead >= lengths[sourceToRead]) { in peek()
150 } while (currentSource > 0 && lengths[currentSource] == 0); in unget()
151 if (lengths[currentSource] == 0) { in unget()
155 currentChar = lengths[currentSource] - 1; in unget()
232 if (currentChar >= lengths[currentSource]) { in advance()
239 while (currentSource < numSources && lengths[currentSource] == 0) { in advance()
253 const size_t *lengths; // length of each string variable
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/
DDiskLruCache.java362 size += entry.lengths[t]; in processJournal()
542 long oldLength = entry.lengths[i]; in completeEdit()
544 entry.lengths[i] = newLength; in completeEdit()
610 size -= entry.lengths[i]; in removeEntry()
611 entry.lengths[i] = 0; in removeEntry()
773 private final long[] lengths; field in Snapshot
775 private Snapshot(String key, long sequenceNumber, Source[] sources, long[] lengths) { in Snapshot() argument
779 this.lengths = lengths; in Snapshot()
802 return lengths[index]; in getLength()
962 private final long[] lengths;
[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()
958 private final long[] lengths;
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dstring_length_op_test.py32 lengths = string_ops.string_length(strings)
33 values = self.evaluate(lengths)
61 lengths = string_ops.string_length(strings, "some_name")
63 self.assertAllEqual(lengths.eval(), [[[1, 2], [3, 4], [5, 6]]])
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dbucket_by_sequence_length_test.py88 lengths = [8, 13, 25, 35]
104 for length, batch_size, bucket_elements in zip(lengths, batch_sizes,
120 for bucket_elements, length in zip(n_bucket_elements, lengths):
163 for length, batch_size, bucket_elements in zip(lengths, batch_sizes,
181 for l in lengths:
212 lengths = [8, 13, 25, 35]
218 for batch_size, length in zip(batch_sizes, lengths):
263 self.assertEqual(sorted(lengths), sorted(lengths_val))
271 lengths = [8, 13, 25]
276 for batch_size, length in zip(batch_sizes[:-1], lengths):
[all …]
/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.c81 "sy\0id\0wa", lengths[] = {2,2,6,6,6,6,4,4,5,5,4,4,2,2,2,2}; in vmstat_main() local
102 for (i=0; i<sizeof(lengths); i++) { in vmstat_main()
103 printf(" %*s"+!i, lengths[i], header); in vmstat_main()
134 for (i=0; i<sizeof(lengths); i++) { in vmstat_main()
147 expected += lengths[i] + !!i; in vmstat_main()

12345678910>>...17