/external/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 map_create_list() local 120 len1 = len * 4 / 3; in map_create_list() 121 buf = get_mem(len1); in map_create_list() 124 len = len1; in map_create_list() [all …]
|
/external/toybox/toys/posix/ |
D | cmp.c | 33 int i, len1, len2, min_len, size = sizeof(toybuf)/2; local 49 len1 = readall(TT.fd, toybuf, size); 52 min_len = len1 < len2 ? len1 : len2; 68 if (len1 != len2) { 70 fprintf(stderr, "cmp: EOF on %s\n", len1 < len2 ? TT.name : name); 74 if (len1 < 1) break;
|
/external/valgrind/none/tests/s390x/ |
D | clcl.c | 11 uint32_t len1; member 61 result.len1 = regs.r1p1 & 0xFFFFFF; in result_from_regs() 73 clcl(void *addr1, uint32_t len1, in clcl() argument 82 assert((len1 & 0xFFFFFF) == len1); in clcl() 87 r1p1 = len1; in clcl() 128 if (result1.len1 != result2.len1) in clcl() 141 run_test(void *addr1, uint32_t len1, void *addr2, uint32_t len2, uint32_t pad) in run_test() argument 145 result = clcl(addr1, len1, addr2, len2, pad); in run_test() 149 result.len1, result.len2, (int64_t)result.addr1 - (int64_t)addr1, in run_test()
|
D | mvcl.c | 11 uint32_t len1; member 62 result.len1 = regs.r1p1 & 0xFFFFFF; in result_from_regs() 74 mvcl(void *addr1, uint32_t len1, in mvcl() argument 83 assert((len1 & 0xFFFFFF) == len1); in mvcl() 87 void *copy = memcpy(malloc(len1), addr1, len1); in mvcl() 91 r1p1 = len1; in mvcl() 110 memcpy(addr1, copy, len1); in mvcl() 133 if (result1.len1 != result2.len1) in mvcl() 167 result.len1, result.len2, (int64_t)result.addr1 - (int64_t)dst, in run_test()
|
D | cu42.c | 12 uint64_t len1; member 80 regs.len1 = dest_len; in do_cu42() 98 if (dst_len - result.len1 == 0) in run_test() 101 assert((dst_len - result.len1) % 2 == 0); in run_test() 102 for (i = 0; i < (dst_len - result.len1) / 2; ++i) { in run_test() 110 printf(" dst len: %"PRId64"\n", result.len1); in run_test()
|
D | cu24.c | 15 uint64_t len1; member 77 regs.len1 = dest_len; in do_cu24() 95 if (dst_len - result.len1 == 0) in run_test() 98 uint64_t num_bytes = dst_len - result.len1; in run_test() 113 printf(" dst len: %"PRId64"\n", result.len1); in run_test()
|
D | cu24_1.c | 15 uint64_t len1; member 77 regs.len1 = dest_len; in do_cu24() 95 if (dst_len - result.len1 == 0) in run_test() 98 uint64_t num_bytes = dst_len - result.len1; in run_test() 113 printf(" dst len: %"PRId64"\n", result.len1); in run_test()
|
D | cu41.c | 12 uint64_t len1; member 91 regs.len1 = dest_len; in do_cu41() 109 if (dst_len - result.len1 == 0) in run_test() 112 for (i = 0; i < dst_len - result.len1; ++i) { in run_test() 120 printf(" dst len: %"PRId64"\n", result.len1); in run_test()
|
D | cu21.c | 15 uint64_t len1; member 90 regs.len1 = dest_len; in do_cu21() 108 if (dst_len - result.len1 == 0) in run_test() 111 for (i = 0; i < dst_len - result.len1; i++) { in run_test() 119 printf(" dst len: %"PRId64"\n", result.len1); in run_test()
|
D | cu21_1.c | 15 uint64_t len1; member 90 regs.len1 = dest_len; in do_cu21() 108 if (dst_len - result.len1 == 0) in run_test() 111 for (i = 0; i < dst_len - result.len1; i++) { in run_test() 119 printf(" dst len: %"PRId64"\n", result.len1); in run_test()
|
/external/dtc/tests/ |
D | dtbs_equal_unordered.c | 113 int len1, len2; in compare_properties() local 117 data1 = fdt_getprop_by_offset(fdt1, offset, &name, &len1); in compare_properties() 120 fdt_strerror(len1)); in compare_properties() 133 verbose_printf("len1=%d data1=", len1); in compare_properties() 134 for (i = 0; i < len1; i++) in compare_properties() 137 for (i = 0; i < len1; i++) in compare_properties() 141 if (len1 != len2) in compare_properties() 143 name, len1, len2); in compare_properties() 144 else if (memcmp(data1, data2, len1) != 0) in compare_properties()
|
D | dtbs_equal_ordered.c | 86 int len1, len2; in compare_structure() local 131 len1 = fdt32_to_cpu(prop1->len); in compare_structure() 133 if (len1 != len2) in compare_structure() 135 "at (%d, %d)", len1, len2, offset1, offset2); in compare_structure() 137 if (memcmp(prop1->data, prop2->data, len1) != 0) in compare_structure()
|
/external/toybox/toys/example/ |
D | demo_utf8towc.c | 21 int len1, len2; in test_utf8towc_main() local 36 len1 = mbrtowc(&wc1, str, len2, &mb); in test_utf8towc_main() 37 if (len1<0) memset(&mb, 0, sizeof(mb)); in test_utf8towc_main() 39 if (len1 != len2 || wc1 != wc2) in test_utf8towc_main() 40 printf("%x %d %x %d %x\n", u, len1, wc1, len2, wc2); in test_utf8towc_main()
|
/external/valgrind/VEX/priv/ |
D | main_util.c | 342 Int fwidth, nout, len1, len3; in vprintf_wrk() local 401 len1 = len3 = 0; in vprintf_wrk() 403 if (fwidth > len2) { len1 = ljustify ? 0 : fwidth-len2; in vprintf_wrk() 405 PAD(len1); PUTSTR(str); PAD(len3); in vprintf_wrk() 413 len1 = len3 = 0; in vprintf_wrk() 415 if (fwidth > len2) { len1 = ljustify ? 0 : fwidth-len2; in vprintf_wrk() 417 PAD(len1); PUTSTR(str); PAD(len3); in vprintf_wrk() 430 len1 = len3 = 0; in vprintf_wrk() 432 if (fwidth > len2) { len1 = ljustify ? 0 : fwidth-len2; in vprintf_wrk() 434 PAD(len1); PUTSTR(intbuf); PAD(len3); in vprintf_wrk() [all …]
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_libc_test.cc | 89 uptr len1 = internal_strlen(str1); in TEST() local 98 EXPECT_TRUE(WriteToFile(fd, str1, len1, &bytes_written)); in TEST() 99 EXPECT_EQ(len1, bytes_written); in TEST() 112 EXPECT_EQ(len1 + len2, fsize); in TEST() 132 EXPECT_TRUE(ReadFromFile(fd, buf, len1, &bytes_read)); in TEST() 133 EXPECT_EQ(len1, bytes_read); in TEST() 134 EXPECT_EQ(0, internal_memcmp(buf, str1, len1)); in TEST() 135 EXPECT_EQ((char)0, buf[len1 + 1]); in TEST() 136 internal_memset(buf, 0, len1); in TEST()
|
/external/oj-libjdwp/src/share/npt/ |
D | utf.c | 460 int len1; in test() local 468 len1 = utf8FromPlatform(ui, str, (int)strlen(str), (jbyte*)buf1, 1024); in test() 470 UTF_ASSERT(len1==(int)strlen(str)); in test() 472 len3 = utf8ToUtf16(ui, (jbyte*)buf1, len1, (jchar*)buf3, 1024); in test() 474 UTF_ASSERT(len3==len1); in test() 476 len1 = utf16ToUtf8m(ui, (jchar*)buf3, len3, (jbyte*)buf1, 1024); in test() 478 UTF_ASSERT(len1==len3); in test() 481 len2 = utf8ToPlatform(ui, (jbyte*)buf1, len1, buf2, 1024); in test() 483 UTF_ASSERT(len2==len1); in test()
|
/external/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()
|
/external/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()
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lz/ |
D | BT4.java | 135 int len1 = 0; in getMatches() local 151 int len = Math.min(len0, len1); in getMatches() 177 len1 = len; in getMatches() 193 int len1 = 0; in skip() local 206 int len = Math.min(len0, len1); in skip() 226 len1 = len; in skip()
|
/external/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()
|
/external/v8/src/wasm/ |
D | function-body-decoder-impl.h | 203 unsigned len1 = 0; in CallFunctionOperand() local 205 index = decoder->checked_read_u32v(pc, 1 + len1, &len2, "function index"); in CallFunctionOperand() 206 length = len1 + len2; in CallFunctionOperand() 230 unsigned len1 = 0; in BranchTableOperand() local 231 table_count = decoder->checked_read_u32v(pc, 1, &len1, "table count"); in BranchTableOperand() 233 len1 > UINT_MAX - (table_count + 1) * sizeof(uint32_t)) { in BranchTableOperand() 236 table = pc + 1 + len1; in BranchTableOperand()
|
/external/python/cpython2/Modules/ |
D | audioop.c | 506 int len1, len2; in audioop_findfit() local 516 (char**)&cp1, &len1, (char**)&cp2, &len2) ) in audioop_findfit() 518 if ( len1 & 1 || len2 & 1 ) { in audioop_findfit() 522 len1 >>= 1; in audioop_findfit() 525 if ( len1 < len2 ) { in audioop_findfit() 538 for (j=1; j<=len1-len2; j++) { in audioop_findfit() 568 int len1, len2; in audioop_findfactor() local 572 (char**)&cp1, &len1, (char**)&cp2, &len2) ) in audioop_findfactor() 574 if ( len1 & 1 || len2 & 1 ) { in audioop_findfactor() 578 if ( len1 != len2 ) { in audioop_findfactor() [all …]
|
/external/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()
|
/external/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 …]
|
/external/dnsmasq/src/ |
D | netlink.c | 190 unsigned int len1 = h->nlmsg_len - NLMSG_LENGTH(sizeof(*ifa)); in iface_enumerate() local 200 while (RTA_OK(rta, len1)) in iface_enumerate() 207 rta = RTA_NEXT(rta, len1); in iface_enumerate() 218 while (RTA_OK(rta, len1)) in iface_enumerate() 223 rta = RTA_NEXT(rta, len1); in iface_enumerate()
|