Home
last modified time | relevance | path

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

/art/compiler/linker/arm64/
Drelative_patcher_arm64_test.cc60 const uint32_t method1_offset = in Create2MethodsWithGap() local
64 CompiledCode::AlignCode(method1_offset + method1_code.size(), kArm64); in Create2MethodsWithGap()
67 const uint32_t last_method_offset = method1_offset + distance_without_thunks; in Create2MethodsWithGap()
96 CHECK_EQ(GetMethodOffset(1), method1_offset); in Create2MethodsWithGap()
190 uint32_t method1_offset = GetMethodOffset(1u); in TestNopsAdrpLdr() local
192 auto expected_code = GenNopsAndAdrpLdr(num_nops, method1_offset, target_offset); in TestNopsAdrpLdr()
224 uint32_t method1_offset = GetMethodOffset(1u); in TestNopsAdrpInsn2Ldr() local
226 auto expected_code = GenNopsAndAdrpLdr(num_nops, method1_offset, target_offset); in TestNopsAdrpInsn2Ldr()
235 uint32_t method1_offset = GetMethodOffset(1u); in TestNopsAdrpInsn2LdrHasThunk() local
240 uint32_t thunk_offset = CompiledCode::AlignCode(method1_offset + method1_size, kArm64); in TestNopsAdrpInsn2LdrHasThunk()
[all …]
/art/compiler/linker/arm/
Drelative_patcher_thumb2_test.cc47 const uint32_t method1_offset = in Create2MethodsWithGap() local
52 const uint32_t method3_offset = method1_offset + distance_without_thunks; in Create2MethodsWithGap()
57 CompiledCode::AlignCode(method1_offset + method1_code.size(), kThumb2) + in Create2MethodsWithGap()
69 CHECK_EQ(GetMethodOffset(1), method1_offset); in Create2MethodsWithGap()
141 uint32_t method1_offset = GetMethodOffset(1u); in TestDexCachereference() local
142 uint32_t pc_base_offset = method1_offset + pc_insn_offset + 4u /* PC adjustment */; in TestDexCachereference()
204 uint32_t method1_offset = GetMethodOffset(1u); in TEST_F() local
206 uint32_t diff_after = method2_offset - (method1_offset + 4u /* PC adjustment */); in TEST_F()
213 uint32_t diff_before = method1_offset - (method2_offset + 4u /* PC adjustment */); in TEST_F()
227 uint32_t method1_offset = GetMethodOffset(1u); in TEST_F() local
[all …]
/art/compiler/linker/x86/
Drelative_patcher_x86_test.cc68 uint32_t method1_offset = GetMethodOffset(1u); in TEST_F() local
70 uint32_t diff_after = method2_offset - (method1_offset + kCallCode.size() /* PC adjustment */); in TEST_F()
77 uint32_t diff_before = method1_offset - (method2_offset + kCallCode.size() /* PC adjustment */); in TEST_F()
/art/compiler/linker/x86_64/
Drelative_patcher_x86_64_test.cc78 uint32_t method1_offset = GetMethodOffset(1u); in TEST_F() local
80 uint32_t diff_after = method2_offset - (method1_offset + kCallCode.size() /* PC adjustment */); in TEST_F()
87 uint32_t diff_before = method1_offset - (method2_offset + kCallCode.size() /* PC adjustment */); in TEST_F()