Home
last modified time | relevance | path

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

12345678910>>...23

/third_party/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()
84 if (toybuf[pos]=='\n') lengths[0]++; in do_wc()
85 lengths[2]++; in do_wc()
94 lengths[3]++; in do_wc()
101 if (!word) lengths[1]++; in do_wc()
111 show_lengths(lengths, name); in do_wc()
/third_party/gstreamer/gstplugins_bad/sys/dvb/
Dcamutils.c210 GList *lengths = NULL; in cam_build_ca_pmt() local
220 lengths = g_list_append (lengths, GINT_TO_POINTER (len)); in cam_build_ca_pmt()
231 lengths = g_list_append (lengths, GINT_TO_POINTER (len)); in cam_build_ca_pmt()
256 len = GPOINTER_TO_INT (lengths->data); in cam_build_ca_pmt()
257 lengths = g_list_delete_link (lengths, lengths); in cam_build_ca_pmt()
273 len = GPOINTER_TO_INT (lengths->data); in cam_build_ca_pmt()
274 lengths = g_list_delete_link (lengths, lengths); in cam_build_ca_pmt()
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/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 …]
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/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 …]
/third_party/zlib/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 …]
/third_party/libphonenumber/cpp/src/phonenumbers/
Dshortnumberinfo.cc84 const RepeatedField<int>& lengths = desc.possible_length(); in MatchesPossibleNumberAndNationalNumber() local
86 std::find(lengths.begin(), lengths.end(), number.length()) == in MatchesPossibleNumberAndNationalNumber()
87 lengths.end()) { in MatchesPossibleNumberAndNationalNumber()
118 const RepeatedField<int>& lengths = in IsPossibleShortNumberForRegion() local
120 return (std::find(lengths.begin(), lengths.end(), short_number.length()) != in IsPossibleShortNumberForRegion()
121 lengths.end()); in IsPossibleShortNumberForRegion()
135 const RepeatedField<int>& lengths = in IsPossibleShortNumber() local
137 if (std::find(lengths.begin(), lengths.end(), short_number.length()) != in IsPossibleShortNumber()
138 lengths.end()) { in IsPossibleShortNumber()
196 const RepeatedField<int>& lengths = in GetExpectedCostForRegion() local
[all …]
/third_party/flutter/skia/third_party/externals/wuffs/lib/flatecut/
Dflatecut.go250 func (h *huffman) construct(lengths []uint32) (endCodeBits uint32, endCodeNBits uint32, retErr erro…
254 for _, x := range lengths {
257 if h.counts[0] >= uint32(len(lengths)) {
266 if len(lengths) > endCode {
267 endCodeLength = lengths[endCode]
278 for _, l := range lengths[endCode+1:] {
288 if ((h.counts[0] + 1) == uint32(len(lengths))) && (h.counts[1] == 1) {
301 for symbol, length := range lengths {
589 lengths := make([]uint32, numLCodes+numDCodes)
592 lengths[i] = 8
[all …]
/third_party/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 …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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.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()
/third_party/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()
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()
/third_party/ffmpeg/libavutil/tests/
Dsha512.c34 static const int lengths[4] = { 224, 256, 384, 512 }; in main() local
41 if (j < 2) printf("Testing SHA-512/%d\n", lengths[j]); in main()
42 else printf("Testing SHA-%d\n", lengths[j]); in main()
44 av_sha512_init(ctx, lengths[j]); in main()
54 for (i = 0; i < lengths[j] >> 3; i++) in main()
Dsha.c29 static const int lengths[3] = { 160, 224, 256 }; in main() local
36 printf("Testing SHA-%d\n", lengths[j]); in main()
38 av_sha_init(ctx, lengths[j]); in main()
47 for (i = 0; i < lengths[j] >> 3; i++) in main()
Dripemd.c32 static const int lengths[4] = { 128, 160, 256, 320 }; in main() local
39 printf("Testing RIPEMD-%d\n", lengths[j]); in main()
41 av_ripemd_init(ctx, lengths[j]); in main()
50 for (i = 0; i < lengths[j] >> 3; i++) in main()
/third_party/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
/third_party/openssl/apps/
Dspeed.c203 static const int *lengths = lengths_list; variable
648 if (!EVP_Digest(buf, (size_t)lengths[testnum], md2, NULL, EVP_md2(), in EVP_Digest_MD2_loop()
665 if (!EVP_Digest(buf, (size_t)lengths[testnum], mdc2, NULL, EVP_mdc2(), in EVP_Digest_MDC2_loop()
682 if (!EVP_Digest(buf, (size_t)lengths[testnum], md4, NULL, EVP_md4(), in EVP_Digest_MD4_loop()
698 MD5(buf, lengths[testnum], md5); in MD5_loop()
712 HMAC_Update(hctx, buf, lengths[testnum]); in HMAC_loop()
726 SHA1(buf, lengths[testnum], sha); in SHA1_loop()
737 SHA256(buf, lengths[testnum], sha256); in SHA256_loop()
748 SHA512(buf, lengths[testnum], sha512); in SHA512_loop()
760 WHIRLPOOL(buf, lengths[testnum], whirlpool); in WHIRLPOOL_loop()
[all …]
/third_party/node/deps/npm/node_modules/wrap-ansi/
Dindex.js99 const lengths = wordLengths(string); constant
124 if (options.hard && lengths[index] > columns) {
126 const breaksStartingThisLine = 1 + Math.floor((lengths[index] - remainingColumns - 1) / columns);
127 const breaksStartingNextLine = Math.floor((lengths[index] - 1) / columns);
136 if (rowLength + lengths[index] > columns && rowLength > 0 && lengths[index] > 0) {
145 if (rowLength + lengths[index] > columns && options.wordWrap === false) {
/third_party/typescript/tests/baselines/reference/
DgenericArray1.js14 var lengths = ["a", "b", "c"].map(x => x.length); variable
29 var lengths = ["a", "b", "c"].map(function (x) { return x.length; }); variable
33 declare var lengths: number[];
/third_party/boost/boost/hana/
Dcartesian_product.hpp52 std::size_t lengths[sizeof...(Lengths)] = {Lengths...}; in total_length() local
54 for (std::size_t len: lengths) in total_length()
62 constexpr std::size_t lengths[sizeof...(Lengths)] = {Lengths...}; in indices_of() local
66 result[j] = i % lengths[j]; in indices_of()
67 i /= lengths[j]; in indices_of()
/third_party/boost/libs/hana/include/boost/hana/
Dcartesian_product.hpp52 std::size_t lengths[sizeof...(Lengths)] = {Lengths...}; in total_length() local
54 for (std::size_t len: lengths) in total_length()
62 constexpr std::size_t lengths[sizeof...(Lengths)] = {Lengths...}; in indices_of() local
66 result[j] = i % lengths[j]; in indices_of()
67 i /= lengths[j]; in indices_of()
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/
DBuildMetadataFromXml.java464 TreeSet<Integer> lengths = new TreeSet<Integer>(); in processPhoneNumberDescElement() local
466 populatePossibleLengthSets(element, lengths, localOnlyLengths); in processPhoneNumberDescElement()
467 setPossibleLengths(lengths, localOnlyLengths, parentDesc.build(), numberDesc); in processPhoneNumberDescElement()
540 String[] lengths = possibleLengthString.split(","); in parsePossibleLengthStringToSet() local
542 for (int i = 0; i < lengths.length; i++) { in parsePossibleLengthStringToSet()
543 String lengthSubstring = lengths[i]; in parsePossibleLengthStringToSet()
594 private static void populatePossibleLengthSets(Element data, TreeSet<Integer> lengths, in populatePossibleLengthSets() argument
623 lengths.addAll(thisElementLengths); in populatePossibleLengthSets()
633 TreeSet<Integer> lengths = new TreeSet<Integer>(); in setPossibleLengthsGeneralDesc() local
642 populatePossibleLengthSets(generalDescNode, lengths, localOnlyLengths); in setPossibleLengthsGeneralDesc()
[all …]
/third_party/boost/boost/hana/detail/
Dunpack_flatten.hpp28 static constexpr std::size_t lengths[sizeof...(Lengths) + 1] = {Lengths..., 0}; member
30 detail::accumulate(lengths, lengths + sizeof...(Lengths), 0);
36 for (std::size_t j = 0; j < lengths[i]; ++j, ++index) in compute()
/third_party/boost/libs/hana/include/boost/hana/detail/
Dunpack_flatten.hpp28 static constexpr std::size_t lengths[sizeof...(Lengths) + 1] = {Lengths..., 0}; member
30 detail::accumulate(lengths, lengths + sizeof...(Lengths), 0);
36 for (std::size_t j = 0; j < lengths[i]; ++j, ++index) in compute()
/third_party/mbedtls/tests/suites/
Dtest_suite_nist_kw.data27 NIST KW lengths #1 KW plaintext OK (2 to 2^54 - 1 semiblocks)
30 NIST KW lengths #2 KWP plaintext OK (1 to 2^32 - 1 octets)
33 NIST KW lengths #3 KW ciphertext OK (3 to 2^54 semiblocks)
36 NIST KW lengths #4 KWP ciphertext OK (2 to 2^29 semiblocks)
39 NIST KW lengths #5 KW plaintext too short (2 to 2^54 - 1 semiblocks)
42 NIST KW lengths #6 KWP plaintext too short (1 to 2^32 - 1 octets)
45 NIST KW lengths #8 KW ciphertext too short (3 to 2^54 semiblocks)
48 NIST KW lengths #9 KWP ciphertext too short (2 to 2^29 semiblocks)
51 NIST KW lengths #10 KW plaintext not a multiple of semiblocks.
54 NIST KW lengths #11 KW ciphertext not a multiple of semiblocks.
[all …]

12345678910>>...23