Home
last modified time | relevance | path

Searched refs:kCallCode (Results 1 – 4 of 4) sorted by relevance

/art/dex2oat/linker/x86_64/
Drelative_patcher_x86_64_test.cc30 static const ArrayRef<const uint8_t> kCallCode; member in art::linker::X86_64RelativePatcherTest
47 const ArrayRef<const uint8_t> X86_64RelativePatcherTest::kCallCode(kCallRawCode);
67 LinkerPatch::RelativeCodePatch(kCallCode.size() - 4u, nullptr, 1u), in TEST_F()
69 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
80 LinkerPatch::RelativeCodePatch(kCallCode.size() - 4u, nullptr, 2u), in TEST_F()
82 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(method1_patches)); in TEST_F()
84 LinkerPatch::RelativeCodePatch(kCallCode.size() - 4u, nullptr, 1u), in TEST_F()
86 AddCompiledMethod(MethodRef(2u), kCallCode, ArrayRef<const LinkerPatch>(method2_patches)); in TEST_F()
91 uint32_t diff_after = method2_offset - (method1_offset + kCallCode.size() /* PC adjustment */); in TEST_F()
100 uint32_t diff_before = method1_offset - (method2_offset + kCallCode.size() /* PC adjustment */); in TEST_F()
[all …]
/art/dex2oat/linker/x86/
Drelative_patcher_x86_test.cc30 static const ArrayRef<const uint8_t> kCallCode; member in art::linker::X86RelativePatcherTest
43 const ArrayRef<const uint8_t> X86RelativePatcherTest::kCallCode(kCallRawCode);
47 LinkerPatch::RelativeCodePatch(kCallCode.size() - 4u, nullptr, 1u), in TEST_F()
49 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
60 LinkerPatch::RelativeCodePatch(kCallCode.size() - 4u, nullptr, 2u), in TEST_F()
62 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(method1_patches)); in TEST_F()
64 LinkerPatch::RelativeCodePatch(kCallCode.size() - 4u, nullptr, 1u), in TEST_F()
66 AddCompiledMethod(MethodRef(2u), kCallCode, ArrayRef<const LinkerPatch>(method2_patches)); in TEST_F()
71 uint32_t diff_after = method2_offset - (method1_offset + kCallCode.size() /* PC adjustment */); in TEST_F()
80 uint32_t diff_before = method1_offset - (method2_offset + kCallCode.size() /* PC adjustment */); in TEST_F()
[all …]
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64_test.cc40 static const ArrayRef<const uint8_t> kCallCode; member in art::linker::Arm64RelativePatcherTest
566 const ArrayRef<const uint8_t> Arm64RelativePatcherTest::kCallCode(kCallRawCode);
583 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
594 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(method1_patches)); in TEST_F()
598 AddCompiledMethod(MethodRef(2u), kCallCode, ArrayRef<const LinkerPatch>(method2_patches)); in TEST_F()
619 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
1014 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
1018 uint32_t thunk_offset = CompiledCode::AlignCode(method_offset + kCallCode.size(), in TEST_F()
/art/dex2oat/linker/arm/
Drelative_patcher_thumb2_test.cc39 static const ArrayRef<const uint8_t> kCallCode; member in art::linker::Thumb2RelativePatcherTest
337 const ArrayRef<const uint8_t> Thumb2RelativePatcherTest::kCallCode(kCallRawCode);
411 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
424 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(method1_patches)); in TEST_F()
428 AddCompiledMethod(MethodRef(2u), kCallCode, ArrayRef<const LinkerPatch>(method2_patches)); in TEST_F()
451 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
671 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches)); in TEST_F()
675 uint32_t thunk_offset = CompiledCode::AlignCode(method_offset + kCallCode.size(), in TEST_F()