/art/compiler/linker/ |
D | linker_patch_test.cc | 27 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/ |
D | relative_patcher_x86_64_test.cc | 66 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/ |
D | relative_patcher_x86_test.cc | 46 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/ |
D | compiled_method.cc | 102 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()
|
D | compiled_method.h | 116 const ArrayRef<const linker::LinkerPatch>& patches); 126 const ArrayRef<const linker::LinkerPatch>& patches);
|
/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 223 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/ |
D | relative_patcher_arm64_test.cc | 196 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/ |
D | compiled_method_storage_test.cc | 56 ArrayRef<const linker::LinkerPatch> patches[] = { in TEST() local 66 for (auto&& p : patches) { in TEST()
|
/art/runtime/ |
D | elf_file_impl.h | 130 static void ApplyOatPatches(const uint8_t* patches, const uint8_t* patches_end, Elf_Addr delta,
|
D | elf_file.cc | 1409 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/ |
D | relative_patcher_test.h | 104 const ArrayRef<const LinkerPatch>& patches = ArrayRef<const LinkerPatch>()) { 112 patches));
|
/art/compiler/optimizing/ |
D | code_generator_arm_vixl.h | 901 ArenaDeque<PcRelativePatchInfo>* patches);
|
D | code_generator_arm64.h | 1015 ArenaDeque<PcRelativePatchInfo>* patches);
|
D | code_generator_arm64.cc | 4717 ArenaDeque<PcRelativePatchInfo>* patches) { in NewPcRelativePatch() argument 4719 patches->emplace_back(dex_file, offset_or_index); in NewPcRelativePatch() 4720 PcRelativePatchInfo* info = &patches->back(); in NewPcRelativePatch()
|
D | code_generator_arm_vixl.cc | 9268 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()
|