Home
last modified time | relevance | path

Searched refs:bl_offset_in_method1 (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/art/dex2oat/linker/arm64/
H A Drelative_patcher_arm64_test.cc681 constexpr uint32_t bl_offset_in_method1 = 1u * 4u; // After NOPs. in TEST_F() local
683 ASSERT_EQ(bl_offset_in_method1 + 4u, method1_code.size()); in TEST_F()
686 LinkerPatch::RelativeCodePatch(bl_offset_in_method1, nullptr, kExpectedLastMethodIdx), in TEST_F()
694 bl_offset_in_method1 + max_positive_disp); in TEST_F()
699 ASSERT_EQ(method1_offset + bl_offset_in_method1 + max_positive_disp, last_method_offset); in TEST_F()
733 constexpr uint32_t bl_offset_in_method1 = 0u * 4u; // After NOPs. in TEST_F() local
735 ASSERT_EQ(bl_offset_in_method1 + 4u, method1_code.size()); in TEST_F()
738 LinkerPatch::RelativeCodePatch(bl_offset_in_method1, nullptr, kExpectedLastMethodIdx), in TEST_F()
747 bl_offset_in_method1 + just_over_max_positive_disp); in TEST_F()
770 uint32_t diff = thunk_offset - (method1_offset + bl_offset_in_method1); in TEST_F()
/aosp_15_r20/art/dex2oat/linker/arm/
H A Drelative_patcher_thumb2_test.cc521 constexpr uint32_t bl_offset_in_method1 = 3u * 2u; // After NOPs. in TEST_F() local
523 ASSERT_EQ(bl_offset_in_method1 + 4u, method1_code.size()); in TEST_F()
526 LinkerPatch::RelativeCodePatch(bl_offset_in_method1, nullptr, kExpectedLastMethodIdx), in TEST_F()
534 bl_offset_in_method1 + max_positive_disp); in TEST_F()
569 constexpr uint32_t bl_offset_in_method1 = 2u * 2u; // After NOPs. in TEST_F() local
571 ASSERT_EQ(bl_offset_in_method1 + 4u, method1_code.size()); in TEST_F()
574 LinkerPatch::RelativeCodePatch(bl_offset_in_method1, nullptr, kExpectedLastMethodIdx), in TEST_F()
583 bl_offset_in_method1 + just_over_max_positive_disp); in TEST_F()
605 uint32_t diff = thunk_offset - (method1_offset + bl_offset_in_method1 + 4u /* PC adjustment */); in TEST_F()