Home
last modified time | relevance | path

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

/art/compiler/linker/arm/
Drelative_patcher_thumb2_test.cc294 constexpr uint32_t bl_offset_in_method1 = 3u * 2u; // After NOPs. in TEST_F() local
296 ASSERT_EQ(bl_offset_in_method1 + 4u, method1_code.size()); in TEST_F()
298 LinkerPatch::RelativeCodePatch(bl_offset_in_method1, nullptr, 3u), in TEST_F()
306 bl_offset_in_method1 + max_positive_disp); in TEST_F()
338 constexpr uint32_t bl_offset_in_method1 = 2u * 2u; // After NOPs. in TEST_F() local
340 ASSERT_EQ(bl_offset_in_method1 + 4u, method1_code.size()); in TEST_F()
342 LinkerPatch::RelativeCodePatch(bl_offset_in_method1, nullptr, 3u), in TEST_F()
350 bl_offset_in_method1 + just_over_max_positive_disp); in TEST_F()
359 uint32_t diff = thunk_offset - (method1_offset + bl_offset_in_method1 + 4u /* PC adjustment */); in TEST_F()
/art/compiler/linker/arm64/
Drelative_patcher_arm64_test.cc546 constexpr uint32_t bl_offset_in_method1 = 1u * 4u; // After NOPs. in TEST_F() local
548 ASSERT_EQ(bl_offset_in_method1 + 4u, method1_code.size()); in TEST_F()
551 LinkerPatch::RelativeCodePatch(bl_offset_in_method1, nullptr, expected_last_method_idx), in TEST_F()
559 bl_offset_in_method1 + max_positive_disp); in TEST_F()
564 ASSERT_EQ(method1_offset + bl_offset_in_method1 + max_positive_disp, last_method_offset); in TEST_F()
598 constexpr uint32_t bl_offset_in_method1 = 0u * 4u; // After NOPs. in TEST_F() local
600 ASSERT_EQ(bl_offset_in_method1 + 4u, method1_code.size()); in TEST_F()
603 LinkerPatch::RelativeCodePatch(bl_offset_in_method1, nullptr, expected_last_method_idx), in TEST_F()
612 bl_offset_in_method1 + just_over_max_positive_disp); in TEST_F()
621 uint32_t diff = thunk_offset - (method1_offset + bl_offset_in_method1); in TEST_F()