/art/tools/cpp-define-generator/ |
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()) 37 art::Thread::InterpreterCacheOffset<art::kRuntimePointerSize>().Int32Value()) 45 art::Thread::IsGcMarkingOffset<art::kRuntimePointerSize>().Int32Value()) 47 art::Thread::ThreadLocalAllocStackEndOffset<art::kRuntimePointerSize>().Int32Value()) 49 art::Thread::ThreadLocalAllocStackTopOffset<art::kRuntimePointerSize>().Int32Value()) 51 art::Thread::ThreadLocalEndOffset<art::kRuntimePointerSize>().Int32Value()) [all …]
|
D | globals.def | 75 static_cast<size_t>(art::kRuntimePointerSize)) 77 art::WhichPowerOf2(static_cast<size_t>(art::kRuntimePointerSize)))
|
/art/runtime/ |
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()
|
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()
|
D | native_bridge_art_interface.cc | 50 for (auto& m : c->GetMethods(kRuntimePointerSize)) { in GetNativeMethodCount() 65 for (auto& m : c->GetMethods(kRuntimePointerSize)) { in GetNativeMethods()
|
D | class_linker_test.cc | 292 for (ArtMethod& m : klass->GetDirectMethods(kRuntimePointerSize)) { in AssertClass() 329 for (ArtMethod& method : klass->GetDirectMethods(kRuntimePointerSize)) { in AssertClass() 335 for (ArtMethod& method : klass->GetDeclaredVirtualMethods(kRuntimePointerSize)) { in AssertClass() 341 for (ArtMethod& method : klass->GetCopiedMethods(kRuntimePointerSize)) { in AssertClass() 1177 ArtMethod* clinit = statics->FindClassMethod("<clinit>", "()V", kRuntimePointerSize); in TEST_F() 1264 ArtMethod* Ii = I->FindClassMethod("i", void_sig, kRuntimePointerSize); in TEST_F() 1265 ArtMethod* Jj1 = J->FindClassMethod("j1", void_sig, kRuntimePointerSize); in TEST_F() 1266 ArtMethod* Jj2 = J->FindClassMethod("j2", void_sig, kRuntimePointerSize); in TEST_F() 1267 ArtMethod* Kj1 = K->FindInterfaceMethod("j1", void_sig, kRuntimePointerSize); in TEST_F() 1268 ArtMethod* Kj2 = K->FindInterfaceMethod("j2", void_sig, kRuntimePointerSize); in TEST_F() [all …]
|
D | art_method.h | 469 return GetEntryPointFromQuickCompiledCodePtrSize(kRuntimePointerSize); in GetEntryPointFromQuickCompiledCode() 480 kRuntimePointerSize); in SetEntryPointFromQuickCompiledCode() 526 SetProfilingInfoPtrSize(info, kRuntimePointerSize); in SetProfilingInfo() 538 DCHECK(IsImagePointerSize(kRuntimePointerSize)); in ProfilingInfoOffset() 539 return DataOffset(kRuntimePointerSize); in ProfilingInfoOffset() 562 ArtMethod* GetCanonicalMethod(PointerSize pointer_size = kRuntimePointerSize) 577 return GetEntryPointFromJniPtrSize(kRuntimePointerSize); in GetEntryPointFromJni() 589 SetEntryPointFromJniPtrSize(entrypoint, kRuntimePointerSize); in SetEntryPointFromJni() 766 DCHECK(IsImagePointerSize(kRuntimePointerSize)); in VisitMembers()
|
D | reflection.cc | 446 return receiver->GetClass()->FindVirtualMethodForVirtualOrInterface(method, kRuntimePointerSize); in FindVirtualMethod() 456 CheckMethodArguments(soa.Vm(), method->GetInterfaceMethodIfProxy(kRuntimePointerSize), args); in InvokeWithArgArray() 537 method->GetInterfaceMethodIfProxy(kRuntimePointerSize)->GetShorty(&shorty_len); in InvokeWithVarArgs() 578 method->GetInterfaceMethodIfProxy(kRuntimePointerSize)->GetShorty(&shorty_len); in InvokeWithJValues() 621 method->GetInterfaceMethodIfProxy(kRuntimePointerSize)->GetShorty(&shorty_len); in InvokeVirtualOrInterfaceWithJValues() 665 method->GetInterfaceMethodIfProxy(kRuntimePointerSize)->GetShorty(&shorty_len); in InvokeVirtualOrInterfaceWithVarArgs() 728 m = receiver->GetClass()->FindVirtualMethodForVirtualOrInterface(m, kRuntimePointerSize); in InvokeMethod() 735 auto* np_method = m->GetInterfaceMethodIfProxy(kRuntimePointerSize); in InvokeMethod() 793 kRuntimePointerSize)); in InvokeConstructor() 799 ArtMethod* np_method = constructor->GetInterfaceMethodIfProxy(kRuntimePointerSize); in InvokeConstructor()
|
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() 112 PointerSize pointer_size = kRuntimePointerSize; in GetObsoleteDexCache() 322 CHECK_STREQ(GetInterfaceMethodIfProxy(kRuntimePointerSize)->GetShorty(), shorty); in Invoke() 346 DCHECK_EQ(runtime->GetClassLinker()->GetImagePointerSize(), kRuntimePointerSize); in Invoke() 474 DCHECK_EQ(pointer_size, kRuntimePointerSize) << "Obsolete method in compiler!"; in FindOatMethodFor()
|
/art/runtime/native/ |
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()
|
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()
|
D | java_lang_Class.cc | 533 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), kRuntimePointerSize); in Class_getDeclaredConstructorInternal() 543 mirror::Class::GetDeclaredConstructorInternal<kRuntimePointerSize>( in Class_getDeclaredConstructorInternal() 576 for (auto& m : h_klass->GetDirectMethods(kRuntimePointerSize)) { in Class_getDeclaredConstructorsInternal() 586 for (auto& m : h_klass->GetDirectMethods(kRuntimePointerSize)) { in Class_getDeclaredConstructorsInternal() 588 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), kRuntimePointerSize); in Class_getDeclaredConstructorsInternal() 591 mirror::Constructor::CreateFromArtMethod<kRuntimePointerSize>(soa.Self(), &m); in Class_getDeclaredConstructorsInternal() 606 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), kRuntimePointerSize); in Class_getDeclaredMethodInternal() 614 mirror::Class::GetDeclaredMethodInternal<kRuntimePointerSize>( in Class_getDeclaredMethodInternal() 640 for (ArtMethod& m : klass->GetDeclaredMethods(kRuntimePointerSize)) { in Class_getDeclaredMethodsUnchecked() 655 for (ArtMethod& m : klass->GetDeclaredMethods(kRuntimePointerSize)) { in Class_getDeclaredMethodsUnchecked() [all …]
|
/art/runtime/jni/ |
D | jni_id_manager.cc | 78 if (kRuntimePointerSize == PointerSize::k32) { in GetIds() 281 size_t off = GetIdOffset(t->GetDeclaringClass(), Canonicalize(t), kRuntimePointerSize); in EncodeGenericId() 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() 363 ids->SetElementPtrSize(off, reinterpret_cast<void*>(cur_id), 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() [all …]
|
/art/test/566-polymorphic-inlining/ |
D | polymorphic_inline.cc | 34 ArtMethod* method = klass->FindDeclaredDirectMethodByName(method_name, kRuntimePointerSize); in do_checks() 59 ArtMethod* method = klass->FindDeclaredDirectMethodByName(method_name, kRuntimePointerSize); in allocate_profiling_info()
|
/art/libartbase/base/ |
D | enums.h | 32 static constexpr PointerSize kRuntimePointerSize = sizeof(void*) == 8U variable
|
/art/test/common/ |
D | runtime_state.cc | 175 chars.c_str(), kRuntimePointerSize); in Java_Main_isAotCompiled() 176 const void* oat_code = method->GetOatMethodQuickCode(kRuntimePointerSize); in Java_Main_isAotCompiled() 180 const void* actual_code = method->GetEntryPointFromQuickCompiledCodePtrSize(kRuntimePointerSize); in Java_Main_isAotCompiled() 191 chars.c_str(), kRuntimePointerSize); in GetMethod() 194 chars.c_str(), kRuntimePointerSize); in GetMethod() 339 chars.c_str(), kRuntimePointerSize); in Java_Main_hasSingleImplementation() 352 kRuntimePointerSize); in Java_Main_getHotnessCounter() 358 kRuntimePointerSize); in Java_Main_getHotnessCounter()
|
/art/test/497-inlining-and-class-loader/ |
D | clear_dex_cache.cc | 51 auto pair = mirror::DexCache::GetNativePairPtrSize(methods, i, kRuntimePointerSize); in Java_Main_cloneResolvedMethods() 90 mirror::DexCache::SetNativePairPtrSize(methods, i, pair, kRuntimePointerSize); in Java_Main_restoreResolvedMethods()
|
/art/runtime/entrypoints/ |
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()
|
D | entrypoint_utils-inl.h | 330 ArtMethod* method = referrer->GetInterfaceMethodIfProxy(kRuntimePointerSize); in FindFieldFromCode() 611 referrer->GetDexCache()->GetResolvedField(field_idx, kRuntimePointerSize); in FindFieldFast() 666 kRuntimePointerSize); in FindMethodFast() 689 return super_class->GetVTableEntry(resolved_method->GetMethodIndex(), kRuntimePointerSize); in FindMethodFast() 692 resolved_method, kRuntimePointerSize); in FindMethodFast() 697 resolved_method->GetMethodIndex(), kRuntimePointerSize); in FindMethodFast()
|
/art/runtime/mirror/ |
D | dex_cache.cc | 180 auto pair(GetNativePairPtrSize(GetResolvedFields(), i, kRuntimePointerSize)); in VisitReflectiveTargets() 192 SetNativePairPtrSize(GetResolvedFields(), i, pair, kRuntimePointerSize); in VisitReflectiveTargets() 197 auto pair(GetNativePairPtrSize(GetResolvedMethods(), i, kRuntimePointerSize)); in VisitReflectiveTargets() 209 SetNativePairPtrSize(GetResolvedMethods(), i, pair, kRuntimePointerSize); in VisitReflectiveTargets()
|
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()
|
/art/libartbase/arch/ |
D | instruction_set_test.cc | 59 EXPECT_EQ(kRuntimePointerSize, GetInstructionSetPointerSize(kRuntimeISA)); in TEST()
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 305 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), kRuntimePointerSize); in QuickArgumentVisitor() 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() 844 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), 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() 978 ArtMethod* non_proxy_method = proxy_method->GetInterfaceMethodIfProxy(kRuntimePointerSize); in GetProxyReferenceArguments() 1064 method->GetInterfaceMethodIfProxy(kRuntimePointerSize)->GetShorty(&shorty_len); in artInstrumentationMethodEntryFromCode() 1337 called = receiver->GetClass()->FindVirtualMethodForVirtual(called, kRuntimePointerSize); in artQuickResolutionTrampoline() [all …]
|
/art/runtime/utils/ |
D | dex_cache_arrays_layout.h | 35 pointer_size_(kRuntimePointerSize), in DexCacheArraysLayout()
|
/art/runtime/gc/ |
D | allocation_record.cc | 70 element.GetMethod()->VisitRoots(buffered_visitor, kRuntimePointerSize); in VisitRoots() 203 m = m->GetInterfaceMethodIfProxy(kRuntimePointerSize); in RecordAllocation()
|