Home
last modified time | relevance | path

Searched refs:component_type (Results 1 – 13 of 13) sorted by relevance

/aosp12/art/runtime/native/
H A Dsun_misc_Unsafe.cc367 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()
/aosp12/frameworks/av/services/audiopolicy/engineconfigurable/tools/
H A DbuildCommonTypesStructureFile.py77 for component_type in component_types_root.findall('ComponentType'):
78 if component_type.get('Name') == component_types_name:
79 bitparameters_node = component_type.find("BitParameterBlock")
90 enum_parameter_node = component_type.find("EnumParameter")
/aosp12/art/runtime/interpreter/
H A Dinterpreter_common.cc819 ObjPtr<mirror::Class> component_type = array_type->GetComponentType(); in PackCollectorArrayForBootstrapMethod() local
820 if (component_type == GetClassRoot(ClassRoot::kPrimitiveInt, class_roots)) { in PackCollectorArrayForBootstrapMethod()
822 } else if (component_type == GetClassRoot(ClassRoot::kPrimitiveLong, class_roots)) { in PackCollectorArrayForBootstrapMethod()
824 } else if (component_type == GetClassRoot(ClassRoot::kPrimitiveFloat, class_roots)) { in PackCollectorArrayForBootstrapMethod()
826 } else if (component_type == GetClassRoot(ClassRoot::kPrimitiveDouble, class_roots)) { in PackCollectorArrayForBootstrapMethod()
828 } else if (component_type == GetClassRoot<mirror::MethodType>()) { in PackCollectorArrayForBootstrapMethod()
830 } else if (component_type == GetClassRoot<mirror::MethodHandle>()) { in PackCollectorArrayForBootstrapMethod()
832 } else if (component_type == GetClassRoot<mirror::String>(class_roots)) { in PackCollectorArrayForBootstrapMethod()
834 } else if (component_type == GetClassRoot<mirror::Class>()) { in PackCollectorArrayForBootstrapMethod()
H A Dunstarted_runtime_test.cc107 ObjPtr<mirror::Class> component_type, in CreateObjectArray() argument
112 runtime->GetClassLinker()->FindArrayClass(self, component_type); in CreateObjectArray()
/aosp12/art/runtime/mirror/
H A Dclass-inl.h1074 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()
H A Dobject-inl.h202 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()
/aosp12/art/runtime/verifier/
H A Dmethod_verifier.cc2609 DCHECK(!component_type.IsConflict()); in CodeFlowVerifyInstruction()
2610 if (component_type.IsNonZeroReferenceTypes()) { in CodeFlowVerifyInstruction()
2612 << component_type; in CodeFlowVerifyInstruction()
4451 if (!component_type.IsReferenceTypes() && !is_primitive) { in VerifyAGet()
4454 } else if (component_type.IsNonZeroReferenceTypes() && is_primitive) { in VerifyAGet()
4457 } else if (is_primitive && !insn_type.Equals(component_type) && in VerifyAGet()
4458 !((insn_type.IsInteger() && component_type.IsFloat()) || in VerifyAGet()
4459 (insn_type.IsLong() && component_type.IsDouble()))) { in VerifyAGet()
4466 if (!component_type.IsLowHalf()) { in VerifyAGet()
4575 VerifyPrimitivePut(component_type, insn_type, vregA); in VerifyAPut()
[all …]
/aosp12/art/dex2oat/linker/
H A Dimage_writer.cc1555 ObjPtr<mirror::Class> component_type = klass; in operator ()() local
1557 while (component_type->IsArrayClass()) { in operator ()()
1559 component_type = component_type->GetComponentType(); in operator ()()
1561 DCHECK(!component_type->IsProxyClass()); in operator ()()
1564 if (UNLIKELY(component_type->IsPrimitive())) { in operator ()()
1567 class_def_index = enum_cast<uint32_t>(component_type->GetPrimitiveType()); in operator ()()
1569 auto it = std::find(dex_files_.begin(), dex_files_.end(), &component_type->GetDexFile()); in operator ()()
1572 class_def_index = component_type->GetDexClassDefIndex(); in operator ()()
/aosp12/art/runtime/
H A Dclass_linker.cc2455 DCHECK(component_type->IsPrimitive()); in AllocPrimitiveArrayClass()
2456 array_class->SetComponentType(component_type); in AllocPrimitiveArrayClass()
4227 if (component_type == nullptr) { in CreateArrayClass()
4232 if (component_type == nullptr) { in CreateArrayClass()
4239 if (UNLIKELY(component_type->IsPrimitiveVoid())) { in CreateArrayClass()
4269 DCHECK(!component_type->IsObjectClass() || in CreateArrayClass()
4271 component_type->IsErroneousUnresolved()); in CreateArrayClass()
4272 DCHECK(!component_type->IsStringClass()); in CreateArrayClass()
4273 DCHECK(!component_type->IsClassClass()); in CreateArrayClass()
4274 DCHECK(!component_type->IsPrimitive()); in CreateArrayClass()
[all …]
H A Dclass_linker_test.cc181 const std::string& component_type, in AssertArrayClass() argument
190 EXPECT_STREQ(component_type.c_str(), array->GetComponentType()->GetDescriptor(&temp)); in AssertArrayClass()
/aosp12/art/runtime/dex/
H A Ddex_file_annotations.cc592 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()
/aosp12/art/imgdiag/
H A Dimgdiag.cc474 ObjPtr<mirror::Class> component_type = klass->GetComponentType(); in DiffEntryContents() local
475 Primitive::Type primitive_type = component_type->GetPrimitiveType(); in DiffEntryContents()
/aosp12/art/compiler/optimizing/
H A Dloop_optimization.cc1839 DataType::Type component_type = org->AsArraySet()->GetComponentType(); in GenerateVecMem() local
1841 org->InputAt(0), opa, opb, component_type, org->GetSideEffects(), dex_pc); in GenerateVecMem()