Home
last modified time | relevance | path

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

12

/art/test/2235-JdkUnsafeTest/
Dunsafe_test.cc32 Primitive::ComponentSize(klass->GetComponentType()->GetPrimitiveType())).Int32Value(); in Java_Main_vmJdkArrayBaseOffset()
38 return Primitive::ComponentSize(klass->GetComponentType()->GetPrimitiveType()); in Java_Main_vmJdkArrayIndexScale()
/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/
Dmethod_handles-inl.h133 if (to->GetPrimitiveType() == Primitive::kPrimVoid || from == to) { in ConvertReturnValue()
160 const Primitive::Type from_type = from->GetPrimitiveType(); in PerformConversions()
161 const Primitive::Type to_type = to->GetPrimitiveType(); in PerformConversions()
209 Primitive::Type primitive = ptype->GetPrimitiveType(); in CopyArguments()
Dmethod_handles.cc135 Primitive::Type from_primitive = from->GetPrimitiveType(); in IsParameterTypeConvertible()
136 Primitive::Type to_primitive = to->GetPrimitiveType(); in IsParameterTypeConvertible()
187 if (to->GetPrimitiveType() == Primitive::Type::kPrimVoid) { in IsReturnTypeConvertible()
190 } else if (from->GetPrimitiveType() == Primitive::Type::kPrimVoid) { in IsReturnTypeConvertible()
209 const Primitive::Type from_type = from->GetPrimitiveType(); in ConvertJValueCommon()
210 const Primitive::Type to_type = to->GetPrimitiveType(); in ConvertJValueCommon()
657 callsite_type->GetPTypes()->Get(kPTypeIndex)->GetPrimitiveType(), in MethodHandleFieldAccess()
678 callsite_type->GetPTypes()->Get(kPTypeIndex)->GetPrimitiveType(), in MethodHandleFieldAccess()
Dreflection.cc933 if (UNLIKELY(dst_class->GetPrimitiveType() == Primitive::kPrimVoid)) { in UnboxPrimitive()
991 dst_class->GetPrimitiveType(), in UnboxPrimitive()
Dtransaction.cc749 Primitive::Type type = array->GetClass()->GetComponentType()->GetPrimitiveType(); in Undo()
/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()
215 const Primitive::Type type = r_type->GetPrimitiveType(); in GetReturnValue()
239 const Primitive::Type type = r_type->GetPrimitiveType(); in SetReturnValue()
Dfield-inl.h36 return GetType()->GetPrimitiveType(); in GetTypeAsPrimitiveType()
Dclass.h424 Primitive::Type GetPrimitiveType() ALWAYS_INLINE REQUIRES_SHARED(Locks::mutator_lock_);
442 return GetPrimitiveType<kVerifyFlags>() != Primitive::kPrimNot; in IsPrimitive()
447 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimBoolean; in IsPrimitiveBoolean()
452 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimByte; in IsPrimitiveByte()
457 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimChar; in IsPrimitiveChar()
462 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimShort; in IsPrimitiveShort()
467 return GetPrimitiveType() == Primitive::kPrimInt; in IsPrimitiveInt()
472 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimLong; in IsPrimitiveLong()
477 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimFloat; in IsPrimitiveFloat()
482 return GetPrimitiveType<kVerifyFlags>() == Primitive::kPrimDouble; in IsPrimitiveDouble()
[all …]
Dmethod_type.cc209 Primitive::Type src = from->GetPrimitiveType(); in IsParameterInPlaceConvertible()
210 Primitive::Type dst = to->GetPrimitiveType(); in IsParameterInPlaceConvertible()
Dvar_handle.cc1350 if (mt_rtype->GetPrimitiveType() != Primitive::Type::kPrimVoid && in GetMethodTypeMatchForAccessModeImpl()
1670 2u * (Primitive::Is64BitType(GetVarType()->GetPrimitiveType()) ? 2u : 1u)); in Access()
1675 1u + 2u * (Primitive::Is64BitType(GetVarType()->GetPrimitiveType()) ? 2u : 1u)); in Access()
1685 const Primitive::Type primitive_type = GetVarType()->GetPrimitiveType(); in Access()
1757 const Primitive::Type primitive_type = GetVarType()->GetPrimitiveType(); in Access()
1850 const Primitive::Type primitive_type = GetVarType()->GetPrimitiveType(); in Access()
1962 const Primitive::Type primitive_type = GetVarType()->GetPrimitiveType(); in Access()
Dclass-inl.h739 inline Primitive::Type Class::GetPrimitiveType() { in GetPrimitiveType() function
841 return strcmp(Primitive::Descriptor(klass->GetPrimitiveType()), match) == 0; in DescriptorEquals()
863 hash = UpdateModifiedUtf8Hash(hash, Primitive::Descriptor(klass->GetPrimitiveType())[0]); in DescriptorHash()
Dclass.cc1492 descriptor = Primitive::Descriptor(klass->GetPrimitiveType()); in GetDescriptor()
1717 return klass->GetPrimitiveType() == match->GetPrimitiveType(); in DescriptorEquals()
/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()
Djdk_internal_misc_Unsafe.cc253 Primitive::Type primitive_type = component->GetPrimitiveType(); in Unsafe_getArrayBaseOffsetForComponentType()
260 Primitive::Type primitive_type = component->GetPrimitiveType(); in Unsafe_getArrayIndexScaleForComponentType()
Dsun_misc_Unsafe.cc211 Primitive::Type primitive_type = component->GetPrimitiveType(); in Unsafe_getArrayBaseOffsetForComponentType()
218 Primitive::Type primitive_type = component->GetPrimitiveType(); in Unsafe_getArrayIndexScaleForComponentType()
/art/runtime/interpreter/
Dinterpreter_switch_impl1.cc100 ->GetComponentType<kDefaultVerifyFlags, kWithoutReadBarrier>()->GetPrimitiveType(); in RecordArrayElementsInTransaction()
/art/compiler/optimizing/
Dssa_builder.cc313 array_type.GetTypeHandle()->GetComponentType()->GetPrimitiveType()); in GetPrimitiveArrayComponentType()
/art/runtime/verifier/
Dreg_type_cache.cc245 return &RegTypeFromPrimitiveType(klass->GetPrimitiveType()); in FindClass()
Dreg_type.cc292 Primitive::Type RegType::GetPrimitiveType() const { in GetPrimitiveType() function in art::verifier::RegType
Dreg_type.h185 Primitive::Type GetPrimitiveType() const;
/art/compiler/debug/
Delf_debug_info_writer.h304 if (type->GetPrimitiveType() != Primitive::kPrimVoid) { in Write()
/art/openjdkjvmti/
Dti_heap.cc156 art::Primitive::Type art_prim_type = array->GetClass()->GetComponentType()->GetPrimitiveType(); in ReportPrimitiveArray()
1947 switch (old_arr->GetClass()->GetComponentType()->GetPrimitiveType()) { in ChangeArraySize()
/art/runtime/jit/
Dprofile_saver.cc479 size_t index = enum_cast<size_t>(k->GetPrimitiveType()); in CollectInternal()

12