Home
last modified time | relevance | path

Searched refs:kRuntimePointerSize (Results 1 – 25 of 66) 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.def70 static_cast<size_t>(art::kRuntimePointerSize))
72 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, 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()
Dhandle_scope_test.cc61 HandleScope::LinkOffset(kRuntimePointerSize)); in TEST_F()
67 HandleScope::NumberOfReferencesOffset(kRuntimePointerSize)); in TEST_F()
73 HandleScope::ReferencesOffset(kRuntimePointerSize)); in TEST_F()
Dproxy_test.cc173 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()
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()
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()
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()
492 DCHECK_EQ(pointer_size, kRuntimePointerSize) << "Obsolete method in compiler!"; in FindOatMethodFor()
Dnterp_helpers.cc84 static constexpr size_t kPointerSize = static_cast<size_t>(kRuntimePointerSize);
/art/runtime/native/
Djava_lang_invoke_MethodHandleImpl.cc50 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()
Djava_lang_Class.cc315 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 …]
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()
/art/runtime/jni/
Djni_id_manager.cc77 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/
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/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.h197 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/
Dinstruction_set_test.cc59 EXPECT_EQ(kRuntimePointerSize, GetInstructionSetPointerSize(kRuntimeISA)); in TEST()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc306 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/
Ddex_cache_arrays_layout.h35 pointer_size_(kRuntimePointerSize), in DexCacheArraysLayout()
/art/runtime/jit/
Djit_code_cache.cc336 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 …]

123