Home
last modified time | relevance | path

Searched refs:method_offset_map_ (Results 1 – 7 of 7) sorted by relevance

/art/compiler/linker/
Dmulti_oat_relative_patcher.h58 auto it = method_offset_map_.map.find(method_ref); in GetOffset()
59 return (it != method_offset_map_.map.end()) ? it->second - adjustment_ : 0u; in GetOffset()
64 method_offset_map_.map.Put(method_ref, offset + adjustment_); in SetOffset()
129 MethodOffsetMap method_offset_map_; variable
Dmulti_oat_relative_patcher.cc28 : method_offset_map_(), in MultiOatRelativePatcher()
30 linker::RelativePatcher::Create(instruction_set, features, &method_offset_map_)), in MultiOatRelativePatcher()
Drelative_patcher_test.h67 method_offset_map_(), in RelativePatcherTest()
68 patcher_(RelativePatcher::Create(instruction_set, features_.get(), &method_offset_map_)), in RelativePatcherTest()
118 method_offset_map_.map.Put(compiled_method_refs_[idx], quick_code_offset); in Link()
153 auto result = method_offset_map_.FindMethodOffset(patch.TargetMethod()); in Link()
197 auto result = method_offset_map_.FindMethodOffset(method_ref); in CheckLinkedMethod()
271 MethodOffsetMap method_offset_map_; variable
/art/compiler/linker/x86_64/
Drelative_patcher_x86_64_test.cc36 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); in GetMethodOffset()
117 auto result = method_offset_map_.FindMethodOffset(MethodRef(1u)); in TEST_F()
139 auto result = method_offset_map_.FindMethodOffset(MethodRef(1u)); in TEST_F()
164 auto result = method_offset_map_.FindMethodOffset(MethodRef(1u)); in TEST_F()
/art/compiler/linker/x86/
Drelative_patcher_x86_test.cc32 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); in GetMethodOffset()
97 auto result = method_offset_map_.FindMethodOffset(MethodRef(1)); in TEST_F()
126 auto result = method_offset_map_.FindMethodOffset(MethodRef(1u)); in TEST_F()
159 auto result = method_offset_map_.FindMethodOffset(MethodRef(1u)); in TEST_F()
/art/compiler/linker/arm/
Drelative_patcher_thumb2_test.cc75 auto result3 = method_offset_map_.FindMethodOffset(MethodRef(3)); in Create2MethodsWithGap()
88 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); in GetMethodOffset()
279 ASSERT_FALSE(method_offset_map_.FindMethodOffset(MethodRef(missing_method_index)).first); in TEST_F()
/art/compiler/linker/arm64/
Drelative_patcher_arm64_test.cc107 auto last_result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); in Create2MethodsWithGap()
119 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); in GetMethodOffset()
530 ASSERT_FALSE(method_offset_map_.FindMethodOffset(MethodRef(missing_method_index)).first); in TEST_F()