Home
last modified time | relevance | path

Searched refs:GetPrimitiveType (Results 1 – 25 of 29) 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()
Dfield-inl.h37 return GetType()->GetPrimitiveType(); in GetTypeAsPrimitiveType()
Dclass.h413 Primitive::Type GetPrimitiveType() ALWAYS_INLINE REQUIRES_SHARED(Locks::mutator_lock_);
431 return GetPrimitiveType<kVerifyFlags>() != Primitive::kPrimNot; in IsPrimitive()
436 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimBoolean; in IsPrimitiveBoolean()
441 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimByte; in IsPrimitiveByte()
446 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimChar; in IsPrimitiveChar()
451 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimShort; in IsPrimitiveShort()
456 return GetPrimitiveType() == Primitive::kPrimInt; in IsPrimitiveInt()
461 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimLong; in IsPrimitiveLong()
466 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimFloat; in IsPrimitiveFloat()
471 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimDouble; in IsPrimitiveDouble()
[all …]
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.h782 inline Primitive::Type Class::GetPrimitiveType() { in GetPrimitiveType() function
877 return strcmp(Primitive::Descriptor(klass->GetPrimitiveType()), match) == 0; in DescriptorEquals()
Dobject-inl.h204 component_type->GetPrimitiveType<kNewFlags>() == kType; in IsSpecificPrimitiveArray()
/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.cc130 Primitive::Type from_primitive = from->GetPrimitiveType(); in IsParameterTypeConvertible()
131 Primitive::Type to_primitive = to->GetPrimitiveType(); in IsParameterTypeConvertible()
182 if (to->GetPrimitiveType() == Primitive::Type::kPrimVoid) { in IsReturnTypeConvertible()
185 } else if (from->GetPrimitiveType() == Primitive::Type::kPrimVoid) { in IsReturnTypeConvertible()
205 const Primitive::Type from_type = from->GetPrimitiveType(); in ConvertJValueCommon()
206 const Primitive::Type to_type = to->GetPrimitiveType(); in ConvertJValueCommon()
943 callsite_type->GetPTypes()->Get(kPTypeIndex)->GetPrimitiveType(), in MethodHandleFieldAccess()
967 callsite_type->GetPTypes()->Get(kPTypeIndex)->GetPrimitiveType(), in MethodHandleFieldAccess()
Dreflection.cc911 if (UNLIKELY(dst_class->GetPrimitiveType() == Primitive::kPrimVoid)) { in UnboxPrimitive()
969 dst_class->GetPrimitiveType(), in UnboxPrimitive()
Dtransaction.cc657 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.cc902 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.cc2207 destination_rti.GetTypeHandle()->GetComponentType()->GetPrimitiveType()); in SimplifySystemArrayCopy()
2221 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.cc248 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/openjdkjvmti/
Dti_heap.cc157 art::Primitive::Type art_prim_type = array->GetClass()->GetComponentType()->GetPrimitiveType(); in ReportPrimitiveArray()
1940 switch (old_arr->GetClass()->GetComponentType()->GetPrimitiveType()) { in ChangeArraySize()
/art/runtime/interpreter/
Dunstarted_runtime.cc1985 Primitive::Type primitive_type = component->AsClass()->GetPrimitiveType(); in UnstartedJNIUnsafeGetArrayBaseOffsetForComponentType()
2000 Primitive::Type primitive_type = component->AsClass()->GetPrimitiveType(); in UnstartedJNIUnsafeGetArrayIndexScaleForComponentType()
Dinterpreter_common.cc1529 …imitive::Type primitive_component_type = array->GetClass()->GetComponentType()->GetPrimitiveType(); in RecordArrayElementsInTransaction()
/art/runtime/hprof/
Dhprof.cc1445 Primitive::Descriptor(klass->GetComponentType()->GetPrimitiveType()), &size); in DumpHeapArray()

12