/art/test/660-checker-sad/src/ |
D | SadChar.java | 41 int diff = x - y; in sad2() local 42 if (diff < 0) diff = -diff; in sad2() 43 return diff; in sad2() 54 int diff = x - y; in sad3() local 55 return diff >= 0 ? diff : -diff; in sad3() 66 int diff = x - y; in sad3Alt() local 67 return 0 <= diff ? diff : -diff; in sad3Alt() 91 long diff = x - y; in sadL2() local 92 if (diff < 0L) diff = -diff; in sadL2() 93 return diff; in sadL2() [all …]
|
D | SadShort.java | 41 int diff = x - y; in sad2() local 42 if (diff < 0) diff = -diff; in sad2() 43 return diff; in sad2() 54 int diff = x - y; in sad3() local 55 return diff >= 0 ? diff : -diff; in sad3() 66 int diff = x - y; in sad3Alt() local 67 return 0 <= diff ? diff : -diff; in sad3Alt() 91 long diff = x - y; in sadL2() local 92 if (diff < 0L) diff = -diff; in sadL2() 93 return diff; in sadL2() [all …]
|
D | SadByte.java | 41 int diff = x - y; in sad2() local 42 if (diff < 0) diff = -diff; in sad2() 43 return diff; in sad2() 54 int diff = x - y; in sad3() local 55 return diff >= 0 ? diff : -diff; in sad3() 66 int diff = x - y; in sad3Alt() local 67 return 0 <= diff ? diff : -diff; in sad3Alt() 91 long diff = x - y; in sadL2() local 92 if (diff < 0L) diff = -diff; in sadL2() 93 return diff; in sadL2() [all …]
|
D | SadInt.java | 46 int diff = x - y; in sad2() local 47 if (diff < 0) diff = -diff; in sad2() 48 return diff; in sad2() 59 int diff = x - y; in sad3() local 60 return diff >= 0 ? diff : -diff; in sad3() 71 int diff = x - y; in sad3Alt() local 72 return 0 <= diff ? diff : -diff; in sad3Alt() 96 long diff = x - y; in sadL2() local 97 if (diff < 0L) diff = -diff; in sadL2() 98 return diff; in sadL2() [all …]
|
D | SadLong.java | 46 long diff = x - y; in sad2() local 47 if (diff < 0) diff = -diff; in sad2() 48 return diff; in sad2() 59 long diff = x - y; in sad3() local 60 return diff >= 0 ? diff : -diff; in sad3() 71 long diff = x - y; in sad3Alt() local 72 return 0 <= diff ? diff : -diff; in sad3Alt()
|
/art/dex2oat/linker/x86_64/ |
D | relative_patcher_x86_64_test.cc | 120 uint32_t diff = kTrampolineOffset - (result.second + kCallCode.size()); in TEST_F() local 123 static_cast<uint8_t>(diff), in TEST_F() 124 static_cast<uint8_t>(diff >> 8), in TEST_F() 125 static_cast<uint8_t>(diff >> 16), in TEST_F() 126 static_cast<uint8_t>(diff >> 24) in TEST_F() 144 uint32_t diff = bss_begin_ + kStringEntryOffset - (result.second + kDexCacheLoadCode.size()); in TEST_F() local 147 static_cast<uint8_t>(diff), in TEST_F() 148 static_cast<uint8_t>(diff >> 8), in TEST_F() 149 static_cast<uint8_t>(diff >> 16), in TEST_F() 150 static_cast<uint8_t>(diff >> 24) in TEST_F() [all …]
|
/art/dex2oat/linker/x86/ |
D | relative_patcher_x86_test.cc | 100 uint32_t diff = kTrampolineOffset - (result.second + kCallCode.size()); in TEST_F() local 103 static_cast<uint8_t>(diff), in TEST_F() 104 static_cast<uint8_t>(diff >> 8), in TEST_F() 105 static_cast<uint8_t>(diff >> 16), in TEST_F() 106 static_cast<uint8_t>(diff >> 24) in TEST_F() 131 uint32_t diff = bss_begin_ + kStringEntryOffset - (result.second + anchor_offset); in TEST_F() local 136 static_cast<uint8_t>(diff), in TEST_F() 137 static_cast<uint8_t>(diff >> 8), in TEST_F() 138 static_cast<uint8_t>(diff >> 16), in TEST_F() 139 static_cast<uint8_t>(diff >> 24) in TEST_F() [all …]
|
D | relative_patcher_x86.cc | 53 uint32_t diff = target_offset - anchor_offset; in PatchPcRelativeReference() local 54 (*code)[literal_offset + 0u] = static_cast<uint8_t>(diff >> 0); in PatchPcRelativeReference() 55 (*code)[literal_offset + 1u] = static_cast<uint8_t>(diff >> 8); in PatchPcRelativeReference() 56 (*code)[literal_offset + 2u] = static_cast<uint8_t>(diff >> 16); in PatchPcRelativeReference() 57 (*code)[literal_offset + 3u] = static_cast<uint8_t>(diff >> 24); in PatchPcRelativeReference()
|
/art/runtime/arch/arm64/ |
D | memcmp16_arm64.S | 39 #define diff x6 macro 66 eor diff, data1, data2 /* Non-zero if differences found. */ 67 csinv endloop, diff, xzr, ne /* Last Dword or differences. */ 88 rev diff, diff 90 clz diff, diff 92 bfi diff, xzr, #0, #4 96 lsr data1, data1, diff 97 lsr data2, data2, diff
|
/art/dex2oat/linker/ |
D | index_bss_mapping_encoder.h | 48 uint32_t diff = index - entry_.GetIndex(index_bits_); in TryMerge() local 49 if (diff > 32u - index_bits_) { in TryMerge() 53 if ((mask & ~(static_cast<uint32_t>(-1) << diff)) != 0u) { in TryMerge() 58 mask = ((mask << index_bits_) >> diff) | (static_cast<uint32_t>(1u) << (32 - diff)); in TryMerge()
|
/art/runtime/ |
D | index_bss_mapping.cc | 29 uint32_t diff = GetIndex(index_bits) - index; in GetBssOffset() local 30 if (diff == 0u) { in GetBssOffset() 34 if (diff > mask_bits) { in GetBssOffset() 39 uint32_t mask_from_index = index_and_mask >> (32u - diff); in GetBssOffset()
|
/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 130 uint32_t diff = target_offset - bne_offset - kPcAdjustment; in BneWWithOffset() local 131 DCHECK_ALIGNED(diff, 2u); in BneWWithOffset() 132 if ((diff >> 20) != 0 && (diff >> 20) != 0xfffu) { in BneWWithOffset() 133 LOG(ERROR) << "Target out of range: " << diff; in BneWWithOffset() 136 return kBneWPlus0 | ((diff >> 1) & 0x7ffu) // imm11 in BneWWithOffset() 137 | (((diff >> 12) & 0x3fu) << 16) // imm6 in BneWWithOffset() 138 | (((diff >> 18) & 1) << 13) // J1 in BneWWithOffset() 139 | (((diff >> 19) & 1) << 11) // J2 in BneWWithOffset() 140 | (((diff >> 20) & 1) << 26); // S in BneWWithOffset() 383 uint32_t diff = target_offset - pc_base_offset; in CheckPcRelativePatch() local [all …]
|
/art/test/1339-dead-reference-safe/ |
D | check | 20 diff --ignore-matching-lines="DeadReferenceSafe count:" -q $1 $2
|
/art/test/178-app-image-native-method/ |
D | check | 18 grep -v 'No implementation found for ' "$2" | diff -q "$1" - >/dev/null
|
/art/test/etc/ |
D | default-check | 17 diff --strip-trailing-cr -q "$1" "$2" >/dev/null
|
/art/test/099-vmdebug/ |
D | check | 20 diff --strip-trailing-cr -q "$1" "$2.tmp" >/dev/null
|
/art/test/115-native-bridge/ |
D | check | 20 diff --strip-trailing-cr -q "$1" - >/dev/null
|
/art/test/143-string-value/ |
D | check | 20 diff --strip-trailing-cr -q "$1" "$2.tmp" >/dev/null
|
/art/test/1002-notify-startup/ |
D | check | 20 diff --strip-trailing-cr -q "$1" "$2.tmp" >/dev/null
|
/art/test/139-register-natives/ |
D | check | 20 diff --strip-trailing-cr -q "$1" "$2.tmp" >/dev/null
|
/art/test/172-app-image-twice/ |
D | check | 18 grep "^passed" "$2" | diff --strip-trailing-cr -q "$1" - >/dev/null
|
/art/test/149-suspend-all-stress/ |
D | check | 18 tail -n 1 "$2" | diff --strip-trailing-cr -q "$1" - >/dev/null
|
/art/test/954-invoke-polymorphic-verifier/ |
D | check | 19 diff --strip-trailing-cr -q "$1" "$2.tmp" >/dev/null
|
/art/test/146-bad-interface/ |
D | check | 20 diff --strip-trailing-cr -q "$1" "$2.tmp" >/dev/null
|
/art/test/118-noimage-dex2oat/ |
D | check | 20 diff --strip-trailing-cr -q "$1" "$2.tmp" >/dev/null
|