Searched refs:bl_offset_in_method1 (Results 1 – 2 of 2) sorted by relevance
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 667 constexpr uint32_t bl_offset_in_method1 = 1u * 4u; // After NOPs. in TEST_F() local 669 ASSERT_EQ(bl_offset_in_method1 + 4u, method1_code.size()); in TEST_F() 672 LinkerPatch::RelativeCodePatch(bl_offset_in_method1, nullptr, kExpectedLastMethodIdx), in TEST_F() 680 bl_offset_in_method1 + max_positive_disp); in TEST_F() 685 ASSERT_EQ(method1_offset + bl_offset_in_method1 + max_positive_disp, last_method_offset); in TEST_F() 719 constexpr uint32_t bl_offset_in_method1 = 0u * 4u; // After NOPs. in TEST_F() local 721 ASSERT_EQ(bl_offset_in_method1 + 4u, method1_code.size()); in TEST_F() 724 LinkerPatch::RelativeCodePatch(bl_offset_in_method1, nullptr, kExpectedLastMethodIdx), in TEST_F() 733 bl_offset_in_method1 + just_over_max_positive_disp); in TEST_F() 754 uint32_t diff = thunk_offset - (method1_offset + bl_offset_in_method1); in TEST_F()
|
/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 500 constexpr uint32_t bl_offset_in_method1 = 3u * 2u; // After NOPs. in TEST_F() local 502 ASSERT_EQ(bl_offset_in_method1 + 4u, method1_code.size()); in TEST_F() 505 LinkerPatch::RelativeCodePatch(bl_offset_in_method1, nullptr, kExpectedLastMethodIdx), in TEST_F() 513 bl_offset_in_method1 + max_positive_disp); in TEST_F() 548 constexpr uint32_t bl_offset_in_method1 = 2u * 2u; // After NOPs. in TEST_F() local 550 ASSERT_EQ(bl_offset_in_method1 + 4u, method1_code.size()); in TEST_F() 553 LinkerPatch::RelativeCodePatch(bl_offset_in_method1, nullptr, kExpectedLastMethodIdx), in TEST_F() 562 bl_offset_in_method1 + just_over_max_positive_disp); in TEST_F() 583 uint32_t diff = thunk_offset - (method1_offset + bl_offset_in_method1 + 4u /* PC adjustment */); in TEST_F()
|