Searched refs:lengths (Results 76 - 100 of 166) sorted by relevance

1234567

/external/icu/android_icu4j/src/main/java/android/icu/impl/
H A DUCharacterName.java162 * Reads a block of compressed lengths of 32 strings and expands them into
163 * offsets and lengths for each string. Lengths are stored with a
168 * The offsets and lengths arrays must be at least 33 (one more) long
173 * @param lengths array to store the value of the string length
174 * @return next index of the data string immediately after the lengths
177 public int getGroupLengths(int index, char offsets[], char lengths[]) argument
190 // all 32 lengths must be read to get the offset of the first group
204 lengths[i] = (char)((length | n) + 12);
207 lengths[i] = (char)n;
211 offsets[i + 1] = (char)(offsets[i] + lengths[
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DUCharacterName.java161 * Reads a block of compressed lengths of 32 strings and expands them into
162 * offsets and lengths for each string. Lengths are stored with a
167 * The offsets and lengths arrays must be at least 33 (one more) long
172 * @param lengths array to store the value of the string length
173 * @return next index of the data string immediately after the lengths
176 public int getGroupLengths(int index, char offsets[], char lengths[]) argument
189 // all 32 lengths must be read to get the offset of the first group
203 lengths[i] = (char)((length | n) + 12);
206 lengths[i] = (char)n;
210 offsets[i + 1] = (char)(offsets[i] + lengths[
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DDateTimePatternGenerator.java49 * a pattern which just includes the desired fields and lengths. The generator
586 // Handle special mappings for 'j' and 'C' in which fields lengths
1298 * @param strict If true, then only allows exactly those lengths specified by CLDR for variables. For example, "hh:mm aa" would throw an exception.
1436 * @param strict If true, then only allows exactly those lengths specified by CLDR for variables. For example, "hh:mm aa" would throw an exception.
2281 private byte[] lengths = new byte[TYPE_LIMIT]; field in class:DateTimePatternGenerator.SkeletonFields
2287 Arrays.fill(lengths, DEFAULT_LENGTH);
2292 lengths[field] = other.lengths[field];
2297 lengths[field] = DEFAULT_LENGTH;
2305 return lengths[fiel
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DDateTimePatternGenerator.java48 * a pattern which just includes the desired fields and lengths. The generator
589 // Handle special mappings for 'j' and 'C' in which fields lengths
1339 * @param strict If true, then only allows exactly those lengths specified by CLDR for variables. For example, "hh:mm aa" would throw an exception.
1469 * @param strict If true, then only allows exactly those lengths specified by CLDR for variables. For example, "hh:mm aa" would throw an exception.
2306 private byte[] lengths = new byte[TYPE_LIMIT]; field in class:DateTimePatternGenerator.SkeletonFields
2312 Arrays.fill(lengths, DEFAULT_LENGTH);
2317 lengths[field] = other.lengths[field];
2322 lengths[field] = DEFAULT_LENGTH;
2330 return lengths[fiel
[all...]
/external/brotli/c/enc/
H A Dblock_splitter_inc.h333 m, uint32_t, split->lengths, split->lengths_alloc_size, num_blocks);
345 split->lengths[block_idx] = cur_length;
380 split->lengths, split->lengths_alloc_size, split->num_blocks + 1);
384 split->lengths[split->num_blocks] = (uint32_t)length;
/external/curl/lib/
H A Dsmb.h145 unsigned short lengths[2]; member in struct:smb_setup
/external/ImageMagick/MagickCore/
H A Dopencl-private.h131 cl_uint count,const char **strings,const size_t *lengths,
136 cl_uint num_devices,const cl_device_id *device_list,const size_t *lengths,
/external/python/cpython3/Lib/test/
H A Dtest_slice.py194 lengths = [0, 1, 7, 53, 2**30, 2**100]
197 for length in lengths:
/external/freetype/src/pcf/
H A Dpcfread.c1233 size_t lengths[4]; local
1271 lengths[nn] = 0;
1274 lengths[nn] = ft_strlen( strings[nn] );
1275 len += lengths[nn] + 1;
1282 lengths[0] = ft_strlen( strings[0] );
1283 len = lengths[0] + 1;
1300 len = lengths[nn];
/external/tensorflow/tensorflow/python/ops/
H A Darray_ops.py2103 # by 'truth' lengths.
2460 def sequence_mask(lengths, maxlen=None, dtype=dtypes.bool, name=None):
2463 If `lengths` has shape `[d_1, d_2, ..., d_n]` the resulting tensor `mask` has
2467 mask[i_1, i_2, ..., i_n, j] = (j < lengths[i_1, i_2, ..., i_n])
2484 lengths: integer tensor, all its values <= maxlen.
2486 Default is the maximum value in `lengths`.
2490 A mask tensor of shape `lengths.shape + (maxlen,)`, cast to specified dtype.
2494 with ops.name_scope(name, "SequenceMask", [lengths, maxlen]):
2495 lengths = ops.convert_to_tensor(lengths)
[all...]
/external/libpng/contrib/tools/
H A Dpngfix.c607 * using sync_stream below and the new lengths are recorded here. Because the
617 png_uint_32 lengths[IDAT_INIT_LENGTH]; member in struct:IDAT_list
636 return sizeof *list - sizeof list->lengths +
637 length * sizeof list->lengths[0];
1833 if (len == 0) /* use original chunk lengths */
1848 idat->idat_length == cur->lengths[count]);
1852 return cur->lengths[count];
1858 return cur->lengths[0];
1876 * individual lengths are always <= 0x7fffffff, so when we add two
1886 have += cur->lengths[
[all...]
/external/brotli/research/
H A Dbrotlidump.py214 to define the encoding from the lengths.
304 """Given the bit pattern lengths for symbols given in lengthTable,
311 #compute (backwards) first code for every separate lengths
586 lengths = [1, 2, 3, 4, 0, 5, 17, 6]
587 return '{} is complex with lengths {}...'.format(
590 map(str, lengths[index:index+5]))
601 return str(bool(index))+': lengths {},{},{},{}'.format(*self.value(index))
1437 #Set table of lengths for mnemonic function
1438 lengths = [[0], [1,1], [1,2,2], '????'][numberOfSymbols-1]
1442 lengths[
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fShaderApiTests.cpp72 std::vector<int> lengths; member in struct:deqp::gles3::Functional::__anon5113::ShaderSources
114 if (sources.lengths.size() > 0)
115 shader.setSources((int)cStrings.size(), &cStrings[0], &sources.lengths[0]);
133 out.lengths.push_back((int)sliceSize);
144 out.lengths.push_back(lastStringLength);
729 DE_ASSERT(sources.lengths.size() > 0);
730 DE_ASSERT(sources.lengths.size() == sources.strings.size());
740 const int unpaddedLength = sources.lengths[ndx];
744 sources.lengths[ndx] = m_rnd.getInt(-10, -1);
1714 + (explicitLengths ? ", using explicitly specified string lengths"
[all...]
/external/tensorflow/tensorflow/contrib/training/python/training/
H A Dbucket_ops_test.py329 # All inputs must be identical lengths across tuple index.
338 lengths = array_ops.placeholder(dtypes_lib.int32, ())
351 input_enqueue_op = input_queue.enqueue((lengths, data, labels))
416 feed_dict={lengths: length,
H A Dsequence_queueing_state_saver.py370 """The lengths of the original (non-truncated) unrolled examples.
373 An integer vector of length `batch_size`, the total lengths.
379 """The lengths of the given truncated unrolled examples.
386 An integer vector of length `batch_size`, the lengths.
751 Batched and total lengths of the current iteration are made accessible
1394 of `value_length`). Batched and total lengths of the current iteration are
1585 lengths = [array_ops.shape(value)[0] for value in sequences_dict.values()
1587 if lengths:
1588 length = lengths[0]
1592 ["All sequence lengths mus
[all...]
/external/tensorflow/tensorflow/java/src/main/native/
H A Doperation_builder_jni.cc313 std::unique_ptr<size_t[]> lengths(new size_t[num_values]);
321 lengths[i] = static_cast<size_t>(env->GetArrayLength(v));
323 TF_SetAttrStringList(d, cname, cvalues.get(), lengths.get(), num_values);
/external/tensorflow/tensorflow/python/kernel_tests/
H A Dtensor_array_ops_test.py262 lengths = constant_op.constant([0, 0, 0])
263 w0 = ta.split(convert([]), lengths=lengths)
274 lengths = constant_op.constant([2, 0, 1])
275 w0 = ta.split(convert([1.0, 2.0, 3.0]), lengths=lengths)
286 lengths = constant_op.constant([2, 0, 1])
288 convert([[1.0, 101.0], [2.0, 201.0], [3.0, 301.0]]), lengths=lengths)
522 r"Expected lengths t
[all...]
/external/icu/icu4c/source/common/
H A Ddictbe.cpp98 // list of word candidate lengths, in increasing length order
99 // TODO: bytes would be sufficient for word lengths.
1264 UVector32 lengths(numCodePts, status);
1265 lengths.setSize(numCodePts);
1285 NULL, lengths.getBuffer(), values.getBuffer(), NULL);
1286 // Note: lengths is filled with code point lengths
1287 // The NULL parameter is the ignored code unit lengths.
1294 if ((count == 0 || lengths.elementAti(0) != 1) &&
1297 lengths
[all...]
/external/autotest/client/common_lib/
H A Dutils.py426 database results. It works by scanning the lengths of each element
434 lengths = []
437 lengths.append(len(column))
443 ml = lengths[i]
445 lengths[i] = cl
447 lengths.append(cl)
449 lengths = tuple(lengths)
451 for length in lengths:
/external/valgrind/exp-sgcheck/tests/
H A Dhackedbz2.stdout.exp9 bytes: mapping 19, selectors 66, code lengths 134, codes 6465
/external/valgrind/memcheck/tests/
H A Dorigin5-bz2.stdout.exp10 bytes: mapping 19, selectors 66, code lengths 134, codes 6465
H A Dvcpu_bz2.stdout.exp9 bytes: mapping 19, selectors 66, code lengths 134, codes 6465
/external/icu/icu4c/source/i18n/
H A Ddtptngen.cpp1063 // Handle special mappings for 'j' and 'C' in which fields lengths
2305 uprv_memset(lengths, 0, sizeof(lengths));
2310 uprv_memcpy(lengths, other.lengths, sizeof(lengths));
2315 lengths[field] = 0;
2323 return lengths[field];
2332 lengths[field] = (int8_t) length;
2336 return lengths[fiel
[all...]
/external/tensorflow/tensorflow/core/util/tensor_bundle/
H A Dtensor_bundle.cc67 // Checksums the string lengths (as restored uint32, not varint32 bytes) and
82 return errors::DataLoss("String lengths longer than expected offset ",
221 // [varint32 len0]..[varint32 lenL][4 byte cksum on lengths][string bytes]
222 // Var "crc32c" checksums the string lengths (as uint32, not varint32 bytes),
227 // Writes the varint lengths.
228 string lengths; local
229 lengths.reserve(val.NumElements()); // At least 1 byte per element.
236 core::PutVarint32(&lengths, elem_size);
240 TF_RETURN_IF_ERROR(out->Append(lengths));
241 *bytes_written = lengths
[all...]
/external/zopfli/src/zopflipng/lodepng/
H A Dlodepng.cpp453 /*the code length codes. 0-15: code lengths, 16: copy previous 3-6 times, 17: 3-10 zeros, 18: 11-138 zeros*/
456 /*the base lengths represented by codes 257-285*/
476 /*the order in which "code length alphabet code lengths" are stored, out of this
477 the huffman tree of the dynamic huffman tree lengths is generated*/
490 unsigned* lengths; /*the lengths of the codes of the 1d-tree*/ member in struct:HuffmanTree
502 if(tree->lengths.data[i])
503 std::cout << i << " " << tree->tree1d.data[i] << " " << tree->lengths.data[i] << std::endl;
512 tree->lengths = 0;
519 lodepng_free(tree->lengths);
714 lodepng_huffman_code_lengths(unsigned* lengths, const unsigned* frequencies, size_t numcodes, unsigned maxbitlen) argument
[all...]

Completed in 818 milliseconds

1234567