Home
last modified time | relevance | path

Searched refs:GetComponentType (Results 1 – 25 of 29) 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.h211 !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 …]
Dclass.h300 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()
Darray.cc61 Handle<mirror::Class> h_component_type(hs.NewHandle(array_class->GetComponentType())); in RecursiveCreateMultiArray()
Dobject_array-inl.h65 Class* element_class = GetClass<kVerifyFlags>()->GetComponentType(); in CheckAssignable()
200 Class* dst_class = GetClass()->GetComponentType(); in AssignableCheckingMemcpy()
Dthrowable.cc102 CHECK_EQ(stack_trace->GetClass()->GetComponentType(), in Dump()
Dclass.cc231 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()
Dclass-inl.h230 return GetComponentType()->IsAssignableFrom(src->GetComponentType()); in IsArrayAssignableFromArray()
674 return match[0] == '[' && GetComponentType()->DescriptorEquals(match + 1); in DescriptorEquals()
Dobject.cc89 if (!c->GetComponentType()->IsPrimitive()) { in CopyObject()
Dobject_test.cc286 EXPECT_TRUE(array->GetClass()->GetComponentType()->IsPrimitive()); in TEST_F()
/art/runtime/entrypoints/portable/
Dportable_cast_entrypoints.cc50 mirror::Class* component_type = array_class->GetComponentType(); in art_portable_check_put_array_element_from_code()
/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()
167 DCHECK_EQ(srcArray->GetClass()->GetComponentType()->GetPrimitiveType(), kPrimType); in System_arraycopyTUnchecked()
Djava_lang_reflect_Array.cc37 DCHECK_EQ(dimensions_obj->GetClass()->GetComponentType()->GetPrimitiveType(), in Array_createMultiArray()
/art/runtime/
Dclass_linker_test.cc84 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()
Dclass_linker-inl.h40 if (array_class != nullptr && array_class->GetComponentType() == *element_class) { in FindArrayClass()
Dtransaction.cc380 Primitive::Type type = array->GetClass()->GetComponentType()->GetPrimitiveType(); in Undo()
Djni_internal.cc2151 mirror::Class* element_class = result->GetClass()->GetComponentType(); in NewObjectArray()
2596 operation, PrettyDescriptor(ArtArrayT::GetArrayClass()->GetComponentType()).c_str(), in DecodeAndCheckArrayType()
/art/runtime/verifier/
Dreg_type.cc673 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()
Dreg_type_cache.h143 RegType& GetComponentType(RegType& array, mirror::ClassLoader* loader)
Dreg_type_cache.cc560 RegType& RegTypeCache::GetComponentType(RegType& array, mirror::ClassLoader* loader) { in GetComponentType() function in art::verifier::RegTypeCache
568 mirror::Class* klass = array.GetClass()->GetComponentType(); in GetComponentType()
Dmethod_verifier.cc1906 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/
Dverified_method.cc298 ->GetComponentType(array_type, method_verifier->GetClassLoader()); in GenerateSafeCastSet()
/art/runtime/interpreter/
Dinterpreter_common.cc682 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/
Dhprof.cc999 … HprofBasicType t = PrimitiveToBasicTypeAndSize(c->GetComponentType()->GetPrimitiveType(), &size); in DumpHeapObject()
/art/oatdump/
Doatdump.cc1297 (value == nullptr) ? obj_class->GetComponentType() : value->GetClass(); in Callback()

12