/external/toybox/toys/example/ |
D | demo_utf8towc.c | 21 int len1, len2; in test_utf8towc_main() local 32 len2 = 4; in test_utf8towc_main() 34 while (!*str) str++, len2--; in test_utf8towc_main() 36 len1 = mbrtowc(&wc1, str, len2, &mb); in test_utf8towc_main() 38 len2 = utf8towc(&wc2, str, len2); 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/python/cpython2/Modules/zlib/ |
D | adler32.c | 12 local uLong adler32_combine_ OF((uLong adler1, uLong adler2, z_off64_t len2)); 136 local uLong adler32_combine_(adler1, adler2, len2) in adler32_combine_() argument 139 z_off64_t len2; 146 if (len2 < 0) 150 MOD63(len2); /* assumes len2 >= 0 */ 151 rem = (unsigned)len2; 165 uLong ZEXPORT adler32_combine(adler1, adler2, len2) in adler32_combine() argument 168 z_off_t len2; 170 return adler32_combine_(adler1, adler2, len2); 173 uLong ZEXPORT adler32_combine64(adler1, adler2, len2) in adler32_combine64() argument [all …]
|
D | crc32.c | 53 local uLong crc32_combine_ OF((uLong crc1, uLong crc2, z_off64_t len2)); 355 local uLong crc32_combine_(crc1, crc2, len2) in crc32_combine_() argument 358 z_off64_t len2; 366 if (len2 <= 0) 388 if (len2 & 1) 390 len2 >>= 1; 393 if (len2 == 0) 398 if (len2 & 1) 400 len2 >>= 1; 403 } while (len2 != 0); [all …]
|
/external/zlib/src/ |
D | adler32.c | 10 local uLong adler32_combine_ OF((uLong adler1, uLong adler2, z_off64_t len2)); 143 local uLong adler32_combine_(adler1, adler2, len2) in adler32_combine_() argument 146 z_off64_t len2; 153 if (len2 < 0) 157 MOD63(len2); /* assumes len2 >= 0 */ 158 rem = (unsigned)len2; 172 uLong ZEXPORT adler32_combine(adler1, adler2, len2) in adler32_combine() argument 175 z_off_t len2; 177 return adler32_combine_(adler1, adler2, len2); 180 uLong ZEXPORT adler32_combine64(adler1, adler2, len2) in adler32_combine64() argument [all …]
|
D | crc32.c | 51 local uLong crc32_combine_ OF((uLong crc1, uLong crc2, z_off64_t len2)); 372 local uLong crc32_combine_(crc1, crc2, len2) in crc32_combine_() argument 375 z_off64_t len2; 383 if (len2 <= 0) 405 if (len2 & 1) 407 len2 >>= 1; 410 if (len2 == 0) 415 if (len2 & 1) 417 len2 >>= 1; 420 } while (len2 != 0); [all …]
|
/external/python/cpython3/Modules/zlib/ |
D | adler32.c | 10 local uLong adler32_combine_ OF((uLong adler1, uLong adler2, z_off64_t len2)); 143 local uLong adler32_combine_(adler1, adler2, len2) in adler32_combine_() argument 146 z_off64_t len2; 153 if (len2 < 0) 157 MOD63(len2); /* assumes len2 >= 0 */ 158 rem = (unsigned)len2; 172 uLong ZEXPORT adler32_combine(adler1, adler2, len2) in adler32_combine() argument 175 z_off_t len2; 177 return adler32_combine_(adler1, adler2, len2); 180 uLong ZEXPORT adler32_combine64(adler1, adler2, len2) in adler32_combine64() argument [all …]
|
D | crc32.c | 51 local uLong crc32_combine_ OF((uLong crc1, uLong crc2, z_off64_t len2)); 372 local uLong crc32_combine_(crc1, crc2, len2) in crc32_combine_() argument 375 z_off64_t len2; 383 if (len2 <= 0) 405 if (len2 & 1) 407 len2 >>= 1; 410 if (len2 == 0) 415 if (len2 & 1) 417 len2 >>= 1; 420 } while (len2 != 0); [all …]
|
/external/lzma/CPP/Windows/Control/ |
D | ComboBox.cpp | 24 LRESULT len2 = GetLBText(index, s.GetBuf((unsigned)len)); in GetLBText() local 25 if (len2 == CB_ERR) in GetLBText() 27 if (len > len2) in GetLBText() 28 len = len2; in GetLBText() 49 LRESULT len2 = SendMsgW(CB_GETLBTEXT, index, (LPARAM)s.GetBuf((unsigned)len)); in GetLBText() local 50 if (len2 == CB_ERR) in GetLBText() 52 if (len > len2) in GetLBText() 53 len = len2; in GetLBText()
|
/external/syslinux/com32/lib/zlib/ |
D | crc32.c | 71 local uLong crc32_combine_(uLong crc1, uLong crc2, z_off64_t len2); 372 local uLong crc32_combine_(crc1, crc2, len2) in crc32_combine_() argument 375 z_off64_t len2; 383 if (len2 <= 0) 405 if (len2 & 1) 407 len2 >>= 1; 410 if (len2 == 0) 415 if (len2 & 1) 417 len2 >>= 1; 420 } while (len2 != 0); [all …]
|
D | adler32.c | 12 local uLong adler32_combine_(uLong adler1, uLong adler2, z_off64_t len2); 131 local uLong adler32_combine_(adler1, adler2, len2) in adler32_combine_() argument 134 z_off64_t len2; 141 rem = (unsigned)(len2 % BASE); 155 uLong ZEXPORT adler32_combine(adler1, adler2, len2) in adler32_combine() argument 158 z_off_t len2; 160 return adler32_combine_(adler1, adler2, len2); 163 uLong ZEXPORT adler32_combine64(adler1, adler2, len2) in adler32_combine64() argument 166 z_off64_t len2; 168 return adler32_combine_(adler1, adler2, len2);
|
/external/valgrind/VEX/priv/ |
D | main_util.c | 343 SizeT len2; in vprintf_wrk() local 402 len2 = vex_strlen(str); in vprintf_wrk() 403 if (fwidth > len2) { len1 = ljustify ? 0 : fwidth-len2; in vprintf_wrk() 404 len3 = ljustify ? fwidth-len2 : 0; } in vprintf_wrk() 414 len2 = vex_strlen(str); in vprintf_wrk() 415 if (fwidth > len2) { len1 = ljustify ? 0 : fwidth-len2; in vprintf_wrk() 416 len3 = ljustify ? fwidth-len2 : 0; } in vprintf_wrk() 431 len2 = vex_strlen(intbuf); in vprintf_wrk() 432 if (fwidth > len2) { len1 = ljustify ? 0 : fwidth-len2; in vprintf_wrk() 433 len3 = ljustify ? fwidth-len2 : 0; } in vprintf_wrk() [all …]
|
/external/valgrind/none/tests/s390x/ |
D | clcl.c | 13 uint32_t len2; member 63 result.len2 = regs.r2p1 & 0xFFFFFF; in result_from_regs() 74 void *addr2, uint32_t len2, uint32_t pad) in clcl() argument 83 assert((len2 & 0xFFFFFF) == len2); in clcl() 89 r2p1 = len2 | (pad << 24); in clcl() 130 if (result1.len2 != result2.len2) 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 | 13 uint32_t len2; member 64 result.len2 = regs.r2p1 & 0xFFFFFF; in result_from_regs() 75 void *addr2, uint32_t len2, uint32_t pad) in mvcl() argument 84 assert((len2 & 0xFFFFFF) == len2); in mvcl() 93 r2p1 = len2 | (pad << 24); in mvcl() 135 if (result1.len2 != result2.len2) in mvcl() 167 result.len1, result.len2, (int64_t)result.addr1 - (int64_t)dst, in run_test()
|
/external/toybox/toys/posix/ |
D | cmp.c | 33 int i, len1, len2, min_len, size = sizeof(toybuf)/2; local 50 len2 = readall(fd, buf2, 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);
|
D | wc.c | 67 int pos, done = 0, len2 = read(fd, toybuf+len, sizeof(toybuf)-len); in do_wc() local 69 if (len2<0) perror_msg_raw(name); in do_wc() 70 else len += len2; in do_wc() 71 if (len2<1) done++; in do_wc()
|
/external/dtc/tests/ |
D | dtbs_equal_unordered.c | 113 int len1, len2; in compare_properties() local 124 data2 = fdt_getprop(fdt2, offset2, name, &len2); in compare_properties() 126 if (len2 == -FDT_ERR_NOTFOUND) in compare_properties() 130 fdt_strerror(len2)); in compare_properties() 136 verbose_printf("\nlen2=%d data2=", len2); in compare_properties() 141 if (len1 != len2) in compare_properties() 143 name, len1, len2); in compare_properties()
|
D | dtbs_equal_ordered.c | 86 int len1, len2; in compare_structure() local 132 len2 = fdt32_to_cpu(prop2->len); in compare_structure() 133 if (len1 != len2) in compare_structure() 135 "at (%d, %d)", len1, len2, offset1, offset2); in compare_structure()
|
/external/skia/src/effects/ |
D | SkDashPathEffect.cpp | 230 SkScalar len2 = length; in asPoints() local 232 SkASSERT(len2 >= clampedInitialDashLength); in asPoints() 238 len2 -= clampedInitialDashLength; in asPoints() 240 len2 -= fIntervals[1]; // also skip first space in asPoints() 241 if (len2 < 0) { in asPoints() 242 len2 = 0; in asPoints() 245 len2 -= clampedInitialDashLength; // skip initial partial empty in asPoints() 251 SkScalar numIntervals = len2 / fIntervalLength; in asPoints() 257 len2 -= numMidPoints * fIntervalLength; in asPoints() 259 if (len2 > 0) { in asPoints() [all …]
|
/external/skqp/src/effects/ |
D | SkDashPathEffect.cpp | 230 SkScalar len2 = length; in asPoints() local 232 SkASSERT(len2 >= clampedInitialDashLength); in asPoints() 238 len2 -= clampedInitialDashLength; in asPoints() 240 len2 -= fIntervals[1]; // also skip first space in asPoints() 241 if (len2 < 0) { in asPoints() 242 len2 = 0; in asPoints() 245 len2 -= clampedInitialDashLength; // skip initial partial empty in asPoints() 251 SkScalar numIntervals = len2 / fIntervalLength; in asPoints() 257 len2 -= numMidPoints * fIntervalLength; in asPoints() 259 if (len2 > 0) { in asPoints() [all …]
|
/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() 523 len2 >>= 1; in audioop_findfit() 525 if ( len1 < len2 ) { in audioop_findfit() 529 sum_ri_2 = _sum2(cp2, cp2, len2); in audioop_findfit() 530 sum_aij_2 = _sum2(cp1, cp1, len2); in audioop_findfit() 531 sum_aij_ri = _sum2(cp1, cp2, len2); in audioop_findfit() 538 for (j=1; j<=len1-len2; j++) { in audioop_findfit() 540 aj_lm1 = (double)cp1[j+len2-1]; in audioop_findfit() [all …]
|
/external/lzma/CPP/Windows/ |
D | Window.cpp | 122 int len2 = GetText(p, len + 1); in GetText() local 123 if (len > len2) in GetText() 124 len = len2; in GetText() 143 int len2 = GetWindowTextW(_window, p, len + 1); in GetText() local 144 if (len > len2) in GetText() 145 len = len2; in GetText()
|
D | FileLink.cpp | 124 unsigned len2 = MyStringLen(path) * 2; in FillLinkData() local 125 const unsigned len1 = len2 + add_Prefix_Len * 2; in FillLinkData() 127 len2 = 0; in FillLinkData() 129 unsigned totalNamesSize = (len1 + len2); in FillLinkData() 155 subOffs = len2; in FillLinkData() 162 Set16(p + 6, (UInt16)len2); in FillLinkData()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_libc_test.cc | 91 uptr len2 = internal_strlen(str2); in TEST() local 100 EXPECT_TRUE(WriteToFile(fd, str2, len2, &bytes_written)); in TEST() 101 EXPECT_EQ(len2, bytes_written); in TEST() 112 EXPECT_EQ(len1 + len2, fsize); in TEST() 137 EXPECT_TRUE(ReadFromFile(fd, buf, len2, &bytes_read)); in TEST() 138 EXPECT_EQ(len2, bytes_read); in TEST() 139 EXPECT_EQ(0, internal_memcmp(buf, str2, len2)); in TEST()
|
/external/dng_sdk/source/ |
D | dng_string.cpp | 1519 uint32 len2 = strlenAsUint32 (s); in EndsWith() local 1521 if (len1 < len2) in EndsWith() 1526 const char *t = Get () + (len1 - len2); in EndsWith() 1565 uint32 len2 = strlenAsUint32 (s); in Contains() local 1567 if (len1 < len2) in Contains() 1572 uint32 offsets = len1 - len2; in Contains() 1630 uint32 len2 = strlenAsUint32 (old_string); in Replace() local 1633 if (len2 == len3) in Replace() 1642 else if (len2 > len3) in Replace() 1649 const char *s = fData.Buffer_char () + match_offset + len2; in Replace() [all …]
|
/external/curl/tests/python_dependencies/impacket/ |
D | spnego.py | 58 len2 = unpack('B',data[:pad])[0] 60 ans = data[:len2] 63 len2 = unpack('!H', data[:pad])[0] 65 ans = data[:len2] 68 len2, len3 = unpack('!BH', data[:pad]) 70 ans = data[:len2 << 16 + len3] 73 len2 = unpack('!L', data[:pad])[0] 75 ans = data[:len2]
|