/art/test/004-UnsafeTest/ |
D | unsafe_test.cc | 31 Primitive::ComponentSize(klass->GetComponentType()->GetPrimitiveType())).Int32Value(); in Java_Main_vmArrayBaseOffset() 37 return Primitive::ComponentSize(klass->GetComponentType()->GetPrimitiveType()); in Java_Main_vmArrayIndexScale()
|
/art/runtime/mirror/ |
D | object-inl.h | 242 !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 …]
|
D | array.cc | 62 Handle<mirror::Class> h_component_type(hs2.NewHandle(array_class->GetComponentType())); in RecursiveCreateMultiArray() 129 CHECK(GetClass()->GetComponentType()->IsPrimitive()) << "Will miss write barriers"; in CopyOf()
|
D | class.h | 298 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()
|
D | object_array-inl.h | 70 Class* element_class = GetClass<kVerifyFlags>()->GetComponentType(); in CheckAssignable() 205 Class* dst_class = GetClass()->GetComponentType(); in AssignableCheckingMemcpy()
|
D | throwable.cc | 122 CHECK_EQ(stack_trace->GetClass()->GetComponentType(), in Dump()
|
D | class.cc | 227 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()
|
D | object.cc | 89 if (!c->GetComponentType()->IsPrimitive()) { in CopyObject()
|
D | class-inl.h | 255 return GetComponentType()->IsAssignableFrom(src->GetComponentType()); in IsArrayAssignableFromArray() 701 return match[0] == '[' && GetComponentType()->DescriptorEquals(match + 1); in DescriptorEquals()
|
D | object_test.cc | 322 EXPECT_TRUE(array->GetClass()->GetComponentType()->IsPrimitive()); in TEST_F()
|
/art/runtime/native/ |
D | java_lang_System.cc | 87 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()
|
D | java_lang_reflect_Array.cc | 40 DCHECK_EQ(dimensions_obj->GetClass()->GetComponentType()->GetPrimitiveType(), in Array_createMultiArray()
|
/art/runtime/verifier/ |
D | reg_type.cc | 527 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()
|
D | reg_type_cache.h | 135 const RegType& GetComponentType(const RegType& array, mirror::ClassLoader* loader)
|
D | reg_type_cache.cc | 552 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()
|
D | method_verifier.cc | 2086 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/ |
D | unstarted_runtime.cc | 298 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()
|
D | interpreter_common.cc | 714 Class* component_class = array_class->GetComponentType(); in DoFilledNewArray() 771 …Primitive::Type primitive_component_type = array->GetClass()->GetComponentType()->GetPrimitiveType… in RecordArrayElementsInTransaction()
|
/art/runtime/ |
D | class_linker_test.cc | 85 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()
|
D | class_linker-inl.h | 40 if (array_class != nullptr && array_class->GetComponentType() == *element_class) { in FindArrayClass()
|
D | transaction.cc | 494 Primitive::Type type = array->GetClass()->GetComponentType()->GetPrimitiveType(); in Undo()
|
D | jni_internal.cc | 1862 mirror::Class* element_class = result->GetClass()->GetComponentType(); in NewObjectArray() 2359 PrettyDescriptor(ArtArrayT::GetArrayClass()->GetComponentType()).c_str(), in DecodeAndCheckArrayType()
|
/art/compiler/dex/ |
D | verified_method.cc | 361 ->GetComponentType(array_type, method_verifier->GetClassLoader()); in GenerateSafeCastSet()
|
/art/runtime/hprof/ |
D | hprof.cc | 1085 Primitive::Descriptor(klass->GetComponentType()->GetPrimitiveType()), &size); in DumpHeapArray()
|
/art/compiler/optimizing/ |
D | code_generator_mips64.cc | 1415 Primitive::Type value_type = instruction->GetComponentType(); in VisitArraySet() 1440 Primitive::Type value_type = instruction->GetComponentType(); in VisitArraySet()
|