Home
last modified time | relevance | path

Searched refs:kRuntimePointerSize (Results 1 – 25 of 73) sorted by relevance

123

/art/tools/cpp-define-generator/
Dthread.def23 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 …]
Dglobals.def75 static_cast<size_t>(art::kRuntimePointerSize))
77 art::WhichPowerOf2(static_cast<size_t>(art::kRuntimePointerSize)))
/art/runtime/
Dproxy_test.h70 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()
Dhandle_scope_test.cc61 HandleScope::LinkOffset(kRuntimePointerSize)); in TEST_F()
67 HandleScope::NumberOfReferencesOffset(kRuntimePointerSize)); in TEST_F()
73 HandleScope::ReferencesOffset(kRuntimePointerSize)); in TEST_F()
Dnative_bridge_art_interface.cc50 for (auto& m : c->GetMethods(kRuntimePointerSize)) { in GetNativeMethodCount()
65 for (auto& m : c->GetMethods(kRuntimePointerSize)) { in GetNativeMethods()
Dclass_linker_test.cc292 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 …]
Dart_method.h469 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()
Dreflection.cc446 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()
Dart_method.cc88 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/
Djava_lang_invoke_MethodHandleImpl.cc52 mirror::Constructor::CreateFromArtMethod<kRuntimePointerSize>(soa.Self(), method)); in MethodHandleImpl_getMemberInternal()
54 h_object.Assign(mirror::Method::CreateFromArtMethod<kRuntimePointerSize>(soa.Self(), method)); in MethodHandleImpl_getMemberInternal()
Djava_lang_reflect_Executable.cc275 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()
Djava_lang_Class.cc533 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/
Djni_id_manager.cc78 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/
Dpolymorphic_inline.cc34 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/
Denums.h32 static constexpr PointerSize kRuntimePointerSize = sizeof(void*) == 8U variable
/art/test/common/
Druntime_state.cc175 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/
Dclear_dex_cache.cc51 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/
Dentrypoint_utils.cc138 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()
Dentrypoint_utils-inl.h330 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/
Ddex_cache.cc180 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()
Dclass_ext-inl.h196 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/
Dinstruction_set_test.cc59 EXPECT_EQ(kRuntimePointerSize, GetInstructionSetPointerSize(kRuntimeISA)); in TEST()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc305 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/
Ddex_cache_arrays_layout.h35 pointer_size_(kRuntimePointerSize), in DexCacheArraysLayout()
/art/runtime/gc/
Dallocation_record.cc70 element.GetMethod()->VisitRoots(buffered_visitor, kRuntimePointerSize); in VisitRoots()
203 m = m->GetInterfaceMethodIfProxy(kRuntimePointerSize); in RecordAllocation()

123