Searched refs:component_type (Results 1 – 9 of 9) sorted by relevance
/art/runtime/mirror/ |
D | object-inl.h | 327 auto* component_type = GetClass<kVerifyFlags>()->GetComponentType(); in IsIntArray() local 328 return component_type != nullptr && component_type->template IsPrimitiveInt<kNewFlags>(); in IsIntArray() 340 auto* component_type = GetClass<kVerifyFlags>()->GetComponentType(); in IsLongArray() local 341 return component_type != nullptr && component_type->template IsPrimitiveLong<kNewFlags>(); in IsLongArray() 353 auto* component_type = GetClass<kVerifyFlags>()->GetComponentType(); in IsFloatArray() local 354 return component_type != nullptr && component_type->template IsPrimitiveFloat<kNewFlags>(); in IsFloatArray() 369 auto* component_type = GetClass<kVerifyFlags>()->GetComponentType(); in IsDoubleArray() local 370 return component_type != nullptr && component_type->template IsPrimitiveDouble<kNewFlags>(); in IsDoubleArray()
|
D | class.h | 468 auto* component_type = GetComponentType<kVerifyFlags>(); in IsIntArrayClass() local 469 return component_type != nullptr && component_type->template IsPrimitiveInt<kNewFlags>(); in IsIntArrayClass() 475 auto* component_type = GetComponentType<kVerifyFlags>(); in IsLongArrayClass() local 476 return component_type != nullptr && component_type->template IsPrimitiveLong<kNewFlags>(); in IsLongArrayClass()
|
/art/compiler/dex/ |
D | type_inference.cc | 38 inline TypeInference::Type TypeInference::Type::ArrayTypeFromComponent(Type component_type) { in ArrayTypeFromComponent() argument 39 if (component_type.ArrayDepth() == 0u) { in ArrayTypeFromComponent() 40 return ArrayType(1u, component_type); in ArrayTypeFromComponent() 42 if (UNLIKELY(component_type.ArrayDepth() == kMaxArrayDepth)) { in ArrayTypeFromComponent() 43 return component_type; in ArrayTypeFromComponent() 45 return Type(component_type.raw_bits_ + (1u << kBitArrayDepthStart)); // array_depth + 1u; in ArrayTypeFromComponent() 808 Type component_type = array_type.ComponentType(); in InitializeSRegs() local 809 DCHECK(!component_type.Wide()); in InitializeSRegs() 818 sregs_[input_mod_s_reg].MergeStrong(component_type); in InitializeSRegs()
|
D | verified_method.cc | 360 const verifier::RegType& component_type = method_verifier->GetRegTypeCache() in GenerateSafeCastSet() local 362 is_safe_cast = component_type.IsStrictlyAssignableFrom(value_type); in GenerateSafeCastSet()
|
D | type_inference.h | 115 static Type ArrayTypeFromComponent(Type component_type);
|
/art/runtime/verifier/ |
D | method_verifier.cc | 2086 const RegType& component_type = reg_types_.GetComponentType(array_type, GetClassLoader()); in CodeFlowVerifyInstruction() local 2087 DCHECK(!component_type.IsConflict()); in CodeFlowVerifyInstruction() 2088 if (component_type.IsNonZeroReferenceTypes()) { in CodeFlowVerifyInstruction() 2090 << component_type; in CodeFlowVerifyInstruction() 2098 size_t elem_width = Primitive::ComponentSize(component_type.GetPrimitiveType()); in CodeFlowVerifyInstruction() 3743 const RegType& component_type = reg_types_.GetComponentType(array_type, GetClassLoader()); in VerifyAGet() local 3744 if (!component_type.IsReferenceTypes() && !is_primitive) { in VerifyAGet() 3747 } else if (component_type.IsNonZeroReferenceTypes() && is_primitive) { in VerifyAGet() 3750 } else if (is_primitive && !insn_type.Equals(component_type) && in VerifyAGet() 3751 !((insn_type.IsInteger() && component_type.IsFloat()) || in VerifyAGet() [all …]
|
/art/runtime/ |
D | class_linker.cc | 2597 MutableHandle<mirror::Class> component_type(hs.NewHandle(FindClass(self, descriptor + 1, in CreateArrayClass() local 2599 if (component_type.Get() == nullptr) { in CreateArrayClass() 2603 component_type.Assign(LookupClass(self, descriptor + 1, component_hash, class_loader.Get())); in CreateArrayClass() 2604 if (component_type.Get() == nullptr) { in CreateArrayClass() 2611 if (UNLIKELY(component_type->IsPrimitiveVoid())) { in CreateArrayClass() 2632 if (class_loader.Get() != component_type->GetClassLoader()) { in CreateArrayClass() 2633 … mirror::Class* new_class = LookupClass(self, descriptor, hash, component_type->GetClassLoader()); in CreateArrayClass() 2670 new_class->SetComponentType(component_type.Get()); in CreateArrayClass() 2678 new_class->SetClassLoader(component_type->GetClassLoader()); in CreateArrayClass()
|
D | class_linker_test.cc | 103 const std::string& component_type, in AssertArrayClass() argument 112 EXPECT_STREQ(component_type.c_str(), array->GetComponentType()->GetDescriptor(&temp)); in AssertArrayClass()
|
/art/runtime/gc/ |
D | heap.cc | 641 mirror::Class* component_type = klass->GetComponentType<kVerifyNone>(); in SafeGetClassDescriptor() local 642 if (IsValidContinuousSpaceObjectAddress(component_type) && klass->IsArrayClass<kVerifyNone>()) { in SafeGetClassDescriptor() 644 result += SafeGetClassDescriptor(component_type); in SafeGetClassDescriptor()
|