Searched refs:method1_offset (Results 1 – 5 of 5) sorted by relevance
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 116 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() 310 uint32_t method1_offset = GetMethodOffset(1u); in TestNopsAdrpLdr() local 312 auto expected_code = GenNopsAndAdrpLdr(num_nops, method1_offset, target_offset); in TestNopsAdrpLdr() 335 uint32_t method1_offset = GetMethodOffset(1u); in TestNopsAdrpAdd() local 336 auto expected_code = GenNopsAndAdrpAdd(num_nops, method1_offset, string_offset); in TestNopsAdrpAdd() 378 uint32_t method1_offset = GetMethodOffset(1u); in TestNopsAdrpInsn2AndUse() local 379 auto expected_code = GenNopsAndAdrpAndUse(num_nops, method1_offset, target_offset, use_insn); in TestNopsAdrpInsn2AndUse() [all …]
|
/art/dex2oat/linker/ |
D | multi_oat_relative_patcher_test.cc | 185 uint32_t method1_offset = 0x100; in TEST_F() local 186 uint32_t method1_offset_check = patcher_.ReserveSpace(method1_offset, method, ref1); in TEST_F() 187 ASSERT_EQ(adjustment1 + method1_offset, mock_->last_reserve_offset_); in TEST_F() 189 ASSERT_EQ(method1_offset, method1_offset_check); in TEST_F() 230 uint32_t method1_offset = 0x100; in TEST_F() local 231 uint32_t method1_offset_check = patcher_.WriteThunks(&vos, method1_offset); in TEST_F() 232 ASSERT_EQ(adjustment1 + method1_offset, mock_->last_write_offset_); in TEST_F() 233 ASSERT_EQ(method1_offset, method1_offset_check); in TEST_F()
|
/art/dex2oat/linker/x86_64/ |
D | relative_patcher_x86_64_test.cc | 89 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/ |
D | relative_patcher_x86_test.cc | 69 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/ |
D | relative_patcher_thumb2_test.cc | 149 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() 381 uint32_t method1_offset = GetMethodOffset(1u); in CheckPcRelativePatch() local 382 uint32_t pc_base_offset = method1_offset + kPcInsnOffset + 4u /* PC adjustment */; in CheckPcRelativePatch() 431 uint32_t method1_offset = GetMethodOffset(1u); 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() 454 uint32_t method1_offset = GetMethodOffset(1u); in TEST_F() local [all …]
|