Home
last modified time | relevance | path

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

/art/dex2oat/linker/arm64/
Drelative_patcher_arm64_test.cc116 uint32_t method1_offset = in Create2MethodsWithGap() local
119 const uint32_t gap_start = method1_offset + method1_code.size(); in Create2MethodsWithGap()
122 const uint32_t last_method_offset = method1_offset + distance_without_thunks; in Create2MethodsWithGap()
154 CHECK_EQ(GetMethodOffset(1), method1_offset); in Create2MethodsWithGap()
309 uint32_t method1_offset = GetMethodOffset(1u); in TestNopsAdrpLdr() local
311 auto expected_code = GenNopsAndAdrpLdr(num_nops, method1_offset, target_offset); in TestNopsAdrpLdr()
334 uint32_t method1_offset = GetMethodOffset(1u); in TestNopsAdrpAdd() local
335 auto expected_code = GenNopsAndAdrpAdd(num_nops, method1_offset, string_offset); in TestNopsAdrpAdd()
377 uint32_t method1_offset = GetMethodOffset(1u); in TestNopsAdrpInsn2AndUse() local
378 auto expected_code = GenNopsAndAdrpAndUse(num_nops, method1_offset, target_offset, use_insn); in TestNopsAdrpInsn2AndUse()
[all …]
/art/dex2oat/linker/
Dmulti_oat_relative_patcher_test.cc179 uint32_t method1_offset = 0x100; in TEST_F() local
180 uint32_t method1_offset_check = patcher_.ReserveSpace(method1_offset, method, ref1); in TEST_F()
181 ASSERT_EQ(adjustment1 + method1_offset, mock_->last_reserve_offset_); in TEST_F()
183 ASSERT_EQ(method1_offset, method1_offset_check); in TEST_F()
224 uint32_t method1_offset = 0x100; in TEST_F() local
225 uint32_t method1_offset_check = patcher_.WriteThunks(&vos, method1_offset); in TEST_F()
226 ASSERT_EQ(adjustment1 + method1_offset, mock_->last_write_offset_); in TEST_F()
227 ASSERT_EQ(method1_offset, method1_offset_check); in TEST_F()
/art/dex2oat/linker/x86_64/
Drelative_patcher_x86_64_test.cc89 uint32_t method1_offset = GetMethodOffset(1u); 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()
/art/dex2oat/linker/x86/
Drelative_patcher_x86_test.cc69 uint32_t method1_offset = GetMethodOffset(1u); 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()
/art/dex2oat/linker/arm/
Drelative_patcher_thumb2_test.cc149 uint32_t method1_offset = in Create2MethodsWithGap() local
152 const uint32_t gap_start = method1_offset + method1_code.size(); in Create2MethodsWithGap()
155 const uint32_t last_method_offset = method1_offset + distance_without_thunks; in Create2MethodsWithGap()
187 CHECK_EQ(GetMethodOffset(1), method1_offset); in Create2MethodsWithGap()
380 uint32_t method1_offset = GetMethodOffset(1u); in CheckPcRelativePatch() local
381 uint32_t pc_base_offset = method1_offset + kPcInsnOffset + 4u /* PC adjustment */; in CheckPcRelativePatch()
430 uint32_t method1_offset = GetMethodOffset(1u); in TEST_F() local
432 uint32_t diff_after = method2_offset - (method1_offset + 4u /* PC adjustment */); in TEST_F()
439 uint32_t diff_before = method1_offset - (method2_offset + 4u /* PC adjustment */); in TEST_F()
453 uint32_t method1_offset = GetMethodOffset(1u); in TEST_F() local
[all …]