/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/compiler/linker/x86/ |
D | relative_patcher_x86_test.cc | 95 uint32_t diff = kTrampolineOffset - (result.second + kCallCode.size()); in TEST_F() local 98 static_cast<uint8_t>(diff), static_cast<uint8_t>(diff >> 8), in TEST_F() 99 static_cast<uint8_t>(diff >> 16), static_cast<uint8_t>(diff >> 24) in TEST_F() 122 uint32_t diff = in TEST_F() local 128 static_cast<uint8_t>(diff), static_cast<uint8_t>(diff >> 8), in TEST_F() 129 static_cast<uint8_t>(diff >> 16), static_cast<uint8_t>(diff >> 24) in TEST_F()
|
D | relative_patcher_x86.cc | 51 uint32_t diff = target_offset - anchor_offset; in PatchDexCacheReference() local 52 (*code)[literal_offset + 0u] = static_cast<uint8_t>(diff >> 0); in PatchDexCacheReference() 53 (*code)[literal_offset + 1u] = static_cast<uint8_t>(diff >> 8); in PatchDexCacheReference() 54 (*code)[literal_offset + 2u] = static_cast<uint8_t>(diff >> 16); in PatchDexCacheReference() 55 (*code)[literal_offset + 3u] = static_cast<uint8_t>(diff >> 24); in PatchDexCacheReference()
|
/art/compiler/linker/x86_64/ |
D | relative_patcher_x86_64_test.cc | 105 uint32_t diff = kTrampolineOffset - (result.second + kCallCode.size()); in TEST_F() local 108 static_cast<uint8_t>(diff), static_cast<uint8_t>(diff >> 8), in TEST_F() 109 static_cast<uint8_t>(diff >> 16), static_cast<uint8_t>(diff >> 24) in TEST_F() 125 uint32_t diff = in TEST_F() local 129 static_cast<uint8_t>(diff), static_cast<uint8_t>(diff >> 8), in TEST_F() 130 static_cast<uint8_t>(diff >> 16), static_cast<uint8_t>(diff >> 24) in TEST_F()
|
/art/compiler/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 143 uint32_t diff = dex_cache_arrays_begin_ + element_offset - pc_base_offset; in TestDexCachereference() local 145 uint32_t diffw = diff & 0xffffu; in TestDexCachereference() 146 uint32_t difft = diff >> 16; in TestDexCachereference() 228 uint32_t diff = kTrampolineOffset - (method1_offset + 4u); in TEST_F() local 229 ASSERT_EQ(diff & 1u, 0u); in TEST_F() 230 ASSERT_GE(diff, -1u << 9); // Simple encoding, -256 <= (diff >> 1) < 0 (checked as unsigned). in TEST_F() 231 auto expected_code = GenNopsAndBl(0u, kBlMinus256 | ((diff >> 1) & 0xffu)); in TEST_F() 296 uint32_t diff = thunk_offset - (method1_offset + bl_offset_in_method1 + 4u /* PC adjustment */); in TEST_F() local 297 ASSERT_EQ(diff & 1u, 0u); in TEST_F() 298 ASSERT_GE(diff, 16 * MB - (1u << 9)); // Simple encoding, unknown bits fit into the low 8 bits. in TEST_F() [all …]
|
D | relative_patcher_thumb2.cc | 64 uint32_t diff = target_offset - pc_base; in PatchDexCacheReference() local 68 uint32_t diff16 = ((insn & 0x00800000u) != 0u) ? (diff >> 16) : (diff & 0xffffu); in PatchDexCacheReference()
|
/art/runtime/ |
D | entrypoints_order_test.cc | 38 #define EXPECT_OFFSET_DIFF(first_type, first_field, second_type, second_field, diff, name) \ argument 40 - OFFSETOF_MEMBER(first_type, first_field) == diff, name) 43 #define EXPECT_OFFSET_DIFFNP(type, first_field, second_field, diff) \ argument 44 EXPECT_OFFSET_DIFF(type, first_field, type, second_field, diff, \ 48 #define EXPECT_OFFSET_DIFFP(type, prefix, first_field, second_field, diff) \ argument 49 EXPECT_OFFSET_DIFF(type, prefix . first_field, type, prefix . second_field, diff, \ 54 #define EXPECT_OFFSET_DIFF_GT(first_type, first_field, second_type, second_field, diff, name) \ argument 56 - OFFSETOF_MEMBER(first_type, first_field) >= diff, name) 59 #define EXPECT_OFFSET_DIFF_GT3(type, first_field, second_field, diff, name) \ argument 60 EXPECT_OFFSET_DIFF_GT(type, first_field, type, second_field, diff, name)
|
D | oat_file_assistant.cc | 530 std::set<std::string> diff; in IsProfileChangeSignificant() local 532 old_top_k.end(), std::inserter(diff, diff.end())); in IsProfileChangeSignificant() 535 double change_percent = 100.0 * static_cast<double>(diff.size()) in IsProfileChangeSignificant() 537 std::set<std::string>::iterator end = diff.end(); in IsProfileChangeSignificant() 538 for (std::set<std::string>::iterator it = diff.begin(); it != end; it++) { in IsProfileChangeSignificant()
|
/art/compiler/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 381 uint32_t diff = kTrampolineOffset - method1_offset; in TEST_F() local 382 ASSERT_EQ(diff & 1u, 0u); in TEST_F() 383 ASSERT_GE(diff, -1u << 9); // Simple encoding, -256 <= (diff >> 1) < 0 (checked as unsigned). in TEST_F() 384 auto expected_code = GenNopsAndBl(0u, kBlPlus0 | ((diff >> 2) & 0x03ffffffu)); in TEST_F() 458 uint32_t diff = thunk_offset - (method1_offset + bl_offset_in_method1); in TEST_F() local 459 ASSERT_EQ(diff & 3u, 0u); in TEST_F() 460 ASSERT_LT(diff, 128 * MB); in TEST_F() 461 auto expected_code = GenNopsAndBl(0u, kBlPlus0 | (diff >> 2)); in TEST_F() 487 uint32_t diff = thunk_offset - (last_method_offset + bl_offset_in_last_method); in TEST_F() local 488 ASSERT_EQ(diff & 3u, 0u); in TEST_F() [all …]
|
/art/test/etc/ |
D | default-check | 17 diff --strip-trailing-cr -q "$1" "$2" >/dev/null
|
/art/test/118-noimage-dex2oat/ |
D | check | 20 diff --strip-trailing-cr -q "$1" "$2.tmp" >/dev/null
|
/art/test/119-noimage-patchoat/ |
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/099-vmdebug/ |
D | check | 20 diff --strip-trailing-cr -q "$1" "$2.tmp" >/dev/null
|
/art/test/030-bad-finalizer/ |
D | check | 20 diff --strip-trailing-cr -q "$1" "$2.tmp" >/dev/null
|
/art/test/089-many-methods/ |
D | check | 20 diff --strip-trailing-cr -q "$1" "$2.tmp" >/dev/null
|
/art/test/059-finalizer-throw/ |
D | check | 20 diff --strip-trailing-cr -q "$1" "$2.tmp" >/dev/null
|
/art/test/004-ThreadStress/ |
D | check | 18 tail -n 1 "$2" | diff --strip-trailing-cr -q "$1" - >/dev/null
|
/art/compiler/optimizing/ |
D | optimizing_unit_test.h | 101 inline std::string Patch(const std::string& original, const diff_t& diff) { in Patch() argument 103 for (const auto& p : diff) { in Patch()
|
/art/test/ |
D | run-test | 677 diff --strip-trailing-cr -q "$expected" "$output" >/dev/null 740 diff --strip-trailing-cr -u "$expected" "$output" | tail -n 2000
|
/art/compiler/dex/quick/ |
D | ralloc_util.cc | 943 int diff = my_sreg - partner_sreg; in CheckCorePoolSanity() local 944 DCHECK((diff == 0) || (diff == -1) || (diff == 1)); in CheckCorePoolSanity()
|
D | codegen_util.cc | 307 uint32_t diff = i - mir_graph_->GetNumOfCodeVRs(); in DumpPromotionMap() local 308 StringAppendF(&buf3, "ct%d", diff); in DumpPromotionMap()
|