Home
last modified time | relevance | path

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

/art/compiler/linker/
Dlinker_patch_test.cc27 LinkerPatch patches[] = { in TEST() local
152 constexpr size_t last_index = arraysize(patches) - 1u; in TEST()
154 for (size_t i = 0; i != arraysize(patches); ++i) { in TEST()
155 for (size_t j = 0; j != arraysize(patches); ++j) { in TEST()
157 EXPECT_EQ(expected, patches[i] == patches[j]) << i << " " << j; in TEST()
161 for (size_t i = 0; i != arraysize(patches); ++i) { in TEST()
162 for (size_t j = 0; j != arraysize(patches); ++j) { in TEST()
164 EXPECT_EQ(expected, patches[i] < patches[j]) << i << " " << j; in TEST()
/art/dex2oat/linker/x86_64/
Drelative_patcher_x86_64_test.cc66 LinkerPatch patches[] = { in TEST_F() local
69 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
112 LinkerPatch patches[] = { in TEST_F() local
115 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
136 LinkerPatch patches[] = { in TEST_F() local
139 AddCompiledMethod(MethodRef(1u), kDexCacheLoadCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
159 LinkerPatch patches[] = { in TEST_F() local
163 AddCompiledMethod(MethodRef(1u), kStringReferenceCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
/art/dex2oat/linker/x86/
Drelative_patcher_x86_test.cc46 LinkerPatch patches[] = { in TEST_F() local
49 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
92 LinkerPatch patches[] = { in TEST_F() local
95 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
123 LinkerPatch patches[] = { in TEST_F() local
126 AddCompiledMethod(MethodRef(1u), code, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
155 LinkerPatch patches[] = { in TEST_F() local
158 AddCompiledMethod(MethodRef(1u), code, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
/art/compiler/
Dcompiled_method.cc102 const ArrayRef<const linker::LinkerPatch>& patches) in CompiledMethod() argument
106 patches_(storage->DeduplicateLinkerPatches(patches)) { in CompiledMethod()
115 const ArrayRef<const linker::LinkerPatch>& patches) { in SwapAllocCompiledMethod() argument
123 cfi_info, patches); in SwapAllocCompiledMethod()
Dcompiled_method.h116 const ArrayRef<const linker::LinkerPatch>& patches);
126 const ArrayRef<const linker::LinkerPatch>& patches);
/art/dex2oat/linker/arm/
Drelative_patcher_thumb2_test.cc223 const ArrayRef<const LinkerPatch>& patches = ArrayRef<const LinkerPatch>()) { in AddCompiledMethod() argument
224 RelativePatcherTest::AddCompiledMethod(method_ref, code, patches); in AddCompiledMethod()
227 for (const LinkerPatch& patch : patches) { in AddCompiledMethod()
277 void CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, uint32_t target_offset);
359 const LinkerPatch patches[] = { in TestStringBssEntry() local
363 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), bss_begin_ + string_entry_offset); in TestStringBssEntry()
369 const LinkerPatch patches[] = { in TestStringReference() local
373 CheckPcRelativePatch(ArrayRef<const LinkerPatch>(patches), string_offset); in TestStringReference()
376 void Thumb2RelativePatcherTest::CheckPcRelativePatch(const ArrayRef<const LinkerPatch>& patches, in CheckPcRelativePatch() argument
378 AddCompiledMethod(MethodRef(1u), kUnpatchedPcRelativeCode, ArrayRef<const LinkerPatch>(patches)); in CheckPcRelativePatch()
[all …]
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64_test.cc196 const ArrayRef<const LinkerPatch>& patches = ArrayRef<const LinkerPatch>()) { in AddCompiledMethod() argument
197 RelativePatcherTest::AddCompiledMethod(method_ref, code, patches); in AddCompiledMethod()
200 for (const LinkerPatch& patch : patches) { in AddCompiledMethod()
301 const LinkerPatch patches[] = { in TestNopsAdrpLdr() local
307 ArrayRef<const LinkerPatch>(patches)); in TestNopsAdrpLdr()
326 const LinkerPatch patches[] = { in TestNopsAdrpAdd() local
332 ArrayRef<const LinkerPatch>(patches)); in TestNopsAdrpAdd()
349 const LinkerPatch patches[] = { in PrepareNopsAdrpInsn2Ldr() local
355 ArrayRef<const LinkerPatch>(patches)); in PrepareNopsAdrpInsn2Ldr()
364 const LinkerPatch patches[] = { in PrepareNopsAdrpInsn2Add() local
[all …]
/art/compiler/driver/
Dcompiled_method_storage_test.cc56 ArrayRef<const linker::LinkerPatch> patches[] = { in TEST() local
66 for (auto&& p : patches) { in TEST()
/art/runtime/
Delf_file_impl.h130 static void ApplyOatPatches(const uint8_t* patches, const uint8_t* patches_end, Elf_Addr delta,
Delf_file.cc1409 const uint8_t* patches, const uint8_t* patches_end, Elf_Addr delta, in ApplyOatPatches() argument
1412 while (patches < patches_end) { in ApplyOatPatches()
1413 to_patch += DecodeUnsignedLeb128(&patches); in ApplyOatPatches()
1414 DCHECK_LE(patches, patches_end) << "Unexpected end of patch list."; in ApplyOatPatches()
/art/dex2oat/linker/
Drelative_patcher_test.h104 const ArrayRef<const LinkerPatch>& patches = ArrayRef<const LinkerPatch>()) {
112 patches));
/art/compiler/optimizing/
Dcode_generator_arm_vixl.h901 ArenaDeque<PcRelativePatchInfo>* patches);
Dcode_generator_arm64.h1015 ArenaDeque<PcRelativePatchInfo>* patches);
Dcode_generator_arm64.cc4717 ArenaDeque<PcRelativePatchInfo>* patches) { in NewPcRelativePatch() argument
4719 patches->emplace_back(dex_file, offset_or_index); in NewPcRelativePatch()
4720 PcRelativePatchInfo* info = &patches->back(); in NewPcRelativePatch()
Dcode_generator_arm_vixl.cc9268 const DexFile* dex_file, uint32_t offset_or_index, ArenaDeque<PcRelativePatchInfo>* patches) { in NewPcRelativePatch() argument
9269 patches->emplace_back(dex_file, offset_or_index); in NewPcRelativePatch()
9270 return &patches->back(); in NewPcRelativePatch()