Home
last modified time | relevance | path

Searched refs:GetPrimitiveType (Results 1 – 18 of 18) sorted by relevance

/art/test/004-UnsafeTest/
Dunsafe_test.cc31 Primitive::ComponentSize(klass->GetComponentType()->GetPrimitiveType())).Int32Value(); in Java_Main_vmArrayBaseOffset()
37 return Primitive::ComponentSize(klass->GetComponentType()->GetPrimitiveType()); in Java_Main_vmArrayIndexScale()
/art/runtime/mirror/
Dclass.h331 Primitive::Type GetPrimitiveType() ALWAYS_INLINE SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
341 return GetPrimitiveType<kVerifyFlags>() != Primitive::kPrimNot; in IsPrimitive()
346 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimBoolean; in IsPrimitiveBoolean()
351 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimByte; in IsPrimitiveByte()
356 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimChar; in IsPrimitiveChar()
361 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimShort; in IsPrimitiveShort()
366 return GetPrimitiveType() == Primitive::kPrimInt; in IsPrimitiveInt()
371 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimLong; in IsPrimitiveLong()
376 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimFloat; in IsPrimitiveFloat()
381 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimDouble; in IsPrimitiveDouble()
[all …]
Dclass-inl.h532 inline Primitive::Type Class::GetPrimitiveType() { in GetPrimitiveType() function
676 return strcmp(Primitive::Descriptor(GetPrimitiveType()), match) == 0; in DescriptorEquals()
Dclass.cc724 return Primitive::Descriptor(GetPrimitiveType()); in GetDescriptor()
/art/runtime/native/
Djava_lang_reflect_Array.cc37 DCHECK_EQ(dimensions_obj->GetClass()->GetComponentType()->GetPrimitiveType(), in Array_createMultiArray()
Djava_lang_System.cc89 Primitive::Type dstComponentPrimitiveType = dstComponentType->GetPrimitiveType(); in System_arraycopy()
167 DCHECK_EQ(srcArray->GetClass()->GetComponentType()->GetPrimitiveType(), kPrimType); in System_arraycopyTUnchecked()
Dsun_misc_Unsafe.cc175 Primitive::Type primitive_type = component->GetPrimitiveType(); in Unsafe_getArrayBaseOffsetForComponentType()
182 Primitive::Type primitive_type = component->GetPrimitiveType(); in Unsafe_getArrayIndexScaleForComponentType()
/art/runtime/
Dreflection.cc600 return soa.AddLocalReference<jobject>(BoxPrimitive(mh.GetReturnType()->GetPrimitiveType(), in InvokeMethod()
717 if (UNLIKELY(dst_class->GetPrimitiveType() == Primitive::kPrimVoid)) { in UnboxPrimitive()
776 src_class->GetPrimitiveType(), dst_class->GetPrimitiveType(), in UnboxPrimitive()
Dtransaction.cc380 Primitive::Type type = array->GetClass()->GetComponentType()->GetPrimitiveType(); in Undo()
Dclass_linker.cc2745 DCHECK_EQ(klass->GetPrimitiveType(), Primitive::kPrimNot); in LoadClass()
3792 DCHECK_EQ(klass->GetPrimitiveType(), Primitive::kPrimNot); in CreateProxyClass()
/art/runtime/interpreter/
Dinterpreter.cc116 Primitive::Type primitive_type = component->GetPrimitiveType(); in UnstartedRuntimeJni()
120 Primitive::Type primitive_type = component->GetPrimitiveType(); in UnstartedRuntimeJni()
Dinterpreter_common.cc737 …imitive::Type primitive_component_type = array->GetClass()->GetComponentType()->GetPrimitiveType(); in RecordArrayElementsInTransaction()
/art/runtime/verifier/
Dreg_type_cache.cc218 return RegTypeFromPrimitiveType(klass->GetPrimitiveType()); in FromClass()
Dreg_type.h205 Primitive::Type GetPrimitiveType() const;
Dreg_type.cc555 Primitive::Type RegType::GetPrimitiveType() const { in GetPrimitiveType() function in art::verifier::RegType
Dmethod_verifier.cc1919 size_t elem_width = Primitive::ComponentSize(component_type.GetPrimitiveType()); in CodeFlowVerifyInstruction()
/art/runtime/hprof/
Dhprof.cc999 … HprofBasicType t = PrimitiveToBasicTypeAndSize(c->GetComponentType()->GetPrimitiveType(), &size); in DumpHeapObject()
/art/runtime/gc/
Dheap.cc568 return Primitive::Descriptor(klass->GetPrimitiveType<kVerifyNone>()); in SafeGetClassDescriptor()