Home
last modified time | relevance | path

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

/art/dex2oat/linker/arm/
Drelative_patcher_thumb2_test.cc465 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()
469 LinkerPatch::RelativeCodePatch(bl_offset_in_last_method, nullptr, missing_method_index), 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()
489 thunk_offset - (last_method_offset + bl_offset_in_last_method + 4u /* PC adjustment */); 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()
535 max_negative_disp - bl_offset_in_last_method); in TEST_F()
[all …]
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64_test.cc633 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()
637 LinkerPatch::RelativeCodePatch(bl_offset_in_last_method, nullptr, missing_method_index), in TEST_F()
646 just_over_max_negative_disp - bl_offset_in_last_method); in TEST_F()
650 last_method_offset + bl_offset_in_last_method - just_over_max_negative_disp); 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()
706 max_negative_disp - bl_offset_in_last_method); in TEST_F()
[all …]