Searched refs:bl_offset_in_last_method (Results 1 – 2 of 2) sorted by relevance
/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 464 constexpr uint32_t bl_offset_in_last_method = 3u * 2u; // After NOPs. in TEST_F() local 466 ASSERT_EQ(bl_offset_in_last_method + 4u, last_method_code.size()); in TEST_F() 468 LinkerPatch::RelativeCodePatch(bl_offset_in_last_method, nullptr, missing_method_index), in TEST_F() 477 just_over_max_negative_disp - bl_offset_in_last_method); in TEST_F() 481 last_method_offset + bl_offset_in_last_method - just_over_max_negative_disp); in TEST_F() 488 thunk_offset - (last_method_offset + bl_offset_in_last_method + 4u /* PC adjustment */); in TEST_F() 522 constexpr uint32_t bl_offset_in_last_method = 2u * 2u; // After NOPs. in TEST_F() local 524 ASSERT_EQ(bl_offset_in_last_method + 4u, last_method_code.size()); in TEST_F() 526 LinkerPatch::RelativeCodePatch(bl_offset_in_last_method, nullptr, 1u), in TEST_F() 534 max_negative_disp - bl_offset_in_last_method); in TEST_F() [all …]
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 632 constexpr uint32_t bl_offset_in_last_method = 1u * 4u; // After NOPs. in TEST_F() local 634 ASSERT_EQ(bl_offset_in_last_method + 4u, last_method_code.size()); in TEST_F() 636 LinkerPatch::RelativeCodePatch(bl_offset_in_last_method, nullptr, missing_method_index), in TEST_F() 645 just_over_max_negative_disp - bl_offset_in_last_method); in TEST_F() 649 last_method_offset + bl_offset_in_last_method - just_over_max_negative_disp); in TEST_F() 655 uint32_t diff = thunk_offset - (last_method_offset + bl_offset_in_last_method); in TEST_F() 693 constexpr uint32_t bl_offset_in_last_method = 0u * 4u; // After NOPs. in TEST_F() local 695 ASSERT_EQ(bl_offset_in_last_method + 4u, last_method_code.size()); in TEST_F() 697 LinkerPatch::RelativeCodePatch(bl_offset_in_last_method, nullptr, 1u), in TEST_F() 705 max_negative_disp - bl_offset_in_last_method); in TEST_F() [all …]
|