/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 | 70 static_cast<size_t>(art::kRuntimePointerSize)) 72 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, false>(soa.Self(), method))); in GenerateProxyClass() 80 method = javaLangObject->FindClassMethod("hashCode", "()I", kRuntimePointerSize); in GenerateProxyClass() 86 mirror::Method::CreateFromArtMethod<kRuntimePointerSize, false>(soa.Self(), method))); in GenerateProxyClass() 88 "toString", "()Ljava/lang/String;", kRuntimePointerSize); in GenerateProxyClass() 94 mirror::Method::CreateFromArtMethod<kRuntimePointerSize, false>(soa.Self(), method))); in GenerateProxyClass() 97 for (auto& m : interface->GetDeclaredVirtualMethods(kRuntimePointerSize)) { in GenerateProxyClass() 100 mirror::Method::CreateFromArtMethod<kRuntimePointerSize, false>(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 | proxy_test.cc | 173 ASSERT_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), kRuntimePointerSize); in TEST_F() 176 hs.NewHandle(mirror::Field::CreateFromArtField<kRuntimePointerSize, false>( in TEST_F() 179 hs.NewHandle(mirror::Field::CreateFromArtField<kRuntimePointerSize, false>( in TEST_F() 182 hs.NewHandle(mirror::Field::CreateFromArtField<kRuntimePointerSize, false>( in TEST_F() 185 hs.NewHandle(mirror::Field::CreateFromArtField<kRuntimePointerSize, false>( 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() 533 SetDataPtrSize(info, kRuntimePointerSize); in SetProfilingInfo() 542 DCHECK(IsImagePointerSize(kRuntimePointerSize)); in ProfilingInfoOffset() 543 return DataOffset(kRuntimePointerSize); in ProfilingInfoOffset() 566 ArtMethod* GetCanonicalMethod(PointerSize pointer_size = kRuntimePointerSize) 581 return GetEntryPointFromJniPtrSize(kRuntimePointerSize); in GetEntryPointFromJni() 591 SetEntryPointFromJniPtrSize(entrypoint, kRuntimePointerSize); in SetEntryPointFromJni() 768 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() 492 DCHECK_EQ(pointer_size, kRuntimePointerSize) << "Obsolete method in compiler!"; in FindOatMethodFor()
|
D | nterp_helpers.cc | 84 static constexpr size_t kPointerSize = static_cast<size_t>(kRuntimePointerSize);
|
/art/runtime/native/ |
D | java_lang_invoke_MethodHandleImpl.cc | 50 h_object.Assign(mirror::Field::CreateFromArtField<kRuntimePointerSize, false>( in MethodHandleImpl_getMemberInternal() 55 h_object.Assign(mirror::Constructor::CreateFromArtMethod<kRuntimePointerSize, false>( in MethodHandleImpl_getMemberInternal() 58 h_object.Assign(mirror::Method::CreateFromArtMethod<kRuntimePointerSize, false>( in MethodHandleImpl_getMemberInternal()
|
D | java_lang_Class.cc | 315 mirror::Field::CreateFromArtField<kRuntimePointerSize>(self, &field, force_resolve); in GetDeclaredFields() 329 mirror::Field::CreateFromArtField<kRuntimePointerSize>(self, &field, force_resolve); in GetDeclaredFields() 420 return mirror::Field::CreateFromArtField<kRuntimePointerSize>(self, art_field, true); in GetDeclaredField() 424 return mirror::Field::CreateFromArtField<kRuntimePointerSize>(self, art_field, true); in GetDeclaredField() 533 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), kRuntimePointerSize); in Class_getDeclaredConstructorInternal() 543 mirror::Class::GetDeclaredConstructorInternal<kRuntimePointerSize, false>( 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, false>(soa.Self(), &m); in Class_getDeclaredConstructorsInternal() [all …]
|
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()
|
/art/runtime/jni/ |
D | jni_id_manager.cc | 77 if (kRuntimePointerSize == PointerSize::k32) { in GetIds() 280 size_t off = GetIdOffset(t->GetDeclaringClass(), Canonicalize(t), kRuntimePointerSize); in EncodeGenericId() 296 cur_id = ids->GetElementPtrSize<uintptr_t>(off, kRuntimePointerSize); in EncodeGenericId() 314 off = GetIdOffset(klass, Canonicalize(t), kRuntimePointerSize); in EncodeGenericId() 316 cur_id = ids->GetElementPtrSize<uintptr_t>(off, kRuntimePointerSize); in EncodeGenericId() 362 ids->SetElementPtrSize(off, reinterpret_cast<void*>(cur_id), kRuntimePointerSize); in EncodeGenericId() 438 old_statics->SetElementPtrSize(old_off, 0, kRuntimePointerSize); in VisitReflectiveTargets() 445 old_instances->SetElementPtrSize(old_off, 0, kRuntimePointerSize); in VisitReflectiveTargets() 458 new_statics->SetElementPtrSize(new_off, id, kRuntimePointerSize); in VisitReflectiveTargets() 465 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/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 | 197 jmethodID id = marr->GetElementPtrSize<jmethodID>(i, kRuntimePointerSize); in VisitJMethodIDs() 211 jfieldID id = sarr->GetElementPtrSize<jfieldID>(i, kRuntimePointerSize); in VisitJFieldIDs() 222 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 | 306 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), kRuntimePointerSize); in QuickArgumentVisitor() 666 ArtMethod* non_proxy_method = method->GetInterfaceMethodIfProxy(kRuntimePointerSize); in artQuickToInterpreterBridge() 827 ArtMethod* non_proxy_method = proxy_method->GetInterfaceMethodIfProxy(kRuntimePointerSize); in artQuickProxyInvokeHandler() 841 ArtMethod* interface_method = proxy_method->FindOverriddenMethod(kRuntimePointerSize); in artQuickProxyInvokeHandler() 845 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), kRuntimePointerSize); in artQuickProxyInvokeHandler() 848 mirror::Method::CreateFromArtMethod<kRuntimePointerSize, false>(soa.Self(), interface_method); in artQuickProxyInvokeHandler() 935 ArtMethod* non_proxy_method = proxy_method->GetInterfaceMethodIfProxy(kRuntimePointerSize); in artQuickGetProxyReferenceArgumentAt() 979 ArtMethod* non_proxy_method = proxy_method->GetInterfaceMethodIfProxy(kRuntimePointerSize); in GetProxyReferenceArguments() 1065 method->GetInterfaceMethodIfProxy(kRuntimePointerSize)->GetShorty(&shorty_len); in artInstrumentationMethodEntryFromCode() 1328 static_cast<size_t>(kRuntimePointerSize)); in artQuickResolutionTrampoline() [all …]
|
/art/runtime/utils/ |
D | dex_cache_arrays_layout.h | 35 pointer_size_(kRuntimePointerSize), in DexCacheArraysLayout()
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 336 ProfilingInfo* info = method->GetProfilingInfo(kRuntimePointerSize); in FindCompiledCodeForInstrumentation() 791 ProfilingInfo* info = method->GetProfilingInfo(kRuntimePointerSize); in RemoveMethodLocked() 860 if (old_method->GetProfilingInfo(kRuntimePointerSize) != nullptr) { in MoveObsoleteMethod() 861 DCHECK_EQ(old_method->GetProfilingInfo(kRuntimePointerSize)->GetMethod(), old_method); in MoveObsoleteMethod() 862 ProfilingInfo* info = old_method->GetProfilingInfo(kRuntimePointerSize); in MoveObsoleteMethod() 1350 info->GetMethod()->GetProfilingInfo(kRuntimePointerSize) == nullptr) { in DoCollection() 1352 } else if (info->GetMethod()->GetProfilingInfo(kRuntimePointerSize) != info) { in DoCollection() 1479 ProfilingInfo* info = method->GetProfilingInfo(kRuntimePointerSize); in AddProfilingInfoInternal() 1674 ProfilingInfo* info = method->GetProfilingInfo(kRuntimePointerSize); in NotifyCompilationOf() 1678 info = method->GetProfilingInfo(kRuntimePointerSize); in NotifyCompilationOf() [all …]
|