/external/v8/test/cctest/ |
D | test-liveedit.cc | 66 len1(len1_param), len2(len2_param), next(NULL) {} in DiffChunkStruct() 70 int len2; member in __anon8fc936890111::DiffChunkStruct 82 void AddChunk(int pos1, int pos2, int len1, int len2) { in AddChunk() argument 83 current_chunk_ = new(zone_) DiffChunkStruct(pos1, pos2, len1, len2); in AddChunk() 106 int len2 = StrLength(s2); in CompareStringsOneWay() local 124 CHECK(pos2 + j < len2); in CompareStringsOneWay() 127 diff_parameter += chunk->len1 + chunk->len2; in CompareStringsOneWay() 129 pos2 = diff_pos2 + chunk->len2; in CompareStringsOneWay() 134 CHECK_EQ(similar_part_length, len2 - pos2); in CompareStringsOneWay() 135 USE(len2); in CompareStringsOneWay() [all …]
|
/external/zlib/src/ |
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/opencv3/3rdparty/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/v8/test/mjsunit/regress/ |
D | regress-666721.js | 30 function len2(a) { return a.length; } function 43 assertEquals(0, len2({length:0})); 44 assertEquals(1, len2([1])); 45 assertEquals(2, len2({length:2})); 46 assertEquals(3, len2([1,2,3])); 47 assertEquals(4, len2('1234'));
|
/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/pdfium/third_party/zlib_v128/ |
D | crc32.c | 53 local uLong crc32_combine_ OF((uLong crc1, uLong crc2, z_off64_t len2)); 358 z_off64_t len2) in crc32_combine_() argument 366 if (len2 <= 0) in crc32_combine_() 388 if (len2 & 1) in crc32_combine_() 390 len2 >>= 1; in crc32_combine_() 393 if (len2 == 0) in crc32_combine_() 398 if (len2 & 1) in crc32_combine_() 400 len2 >>= 1; in crc32_combine_() 403 } while (len2 != 0); in crc32_combine_() 414 z_off_t len2) in crc32_combine() argument [all …]
|
D | adler32.c | 12 local uLong adler32_combine_ OF((uLong adler1, uLong adler2, z_off64_t len2)); 139 z_off64_t len2) in adler32_combine_() argument 146 if (len2 < 0) in adler32_combine_() 150 MOD63(len2); /* assumes len2 >= 0 */ in adler32_combine_() 151 rem = (unsigned)len2; in adler32_combine_() 168 z_off_t len2) in adler32_combine() argument 170 return adler32_combine_(adler1, adler2, len2); in adler32_combine() 176 z_off64_t len2) in adler32_combine64() argument 178 return adler32_combine_(adler1, adler2, len2); in adler32_combine64()
|
/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()
|
D | cu24_1.c | 17 uint64_t len2; member 79 regs.len2 = source_len; in do_cu24() 117 printf(" src len: %"PRId64"\n", result.len2); in run_test()
|
D | cu24.c | 17 uint64_t len2; member 79 regs.len2 = source_len; in do_cu24() 117 printf(" src len: %"PRId64"\n", result.len2); in run_test()
|
/external/toybox/toys/posix/ |
D | cmp.c | 33 int i, len1, len2, min_len, size = sizeof(toybuf)/2; local 48 len2 = readall(fd, buf2, size); 50 min_len = len1 < len2 ? len1 : len2; 68 if (len1 != len2) { 70 fprintf(stderr, "cmp: EOF on %s\n", len1 < len2 ? TT.name : name);
|
/external/skia/src/effects/ |
D | SkDashPathEffect.cpp | 234 SkScalar len2 = length; in asPoints() local 236 SkASSERT(len2 >= clampedInitialDashLength); in asPoints() 242 len2 -= clampedInitialDashLength; in asPoints() 244 len2 -= fIntervals[1]; // also skip first space in asPoints() 245 if (len2 < 0) { in asPoints() 246 len2 = 0; in asPoints() 249 len2 -= clampedInitialDashLength; // skip initial partial empty in asPoints() 252 int numMidPoints = SkScalarFloorToInt(len2 / fIntervalLength); in asPoints() 254 len2 -= numMidPoints * fIntervalLength; in asPoints() 256 if (len2 > 0) { in asPoints() [all …]
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/util/ |
D | SorterTemplate.java | 99 private void merge(int lo, int pivot, int hi, int len1, int len2) { in merge() argument 100 if (len1 == 0 || len2 == 0) { in merge() 103 if (len1 + len2 == 2) { in merge() 111 if (len1 > len2) { in merge() 117 len22 = len2 / 2; in merge() 125 merge(new_mid, second_cut, hi, len1 - len11, len2 - len22); in merge()
|
/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 …]
|
D | dng_temperature.cpp | 221 real64 len2 = sqrt (1.0 + vv2 * vv2); in Get_xy_coord() local 226 uu2 /= len2; in Get_xy_coord() 227 vv2 /= len2; in Get_xy_coord()
|
/external/lzma/CPP/Windows/ |
D | FileLink.cpp | 122 unsigned len2 = MyStringLen(path) * 2; in FillLinkData() local 123 const unsigned len1 = len2 + add_Prefix_Len * 2; in FillLinkData() 125 len2 = 0; in FillLinkData() 127 unsigned totalNamesSize = (len1 + len2); in FillLinkData() 153 subOffs = len2; in FillLinkData() 160 Set16(p + 6, (UInt16)len2); in FillLinkData()
|
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
D | XStringForFSB.java | 476 int len2 = xstr.length(); in compareTo() local 477 int n = Math.min(len1, len2); in compareTo() 496 return len1 - len2; in compareTo() 522 int len2 = xstr.length(); in compareToIgnoreCase() local 523 int n = Math.min(len1, len2); in compareToIgnoreCase() 542 return len1 - len2; in compareToIgnoreCase()
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/ |
D | Optimum.java | 64 void set3(int newPrice, int optCur, int back2, int len2, int back) { in set3() argument 66 optPrev = optCur + len2 + 1; in set3()
|
D | LZMAEncoderNormal.java | 454 int len2 = lz.getMatchLen(len + 1, opts[optCur].reps[rep], 457 if (len2 >= MATCH_LEN_MIN) { 474 price += getLongRepAndLenPrice(0, len2, 477 int i = optCur + len + 1 + len2; 533 int len2 = lz.getMatchLen(len + 1, dist, len2Limit); 535 if (len2 >= MATCH_LEN_MIN) { 551 price += getLongRepAndLenPrice(0, len2, 554 int i = optCur + len + 1 + len2;
|
/external/libopus/silk/ |
D | resampler_down2.c | 43 opus_int32 k, len2 = silk_RSHIFT32( inLen, 1 ); in silk_resampler_down2() local 50 for( k = 0; k < len2; k++ ) { in silk_resampler_down2()
|
/external/opencv/otherlibs/highgui/ |
D | grfmt_base.cpp | 167 int i, len2 = GetExtensionLength( descr ); in CheckExtension() local 169 if( len2 == 0 ) in CheckExtension() 172 if( len2 == len ) in CheckExtension()
|