/aosp12/system/unwinding/libunwindstack/tests/ |
H A D | DexFilesTest.cpp | 197 EXPECT_EQ(0U, method_offset); in TEST_F() 212 EXPECT_EQ(2U, method_offset); in TEST_F() 226 EXPECT_EQ(4U, method_offset); in TEST_F() 242 EXPECT_EQ(6U, method_offset); in TEST_F() 255 EXPECT_EQ(0U, method_offset); in TEST_F() 261 EXPECT_EQ(0U, method_offset); in TEST_F() 293 EXPECT_EQ(4U, method_offset); in TEST_F() 309 EXPECT_EQ(0U, method_offset); in TEST_F() 314 method_offset = 0x123; in TEST_F() 336 EXPECT_EQ(0U, method_offset); in TEST_F() [all …]
|
H A D | DexFileTest.cpp | 176 uint64_t method_offset; in TEST() local 177 ASSERT_TRUE(dex_file->GetFunctionName(0x4102, &method, &method_offset)); in TEST() 179 EXPECT_EQ(2U, method_offset); in TEST() 181 ASSERT_TRUE(dex_file->GetFunctionName(0x4118, &method, &method_offset)); in TEST() 183 EXPECT_EQ(0U, method_offset); in TEST() 194 uint64_t method_offset; in TEST() local 197 EXPECT_FALSE(dex_file->GetFunctionName(0x98, &method, &method_offset)); in TEST() 213 uint64_t method_offset; in TEST() local 216 EXPECT_EQ(0U, method_offset); in TEST() 226 EXPECT_EQ(0U, method_offset); in TEST() [all …]
|
/aosp12/art/compiler/jni/quick/ |
H A D | jni_compiler.cc | 397 FrameOffset method_offset = in ArtJniCompileMethodInternal() local 402 __ Copy(out_off, method_offset, static_cast<size_t>(kPointerSize)); in ArtJniCompileMethodInternal() 407 __ Load(out_reg, method_offset, static_cast<size_t>(kPointerSize)); in ArtJniCompileMethodInternal() 532 FrameOffset method_offset = in ArtJniCompileMethodInternal() local 537 __ Copy(out_off, method_offset, static_cast<size_t>(kPointerSize)); in ArtJniCompileMethodInternal() 540 __ Load(out_reg, method_offset, static_cast<size_t>(kPointerSize)); in ArtJniCompileMethodInternal()
|
/aosp12/system/unwinding/libunwindstack/ |
H A D | DexFile.cpp | 129 bool DexFile::GetFunctionName(uint64_t dex_pc, SharedString* method_name, uint64_t* method_offset) { in GetFunctionName() argument 149 *method_offset = dex_offset - it->second.offset; in GetFunctionName()
|
H A D | DexFile.h | 49 bool GetFunctionName(uint64_t dex_pc, SharedString* method_name, uint64_t* method_offset);
|
/aosp12/art/dex2oat/linker/arm64/ |
H A D | relative_patcher_arm64_test.cc | 258 uint32_t method_offset, in GenNopsAndAdrpAndUse() argument 266 CHECK_ALIGNED(method_offset, 4u); in GenNopsAndAdrpAndUse() 268 uint32_t adrp_offset = method_offset + num_nops * 4u; in GenNopsAndAdrpAndUse() 291 uint32_t method_offset, in GenNopsAndAdrpLdr() argument 293 return GenNopsAndAdrpAndUse(num_nops, method_offset, target_offset, kLdrWInsn); in GenNopsAndAdrpLdr() 317 uint32_t method_offset, in GenNopsAndAdrpAdd() argument 319 return GenNopsAndAdrpAndUse(num_nops, method_offset, target_offset, kAddXInsn); in GenNopsAndAdrpAdd() 1017 uint32_t method_offset = GetMethodOffset(1u); in TEST_F() local 1018 uint32_t thunk_offset = CompiledCode::AlignCode(method_offset + kCallCode.size(), in TEST_F() 1020 uint32_t diff = thunk_offset - method_offset; in TEST_F()
|
/aosp12/art/dex2oat/linker/arm/ |
H A D | relative_patcher_thumb2_test.cc | 674 uint32_t method_offset = GetMethodOffset(1u); in TEST_F() local 675 uint32_t thunk_offset = CompiledCode::AlignCode(method_offset + kCallCode.size(), in TEST_F() 677 uint32_t diff = thunk_offset - method_offset - kPcAdjustment; in TEST_F()
|
/aosp12/art/compiler/optimizing/ |
H A D | code_generator_arm64.cc | 4464 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitInvokeInterface() local 4467 __ Ldr(temp, MemOperand(temp, method_offset)); in VisitInvokeInterface() 4712 size_t method_offset = mirror::Class::EmbeddedVTableEntryOffset( in GenerateVirtualCall() local 4738 __ Ldr(temp, MemOperand(temp, method_offset)); in GenerateVirtualCall() 6829 uint32_t method_offset = mirror::Class::EmbeddedVTableEntryOffset( in VisitClassTableGet() local 6832 MemOperand(XRegisterFrom(locations->InAt(0)), method_offset)); in VisitClassTableGet() 6834 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitClassTableGet() local 6839 MemOperand(XRegisterFrom(locations->Out()), method_offset)); in VisitClassTableGet()
|
H A D | code_generator_x86_64.cc | 1142 size_t method_offset = mirror::Class::EmbeddedVTableEntryOffset( in GenerateVirtualCall() local 1168 __ movq(temp, Address(temp, method_offset)); in GenerateVirtualCall() 2828 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitInvokeInterface() local 2831 __ movq(temp, Address(temp, method_offset)); in VisitInvokeInterface() 4768 uint32_t method_offset = mirror::Class::EmbeddedVTableEntryOffset( in VisitClassTableGet() local 4771 Address(locations->InAt(0).AsRegister<CpuRegister>(), method_offset)); in VisitClassTableGet() 4773 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitClassTableGet() local 4779 Address(locations->Out().AsRegister<CpuRegister>(), method_offset)); in VisitClassTableGet()
|
H A D | code_generator_arm_vixl.cc | 3524 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitInvokeInterface() local 3527 GetAssembler()->LoadFromOffset(kLoadWord, temp, temp, method_offset); in VisitInvokeInterface() 9306 uint32_t method_offset = mirror::Class::EmbeddedVTableEntryOffset( in GenerateVirtualCall() local 9340 GetAssembler()->LoadFromOffset(kLoadWord, temp, temp, method_offset); in GenerateVirtualCall() 9833 uint32_t method_offset = mirror::Class::EmbeddedVTableEntryOffset( in VisitClassTableGet() local 9838 method_offset); in VisitClassTableGet() 9840 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitClassTableGet() local 9849 method_offset); in VisitClassTableGet()
|
H A D | code_generator_x86.cc | 2655 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitInvokeInterface() local 2657 __ movl(temp, Address(temp, method_offset)); in VisitInvokeInterface() 4952 uint32_t method_offset = mirror::Class::EmbeddedVTableEntryOffset( in VisitClassTableGet() local 4955 Address(locations->InAt(0).AsRegister<Register>(), method_offset)); in VisitClassTableGet() 4957 uint32_t method_offset = static_cast<uint32_t>(ImTable::OffsetOfElement( in VisitClassTableGet() local 4964 Address(locations->Out().AsRegister<Register>(), method_offset)); in VisitClassTableGet() 5357 uint32_t method_offset = mirror::Class::EmbeddedVTableEntryOffset( in GenerateVirtualCall() local 5382 __ movl(temp, Address(temp, method_offset)); in GenerateVirtualCall()
|