/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
D | ComparableTimSort.java | 380 int len2 = runLen[i + 1]; in mergeAt() local 381 if (DEBUG) assert len1 > 0 && len2 > 0; in mergeAt() local 388 runLen[i] = len1 + len2; in mergeAt() 409 len2 = gallopLeft((Comparable<Object>)a[base1 + len1 - 1], a, base2, len2, len2 - 1); in mergeAt() 410 if (DEBUG) assert len2 >= 0; in mergeAt() local 411 if (len2 == 0) return; in mergeAt() 414 if (len1 <= len2) in mergeAt() 415 mergeLo(base1, len1, base2, len2); in mergeAt() 417 mergeHi(base1, len1, base2, len2); in mergeAt() 562 private void mergeLo (int base1, int len1, int base2, int len2) { [all …]
|
D | TimSort.java | 412 int len2 = runLen[i + 1]; in mergeAt() local 413 if (DEBUG) assert len1 > 0 && len2 > 0; in mergeAt() local 420 runLen[i] = len1 + len2; in mergeAt() 441 len2 = gallopLeft(a[base1 + len1 - 1], a, base2, len2, len2 - 1, c); in mergeAt() 442 if (DEBUG) assert len2 >= 0; in mergeAt() local 443 if (len2 == 0) return; in mergeAt() 446 if (len1 <= len2) in mergeAt() 447 mergeLo(base1, len1, base2, len2); in mergeAt() 449 mergeHi(base1, len1, base2, len2); in mergeAt() 594 private void mergeLo (int base1, int len1, int base2, int len2) { [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/v8/test/cctest/ |
D | test-liveedit.cc | 66 len1(len1_param), len2(len2_param), next(NULL) {} in DiffChunkStruct() 70 int len2; member in __anond99c430a0111::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() 107 int len2 = StrLength(s2); in CompareStringsOneWay() local 125 CHECK(pos2 + j < len2); in CompareStringsOneWay() 128 diff_parameter += chunk->len1 + chunk->len2; in CompareStringsOneWay() 130 pos2 = diff_pos2 + chunk->len2; in CompareStringsOneWay() 135 CHECK_EQ(similar_part_length, len2 - pos2); in CompareStringsOneWay() 136 USE(len2); in CompareStringsOneWay() [all …]
|
/external/v8/src/wasm/ |
D | ast-decoder.h | 100 unsigned len2 = 0; in BreakDepthOperand() local 102 depth = decoder->checked_read_u32v(pc, 1 + len1, &len2, "break depth"); in BreakDepthOperand() 103 length = len1 + len2; in BreakDepthOperand() 115 unsigned len2 = 0; in CallIndirectOperand() local 117 index = decoder->checked_read_u32v(pc, 1 + len1, &len2, "signature index"); in CallIndirectOperand() 118 length = len1 + len2; in CallIndirectOperand() 130 unsigned len2 = 0; in CallFunctionOperand() local 132 index = decoder->checked_read_u32v(pc, 1 + len1, &len2, "function index"); in CallFunctionOperand() 133 length = len1 + len2; in CallFunctionOperand() 145 unsigned len2 = 0; in CallImportOperand() local [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/libgdx/gdx/src/com/badlogic/gdx/math/ |
D | Vector2.java | 70 public static float len2 (float x, float y) { in len2() method in Vector2 75 public float len2 () { in len2() method in Vector2 240 float len2 = len2(); in limit2() local 241 if (len2 > limit2) { in limit2() 242 return scl((float)Math.sqrt(limit2 / len2)); in limit2() 249 final float len2 = len2(); in clamp() local 250 if (len2 == 0f) return this; in clamp() 252 if (len2 > max2) return scl((float)Math.sqrt(max2 / len2)); in clamp() 254 if (len2 < min2) return scl((float)Math.sqrt(min2 / len2)); in clamp() 264 public Vector2 setLength2 (float len2) { in setLength2() argument [all …]
|
D | Vector3.java | 232 public static float len2 (final float x, final float y, final float z) { in len2() method in Vector3 237 public float len2 () { in len2() method in Vector3 301 final float len2 = this.len2(); in nor() local 302 if (len2 == 0f || len2 == 1f) return this; in nor() 303 return this.scl(1f / (float)Math.sqrt(len2)); in nor() 490 return Math.abs(len2() - 1f) < margin; in isUnit() 500 return len2() < margin; in isZero() 505 …return len2(y * other.z - z * other.y, z * other.x - x * other.z, x * other.y - y * other.x) <= ep… in isOnLine() 510 …return len2(y * other.z - z * other.y, z * other.x - x * other.z, x * other.y - y * other.x) <= Ma… in isOnLine() 625 float len2 = len2(); in limit2() local [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.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_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()
|
/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 …]
|
/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()
|
/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()
|