Home
last modified time | relevance | path

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

12

/art/test/004-UnsafeTest/
Dunsafe_test.cc32 Primitive::ComponentSize(klass->GetComponentType()->GetPrimitiveType())).Int32Value(); in Java_Main_vmArrayBaseOffset()
38 return Primitive::ComponentSize(klass->GetComponentType()->GetPrimitiveType()); in Java_Main_vmArrayIndexScale()
/art/runtime/mirror/
Demulated_stack_frame.cc47 const Primitive::Type primitive_type = type->GetPrimitiveType(); in CalculateFrameAndReferencesSize()
57 const Primitive::Type return_type = r_type->GetPrimitiveType(); in CalculateFrameAndReferencesSize()
236 const Primitive::Type type = r_type->GetPrimitiveType(); in GetReturnValue()
260 const Primitive::Type type = r_type->GetPrimitiveType(); in SetReturnValue()
Dclass.h363 Primitive::Type GetPrimitiveType() ALWAYS_INLINE REQUIRES_SHARED(Locks::mutator_lock_);
380 return GetPrimitiveType<kVerifyFlags>() != Primitive::kPrimNot; in IsPrimitive()
385 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimBoolean; in IsPrimitiveBoolean()
390 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimByte; in IsPrimitiveByte()
395 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimChar; in IsPrimitiveChar()
400 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimShort; in IsPrimitiveShort()
405 return GetPrimitiveType() == Primitive::kPrimInt; in IsPrimitiveInt()
410 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimLong; in IsPrimitiveLong()
415 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimFloat; in IsPrimitiveFloat()
420 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimDouble; in IsPrimitiveDouble()
[all …]
Dfield-inl.h37 return GetType()->GetPrimitiveType(); in GetTypeAsPrimitiveType()
Dvar_handle.cc1436 if (mt_rtype->GetPrimitiveType() != Primitive::Type::kPrimVoid) { in GetMethodTypeMatchForAccessMode()
1480 if (mt_rtype->GetPrimitiveType() == Primitive::Type::kPrimVoid) { in IsInvokerMethodTypeCompatible()
1697 2u * (Primitive::Is64BitType(GetVarType()->GetPrimitiveType()) ? 2u : 1u)); in Access()
1702 1u + 2u * (Primitive::Is64BitType(GetVarType()->GetPrimitiveType()) ? 2u : 1u)); in Access()
1712 const Primitive::Type primitive_type = GetVarType()->GetPrimitiveType(); in Access()
1761 const Primitive::Type primitive_type = GetVarType()->GetPrimitiveType(); in Access()
1850 const Primitive::Type primitive_type = GetVarType()->GetPrimitiveType(); in Access()
1961 const Primitive::Type primitive_type = GetVarType()->GetPrimitiveType(); in Access()
Dclass-inl.h759 inline Primitive::Type Class::GetPrimitiveType() { in GetPrimitiveType() function
851 return strcmp(Primitive::Descriptor(klass->GetPrimitiveType()), match) == 0; in DescriptorEquals()
Dobject-inl.h204 component_type->GetPrimitiveType<kNewFlags>() == kType; in IsSpecificPrimitiveArray()
Dclass.cc1020 descriptor = Primitive::Descriptor(klass->GetPrimitiveType()); in GetDescriptor()
/art/runtime/
Dmethod_handles-inl.h147 if (to_class->GetPrimitiveType() == Primitive::kPrimVoid || from_class == to_class) { in ConvertReturnValue()
180 const Primitive::Type from_type = from->GetPrimitiveType(); in PerformConversions()
181 const Primitive::Type to_type = to->GetPrimitiveType(); in PerformConversions()
Dmethod_handles.cc129 Primitive::Type from_primitive = from->GetPrimitiveType(); in IsParameterTypeConvertible()
130 Primitive::Type to_primitive = to->GetPrimitiveType(); in IsParameterTypeConvertible()
181 if (to->GetPrimitiveType() == Primitive::Type::kPrimVoid) { in IsReturnTypeConvertible()
184 } else if (from->GetPrimitiveType() == Primitive::Type::kPrimVoid) { in IsReturnTypeConvertible()
204 const Primitive::Type from_type = from->GetPrimitiveType(); in ConvertJValueCommon()
205 const Primitive::Type to_type = to->GetPrimitiveType(); in ConvertJValueCommon()
927 callsite_type->GetPTypes()->Get(kPTypeIndex)->GetPrimitiveType(), in MethodHandleFieldAccess()
951 callsite_type->GetPTypes()->Get(kPTypeIndex)->GetPrimitiveType(), in MethodHandleFieldAccess()
Dreflection.cc869 if (UNLIKELY(dst_class->GetPrimitiveType() == Primitive::kPrimVoid)) { in UnboxPrimitive()
927 dst_class->GetPrimitiveType(), in UnboxPrimitive()
Dtransaction.cc624 Primitive::Type type = array->GetClass()->GetComponentType()->GetPrimitiveType(); in Undo()
/art/runtime/native/
Djava_lang_reflect_Array.cc44 DCHECK_EQ(dimensions_obj->GetClass()->GetComponentType()->GetPrimitiveType(), in Array_createMultiArray()
Djava_lang_System.cc93 Primitive::Type dstComponentPrimitiveType = dstComponentType->GetPrimitiveType(); in System_arraycopy()
185 DCHECK_EQ(srcArray->GetClass()->GetComponentType()->GetPrimitiveType(), kPrimType); in System_arraycopyTUnchecked()
Dsun_misc_Unsafe.cc211 Primitive::Type primitive_type = component->GetPrimitiveType(); in Unsafe_getArrayBaseOffsetForComponentType()
218 Primitive::Type primitive_type = component->GetPrimitiveType(); in Unsafe_getArrayIndexScaleForComponentType()
Djava_lang_Class.cc795 if (UNLIKELY(klass->GetPrimitiveType() != 0 || klass->IsInterface() || klass->IsArrayClass() || in Class_newInstance()
/art/compiler/optimizing/
Dssa_builder.cc313 array_type.GetTypeHandle()->GetComponentType()->GetPrimitiveType()); in GetPrimitiveArrayComponentType()
Dinstruction_simplifier.cc2217 destination_rti.GetTypeHandle()->GetComponentType()->GetPrimitiveType()); in SimplifySystemArrayCopy()
2231 source_rti.GetTypeHandle()->GetComponentType()->GetPrimitiveType()); in SimplifySystemArrayCopy()
/art/compiler/debug/
Delf_debug_info_writer.h303 if (type->GetPrimitiveType() != Primitive::kPrimVoid) { in Write()
/art/runtime/verifier/
Dreg_type_cache.cc243 return &RegTypeFromPrimitiveType(klass->GetPrimitiveType()); in FindClass()
Dreg_type.cc486 Primitive::Type RegType::GetPrimitiveType() const { in GetPrimitiveType() function in art::verifier::RegType
Dreg_type.h184 Primitive::Type GetPrimitiveType() const;
/art/runtime/interpreter/
Dunstarted_runtime.cc1954 Primitive::Type primitive_type = component->AsClass()->GetPrimitiveType(); in UnstartedJNIUnsafeGetArrayBaseOffsetForComponentType()
1969 Primitive::Type primitive_type = component->AsClass()->GetPrimitiveType(); in UnstartedJNIUnsafeGetArrayIndexScaleForComponentType()
/art/runtime/hprof/
Dhprof.cc1446 Primitive::Descriptor(klass->GetComponentType()->GetPrimitiveType()), &size); in DumpHeapArray()
/art/openjdkjvmti/
Dti_heap.cc126 art::Primitive::Type art_prim_type = array->GetClass()->GetComponentType()->GetPrimitiveType(); in ReportPrimitiveArray()

12