Home
last modified time | relevance | path

Searched refs:patches (Results 1 – 15 of 15) sorted by relevance

/art/compiler/
Dcompiled_method_test.cc52 LinkerPatch patches[] = { in TEST() local
103 constexpr size_t last_index = arraysize(patches) - 1u; in TEST()
105 for (size_t i = 0; i != arraysize(patches); ++i) { in TEST()
106 for (size_t j = 0; j != arraysize(patches); ++j) { in TEST()
108 EXPECT_EQ(expected, patches[i] == patches[j]) << i << " " << j; in TEST()
112 for (size_t i = 0; i != arraysize(patches); ++i) { in TEST()
113 for (size_t j = 0; j != arraysize(patches); ++j) { in TEST()
115 EXPECT_EQ(expected, patches[i] < patches[j]) << i << " " << j; in TEST()
Dcompiled_method.cc111 const ArrayRef<const LinkerPatch>& patches) in CompiledMethod() argument
119 patches_(driver->GetCompiledMethodStorage()->DeduplicateLinkerPatches(patches)) { in CompiledMethod()
132 const ArrayRef<const LinkerPatch>& patches) { in SwapAllocCompiledMethod() argument
144 cfi_info, patches); in SwapAllocCompiledMethod()
Dcompiled_method.h382 const ArrayRef<const LinkerPatch>& patches);
396 const ArrayRef<const LinkerPatch>& patches);
/art/compiler/linker/x86/
Drelative_patcher_x86_test.cc45 LinkerPatch patches[] = { in TEST_F() local
48 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
91 LinkerPatch patches[] = { in TEST_F() local
94 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
120 LinkerPatch patches[] = { in TEST_F() local
123 AddCompiledMethod(MethodRef(1u), code, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
153 LinkerPatch patches[] = { in TEST_F() local
156 AddCompiledMethod(MethodRef(1u), code, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
/art/compiler/linker/x86_64/
Drelative_patcher_x86_64_test.cc65 LinkerPatch patches[] = { in TEST_F() local
68 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
111 LinkerPatch patches[] = { in TEST_F() local
114 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
133 LinkerPatch patches[] = { in TEST_F() local
136 AddCompiledMethod(MethodRef(1u), kDexCacheLoadCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
157 LinkerPatch patches[] = { in TEST_F() local
161 AddCompiledMethod(MethodRef(1u), kStringReferenceCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
/art/compiler/linker/arm/
Drelative_patcher_thumb2_test.cc131 void CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, uint32_t target_offset);
158 LinkerPatch patches[] = { in TestDexCacheReference() local
162 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), in TestDexCacheReference()
169 LinkerPatch patches[] = { in TestStringReference() local
173 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), string_offset); in TestStringReference()
176 void Thumb2RelativePatcherTest::CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, in CheckPcRelativePatch() argument
178 AddCompiledMethod(MethodRef(1u), kUnpatchedPcRelativeCode, ArrayRef<const LinkerPatch>(patches)); in CheckPcRelativePatch()
208 LinkerPatch patches[] = { in TEST_F() local
211 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
248 LinkerPatch patches[] = { in TEST_F() local
[all …]
/art/compiler/linker/arm64/
Drelative_patcher_arm64_test.cc207 LinkerPatch patches[] = { in TestNopsAdrpLdr() local
213 ArrayRef<const LinkerPatch>(patches)); in TestNopsAdrpLdr()
232 LinkerPatch patches[] = { in TestNopsAdrpAdd() local
238 ArrayRef<const LinkerPatch>(patches)); in TestNopsAdrpAdd()
263 LinkerPatch patches[] = { in PrepareNopsAdrpInsn2Ldr() local
269 ArrayRef<const LinkerPatch>(patches)); in PrepareNopsAdrpInsn2Ldr()
278 LinkerPatch patches[] = { in PrepareNopsAdrpInsn2Add() local
284 ArrayRef<const LinkerPatch>(patches)); in PrepareNopsAdrpInsn2Add()
457 LinkerPatch patches[] = { in TEST_F() local
460 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
[all …]
/art/compiler/driver/
Dcompiled_method_storage_test.cc85 ArrayRef<const LinkerPatch> patches[] = { in TEST() local
96 for (auto&& p : patches) { in TEST()
/art/compiler/linker/
Drelative_patcher_test.h86 const ArrayRef<const LinkerPatch>& patches) { in AddCompiledMethod() argument
98 patches)); in AddCompiledMethod()
/art/runtime/
Delf_file_impl.h132 static void ApplyOatPatches(const uint8_t* patches, const uint8_t* patches_end, Elf_Addr delta,
Delf_file.cc1383 const uint8_t* patches, const uint8_t* patches_end, Elf_Addr delta, in ApplyOatPatches() argument
1386 while (patches < patches_end) { in ApplyOatPatches()
1387 to_patch += DecodeUnsignedLeb128(&patches); in ApplyOatPatches()
1388 DCHECK_LE(patches, patches_end) << "Unexpected end of patch list."; in ApplyOatPatches()
/art/compiler/optimizing/
Dcode_generator_arm.h546 ArenaDeque<PcRelativePatchInfo>* patches);
Dcode_generator_arm64.h616 ArenaDeque<PcRelativePatchInfo>* patches);
Dcode_generator_arm64.cc3772 ArenaDeque<PcRelativePatchInfo>* patches) { in NewPcRelativePatch() argument
3774 patches->emplace_back(dex_file, offset_or_index); in NewPcRelativePatch()
3775 PcRelativePatchInfo* info = &patches->back(); in NewPcRelativePatch()
Dcode_generator_arm.cc6457 const DexFile& dex_file, uint32_t offset_or_index, ArenaDeque<PcRelativePatchInfo>* patches) { in NewPcRelativePatch() argument
6458 patches->emplace_back(dex_file, offset_or_index); in NewPcRelativePatch()
6459 return &patches->back(); in NewPcRelativePatch()