/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 | 211 !GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitive(); in IsObjectArray() 271 DCHECK(GetClass<kNewFlags>()->GetComponentType()->IsPrimitiveBoolean()); in AsBooleanArray() 279 DCHECK(GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveByte()); in AsByteArray() 287 DCHECK(GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveByte() || in AsByteSizedArray() 288 GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveBoolean()); in AsByteSizedArray() 296 DCHECK(GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveChar()); in AsCharArray() 304 DCHECK(GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveShort()); in AsShortArray() 312 DCHECK(GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveShort() || in AsShortSizedArray() 313 GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveChar()); in AsShortSizedArray() 321 DCHECK(GetClass<kNewFlags>()->template GetComponentType<kNewFlags>()->IsPrimitiveInt() || in AsIntArray() [all …]
|
D | class.h | 300 Class* component = GetComponentType(); in CannotBeAssignedFromOtherTypes() 392 GetComponentType<static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis)>()-> in IsPrimitiveArray() 408 return GetComponentType<kVerifyFlags, kReadBarrierOption>() != NULL; in IsArrayClass() 434 Class* GetComponentType() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetComponentType() function 439 DCHECK(GetComponentType() == NULL); in SetComponentType() 448 GetComponentType<kDefaultVerifyFlags, kReadBarrierOption>()->GetPrimitiveType()); in GetComponentSize() 460 …return GetComponentType<kVerifyFlags>() != nullptr && !GetComponentType<kVerifyFlags>()->IsPrimiti… in IsObjectArrayClass()
|
D | array.cc | 61 Handle<mirror::Class> h_component_type(hs.NewHandle(array_class->GetComponentType())); in RecursiveCreateMultiArray()
|
D | object_array-inl.h | 65 Class* element_class = GetClass<kVerifyFlags>()->GetComponentType(); in CheckAssignable() 200 Class* dst_class = GetClass()->GetComponentType(); in AssignableCheckingMemcpy()
|
D | throwable.cc | 102 CHECK_EQ(stack_trace->GetClass()->GetComponentType(), in Dump()
|
D | class.cc | 231 os << " componentType=" << PrettyClass(GetComponentType()) << "\n"; in DumpClass() 331 klass1 = klass1->GetComponentType(); in IsInSamePackage() 334 klass2 = klass2->GetComponentType(); in IsInSamePackage() 739 const char* elem_desc = GetComponentType()->GetDescriptor(&temp); in GetArrayDescriptor()
|
D | class-inl.h | 230 return GetComponentType()->IsAssignableFrom(src->GetComponentType()); in IsArrayAssignableFromArray() 674 return match[0] == '[' && GetComponentType()->DescriptorEquals(match + 1); in DescriptorEquals()
|
D | object.cc | 89 if (!c->GetComponentType()->IsPrimitive()) { in CopyObject()
|
D | object_test.cc | 286 EXPECT_TRUE(array->GetClass()->GetComponentType()->IsPrimitive()); in TEST_F()
|
/art/runtime/entrypoints/portable/ |
D | portable_cast_entrypoints.cc | 50 mirror::Class* component_type = array_class->GetComponentType(); in art_portable_check_put_array_element_from_code()
|
/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() 167 DCHECK_EQ(srcArray->GetClass()->GetComponentType()->GetPrimitiveType(), kPrimType); in System_arraycopyTUnchecked()
|
D | java_lang_reflect_Array.cc | 37 DCHECK_EQ(dimensions_obj->GetClass()->GetComponentType()->GetPrimitiveType(), in Array_createMultiArray()
|
/art/runtime/ |
D | class_linker_test.cc | 84 EXPECT_TRUE(primitive->GetComponentType() == NULL); in AssertPrimitiveClass() 111 EXPECT_STREQ(component_type.c_str(), array->GetComponentType()->GetDescriptor(&temp)); in AssertArrayClass() 129 ASSERT_TRUE(array->GetComponentType() != NULL); in AssertArrayClass() 130 ASSERT_GT(strlen(array->GetComponentType()->GetDescriptor(&temp)), 0U); in AssertArrayClass() 140 EXPECT_EQ(array->GetComponentType()->IsPublic(), array->IsPublic()); in AssertArrayClass() 157 mirror::Class* array_ptr = array->GetComponentType(); in AssertArrayClass() 203 EXPECT_TRUE(klass->GetComponentType() == NULL); in AssertClass() 675 EXPECT_TRUE(JavaLangObject->GetComponentType() == NULL); in TEST_F() 719 EXPECT_TRUE(MyClass->GetComponentType() == NULL); in TEST_F()
|
D | class_linker-inl.h | 40 if (array_class != nullptr && array_class->GetComponentType() == *element_class) { in FindArrayClass()
|
D | transaction.cc | 380 Primitive::Type type = array->GetClass()->GetComponentType()->GetPrimitiveType(); in Undo()
|
D | jni_internal.cc | 2151 mirror::Class* element_class = result->GetClass()->GetComponentType(); in NewObjectArray() 2596 operation, PrettyDescriptor(ArtArrayT::GetArrayClass()->GetComponentType()).c_str(), in DecodeAndCheckArrayType()
|
/art/runtime/verifier/ |
D | reg_type.cc | 673 return type->IsArrayClass() && !type->GetComponentType()->IsPrimitive(); in IsObjectArrayTypes() 696 return type->IsArrayClass() && type->GetComponentType()->IsObjectClass(); in IsJavaLangObjectArray() 922 mirror::Class* s_ct = s->GetComponentType(); in ClassJoin() 923 mirror::Class* t_ct = t->GetComponentType(); in ClassJoin()
|
D | reg_type_cache.h | 143 RegType& GetComponentType(RegType& array, mirror::ClassLoader* loader)
|
D | reg_type_cache.cc | 560 RegType& RegTypeCache::GetComponentType(RegType& array, mirror::ClassLoader* loader) { in GetComponentType() function in art::verifier::RegTypeCache 568 mirror::Class* klass = array.GetClass()->GetComponentType(); in GetComponentType()
|
D | method_verifier.cc | 1906 RegType& component_type = reg_types_.GetComponentType(array_type, in CodeFlowVerifyInstruction() 3506 RegType& expected_type = reg_types_.GetComponentType(res_type, class_loader_->Get()); in VerifyNewArray() 3548 RegType& component_type = reg_types_.GetComponentType(array_type, class_loader_->Get()); in VerifyAGet() 3639 RegType& component_type = reg_types_.GetComponentType(array_type, class_loader_->Get()); in VerifyAPut()
|
/art/compiler/dex/ |
D | verified_method.cc | 298 ->GetComponentType(array_type, method_verifier->GetClassLoader()); in GenerateSafeCastSet()
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 682 Class* componentClass = arrayClass->GetComponentType(); in DoFilledNewArray() 737 …Primitive::Type primitive_component_type = array->GetClass()->GetComponentType()->GetPrimitiveType… in RecordArrayElementsInTransaction() 879 Class* ctype = shadow_frame->GetVRegReference(arg_offset)->GetClass()->GetComponentType(); in UnstartedRuntimeInvoke()
|
/art/runtime/hprof/ |
D | hprof.cc | 999 … HprofBasicType t = PrimitiveToBasicTypeAndSize(c->GetComponentType()->GetPrimitiveType(), &size); in DumpHeapObject()
|
/art/oatdump/ |
D | oatdump.cc | 1297 (value == nullptr) ? obj_class->GetComponentType() : value->GetClass(); in Callback()
|