/third_party/boost/boost/move/algo/ |
D | adaptive_merge.hpp | 26 , typename iterator_traits<RandIt>::size_type len1 in adaptive_merge_combine_blocks() argument 38 size_type const len = len1+len2; in adaptive_merge_combine_blocks() 40 size_type const l_combine1 = len1-collected; in adaptive_merge_combine_blocks() 97 , typename iterator_traits<RandIt>::size_type len1 in adaptive_merge_final_merge() argument 112 size_type len = len1+len2; in adaptive_merge_final_merge() 124 inline static SizeType adaptive_merge_n_keys_without_external_keys(SizeType l_block, SizeType len1,… in adaptive_merge_n_keys_without_external_keys() argument 128 size_type n_keys = len1/l_block+len2/l_block; in adaptive_merge_n_keys_without_external_keys() 130 const size_type first_half_aux = len1-l_intbuf; in adaptive_merge_n_keys_without_external_keys() 139 inline static SizeType adaptive_merge_n_keys_with_external_keys(SizeType l_block, SizeType len1, Si… in adaptive_merge_n_keys_with_external_keys() argument 143 size_type n_keys = (len1-l_intbuf)/l_block + len2/l_block; in adaptive_merge_n_keys_with_external_keys() [all …]
|
/third_party/libunwind/src/ |
D | os-freebsd.c | 56 size_t len, len1; in get_pid_by_tid() local 69 len1 = len * 4 / 3; in get_pid_by_tid() 70 buf = get_mem(len1); in get_pid_by_tid() 73 len = len1; in get_pid_by_tid() 76 free_mem(buf, len1); in get_pid_by_tid() 87 free_mem(buf, len1); in get_pid_by_tid() 96 size_t len, len1; in tdep_get_elf_image() local 117 len1 = len * 4 / 3; in tdep_get_elf_image() 118 buf = get_mem(len1); in tdep_get_elf_image() 121 len = len1; in tdep_get_elf_image() [all …]
|
/third_party/ltp/testcases/kernel/mce-test/lib/ |
D | functions.sh | 23 local len1=${#1} 25 if [ $len1 -eq 0 -o $len1 -ge $len2 -o "${2:0:$len1}" != "$1" ]; then 28 len1=$((len1 + 1)) 29 echo "${2:$len1}"
|
/third_party/ffmpeg/libavformat/ |
D | vorbiscomment.c | 51 int64_t len1 = !strcmp(tag->key, "title") ? 4 : strlen(tag->key); in ff_vorbiscomment_length() local 52 len += 4 + 10 + len1 + 1 + strlen(tag->value); in ff_vorbiscomment_length() 82 int64_t len1 = strlen(tag->key); in ff_vorbiscomment_write() local 84 if (len1+1+len2 > UINT32_MAX) in ff_vorbiscomment_write() 86 avio_wl32(pb, len1 + 1 + len2); in ff_vorbiscomment_write() 87 avio_write(pb, tag->key, len1); in ff_vorbiscomment_write() 112 int64_t len1 = !strcmp(tag->key, "title") ? 4 : strlen(tag->key); in ff_vorbiscomment_write() local 114 if (len1+1+len2+10 > UINT32_MAX) in ff_vorbiscomment_write() 116 avio_wl32(pb, 10 + len1 + 1 + len2); in ff_vorbiscomment_write() 122 avio_write(pb, tag->key, len1); in ff_vorbiscomment_write()
|
/third_party/toybox/toys/posix/ |
D | cmp.c | 31 int i, len1, len2, min_len, size = sizeof(toybuf)/2; local 47 len1 = readall(TT.fd, toybuf, size); 50 min_len = len1 < len2 ? len1 : len2; 66 if (len1 != len2) { 68 fprintf(stderr, "cmp: EOF on %s\n", len1 < len2 ? TT.name : name); 72 if (len1 < 1) break;
|
/third_party/toybox/toys/example/ |
D | demo_utf8towc.c | 21 int len1, len2; in demo_utf8towc_main() local 34 len1 = mbrtowc(&wc1, str, len2, &mb); in demo_utf8towc_main() 35 if (len1<0) memset(&mb, 0, sizeof(mb)); in demo_utf8towc_main() 37 if (len1 != len2 || wc1 != wc2) in demo_utf8towc_main() 38 printf("%x %d %x %d %x\n", u, len1, wc1, len2, wc2); in demo_utf8towc_main()
|
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/ |
D | LzcompCompress.java | 150 int len1 = findMatch(index, dist1, gain1, costPerByte1); in makeCopyDecision() local 160 len1 = 0; in makeCopyDecision() 161 } else if (len1 > 3) { in makeCopyDecision() 162 len2 = findMatch(here + len1, dist2, gain2, costPerByte2); in makeCopyDecision() 167 int len3 = findMatch(here + len1 - 1, dist3, gain3, costPerByte3); in makeCopyDecision() 170 int lenBitCount = encodeLengthCost(len1 - 1, dist1[0] + 1, distRanges); in makeCopyDecision() 173 int cost1A = costPerByte1[0] * len1 + costPerByte2[0] * len2; in makeCopyDecision() 174 if ((cost1A / (len1 + len2)) > (cost1B / (len1 - 1 + len3))) { in makeCopyDecision() 175 len1--; in makeCopyDecision() 181 if (len1 == 2) { in makeCopyDecision() [all …]
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/ |
D | LzcompCompress.java | 150 int len1 = findMatch(index, dist1, gain1, costPerByte1); in makeCopyDecision() local 160 len1 = 0; in makeCopyDecision() 161 } else if (len1 > 3) { in makeCopyDecision() 162 len2 = findMatch(here + len1, dist2, gain2, costPerByte2); in makeCopyDecision() 167 int len3 = findMatch(here + len1 - 1, dist3, gain3, costPerByte3); in makeCopyDecision() 170 int lenBitCount = encodeLengthCost(len1 - 1, dist1[0] + 1, distRanges); in makeCopyDecision() 173 int cost1A = costPerByte1[0] * len1 + costPerByte2[0] * len2; in makeCopyDecision() 174 if ((cost1A / (len1 + len2)) > (cost1B / (len1 - 1 + len3))) { in makeCopyDecision() 175 len1--; in makeCopyDecision() 181 if (len1 == 2) { in makeCopyDecision() [all …]
|
/third_party/boost/boost/move/algo/detail/ |
D | merge.hpp | 525 size_type const len1 = size_type(middle-first); in op_buffered_merge() local 527 if(len1 <= len2){ in op_buffered_merge() 589 , typename iterator_traits<RandIt>::size_type len1 in merge_bufferless_ONlogN_recursive() argument 600 else if (!len1) { in merge_bufferless_ONlogN_recursive() 603 else if (size_type(len1 | len2) == 1u) { in merge_bufferless_ONlogN_recursive() 608 else if(size_type(len1+len2) < MergeBufferlessONLogNRotationThreshold){ in merge_bufferless_ONlogN_recursive() 617 if (len1 > len2) { in merge_bufferless_ONlogN_recursive() 618 len11 = len1 / 2; in merge_bufferless_ONlogN_recursive() 633 if( len_internal < (len1 + len2 - len_internal) ) { in merge_bufferless_ONlogN_recursive() 637 len1 -= len11; in merge_bufferless_ONlogN_recursive() [all …]
|
/third_party/gettext/gettext-tools/src/ |
D | x-po.c | 186 size_t len, len1, len2, len3; in extract() local 192 len1 = charsetstr - header; in extract() 195 new_header = XNMALLOC (len1 + len2 + len3 + 1, char); in extract() 196 memcpy (new_header, header, len1); in extract() 197 memcpy (new_header + len1, header_charset, len2); in extract() 198 memcpy (new_header + len1 + len2, charsetstr + len, len3 + 1); in extract() 200 mp->msgstr_len = len1 + len2 + len3 + 1; in extract()
|
D | msgl-english.c | 58 size_t len1 = strlen (mp->msgid_plural) + 1; in msgdomain_list_english() local 59 char *cp = XNMALLOC (len0 + len1, char); in msgdomain_list_english() 61 memcpy (cp + len0, mp->msgid_plural, len1); in msgdomain_list_english() 63 mp->msgstr_len = len0 + len1; in msgdomain_list_english()
|
D | xg-mixed-string.c | 295 size_t len1 = ms1->segments[i]->length; in mixed_string_concat() local 300 len1 + len2)); in mixed_string_concat() 302 newseg->length = len1 + len2; in mixed_string_concat() 303 memcpy (newseg->contents, ms1->segments[i]->contents, len1); in mixed_string_concat() 304 memcpy (newseg->contents + len1, ms2->segments[0]->contents, len2); in mixed_string_concat() 358 size_t len1 = ms1->segments[i]->length; in mixed_string_concat_free1() local 363 len1 + len2)); in mixed_string_concat_free1() 365 newseg->length = len1 + len2; in mixed_string_concat_free1() 366 memcpy (newseg->contents, ms1->segments[i]->contents, len1); in mixed_string_concat_free1() 367 memcpy (newseg->contents + len1, ms2->segments[0]->contents, len2); in mixed_string_concat_free1()
|
D | msgl-iconv.c | 262 size_t len1, len2, len3; in iconv_message_list_internal() local 265 len1 = charsetstr - header; in iconv_message_list_internal() 268 new_header = XNMALLOC (len1 + len2 + len3 + 1, char); in iconv_message_list_internal() 269 memcpy (new_header, header, len1); in iconv_message_list_internal() 270 memcpy (new_header + len1, canon_to_code, len2); in iconv_message_list_internal() 271 memcpy (new_header + len1 + len2, charsetstr + len, in iconv_message_list_internal() 274 mlp->item[j]->msgstr_len = len1 + len2 + len3 + 1; in iconv_message_list_internal()
|
/third_party/toybox/toys/pending/ |
D | tr.c | 27 int len1, len2; 38 int i = TT.len1, k = 0; in map_translation() 44 for (i = TT.len1, k = 0; i; i--, k++) in map_translation() 50 while (!(toys.optflags & FLAG_d) && set2 && TT.len1--) { //ignore set2 if -d present in map_translation() 242 if (memchr(*set, i, TT.len1)) continue; in do_complement() 246 TT.len1 = j; in do_complement() 257 set1 = expand_set(toys.optargs[0], &TT.len1); in tr_main()
|
/third_party/libuv/test/ |
D | test-pipe-getsockname.c | 216 size_t len1, len2; in TEST_IMPL() local 236 len1 = sizeof buf1; in TEST_IMPL() 237 r = uv_pipe_getsockname(&pipe_client, buf1, &len1); in TEST_IMPL() 239 ASSERT(len1 == 0); /* It's an annonymous pipe. */ in TEST_IMPL() 255 ASSERT(len1 == len2); in TEST_IMPL() 256 ASSERT(memcmp(buf1, buf2, len1) == 0); in TEST_IMPL()
|
/third_party/flatbuffers/swift/Sources/FlatBuffers/ |
D | Table.swift | 133 let len1 = fbb.read(def: Int32.self, position: Int(_off1)) in compare() variable 137 let minValue = min(len1, len2) in compare() 145 return len1 - len2 in compare() 151 let len1 = fbb.read(def: Int32.self, position: Int(_off1)) in compare() variable 154 let minValue = min(len1, len2) in compare() 162 return len1 - len2 in compare()
|
/third_party/selinux/libselinux/src/ |
D | regex.c | 245 size_t len1, len2; in regex_cmp() local 246 rc = pcre2_pattern_info(regex1->regex, PCRE2_INFO_SIZE, &len1); in regex_cmp() 250 if (len1 != len2 || memcmp(regex1->regex, regex2->regex, len1)) in regex_cmp() 483 size_t len1, len2; in regex_cmp() local 484 rc = pcre_fullinfo(regex1->regex, NULL, PCRE_INFO_SIZE, &len1); in regex_cmp() 488 if (len1 != len2 || memcmp(regex1->regex, regex2->regex, len1)) in regex_cmp()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_string.cpp | 1517 uint32 len1 = Length (); in EndsWith() local 1521 if (len1 < len2) in EndsWith() 1526 const char *t = Get () + (len1 - len2); in EndsWith() 1563 uint32 len1 = Length (); in Contains() local 1567 if (len1 < len2) in Contains() 1572 uint32 offsets = len1 - len2; in Contains() 1628 uint32 len1 = Length (); in Replace() local 1652 uint32 extra = len1 - match_offset - len2 + 1; // + 1 for NULL termination in Replace() 1667 SafeUint32Add (SafeUint32Add (len1 - len2, len3), 1)); in Replace() 1687 uint32 extra = len1 - match_offset - len2 + 1; // + 1 for NULL termination in Replace() [all …]
|
D | dng_temperature.cpp | 220 real64 len1 = sqrt (1.0 + vv1 * vv1); in Get_xy_coord() local 223 uu1 /= len1; in Get_xy_coord() 224 vv1 /= len1; in Get_xy_coord()
|
/third_party/ffmpeg/libswresample/ |
D | rematrix.c | 509 int len1 = 0; in swri_rematrix() local 518 len1= len&~15; in swri_rematrix() 519 off = len1 * out->bps; in swri_rematrix() 534 if(s->mix_1_1_simd && len1) in swri_rematrix() 535 …simd(out->ch[out_i] , in->ch[in_i] , s->native_simd_matrix, in->ch_count*out_i + in_i, len1); in swri_rematrix() 536 if(len != len1) in swri_rematrix() 537 …_f (out->ch[out_i]+off, in->ch[in_i]+off, s->native_matrix, in->ch_count*out_i + in_i, len-len1); in swri_rematrix() 547 if(s->mix_2_1_simd && len1) in swri_rematrix() 548 …h[in_i2] , s->native_simd_matrix, in->ch_count*out_i + in_i1, in->ch_count*out_i + in_i2, len1); in swri_rematrix() 550 …in->ch[in_i2] , s->native_matrix, in->ch_count*out_i + in_i1, in->ch_count*out_i + in_i2, len1); in swri_rematrix() [all …]
|
/third_party/harfbuzz/src/ |
D | hb-ot-layout-gpos-table.hh | 1089 unsigned len1; /* valueFormats[0].get_len() */ member 1111 &values[closure->len1], in subset() 1164 unsigned int len1 = valueFormats[0].get_len (); in intersects() local 1166 unsigned int record_size = HBUINT16::static_size * (1 + len1 + len2); in intersects() 1182 unsigned int len1 = valueFormats[0].get_len (); in collect_glyphs() local 1184 unsigned int record_size = HBUINT16::static_size * (1 + len1 + len2); in collect_glyphs() 1193 unsigned len1 = valueFormats[0].get_len (); in collect_variation_indices() local 1195 unsigned record_size = HBUINT16::static_size * (1 + len1 + len2); in collect_variation_indices() 1214 unsigned int len1 = valueFormats[0].get_len (); in apply() local 1216 unsigned int record_size = HBUINT16::static_size * (1 + len1 + len2); in apply() [all …]
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-layout-gpos-table.hh | 1088 unsigned len1; /* valueFormats[0].get_len() */ member 1110 &values[closure->len1], in subset() 1163 unsigned int len1 = valueFormats[0].get_len (); in intersects() local 1165 unsigned int record_size = HBUINT16::static_size * (1 + len1 + len2); in intersects() 1181 unsigned int len1 = valueFormats[0].get_len (); in collect_glyphs() local 1183 unsigned int record_size = HBUINT16::static_size * (1 + len1 + len2); in collect_glyphs() 1192 unsigned len1 = valueFormats[0].get_len (); in collect_variation_indices() local 1194 unsigned record_size = HBUINT16::static_size * (1 + len1 + len2); in collect_variation_indices() 1213 unsigned int len1 = valueFormats[0].get_len (); in apply() local 1215 unsigned int record_size = HBUINT16::static_size * (1 + len1 + len2); in apply() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | strictTupleLength.js | 8 var len1: 1 = t1.length; variable 29 var len1 = t1.length;
|
D | strictTupleLength.symbols | 20 var len1: 1 = t1.length; 21 >len1 : Symbol(len1, Decl(strictTupleLength.ts, 6, 3))
|
/third_party/ltp/testcases/kernel/syscalls/open/ |
D | open12.c | 122 off_t len1, len2; in test_append() local 131 len1 = SAFE_LSEEK(cleanup, TEST_RETURN, 0, SEEK_CUR); in test_append() 136 if (len2 > len1) in test_append()
|