Searched refs:bl_offset_in_last_method (Results 1 – 2 of 2) sorted by relevance
/aosp12/art/dex2oat/linker/arm/ |
H A D | relative_patcher_thumb2_test.cc | 465 constexpr uint32_t bl_offset_in_last_method = 3u * 2u; // After NOPs. in TEST_F() local 467 ASSERT_EQ(bl_offset_in_last_method + 4u, last_method_code.size()); in TEST_F() 478 just_over_max_negative_disp - bl_offset_in_last_method); in TEST_F() 482 last_method_offset + bl_offset_in_last_method - just_over_max_negative_disp); in TEST_F() 523 constexpr uint32_t bl_offset_in_last_method = 2u * 2u; // After NOPs. in TEST_F() local 525 ASSERT_EQ(bl_offset_in_last_method + 4u, last_method_code.size()); in TEST_F() 527 LinkerPatch::RelativeCodePatch(bl_offset_in_last_method, nullptr, 1u), in TEST_F() 594 constexpr uint32_t bl_offset_in_last_method = 3u * 2u; // After NOPs. in TEST_F() local 596 ASSERT_EQ(bl_offset_in_last_method + 4u, last_method_code.size()); in TEST_F() 598 LinkerPatch::RelativeCodePatch(bl_offset_in_last_method, nullptr, 1u), in TEST_F() [all …]
|
/aosp12/art/dex2oat/linker/arm64/ |
H A D | relative_patcher_arm64_test.cc | 633 constexpr uint32_t bl_offset_in_last_method = 1u * 4u; // After NOPs. in TEST_F() local 635 ASSERT_EQ(bl_offset_in_last_method + 4u, last_method_code.size()); in TEST_F() 646 just_over_max_negative_disp - bl_offset_in_last_method); in TEST_F() 656 uint32_t diff = thunk_offset - (last_method_offset + bl_offset_in_last_method); in TEST_F() 694 constexpr uint32_t bl_offset_in_last_method = 0u * 4u; // After NOPs. in TEST_F() local 696 ASSERT_EQ(bl_offset_in_last_method + 4u, last_method_code.size()); in TEST_F() 698 LinkerPatch::RelativeCodePatch(bl_offset_in_last_method, nullptr, 1u), in TEST_F() 764 constexpr uint32_t bl_offset_in_last_method = 1u * 4u; // After NOPs. in TEST_F() local 766 ASSERT_EQ(bl_offset_in_last_method + 4u, last_method_code.size()); in TEST_F() 768 LinkerPatch::RelativeCodePatch(bl_offset_in_last_method, nullptr, 1u), in TEST_F() [all …]
|