Home
last modified time | relevance | path

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

/art/dex2oat/linker/arm64/
Drelative_patcher_arm64_test.cc667 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/
Drelative_patcher_thumb2_test.cc500 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()