Home
last modified time | relevance | path

Searched refs:method2_offset (Results 1 – 5 of 5) sorted by relevance

/aosp12/art/dex2oat/linker/
H A Dmulti_oat_relative_patcher_test.cc191 uint32_t method2_offset = 0x1230; in TEST_F() local
194 uint32_t method2_offset_adjusted = patcher_.ReserveSpace(method2_offset, method, ref2); in TEST_F()
195 ASSERT_EQ(adjustment1 + method2_offset, mock_->last_reserve_offset_); in TEST_F()
197 ASSERT_EQ(method2_offset + method2_reserve_adjustment, method2_offset_adjusted); in TEST_F()
236 uint32_t method2_offset = 0x1230; in TEST_F() local
241 uint32_t method2_offset_adjusted = patcher_.WriteThunks(&vos, method2_offset); in TEST_F()
242 ASSERT_EQ(adjustment1 + method2_offset, mock_->last_write_offset_); in TEST_F()
243 ASSERT_EQ(method2_offset + method2_alignment_size + method2_call_thunk_size, in TEST_F()
/aosp12/art/dex2oat/linker/x86/
H A Drelative_patcher_x86_test.cc70 uint32_t method2_offset = GetMethodOffset(2u); in TEST_F() local
71 uint32_t diff_after = method2_offset - (method1_offset + kCallCode.size() /* PC adjustment */); in TEST_F()
80 uint32_t diff_before = method1_offset - (method2_offset + kCallCode.size() /* PC adjustment */); in TEST_F()
/aosp12/art/dex2oat/linker/x86_64/
H A Drelative_patcher_x86_64_test.cc90 uint32_t method2_offset = GetMethodOffset(2u); in TEST_F() local
91 uint32_t diff_after = method2_offset - (method1_offset + kCallCode.size() /* PC adjustment */); in TEST_F()
100 uint32_t diff_before = method1_offset - (method2_offset + kCallCode.size() /* PC adjustment */); in TEST_F()
/aosp12/art/dex2oat/linker/arm/
H A Drelative_patcher_thumb2_test.cc432 uint32_t method2_offset = GetMethodOffset(2u); in TEST_F() local
433 uint32_t diff_after = method2_offset - (method1_offset + 4u /* PC adjustment */); in TEST_F()
440 uint32_t diff_before = method1_offset - (method2_offset + 4u /* PC adjustment */); in TEST_F()
/aosp12/art/dex2oat/linker/arm64/
H A Drelative_patcher_arm64_test.cc602 uint32_t method2_offset = GetMethodOffset(2u); in TEST_F() local
603 uint32_t diff_after = method2_offset - method1_offset; in TEST_F()
608 uint32_t diff_before = method1_offset - method2_offset; in TEST_F()