Searched refs:bl_offset_in_last_method (Results 1 – 2 of 2) sorted by relevance
/aosp_15_r20/art/dex2oat/linker/arm/ |
H A D | relative_patcher_thumb2_test.cc | 486 constexpr uint32_t bl_offset_in_last_method = 3u * 2u; // After NOPs. in TEST_F() local 488 ASSERT_EQ(bl_offset_in_last_method + 4u, last_method_code.size()); in TEST_F() 490 LinkerPatch::RelativeCodePatch(bl_offset_in_last_method, nullptr, missing_method_index), in TEST_F() 499 just_over_max_negative_disp - bl_offset_in_last_method); in TEST_F() 503 last_method_offset + bl_offset_in_last_method - just_over_max_negative_disp); in TEST_F() 510 thunk_offset - (last_method_offset + bl_offset_in_last_method + 4u /* PC adjustment */); in TEST_F() 544 constexpr uint32_t bl_offset_in_last_method = 2u * 2u; // After NOPs. in TEST_F() local 546 ASSERT_EQ(bl_offset_in_last_method + 4u, last_method_code.size()); in TEST_F() 548 LinkerPatch::RelativeCodePatch(bl_offset_in_last_method, nullptr, 1u), in TEST_F() 556 max_negative_disp - bl_offset_in_last_method); in TEST_F() [all …]
|
/aosp_15_r20/art/dex2oat/linker/arm64/ |
H A D | relative_patcher_arm64_test.cc | 647 constexpr uint32_t bl_offset_in_last_method = 1u * 4u; // After NOPs. in TEST_F() local 649 ASSERT_EQ(bl_offset_in_last_method + 4u, last_method_code.size()); in TEST_F() 651 LinkerPatch::RelativeCodePatch(bl_offset_in_last_method, nullptr, missing_method_index), in TEST_F() 660 just_over_max_negative_disp - bl_offset_in_last_method); in TEST_F() 664 last_method_offset + bl_offset_in_last_method - just_over_max_negative_disp); in TEST_F() 670 uint32_t diff = thunk_offset - (last_method_offset + bl_offset_in_last_method); in TEST_F() 708 constexpr uint32_t bl_offset_in_last_method = 0u * 4u; // After NOPs. in TEST_F() local 710 ASSERT_EQ(bl_offset_in_last_method + 4u, last_method_code.size()); in TEST_F() 712 LinkerPatch::RelativeCodePatch(bl_offset_in_last_method, nullptr, 1u), in TEST_F() 720 max_negative_disp - bl_offset_in_last_method); in TEST_F() [all …]
|