Searched refs:component_type (Results 1 – 11 of 11) sorted by relevance
/art/runtime/native/ |
D | sun_misc_Unsafe.cc | 361 ObjPtr<mirror::Class> component_type = dst->GetClass()->GetComponentType(); in Unsafe_copyMemoryToPrimitiveArray() local 362 if (component_type->IsPrimitiveByte() || component_type->IsPrimitiveBoolean()) { in Unsafe_copyMemoryToPrimitiveArray() 364 } else if (component_type->IsPrimitiveShort() || component_type->IsPrimitiveChar()) { in Unsafe_copyMemoryToPrimitiveArray() 366 } else if (component_type->IsPrimitiveInt() || component_type->IsPrimitiveFloat()) { in Unsafe_copyMemoryToPrimitiveArray() 368 } else if (component_type->IsPrimitiveLong() || component_type->IsPrimitiveDouble()) { in Unsafe_copyMemoryToPrimitiveArray() 392 ObjPtr<mirror::Class> component_type = src->GetClass()->GetComponentType(); in Unsafe_copyMemoryFromPrimitiveArray() local 393 if (component_type->IsPrimitiveByte() || component_type->IsPrimitiveBoolean()) { in Unsafe_copyMemoryFromPrimitiveArray() 395 } else if (component_type->IsPrimitiveShort() || component_type->IsPrimitiveChar()) { in Unsafe_copyMemoryFromPrimitiveArray() 397 } else if (component_type->IsPrimitiveInt() || component_type->IsPrimitiveFloat()) { in Unsafe_copyMemoryFromPrimitiveArray() 399 } else if (component_type->IsPrimitiveLong() || component_type->IsPrimitiveDouble()) { in Unsafe_copyMemoryFromPrimitiveArray()
|
/art/runtime/mirror/ |
D | object-inl.h | 273 ObjPtr<Class> component_type = klass->GetComponentType<kVerifyFlags, kReadBarrierOption>(); in IsIntArray() local 274 return component_type != nullptr && component_type->template IsPrimitiveInt<kNewFlags>(); in IsIntArray() 287 ObjPtr<Class> component_type = klass->GetComponentType<kVerifyFlags, kReadBarrierOption>(); in IsLongArray() local 288 return component_type != nullptr && component_type->template IsPrimitiveLong<kNewFlags>(); in IsLongArray() 300 auto* component_type = GetClass<kVerifyFlags>()->GetComponentType(); in IsFloatArray() local 301 return component_type != nullptr && component_type->template IsPrimitiveFloat<kNewFlags>(); in IsFloatArray() 316 auto* component_type = GetClass<kVerifyFlags>()->GetComponentType(); in IsDoubleArray() local 317 return component_type != nullptr && component_type->template IsPrimitiveDouble<kNewFlags>(); in IsDoubleArray()
|
D | class.h | 490 auto* component_type = GetComponentType<kVerifyFlags>(); in IsIntArrayClass() local 491 return component_type != nullptr && component_type->template IsPrimitiveInt<kNewFlags>(); in IsIntArrayClass() 497 auto* component_type = GetComponentType<kVerifyFlags>(); in IsLongArrayClass() local 498 return component_type != nullptr && component_type->template IsPrimitiveLong<kNewFlags>(); in IsLongArrayClass()
|
D | class-inl.h | 1062 ObjPtr<Class> const component_type = GetComponentType<kVerifyFlags, kReadBarrierOption>(); in IsObjectArrayClass() local 1063 return component_type != nullptr && !component_type->IsPrimitive(); in IsObjectArrayClass()
|
/art/runtime/verifier/ |
D | method_verifier.cc | 2537 const RegType& component_type = reg_types_.GetComponentType(array_type, GetClassLoader()); in CodeFlowVerifyInstruction() local 2538 DCHECK(!component_type.IsConflict()); in CodeFlowVerifyInstruction() 2539 if (component_type.IsNonZeroReferenceTypes()) { in CodeFlowVerifyInstruction() 2541 << component_type; in CodeFlowVerifyInstruction() 2550 size_t elem_width = Primitive::ComponentSize(component_type.GetPrimitiveType()); in CodeFlowVerifyInstruction() 4491 const RegType& component_type = reg_types_.GetComponentType(array_type, GetClassLoader()); in VerifyAGet() local 4492 if (!component_type.IsReferenceTypes() && !is_primitive) { in VerifyAGet() 4495 } else if (component_type.IsNonZeroReferenceTypes() && is_primitive) { in VerifyAGet() 4498 } else if (is_primitive && !insn_type.Equals(component_type) && in VerifyAGet() 4499 !((insn_type.IsInteger() && component_type.IsFloat()) || in VerifyAGet() [all …]
|
/art/runtime/dex/ |
D | dex_file_annotations.cc | 590 Handle<mirror::Class> component_type(hs.NewHandle(array_class->GetComponentType())); in ProcessAnnotationValue() local 603 component_type, in ProcessAnnotationValue() 607 if (!component_type->IsPrimitive()) { in ProcessAnnotationValue()
|
/art/runtime/interpreter/ |
D | unstarted_runtime_test.cc | 87 ObjPtr<mirror::Class> component_type, in UNSTARTED_RUNTIME_JNI_LIST() 92 runtime->GetClassLinker()->FindArrayClass(self, &component_type); in UNSTARTED_RUNTIME_JNI_LIST()
|
/art/imgdiag/ |
D | imgdiag.cc | 461 mirror::Class* component_type = klass->GetComponentType(); in DiffEntryContents() local 462 Primitive::Type primitive_type = component_type->GetPrimitiveType(); in DiffEntryContents()
|
/art/runtime/ |
D | class_linker.cc | 3659 MutableHandle<mirror::Class> component_type(hs.NewHandle(FindClass(self, descriptor + 1, in CreateArrayClass() local 3661 if (component_type == nullptr) { in CreateArrayClass() 3665 component_type.Assign(LookupClass(self, descriptor + 1, component_hash, class_loader.Get())); in CreateArrayClass() 3666 if (component_type == nullptr) { in CreateArrayClass() 3673 if (UNLIKELY(component_type->IsPrimitiveVoid())) { in CreateArrayClass() 3694 if (class_loader.Get() != component_type->GetClassLoader()) { in CreateArrayClass() 3696 LookupClass(self, descriptor, hash, component_type->GetClassLoader()); in CreateArrayClass() 3733 new_class->SetComponentType(component_type.Get()); in CreateArrayClass() 3741 new_class->SetClassLoader(component_type->GetClassLoader()); in CreateArrayClass() 3742 if (component_type->IsPrimitive()) { in CreateArrayClass()
|
D | class_linker_test.cc | 174 const std::string& component_type, in AssertArrayClass() argument 183 EXPECT_STREQ(component_type.c_str(), array->GetComponentType()->GetDescriptor(&temp)); in AssertArrayClass()
|
/art/compiler/optimizing/ |
D | loop_optimization.cc | 1632 DataType::Type component_type = org->AsArraySet()->GetComponentType(); in GenerateVecMem() local 1634 org->InputAt(0), opa, opb, component_type, org->GetSideEffects(), dex_pc); in GenerateVecMem()
|