Home
last modified time | relevance | path

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

/art/runtime/entrypoints/portable/
Dportable_cast_entrypoints.cc50 mirror::Class* component_type = array_class->GetComponentType(); in art_portable_check_put_array_element_from_code() local
52 if (UNLIKELY(!component_type->IsAssignableFrom(element_class))) { in art_portable_check_put_array_element_from_code()
/art/compiler/dex/
Dverified_method.cc298 verifier::RegType& component_type = method_verifier->GetRegTypeCache() in GenerateSafeCastSet() local
300 is_safe_cast = component_type.IsStrictlyAssignableFrom(value_type); in GenerateSafeCastSet()
/art/runtime/verifier/
Dmethod_verifier.cc1883 RegType& component_type = reg_types_.GetComponentType(array_type, in CodeFlowVerifyInstruction() local
1885 DCHECK(!component_type.IsConflict()); in CodeFlowVerifyInstruction()
1886 if (component_type.IsNonZeroReferenceTypes()) { in CodeFlowVerifyInstruction()
1888 << component_type; in CodeFlowVerifyInstruction()
1896 size_t elem_width = Primitive::ComponentSize(component_type.GetPrimitiveType()); in CodeFlowVerifyInstruction()
3486 RegType& component_type = reg_types_.GetComponentType(array_type, class_loader_->Get()); in VerifyAGet() local
3487 if (!component_type.IsReferenceTypes() && !is_primitive) { in VerifyAGet()
3490 } else if (component_type.IsNonZeroReferenceTypes() && is_primitive) { in VerifyAGet()
3493 } else if (is_primitive && !insn_type.Equals(component_type) && in VerifyAGet()
3494 !((insn_type.IsInteger() && component_type.IsFloat()) || in VerifyAGet()
[all …]
/art/runtime/
Dclass_linker.cc3061 Handle<mirror::Class> component_type(hs.NewHandle(FindClass(self, descriptor + 1, class_loader))); in CreateArrayClass() local
3062 if (component_type.Get() == nullptr) { in CreateArrayClass()
3065 component_type.Assign(LookupClass(descriptor + 1, class_loader.Get())); in CreateArrayClass()
3066 if (component_type.Get() == nullptr) { in CreateArrayClass()
3073 if (UNLIKELY(component_type->IsPrimitiveVoid())) { in CreateArrayClass()
3094 if (class_loader.Get() != component_type->GetClassLoader()) { in CreateArrayClass()
3095 mirror::Class* new_class = LookupClass(descriptor, component_type->GetClassLoader()); in CreateArrayClass()
3135 new_class->SetComponentType(component_type.Get()); in CreateArrayClass()
3143 new_class->SetClassLoader(component_type->GetClassLoader()); in CreateArrayClass()
Dclass_linker_test.cc102 const std::string& component_type, in AssertArrayClass() argument
111 EXPECT_STREQ(component_type.c_str(), array->GetComponentType()->GetDescriptor(&temp)); in AssertArrayClass()
/art/runtime/gc/
Dheap.cc542 mirror::Class* component_type = klass->GetComponentType<kVerifyNone>(); in SafeGetClassDescriptor() local
543 if (IsValidContinuousSpaceObjectAddress(component_type) && klass->IsArrayClass<kVerifyNone>()) { in SafeGetClassDescriptor()
545 result += SafeGetClassDescriptor(component_type); in SafeGetClassDescriptor()