Home
last modified time | relevance | path

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

/aosp12/art/dex2oat/linker/x86/
H A 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()
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()
126 AddCompiledMethod(MethodRef(1u), code, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
129 auto result = method_offset_map_.FindMethodOffset(MethodRef(1u)); in TEST_F()
141 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))); in TEST_F()
158 AddCompiledMethod(MethodRef(1u), code, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
[all …]
/aosp12/art/dex2oat/linker/x86_64/
H A 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()
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()
142 auto result = method_offset_map_.FindMethodOffset(MethodRef(1u)); in TEST_F()
152 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))); in TEST_F()
166 auto result = method_offset_map_.FindMethodOffset(MethodRef(1u)); in TEST_F()
[all …]
/aosp12/art/dex2oat/linker/arm/
H A Drelative_patcher_thumb2_test.cc493 EXPECT_TRUE(CheckLinkedMethod(MethodRef(last_method_idx), in TEST_F()
542 EXPECT_TRUE(CheckLinkedMethod(MethodRef(last_method_idx), in TEST_F()
953 AddCompiledMethod(MethodRef(2u), filler1_code); in TEST_F()
956 AddCompiledMethod(MethodRef(3u), kNopCode); in TEST_F()
976 AddCompiledMethod(MethodRef(4u), filler2_code); in TEST_F()
1021 AddCompiledMethod(MethodRef(2u), filler1_code); in TEST_F()
1051 AddCompiledMethod(MethodRef(2u), filler1_code); in TEST_F()
1054 AddCompiledMethod(MethodRef(3u), kNopCode); in TEST_F()
1076 AddCompiledMethod(MethodRef(4u), filler2_code); in TEST_F()
1306 AddCompiledMethod(MethodRef(1u), in TEST_F()
[all …]
/aosp12/art/dex2oat/linker/arm64/
H A Drelative_patcher_arm64_test.cc305 AddCompiledMethod(MethodRef(1u), in TestNopsAdrpLdr()
330 AddCompiledMethod(MethodRef(1u), in TestNopsAdrpAdd()
353 AddCompiledMethod(MethodRef(1u), in PrepareNopsAdrpInsn2Ldr()
368 AddCompiledMethod(MethodRef(1u), in PrepareNopsAdrpInsn2Add()
1161 AddCompiledMethod(MethodRef(2u), filler1_code); in TEST_F()
1164 AddCompiledMethod(MethodRef(3u), kNopCode); in TEST_F()
1178 AddCompiledMethod(MethodRef(4u), filler2_code); in TEST_F()
1221 AddCompiledMethod(MethodRef(2u), filler1_code); in TEST_F()
1250 AddCompiledMethod(MethodRef(2u), filler1_code); in TEST_F()
1253 AddCompiledMethod(MethodRef(3u), kNopCode); in TEST_F()
[all …]
/aosp12/art/dex2oat/linker/
H A Drelative_patcher_test.h96 MethodReference MethodRef(uint32_t method_idx) { in MethodRef() function