Home
last modified time | relevance | path

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

12

/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/
Dobject-inl.h242 !GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitive(); in IsObjectArray()
278 DCHECK(GetClass<kNewFlags>()->GetComponentType()->IsPrimitiveBoolean()); in AsBooleanArray()
286 DCHECK(GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveByte()); in AsByteArray()
294 DCHECK(GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveByte() || in AsByteSizedArray()
295 GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveBoolean()); in AsByteSizedArray()
303 DCHECK(GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveChar()); in AsCharArray()
311 DCHECK(GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveShort()); in AsShortArray()
319 DCHECK(GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveShort() || in AsShortSizedArray()
320 GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveChar()); in AsShortSizedArray()
327 auto* component_type = GetClass<kVerifyFlags>()->GetComponentType(); in IsIntArray()
[all …]
Darray.cc62 Handle<mirror::Class> h_component_type(hs2.NewHandle(array_class->GetComponentType())); in RecursiveCreateMultiArray()
129 CHECK(GetClass()->GetComponentType()->IsPrimitive()) << "Will miss write barriers"; in CopyOf()
Dclass.h298 Class* component = GetComponentType(); in CannotBeAssignedFromOtherTypes()
397 GetComponentType<static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis)>()-> in IsPrimitiveArray()
407 return GetComponentType<kVerifyFlags, kReadBarrierOption>() != nullptr; in IsArrayClass()
425 Class* GetComponentType() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetComponentType() function
430 DCHECK(GetComponentType() == nullptr); in SetComponentType()
443 return GetComponentType<kDefaultVerifyFlags, kReadBarrierOption>()->GetPrimitiveTypeSizeShift(); in GetComponentSizeShift()
461 return GetComponentType<kVerifyFlags>() != nullptr && in IsObjectArrayClass()
462 !GetComponentType<kVerifyFlags>()->IsPrimitive(); in IsObjectArrayClass()
468 auto* component_type = GetComponentType<kVerifyFlags>(); in IsIntArrayClass()
475 auto* component_type = GetComponentType<kVerifyFlags>(); in IsLongArrayClass()
Dobject_array-inl.h70 Class* element_class = GetClass<kVerifyFlags>()->GetComponentType(); in CheckAssignable()
205 Class* dst_class = GetClass()->GetComponentType(); in AssignableCheckingMemcpy()
Dthrowable.cc122 CHECK_EQ(stack_trace->GetClass()->GetComponentType(), in Dump()
Dclass.cc227 os << " componentType=" << PrettyClass(GetComponentType()) << "\n"; in DumpClass()
322 klass1 = klass1->GetComponentType(); in IsInSamePackage()
325 klass2 = klass2->GetComponentType(); in IsInSamePackage()
731 const char* elem_desc = GetComponentType()->GetDescriptor(&temp); in GetArrayDescriptor()
Dobject.cc89 if (!c->GetComponentType()->IsPrimitive()) { in CopyObject()
Dclass-inl.h255 return GetComponentType()->IsAssignableFrom(src->GetComponentType()); in IsArrayAssignableFromArray()
701 return match[0] == '[' && GetComponentType()->DescriptorEquals(match + 1); in DescriptorEquals()
Dobject_test.cc322 EXPECT_TRUE(array->GetClass()->GetComponentType()->IsPrimitive()); in TEST_F()
/art/runtime/native/
Djava_lang_System.cc87 mirror::Class* dstComponentType = dstArray->GetClass()->GetComponentType(); in System_arraycopy()
88 mirror::Class* srcComponentType = srcArray->GetClass()->GetComponentType(); in System_arraycopy()
166 DCHECK_EQ(srcArray->GetClass()->GetComponentType()->GetPrimitiveType(), kPrimType); in System_arraycopyTUnchecked()
Djava_lang_reflect_Array.cc40 DCHECK_EQ(dimensions_obj->GetClass()->GetComponentType()->GetPrimitiveType(), in Array_createMultiArray()
/art/runtime/verifier/
Dreg_type.cc527 return type->IsArrayClass() && !type->GetComponentType()->IsPrimitive(); in IsObjectArrayTypes()
550 return type->IsArrayClass() && type->GetComponentType()->IsObjectClass(); in IsJavaLangObjectArray()
720 mirror::Class* s_ct = s->GetComponentType(); in ClassJoin()
721 mirror::Class* t_ct = t->GetComponentType(); in ClassJoin()
831 const RegType& cmp1 = reg_types.GetComponentType(*this, class_loader.Get()); in CanAssignArray()
832 const RegType& cmp2 = reg_types.GetComponentType(src, class_loader.Get()); in CanAssignArray()
Dreg_type_cache.h135 const RegType& GetComponentType(const RegType& array, mirror::ClassLoader* loader)
Dreg_type_cache.cc552 const RegType& RegTypeCache::GetComponentType(const RegType& array, mirror::ClassLoader* loader) { in GetComponentType() function in art::verifier::RegTypeCache
560 mirror::Class* klass = array.GetClass()->GetComponentType(); in GetComponentType()
Dmethod_verifier.cc2086 const RegType& component_type = reg_types_.GetComponentType(array_type, GetClassLoader()); in CodeFlowVerifyInstruction()
3699 const RegType& expected_type = reg_types_.GetComponentType(res_type, GetClassLoader()); in VerifyNewArray()
3743 const RegType& component_type = reg_types_.GetComponentType(array_type, GetClassLoader()); in VerifyAGet()
3852 const RegType& component_type = reg_types_.GetComponentType(array_type, GetClassLoader()); in VerifyAPut()
/art/runtime/interpreter/
Dunstarted_runtime.cc298 if (src_array->GetClass()->GetComponentType() != dst_array->GetClass()->GetComponentType()) { in PrimitiveArrayCopy()
300 PrettyDescriptor(src_array->GetClass()->GetComponentType()).c_str(), in PrimitiveArrayCopy()
301 PrettyDescriptor(dst_array->GetClass()->GetComponentType()).c_str()); in PrimitiveArrayCopy()
351 GetComponentType(); in UnstartedSystemArraycopy()
356 GetComponentType(); in UnstartedSystemArraycopy()
359 PrettyDescriptor(src_array->GetClass()->GetComponentType()).c_str(), in UnstartedSystemArraycopy()
360 PrettyDescriptor(dst_array->GetClass()->GetComponentType()).c_str()); in UnstartedSystemArraycopy()
368 PrettyDescriptor(src_array->GetClass()->GetComponentType()).c_str(), in UnstartedSystemArraycopy()
369 PrettyDescriptor(dst_array->GetClass()->GetComponentType()).c_str()); in UnstartedSystemArraycopy()
Dinterpreter_common.cc714 Class* component_class = array_class->GetComponentType(); in DoFilledNewArray()
771 …Primitive::Type primitive_component_type = array->GetClass()->GetComponentType()->GetPrimitiveType… in RecordArrayElementsInTransaction()
/art/runtime/
Dclass_linker_test.cc85 EXPECT_TRUE(primitive->GetComponentType() == nullptr); in AssertPrimitiveClass()
112 EXPECT_STREQ(component_type.c_str(), array->GetComponentType()->GetDescriptor(&temp)); in AssertArrayClass()
130 ASSERT_TRUE(array->GetComponentType() != nullptr); in AssertArrayClass()
131 ASSERT_GT(strlen(array->GetComponentType()->GetDescriptor(&temp)), 0U); in AssertArrayClass()
141 EXPECT_EQ(array->GetComponentType()->IsPublic(), array->IsPublic()); in AssertArrayClass()
158 mirror::Class* array_ptr = array->GetComponentType(); in AssertArrayClass()
201 EXPECT_TRUE(klass->GetComponentType() == nullptr); in AssertClass()
715 EXPECT_TRUE(JavaLangObject->GetComponentType() == nullptr); in TEST_F()
759 EXPECT_TRUE(MyClass->GetComponentType() == nullptr); in TEST_F()
Dclass_linker-inl.h40 if (array_class != nullptr && array_class->GetComponentType() == *element_class) { in FindArrayClass()
Dtransaction.cc494 Primitive::Type type = array->GetClass()->GetComponentType()->GetPrimitiveType(); in Undo()
Djni_internal.cc1862 mirror::Class* element_class = result->GetClass()->GetComponentType(); in NewObjectArray()
2359 PrettyDescriptor(ArtArrayT::GetArrayClass()->GetComponentType()).c_str(), in DecodeAndCheckArrayType()
/art/compiler/dex/
Dverified_method.cc361 ->GetComponentType(array_type, method_verifier->GetClassLoader()); in GenerateSafeCastSet()
/art/runtime/hprof/
Dhprof.cc1085 Primitive::Descriptor(klass->GetComponentType()->GetPrimitiveType()), &size); in DumpHeapArray()
/art/compiler/optimizing/
Dcode_generator_mips64.cc1415 Primitive::Type value_type = instruction->GetComponentType(); in VisitArraySet()
1440 Primitive::Type value_type = instruction->GetComponentType(); in VisitArraySet()

12