/art/runtime/native/ |
D | sun_misc_Unsafe.cc | 367 ObjPtr<mirror::Class> component_type = dst->GetClass()->GetComponentType(); in Unsafe_copyMemoryToPrimitiveArray() local 368 if (component_type->IsPrimitiveByte() || component_type->IsPrimitiveBoolean()) { in Unsafe_copyMemoryToPrimitiveArray() 371 } else if (component_type->IsPrimitiveShort() || component_type->IsPrimitiveChar()) { in Unsafe_copyMemoryToPrimitiveArray() 374 } else if (component_type->IsPrimitiveInt() || component_type->IsPrimitiveFloat()) { in Unsafe_copyMemoryToPrimitiveArray() 377 } else if (component_type->IsPrimitiveLong() || component_type->IsPrimitiveDouble()) { in Unsafe_copyMemoryToPrimitiveArray() 402 ObjPtr<mirror::Class> component_type = src->GetClass()->GetComponentType(); in Unsafe_copyMemoryFromPrimitiveArray() local 403 if (component_type->IsPrimitiveByte() || component_type->IsPrimitiveBoolean()) { in Unsafe_copyMemoryFromPrimitiveArray() 406 } else if (component_type->IsPrimitiveShort() || component_type->IsPrimitiveChar()) { in Unsafe_copyMemoryFromPrimitiveArray() 409 } else if (component_type->IsPrimitiveInt() || component_type->IsPrimitiveFloat()) { in Unsafe_copyMemoryFromPrimitiveArray() 412 } else if (component_type->IsPrimitiveLong() || component_type->IsPrimitiveDouble()) { in Unsafe_copyMemoryFromPrimitiveArray()
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 823 ObjPtr<mirror::Class> component_type = array_type->GetComponentType(); in PackCollectorArrayForBootstrapMethod() local 824 if (component_type == GetClassRoot(ClassRoot::kPrimitiveInt, class_roots)) { in PackCollectorArrayForBootstrapMethod() 826 } else if (component_type == GetClassRoot(ClassRoot::kPrimitiveLong, class_roots)) { in PackCollectorArrayForBootstrapMethod() 828 } else if (component_type == GetClassRoot(ClassRoot::kPrimitiveFloat, class_roots)) { in PackCollectorArrayForBootstrapMethod() 830 } else if (component_type == GetClassRoot(ClassRoot::kPrimitiveDouble, class_roots)) { in PackCollectorArrayForBootstrapMethod() 832 } else if (component_type == GetClassRoot<mirror::MethodType>()) { in PackCollectorArrayForBootstrapMethod() 834 } else if (component_type == GetClassRoot<mirror::MethodHandle>()) { in PackCollectorArrayForBootstrapMethod() 836 } else if (component_type == GetClassRoot<mirror::String>(class_roots)) { in PackCollectorArrayForBootstrapMethod() 838 } else if (component_type == GetClassRoot<mirror::Class>()) { in PackCollectorArrayForBootstrapMethod()
|
D | unstarted_runtime_test.cc | 112 ObjPtr<mirror::Class> component_type, in CreateObjectArray() argument 117 runtime->GetClassLinker()->FindArrayClass(self, component_type); in CreateObjectArray()
|
/art/runtime/mirror/ |
D | class-inl.h | 1074 const ObjPtr<Class> component_type = GetComponentType<kVerifyFlags, kWithoutReadBarrier>(); in IsObjectArrayClass() local 1076 return component_type != nullptr && !component_type->IsPrimitive<kNewFlags>(); in IsObjectArrayClass() 1083 const ObjPtr<Class> component_type = GetComponentType<kVerifyFlags, kWithoutReadBarrier>(); in IsPrimitiveArray() local 1085 return component_type != nullptr && component_type->IsPrimitive<kNewFlags>(); in IsPrimitiveArray()
|
D | object-inl.h | 202 const ObjPtr<Class> component_type = klass->GetComponentType<kNewFlags, kWithoutReadBarrier>(); in IsSpecificPrimitiveArray() local 203 return component_type != nullptr && in IsSpecificPrimitiveArray() 204 component_type->GetPrimitiveType<kNewFlags>() == kType; in IsSpecificPrimitiveArray()
|
/art/runtime/verifier/ |
D | method_verifier.cc | 2614 const RegType& component_type = reg_types_.GetComponentType(array_type, in CodeFlowVerifyInstruction() local 2616 DCHECK(!component_type.IsConflict()); in CodeFlowVerifyInstruction() 2617 if (component_type.IsNonZeroReferenceTypes()) { in CodeFlowVerifyInstruction() 2619 << component_type; in CodeFlowVerifyInstruction() 2628 size_t elem_width = Primitive::ComponentSize(component_type.GetPrimitiveType()); in CodeFlowVerifyInstruction() 4514 const RegType& component_type = reg_types_.GetComponentType(array_type, class_loader_.Get()); in VerifyAGet() local 4515 if (!component_type.IsReferenceTypes() && !is_primitive) { in VerifyAGet() 4518 } else if (component_type.IsNonZeroReferenceTypes() && is_primitive) { in VerifyAGet() 4521 } else if (is_primitive && !insn_type.Equals(component_type) && in VerifyAGet() 4522 !((insn_type.IsInteger() && component_type.IsFloat()) || in VerifyAGet() [all …]
|
/art/dex2oat/linker/ |
D | image_writer.cc | 1825 ObjPtr<mirror::Class> component_type = klass; in operator ()() local 1827 while (component_type->IsArrayClass()) { in operator ()() 1829 component_type = component_type->GetComponentType(); in operator ()() 1831 DCHECK(!component_type->IsProxyClass()); in operator ()() 1834 if (UNLIKELY(component_type->IsPrimitive())) { in operator ()() 1837 class_def_index = enum_cast<uint32_t>(component_type->GetPrimitiveType()); in operator ()() 1839 auto it = std::find(dex_files_.begin(), dex_files_.end(), &component_type->GetDexFile()); in operator ()() 1842 class_def_index = component_type->GetDexClassDefIndex(); in operator ()()
|
/art/runtime/ |
D | class_linker.cc | 2668 ObjPtr<mirror::Class> component_type = GetClassRoot(primitive_root, this); in AllocPrimitiveArrayClass() local 2669 DCHECK(component_type->IsPrimitive()); in AllocPrimitiveArrayClass() 2670 array_class->SetComponentType(component_type); in AllocPrimitiveArrayClass() 2679 ObjPtr<mirror::Class> component_type = array_class->GetComponentType(); in FinishArrayClassSetup() local 2680 array_class->SetClassFlags(component_type->IsPrimitive() in FinishArrayClassSetup() 2683 array_class->SetClassLoader(component_type->GetClassLoader()); in FinishArrayClassSetup() 2709 int access_flags = component_type->GetAccessFlags(); in FinishArrayClassSetup() 4385 MutableHandle<mirror::Class> component_type(hs.NewHandle(FindClass(self, descriptor + 1, in CreateArrayClass() local 4387 if (component_type == nullptr) { in CreateArrayClass() 4391 component_type.Assign(LookupClass(self, descriptor + 1, component_hash, class_loader.Get())); in CreateArrayClass() [all …]
|
D | class_linker_test.cc | 181 const std::string& component_type, in AssertArrayClass() argument 190 EXPECT_STREQ(component_type.c_str(), array->GetComponentType()->GetDescriptor(&temp)); in AssertArrayClass()
|
/art/runtime/dex/ |
D | dex_file_annotations.cc | 592 Handle<mirror::Class> component_type(hs.NewHandle(array_class->GetComponentType())); in ProcessAnnotationValue() local 605 component_type, in ProcessAnnotationValue() 609 if (!component_type->IsPrimitive()) { in ProcessAnnotationValue()
|
/art/imgdiag/ |
D | imgdiag.cc | 474 ObjPtr<mirror::Class> component_type = klass->GetComponentType(); in DiffEntryContents() local 475 Primitive::Type primitive_type = component_type->GetPrimitiveType(); in DiffEntryContents()
|
/art/compiler/optimizing/ |
D | loop_optimization.cc | 1756 DataType::Type component_type = org->AsArraySet()->GetComponentType(); in GenerateVecMem() local 1758 org->InputAt(0), opa, opb, component_type, org->GetSideEffects(), dex_pc); in GenerateVecMem()
|