/third_party/libunwind/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() 83 int64_t len1 = strlen(tag->key); in ff_vorbiscomment_write() local 85 if (len1+1+len2 > UINT32_MAX) in ff_vorbiscomment_write() 87 avio_wl32(pb, len1 + 1 + len2); in ff_vorbiscomment_write() 88 avio_write(pb, tag->key, len1); in ff_vorbiscomment_write() 113 int64_t len1 = !strcmp(tag->key, "title") ? 4 : strlen(tag->key); in ff_vorbiscomment_write() local 115 if (len1+1+len2+10 > UINT32_MAX) in ff_vorbiscomment_write() 117 avio_wl32(pb, 10 + len1 + 1 + len2); in ff_vorbiscomment_write() 123 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/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/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() 237 if (memchr(*set, i, TT.len1)) continue; in do_complement() 241 TT.len1 = j; in do_complement() 252 set1 = expand_set(toys.optargs[0], &TT.len1); in tr_main()
|
/third_party/lzma/Java/SevenZip/Compression/LZ/ |
D | BinTree.java | 184 int len0, len1; in GetMatches() local 185 len0 = len1 = kNumHashDirectBytes; in GetMatches() 215 int len = Math.min(len0, len1); in GetMatches() 238 len1 = len; in GetMatches() 293 int len0, len1; in Skip() local 294 len0 = len1 = kNumHashDirectBytes; in Skip() 311 int len = Math.min(len0, len1); in Skip() 329 len1 = len; in Skip()
|
/third_party/lzma/CS/7zip/Compress/LZ/ |
D | LzBinTree.cs | 184 UInt32 len0, len1; in GetMatches() 185 len0 = len1 = kNumHashDirectBytes; in GetMatches() 215 UInt32 len = Math.Min(len0, len1); in GetMatches() 238 len1 = len; in GetMatches() 293 UInt32 len0, len1; in Skip() 294 len0 = len1 = kNumHashDirectBytes; in Skip() 311 UInt32 len = Math.Min(len0, len1); in Skip() 329 len1 = len; in Skip()
|
/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/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/selinux/libselinux/src/ |
D | regex.c | 280 size_t len1, len2; in regex_cmp() local 281 rc = pcre2_pattern_info(regex1->regex, PCRE2_INFO_SIZE, &len1); in regex_cmp() 285 if (len1 != len2 || memcmp(regex1->regex, regex2->regex, len1)) in regex_cmp() 528 size_t len1, len2; in regex_cmp() local 529 rc = pcre_fullinfo(regex1->regex, NULL, PCRE_INFO_SIZE, &len1); in regex_cmp() 533 if (len1 != len2 || memcmp(regex1->regex, regex2->regex, len1)) in regex_cmp()
|
/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/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
D | hugemmap23.c | 28 unsigned long len1; member 172 p = SAFE_MMAP(NULL, tc->len1*hpage_size, tc->prot1, MAP_SHARED, fd, 0); in run_test() 189 if (tc->len2 < tc->len1) in run_test() 195 SAFE_MUNMAP(p, tc->len1*hpage_size); in run_test()
|
/third_party/ffmpeg/libswresample/ |
D | rematrix.c | 584 int len1 = 0; in swri_rematrix() local 593 len1= len&~15; in swri_rematrix() 594 off = len1 * out->bps; in swri_rematrix() 609 if(s->mix_1_1_simd && len1) in swri_rematrix() 610 …simd(out->ch[out_i] , in->ch[in_i] , s->native_simd_matrix, in->ch_count*out_i + in_i, len1); in swri_rematrix() 611 if(len != len1) in swri_rematrix() 612 …_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() 622 if(s->mix_2_1_simd && len1) in swri_rematrix() 623 …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() 625 …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/lzma/C/ |
D | LzFindOpt.c | 271 const Byte *len0 = cur, *len1 = cur; in GetMatchesSpecN_2() local 285 const Byte *len = (len0 < len1 ? len0 : len1); in GetMatchesSpecN_2() 368 len1 = len; in GetMatchesSpecN_2()
|
/third_party/node/deps/v8/src/debug/ |
D | liveedit.cc | 51 virtual void AddChunk(int pos1, int pos2, int len1, int len2) = 0; 227 void skip1(int len1) { in skip1() argument 229 pos1_ += len1; in skip1() 301 const int len1 = input->GetLength1(); in NarrowDownInput() local 309 int prefix_limit = std::min(len1, len2); in NarrowDownInput() 317 std::min(len1 - common_prefix_len, len2 - common_prefix_len); in NarrowDownInput() 320 input->Equals(len1 - common_suffix_len - 1, in NarrowDownInput() 327 int new_len1 = len1 - common_suffix_len - common_prefix_len; in NarrowDownInput() 343 TokensCompareInput(Handle<String> s1, int offset1, int len1, in TokensCompareInput() argument 345 : s1_(s1), offset1_(offset1), len1_(len1), in TokensCompareInput() [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/fortify/fortify_gtest/ |
D | fortify_recv_chk_test.cpp | 112 size_t len1 = sizeof(buf); variable 113 size_t result = static_cast<size_t>(__recv_chk(acceptFd, buf, len1, len1, 0));
|
/third_party/lzma/Asm/x86/ |
D | LzFindOpt.asm | 45 len1 equ r11 define 56 delta1_r equ len1 244 mov len1, len0 254 cmp len1, len0 255 cmovb len, len1 ; len = (len1 < len0 ? len1 : len0); 367 mov len1, len
|
/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))
|
D | strictTupleLength.types | 20 var len1: 1 = t1.length; 21 >len1 : 1
|
/third_party/ltp/testcases/kernel/syscalls/open/ |
D | open12.c | 113 off_t len1, len2; in test_append() local 122 len1 = SAFE_LSEEK(cleanup, TEST_RETURN, 0, SEEK_CUR); in test_append() 128 if (len2 > len1) in test_append()
|
/third_party/ninja/src/ |
D | getopt.c | 129 permute (char **argv, int len1, int len2) in permute() argument 131 reverse_argv_elements (argv, len1); in permute() 132 reverse_argv_elements (argv, len1 + len2); in permute()
|