/aosp12/art/tools/cpp-define-generator/ |
H A D | thread.def | 23 art::Thread::CardTableOffset<art::kRuntimePointerSize>().Int32Value()) 27 art::Thread::MterpCurrentIBaseOffset<art::kRuntimePointerSize>().Int32Value()) 31 art::Thread::ExceptionOffset<art::kRuntimePointerSize>().Int32Value()) 33 art::Thread::ThreadFlagsOffset<art::kRuntimePointerSize>().Int32Value()) 35 art::Thread::ThinLockIdOffset<art::kRuntimePointerSize>().Int32Value()) 45 art::Thread::IsGcMarkingOffset<art::kRuntimePointerSize>().Int32Value()) 51 art::Thread::ThreadLocalEndOffset<art::kRuntimePointerSize>().Int32Value()) 55 art::Thread::ThreadLocalPosOffset<art::kRuntimePointerSize>().Int32Value()) 57 art::Thread::RosAllocRunsOffset<art::kRuntimePointerSize>().Int32Value()) 59 art::Thread::SelfOffset<art::kRuntimePointerSize>().Int32Value()) [all …]
|
H A D | globals.def | 75 static_cast<size_t>(art::kRuntimePointerSize)) 77 art::WhichPowerOf2(static_cast<size_t>(art::kRuntimePointerSize)))
|
/aosp12/art/runtime/ |
H A D | proxy_test.h | 70 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), kRuntimePointerSize); in GenerateProxyClass() 72 "equals", "(Ljava/lang/Object;)Z", kRuntimePointerSize); in GenerateProxyClass() 79 mirror::Method::CreateFromArtMethod<kRuntimePointerSize>(soa.Self(), method))); in GenerateProxyClass() 80 method = javaLangObject->FindClassMethod("hashCode", "()I", kRuntimePointerSize); in GenerateProxyClass() 86 mirror::Method::CreateFromArtMethod<kRuntimePointerSize>(soa.Self(), method))); in GenerateProxyClass() 88 "toString", "()Ljava/lang/String;", kRuntimePointerSize); in GenerateProxyClass() 94 mirror::Method::CreateFromArtMethod<kRuntimePointerSize>(soa.Self(), method))); in GenerateProxyClass() 97 for (auto& m : interface->GetDeclaredVirtualMethods(kRuntimePointerSize)) { in GenerateProxyClass() 100 mirror::Method::CreateFromArtMethod<kRuntimePointerSize>(soa.Self(), &m))); in GenerateProxyClass()
|
H A D | class_linker_test.cc | 292 for (ArtMethod& m : klass->GetDirectMethods(kRuntimePointerSize)) { in AssertClass() 329 for (ArtMethod& method : klass->GetDirectMethods(kRuntimePointerSize)) { in AssertClass() 341 for (ArtMethod& method : klass->GetCopiedMethods(kRuntimePointerSize)) { in AssertClass() 1267 ArtMethod* Ii = I->FindClassMethod("i", void_sig, kRuntimePointerSize); in TEST_F() 1268 ArtMethod* Jj1 = J->FindClassMethod("j1", void_sig, kRuntimePointerSize); in TEST_F() 1273 ArtMethod* Ai = A->FindClassMethod("i", void_sig, kRuntimePointerSize); in TEST_F() 1331 ArtMethod* clinit = klass->FindClassInitializer(kRuntimePointerSize); in TEST_F() 1451 for (auto& m : c->GetMethods(kRuntimePointerSize)) { in CheckVerificationAttempted() 1570 kRuntimePointerSize); in TEST_F() 1607 kRuntimePointerSize); in TEST_F() [all …]
|
H A D | handle_scope_test.cc | 61 HandleScope::LinkOffset(kRuntimePointerSize)); in TEST_F() 67 HandleScope::NumberOfReferencesOffset(kRuntimePointerSize)); in TEST_F() 73 HandleScope::ReferencesOffset(kRuntimePointerSize)); in TEST_F()
|
H A D | native_bridge_art_interface.cc | 50 for (auto& m : c->GetMethods(kRuntimePointerSize)) { in GetNativeMethodCount() 65 for (auto& m : c->GetMethods(kRuntimePointerSize)) { in GetNativeMethods()
|
H A D | art_method.cc | 88 DCHECK_EQ(kRuntimePointerSize, Runtime::Current()->GetClassLinker()->GetImagePointerSize()); in GetNonObsoleteMethod() 90 return &GetDeclaringClass()->GetDirectMethodsSlice(kRuntimePointerSize)[GetMethodIndex()]; in GetNonObsoleteMethod() 92 return GetDeclaringClass()->GetVTableEntry(GetMethodIndex(), kRuntimePointerSize); in GetNonObsoleteMethod() 115 PointerSize pointer_size = kRuntimePointerSize; in GetObsoleteDexCache() 323 CHECK_STREQ(GetInterfaceMethodIfProxy(kRuntimePointerSize)->GetShorty(), shorty); in Invoke() 347 DCHECK_EQ(runtime->GetClassLinker()->GetImagePointerSize(), kRuntimePointerSize); in Invoke() 475 DCHECK_EQ(pointer_size, kRuntimePointerSize) << "Obsolete method in compiler!"; in FindOatMethodFor() 852 SetDataPtrSize(reinterpret_cast<void*>(data), kRuntimePointerSize); in SetCodeItem()
|
H A D | art_method.h | 482 return GetEntryPointFromQuickCompiledCodePtrSize(kRuntimePointerSize); in GetEntryPointFromQuickCompiledCode() 493 kRuntimePointerSize); in SetEntryPointFromQuickCompiledCode() 551 ArtMethod* GetCanonicalMethod(PointerSize pointer_size = kRuntimePointerSize) 566 return GetEntryPointFromJniPtrSize(kRuntimePointerSize); in GetEntryPointFromJni() 578 SetEntryPointFromJniPtrSize(entrypoint, kRuntimePointerSize); in SetEntryPointFromJni() 758 DCHECK(IsImagePointerSize(kRuntimePointerSize)); in VisitMembers()
|
H A D | reflection.cc | 446 return receiver->GetClass()->FindVirtualMethodForVirtualOrInterface(method, kRuntimePointerSize); in FindVirtualMethod() 456 CheckMethodArguments(soa.Vm(), method->GetInterfaceMethodIfProxy(kRuntimePointerSize), args); in InvokeWithArgArray() 545 method->GetInterfaceMethodIfProxy(kRuntimePointerSize)->GetShorty(&shorty_len); in InvokeWithVarArgs() 586 method->GetInterfaceMethodIfProxy(kRuntimePointerSize)->GetShorty(&shorty_len); in InvokeWithJValues() 629 method->GetInterfaceMethodIfProxy(kRuntimePointerSize)->GetShorty(&shorty_len); in InvokeVirtualOrInterfaceWithJValues() 673 method->GetInterfaceMethodIfProxy(kRuntimePointerSize)->GetShorty(&shorty_len); in InvokeVirtualOrInterfaceWithVarArgs() 815 kRuntimePointerSize)); in InvokeConstructor() 821 ArtMethod* np_method = constructor->GetInterfaceMethodIfProxy(kRuntimePointerSize); in InvokeConstructor()
|
/aosp12/art/runtime/jni/ |
H A D | jni_id_manager.cc | 78 if (kRuntimePointerSize == PointerSize::k32) { in GetIds() 297 cur_id = ids->GetElementPtrSize<uintptr_t>(off, kRuntimePointerSize); in EncodeGenericId() 315 off = GetIdOffset(klass, Canonicalize(t), kRuntimePointerSize); in EncodeGenericId() 317 cur_id = ids->GetElementPtrSize<uintptr_t>(off, kRuntimePointerSize); in EncodeGenericId() 439 old_statics->SetElementPtrSize(old_off, 0, kRuntimePointerSize); in VisitReflectiveTargets() 446 old_instances->SetElementPtrSize(old_off, 0, kRuntimePointerSize); in VisitReflectiveTargets() 459 new_statics->SetElementPtrSize(new_off, id, kRuntimePointerSize); in VisitReflectiveTargets() 466 new_instances->SetElementPtrSize(new_off, id, kRuntimePointerSize); in VisitReflectiveTargets() 489 old_methods->SetElementPtrSize(old_off, 0, kRuntimePointerSize); in VisitReflectiveTargets() 498 new_methods->SetElementPtrSize(new_off, id, kRuntimePointerSize); in VisitReflectiveTargets() [all …]
|
/aosp12/art/test/common/ |
H A D | runtime_state.cc | 171 chars.c_str(), kRuntimePointerSize); in Java_Main_isAotCompiled() 172 const void* oat_code = method->GetOatMethodQuickCode(kRuntimePointerSize); in Java_Main_isAotCompiled() 176 const void* actual_code = method->GetEntryPointFromQuickCompiledCodePtrSize(kRuntimePointerSize); in Java_Main_isAotCompiled() 187 chars.c_str(), kRuntimePointerSize); in GetMethod() 190 chars.c_str(), kRuntimePointerSize); in GetMethod() 342 chars.c_str(), kRuntimePointerSize); in Java_Main_hasSingleImplementation() 355 kRuntimePointerSize); in Java_Main_getHotnessCounter() 361 kRuntimePointerSize); in Java_Main_getHotnessCounter()
|
/aosp12/art/runtime/native/ |
H A D | java_lang_invoke_MethodHandleImpl.cc | 52 mirror::Constructor::CreateFromArtMethod<kRuntimePointerSize>(soa.Self(), method)); in MethodHandleImpl_getMemberInternal() 54 h_object.Assign(mirror::Method::CreateFromArtMethod<kRuntimePointerSize>(soa.Self(), method)); in MethodHandleImpl_getMemberInternal()
|
H A D | java_lang_reflect_Executable.cc | 275 this_method = this_method->GetInterfaceMethodIfProxy(kRuntimePointerSize); in Executable_compareMethodParametersInternal() 276 other_method = other_method->GetInterfaceMethodIfProxy(kRuntimePointerSize); in Executable_compareMethodParametersInternal() 324 method = method->GetInterfaceMethodIfProxy(kRuntimePointerSize); in Executable_getMethodNameInternal() 331 method = method->GetInterfaceMethodIfProxy(kRuntimePointerSize); in Executable_getMethodReturnTypeInternal() 344 method = method->GetInterfaceMethodIfProxy(kRuntimePointerSize); in Executable_getParameterTypesInternal() 379 method = method->GetInterfaceMethodIfProxy(kRuntimePointerSize); in Executable_getParameterCountInternal()
|
H A D | java_lang_Class.cc | 535 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), kRuntimePointerSize); in Class_getDeclaredConstructorInternal() 545 mirror::Class::GetDeclaredConstructorInternal<kRuntimePointerSize>( in Class_getDeclaredConstructorInternal() 578 for (auto& m : h_klass->GetDirectMethods(kRuntimePointerSize)) { in Class_getDeclaredConstructorsInternal() 588 for (auto& m : h_klass->GetDirectMethods(kRuntimePointerSize)) { in Class_getDeclaredConstructorsInternal() 593 mirror::Constructor::CreateFromArtMethod<kRuntimePointerSize>(soa.Self(), &m); in Class_getDeclaredConstructorsInternal() 608 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), kRuntimePointerSize); in Class_getDeclaredMethodInternal() 616 mirror::Class::GetDeclaredMethodInternal<kRuntimePointerSize>( in Class_getDeclaredMethodInternal() 642 for (ArtMethod& m : klass->GetDeclaredMethods(kRuntimePointerSize)) { in Class_getDeclaredMethodsUnchecked() 657 for (ArtMethod& m : klass->GetDeclaredMethods(kRuntimePointerSize)) { in Class_getDeclaredMethodsUnchecked() 664 mirror::Method::CreateFromArtMethod<kRuntimePointerSize>(soa.Self(), &m); in Class_getDeclaredMethodsUnchecked() [all …]
|
H A D | java_lang_reflect_Method.cc | 54 for (const auto& m : klass->GetDeclaredVirtualMethods(kRuntimePointerSize)) { in Method_getExceptionTypes() 86 return InvokeMethod<kRuntimePointerSize>(soa, javaMethod, javaReceiver, javaArgs); in Method_invoke()
|
H A D | java_lang_reflect_Constructor.cc | 43 ->GetInterfaceMethodIfProxy(kRuntimePointerSize); in Constructor_getExceptionTypes() 108 return InvokeMethod<kRuntimePointerSize>(soa, javaMethod, nullptr, javaArgs, 2); in Constructor_newInstance0()
|
/aosp12/art/runtime/entrypoints/ |
H A D | entrypoint_utils.cc | 138 interface_method->GetArtMethod(), kRuntimePointerSize); in InvokeProxyInvocationHandler() 139 auto virtual_methods = proxy_class->GetVirtualMethodsSlice(kRuntimePointerSize); in InvokeProxyInvocationHandler() 141 size_t method_size = ArtMethod::Size(kRuntimePointerSize); in InvokeProxyInvocationHandler() 294 static_cast<size_t>(kRuntimePointerSize)); in MaybeUpdateBssMethodEntry() 296 DCHECK_ALIGNED(bss_offset, static_cast<size_t>(kRuntimePointerSize)); in MaybeUpdateBssMethodEntry()
|
H A D | entrypoint_utils-inl.h | 330 ArtMethod* method = referrer->GetInterfaceMethodIfProxy(kRuntimePointerSize); in FindFieldFromCode() 665 kRuntimePointerSize); in FindMethodFast() 688 return super_class->GetVTableEntry(resolved_method->GetMethodIndex(), kRuntimePointerSize); in FindMethodFast() 691 resolved_method, kRuntimePointerSize); in FindMethodFast() 696 resolved_method->GetMethodIndex(), kRuntimePointerSize); in FindMethodFast() 777 return reinterpret_cast<jobject>(sp + frame_size + static_cast<size_t>(kRuntimePointerSize)); in GetGenericJniSynchronizationObject()
|
/aosp12/art/runtime/entrypoints/quick/ |
H A D | quick_trampoline_entrypoints.cc | 665 ArtMethod* non_proxy_method = method->GetInterfaceMethodIfProxy(kRuntimePointerSize); in artQuickToInterpreterBridge() 826 ArtMethod* non_proxy_method = proxy_method->GetInterfaceMethodIfProxy(kRuntimePointerSize); in artQuickProxyInvokeHandler() 840 ArtMethod* interface_method = proxy_method->FindOverriddenMethod(kRuntimePointerSize); in artQuickProxyInvokeHandler() 847 mirror::Method::CreateFromArtMethod<kRuntimePointerSize>(soa.Self(), interface_method); in artQuickProxyInvokeHandler() 934 ArtMethod* non_proxy_method = proxy_method->GetInterfaceMethodIfProxy(kRuntimePointerSize); in artQuickGetProxyReferenceArgumentAt() 1064 method->GetInterfaceMethodIfProxy(kRuntimePointerSize)->GetShorty(&shorty_len); in artInstrumentationMethodEntryFromCode() 1345 called->GetMethodIndex(), kRuntimePointerSize); in artQuickResolutionTrampoline() 2354 ImTable* imt = cls->GetImt(kRuntimePointerSize); in artInvokeInterfaceTrampoline() 2355 ArtMethod* conflict_method = imt->Get(imt_index, kRuntimePointerSize); in artInvokeInterfaceTrampoline() 2362 ArtMethod* method = current_table->Lookup(interface_method, kRuntimePointerSize); in artInvokeInterfaceTrampoline() [all …]
|
/aosp12/art/runtime/mirror/ |
H A D | class_ext-inl.h | 196 jmethodID id = marr->GetElementPtrSize<jmethodID>(i, kRuntimePointerSize); in VisitJMethodIDs() 210 jfieldID id = sarr->GetElementPtrSize<jfieldID>(i, kRuntimePointerSize); in VisitJFieldIDs() 221 jfieldID id = iarr->GetElementPtrSize<jfieldID>(i, kRuntimePointerSize); in VisitJFieldIDs()
|
H A D | object_test.cc | 408 ArtMethod* clinit = klass->FindClassInitializer(kRuntimePointerSize); in TEST_F() 546 ArtMethod* m1_1 = klass1->GetVirtualMethod(0, kRuntimePointerSize); in TEST_F() 548 ArtMethod* m2_1 = klass1->GetVirtualMethod(1, kRuntimePointerSize); in TEST_F() 550 ArtMethod* m3_1 = klass1->GetVirtualMethod(2, kRuntimePointerSize); in TEST_F() 552 ArtMethod* m4_1 = klass1->GetVirtualMethod(3, kRuntimePointerSize); in TEST_F() 555 ArtMethod* m1_2 = klass2->GetVirtualMethod(0, kRuntimePointerSize); in TEST_F() 557 ArtMethod* m2_2 = klass2->GetVirtualMethod(1, kRuntimePointerSize); in TEST_F() 559 ArtMethod* m3_2 = klass2->GetVirtualMethod(2, kRuntimePointerSize); in TEST_F() 561 ArtMethod* m4_2 = klass2->GetVirtualMethod(3, kRuntimePointerSize); in TEST_F()
|
H A D | dex_cache_test.cc | 135 kRuntimePointerSize); in TEST_F() 141 kRuntimePointerSize); in TEST_F()
|
/aosp12/art/libartbase/base/ |
H A D | enums.h | 32 static constexpr PointerSize kRuntimePointerSize = sizeof(void*) == 8U variable
|
/aosp12/art/runtime/gc/ |
H A D | allocation_record.cc | 70 element.GetMethod()->VisitRoots(buffered_visitor, kRuntimePointerSize); in VisitRoots() 203 m = m->GetInterfaceMethodIfProxy(kRuntimePointerSize); in RecordAllocation()
|
/aosp12/art/libartbase/arch/ |
H A D | instruction_set_test.cc | 59 EXPECT_EQ(kRuntimePointerSize, GetInstructionSetPointerSize(kRuntimeISA)); in TEST()
|