Home
last modified time | relevance | path

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

/art/dex2oat/linker/x86/
Drelative_patcher_x86_test.cc33 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); in GetMethodOffset()
49 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
55 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))); in TEST_F()
62 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(method1_patches)); in TEST_F()
66 AddCompiledMethod(MethodRef(2u), kCallCode, ArrayRef<const LinkerPatch>(method2_patches)); in TEST_F()
79 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(method1_expected_code))); in TEST_F()
88 EXPECT_TRUE(CheckLinkedMethod(MethodRef(2u), ArrayRef<const uint8_t>(method2_expected_code))); in TEST_F()
95 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
98 auto result = method_offset_map_.FindMethodOffset(MethodRef(1)); in TEST_F()
108 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))); in TEST_F()
[all …]
/art/dex2oat/linker/x86_64/
Drelative_patcher_x86_64_test.cc37 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); in GetMethodOffset()
69 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
75 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))); in TEST_F()
82 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(method1_patches)); in TEST_F()
86 AddCompiledMethod(MethodRef(2u), kCallCode, ArrayRef<const LinkerPatch>(method2_patches)); in TEST_F()
99 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(method1_expected_code))); in TEST_F()
108 EXPECT_TRUE(CheckLinkedMethod(MethodRef(2u), ArrayRef<const uint8_t>(method2_expected_code))); in TEST_F()
115 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
118 auto result = method_offset_map_.FindMethodOffset(MethodRef(1u)); in TEST_F()
128 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))); in TEST_F()
[all …]
/art/dex2oat/linker/arm/
Drelative_patcher_thumb2_test.cc151 AddCompiledMethod(MethodRef(1u), method1_code, method1_patches); in Create2MethodsWithGap()
175 AddCompiledMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(gap_code)); in Create2MethodsWithGap()
183 AddCompiledMethod(MethodRef(method_idx), last_method_code, last_method_patches); in Create2MethodsWithGap()
188 auto last_result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); in Create2MethodsWithGap()
203 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); in GetMethodOffset()
378 AddCompiledMethod(MethodRef(1u), kUnpatchedPcRelativeCode, ArrayRef<const LinkerPatch>(patches)); in CheckPcRelativePatch()
404 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))); in CheckPcRelativePatch()
411 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
417 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))); in TEST_F()
424 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(method1_patches)); in TEST_F()
[all …]
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64_test.cc118 AddCompiledMethod(MethodRef(1u), method1_code, method1_patches); in Create2MethodsWithGap()
142 AddCompiledMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(gap_code)); in Create2MethodsWithGap()
150 AddCompiledMethod(MethodRef(method_idx), last_method_code, last_method_patches); in Create2MethodsWithGap()
155 auto last_result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); in Create2MethodsWithGap()
169 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); in GetMethodOffset()
305 AddCompiledMethod(MethodRef(1u), in TestNopsAdrpLdr()
313 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))); in TestNopsAdrpLdr()
330 AddCompiledMethod(MethodRef(1u), in TestNopsAdrpAdd()
337 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))); in TestNopsAdrpAdd()
353 AddCompiledMethod(MethodRef(1u), in PrepareNopsAdrpInsn2Ldr()
[all …]
/art/dex2oat/linker/
Drelative_patcher_test.h96 MethodReference MethodRef(uint32_t method_idx) { in MethodRef() function