Home
last modified time | relevance | path

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

/art/runtime/native/
Dsun_misc_Unsafe.cc347 mirror::Class* component_type = dst->GetClass()->GetComponentType(); in Unsafe_copyMemoryToPrimitiveArray() local
348 if (component_type->IsPrimitiveByte() || component_type->IsPrimitiveBoolean()) { in Unsafe_copyMemoryToPrimitiveArray()
350 } else if (component_type->IsPrimitiveShort() || component_type->IsPrimitiveChar()) { in Unsafe_copyMemoryToPrimitiveArray()
352 } else if (component_type->IsPrimitiveInt() || component_type->IsPrimitiveFloat()) { in Unsafe_copyMemoryToPrimitiveArray()
354 } else if (component_type->IsPrimitiveLong() || component_type->IsPrimitiveDouble()) { in Unsafe_copyMemoryToPrimitiveArray()
378 mirror::Class* component_type = src->GetClass()->GetComponentType(); in Unsafe_copyMemoryFromPrimitiveArray() local
379 if (component_type->IsPrimitiveByte() || component_type->IsPrimitiveBoolean()) { in Unsafe_copyMemoryFromPrimitiveArray()
381 } else if (component_type->IsPrimitiveShort() || component_type->IsPrimitiveChar()) { in Unsafe_copyMemoryFromPrimitiveArray()
383 } else if (component_type->IsPrimitiveInt() || component_type->IsPrimitiveFloat()) { in Unsafe_copyMemoryFromPrimitiveArray()
385 } else if (component_type->IsPrimitiveLong() || component_type->IsPrimitiveDouble()) { in Unsafe_copyMemoryFromPrimitiveArray()
/art/runtime/mirror/
Dobject-inl.h349 mirror::Class* component_type = klass->GetComponentType<kVerifyFlags, kReadBarrierOption>(); in IsIntArray() local
350 return component_type != nullptr && component_type->template IsPrimitiveInt<kNewFlags>(); in IsIntArray()
363 mirror::Class* component_type = klass->GetComponentType<kVerifyFlags, kReadBarrierOption>(); in IsLongArray() local
364 return component_type != nullptr && component_type->template IsPrimitiveLong<kNewFlags>(); in IsLongArray()
376 auto* component_type = GetClass<kVerifyFlags>()->GetComponentType(); in IsFloatArray() local
377 return component_type != nullptr && component_type->template IsPrimitiveFloat<kNewFlags>(); in IsFloatArray()
392 auto* component_type = GetClass<kVerifyFlags>()->GetComponentType(); in IsDoubleArray() local
393 return component_type != nullptr && component_type->template IsPrimitiveDouble<kNewFlags>(); in IsDoubleArray()
Dclass.h508 mirror::Class* const component_type = GetComponentType<kVerifyFlags, kReadBarrierOption>(); in IsObjectArrayClass() local
509 return component_type != nullptr && !component_type->IsPrimitive(); in IsObjectArrayClass()
515 auto* component_type = GetComponentType<kVerifyFlags>(); in IsIntArrayClass() local
516 return component_type != nullptr && component_type->template IsPrimitiveInt<kNewFlags>(); in IsIntArrayClass()
522 auto* component_type = GetComponentType<kVerifyFlags>(); in IsLongArrayClass() local
523 return component_type != nullptr && component_type->template IsPrimitiveLong<kNewFlags>(); in IsLongArrayClass()
/art/compiler/dex/
Dverified_method.cc243 const verifier::RegType& component_type = method_verifier->GetRegTypeCache() in GenerateSafeCastSet() local
245 is_safe_cast = component_type.IsStrictlyAssignableFrom(value_type); in GenerateSafeCastSet()
/art/runtime/verifier/
Dmethod_verifier.cc2511 const RegType& component_type = reg_types_.GetComponentType(array_type, GetClassLoader()); in CodeFlowVerifyInstruction() local
2512 DCHECK(!component_type.IsConflict()); in CodeFlowVerifyInstruction()
2513 if (component_type.IsNonZeroReferenceTypes()) { in CodeFlowVerifyInstruction()
2515 << component_type; in CodeFlowVerifyInstruction()
2524 size_t elem_width = Primitive::ComponentSize(component_type.GetPrimitiveType()); in CodeFlowVerifyInstruction()
4357 const RegType& component_type = reg_types_.GetComponentType(array_type, GetClassLoader()); in VerifyAGet() local
4358 if (!component_type.IsReferenceTypes() && !is_primitive) { in VerifyAGet()
4361 } else if (component_type.IsNonZeroReferenceTypes() && is_primitive) { in VerifyAGet()
4364 } else if (is_primitive && !insn_type.Equals(component_type) && in VerifyAGet()
4365 !((insn_type.IsInteger() && component_type.IsFloat()) || in VerifyAGet()
[all …]
/art/runtime/interpreter/
Dunstarted_runtime_test.cc83 mirror::Class* component_type, in UNSTARTED_RUNTIME_JNI_LIST()
87 mirror::Class* array_type = runtime->GetClassLinker()->FindArrayClass(self, &component_type); in UNSTARTED_RUNTIME_JNI_LIST()
/art/imgdiag/
Dimgdiag.cc247 mirror::Class* component_type = klass->GetComponentType(); in DiffObjectContents() local
248 Primitive::Type primitive_type = component_type->GetPrimitiveType(); in DiffObjectContents()
/art/runtime/
Dclass_linker.cc3371 MutableHandle<mirror::Class> component_type(hs.NewHandle(FindClass(self, descriptor + 1, in CreateArrayClass() local
3373 if (component_type.Get() == nullptr) { in CreateArrayClass()
3377 component_type.Assign(LookupClass(self, descriptor + 1, component_hash, class_loader.Get())); in CreateArrayClass()
3378 if (component_type.Get() == nullptr) { in CreateArrayClass()
3385 if (UNLIKELY(component_type->IsPrimitiveVoid())) { in CreateArrayClass()
3406 if (class_loader.Get() != component_type->GetClassLoader()) { in CreateArrayClass()
3407 … mirror::Class* new_class = LookupClass(self, descriptor, hash, component_type->GetClassLoader()); in CreateArrayClass()
3444 new_class->SetComponentType(component_type.Get()); in CreateArrayClass()
3452 new_class->SetClassLoader(component_type->GetClassLoader()); in CreateArrayClass()
3453 if (component_type->IsPrimitive()) { in CreateArrayClass()
Ddex_file.cc1997 Handle<mirror::Class> component_type(hs.NewHandle(array_class->GetComponentType())); in ProcessAnnotationValue() local
2007 if (!ProcessAnnotationValue(klass, &annotation, &new_annotation_value, component_type, in ProcessAnnotationValue()
2011 if (!component_type->IsPrimitive()) { in ProcessAnnotationValue()
Dclass_linker_test.cc104 const std::string& component_type, in AssertArrayClass() argument
113 EXPECT_STREQ(component_type.c_str(), array->GetComponentType()->GetDescriptor(&temp)); in AssertArrayClass()
/art/runtime/gc/
Dheap.cc751 mirror::Class* component_type = klass->GetComponentType<kVerifyNone>(); in SafeGetClassDescriptor() local
752 if (IsValidContinuousSpaceObjectAddress(component_type) && klass->IsArrayClass<kVerifyNone>()) { in SafeGetClassDescriptor()
754 result += SafeGetClassDescriptor(component_type); in SafeGetClassDescriptor()