Home
last modified time | relevance | path

Searched refs:kVerifyNone (Results 1 – 25 of 33) sorted by relevance

12

/art/runtime/gc/
Dverification-inl.h29 mirror::Class* k1 = klass->GetClass<kVerifyNone, kReadBarrierOption>(); in IsValidClassUnchecked()
36 mirror::Class* k2 = k1->GetClass<kVerifyNone, kReadBarrierOption>(); in IsValidClassUnchecked()
56 mirror::Class* klass = obj->GetClass<kVerifyNone, kReadBarrierOption>(); in IsValidObject()
Dverification.cc68 mirror::Class* klass = obj->GetClass<kVerifyNone, kWithoutReadBarrier>(); in DumpObjectInfo()
72 if (klass->IsArrayClass<kVerifyNone>()) { in DumpObjectInfo()
73 oss << " length=" << obj->AsArray<kVerifyNone>()->GetLength(); in DumpObjectInfo()
108 mirror::Class* holder_klass = holder->GetClass<kVerifyNone, kWithoutReadBarrier>(); in LogHeapCorruption()
/art/runtime/
Dverify_object-inl.h32 mirror::Class* c_c = c->GetClass<kVerifyNone>(); in VerifyClassClass()
33 return c_c != nullptr && c_c == c_c->GetClass<kVerifyNone>(); in VerifyClassClass()
Dverify_object.h40 kVerifyNone = 0x0, enumerator
51 static constexpr VerifyObjectFlags kDefaultVerifyFlags = kVerifyNone;
Dverify_object.cc37 mirror::Class* c = obj->GetClass<kVerifyNone>(); in VerifyObjectImpl()
Druntime_image.cc737 klass->GetSuperClass<kVerifyNone, kWithoutReadBarrier>().Ptr())); in RelocateMethodPointerArrays()
740 reinterpret_cast32<uint32_t>(klass->GetVTable<kVerifyNone, kWithoutReadBarrier>().Ptr())); in RelocateMethodPointerArrays()
742 reinterpret_cast32<uint32_t>(super->GetVTable<kVerifyNone, kWithoutReadBarrier>().Ptr())); in RelocateMethodPointerArrays()
751 klass->GetIfTable<kVerifyNone, kWithoutReadBarrier>().Ptr())); in RelocateMethodPointerArrays()
754 super->GetIfTable<kVerifyNone, kWithoutReadBarrier>().Ptr())); in RelocateMethodPointerArrays()
760 iftable->GetMethodArrayOrNull<kVerifyNone, kWithoutReadBarrier>(i).Ptr())); in RelocateMethodPointerArrays()
764 super_iftable->GetMethodArrayOrNull<kVerifyNone, kWithoutReadBarrier>(i).Ptr())) in RelocateMethodPointerArrays()
1229 copy->GetFieldObjectReferenceAddr<kVerifyNone>(offset)->Assign(address); in operator ()()
1394 return cls->IsVisiblyInitialized<kVerifyNone>(); in IsInitialized()
Dfault_handler.cc573 mirror::Class* class_class = klass->GetClass<kVerifyNone, kWithoutReadBarrier>(); in IsValidMethod()
579 if (class_class != class_class->GetClass<kVerifyNone, kWithoutReadBarrier>()) { in IsValidMethod()
/art/runtime/mirror/
Darray.h75 SetField32<false, false, kVerifyNone>(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); in SetLength()
236 template<typename T, VerifyObjectFlags kVerifyFlags = kVerifyNone>
239 template<typename T, PointerSize kPtrSize, VerifyObjectFlags kVerifyFlags = kVerifyNone>
245 template<typename T, PointerSize kPtrSize, VerifyObjectFlags kVerifyFlags = kVerifyNone>
249 template<VerifyObjectFlags kVerifyFlags = kVerifyNone>
269 template <VerifyObjectFlags kVerifyFlags = kVerifyNone, typename Visitor>
Dobject-refvisitor-inl.h72 const uint32_t class_flags = klass->GetClassFlags<kVerifyNone>(); in VisitReferences()
87 ObjPtr<Class> as_klass = AsClass<kVerifyNone>(); in VisitReferences()
94 AsObjectArray<mirror::Object, kVerifyNone>()->VisitReferences(visitor); in VisitReferences()
142 const uint32_t class_flags = klass->GetClassFlags<kVerifyNone>(); in VisitRefsForCompaction()
Dclass-inl.h683 SetFieldPtr<false, true, kVerifyNone>(OFFSET_OF_OBJECT_MEMBER(Class, ifields_), new_ifields); in SetIFieldsPtrUnchecked()
706 SetFieldPtr<false, true, kVerifyNone>(OFFSET_OF_OBJECT_MEMBER(Class, sfields_), new_sfields); in SetSFieldsPtrUnchecked()
1123 kVerifyNone>(member_offset, new_value, pointer_size); in FixupNativePointer()
1140 if (!IsTemp<kVerifyNone>() && ShouldHaveEmbeddedVTable<kVerifyNone>()) { in FixupNativePointers()
1146 if (!IsTemp<kVerifyNone>() && ShouldHaveImt<kVerifyNone>()) { in FixupNativePointers()
Dclass.cc282 DCHECK(IsPrimitive<kVerifyNone>() || IsArrayClass<kVerifyNone>()); in SetStatusForPrimitiveOrArray()
284 DCHECK(!IsErroneous(GetStatus<kVerifyNone>())); in SetStatusForPrimitiveOrArray()
285 DCHECK_GT(new_status, GetStatus<kVerifyNone>()); in SetStatusForPrimitiveOrArray()
300 kVerifyNone>(StatusOffset(), new_status_value); in SetStatusForPrimitiveOrArray()
1486 ObjPtr<mirror::String> name = klass->GetName<kVerifyNone, kWithoutReadBarrier>(); in GetDescriptor()
1741 ObjPtr<mirror::String> name = GetName<kVerifyNone, kWithoutReadBarrier>(); in ProxyDescriptorEquals()
1748 ObjPtr<mirror::String> match_name = match->GetName<kVerifyNone, kWithoutReadBarrier>(); in ProxyDescriptorEquals()
1773 ObjPtr<mirror::String> name = proxy_class->GetName<kVerifyNone, kWithoutReadBarrier>(); in UpdateHashForProxyClass()
2084 template void Class::GetAccessFlagsDCheck<kVerifyNone>();
/art/runtime/gc/collector/
Dmark_compact-inl.h29 mirror::Class* klass = obj->GetClass<kVerifyNone, kWithoutReadBarrier>(); in UpdateClassAfterObjectMap()
34 (klass->GetReferenceInstanceOffsets<kVerifyNone>() == mirror::Class::kClassWalkSuper && in UpdateClassAfterObjectMap()
42 if (klass->GetReferenceInstanceOffsets<kVerifyNone>() == mirror::Class::kClassWalkSuper) { in UpdateClassAfterObjectMap()
46 for (ObjPtr<mirror::Class> k = klass->GetSuperClass<kVerifyNone, kWithoutReadBarrier>(); in UpdateClassAfterObjectMap()
48 k = k->GetSuperClass<kVerifyNone, kWithoutReadBarrier>()) { in UpdateClassAfterObjectMap()
229 mirror::Object, kVerifyNone, kWithoutReadBarrier, /*kIsVolatile*/false>(offset); in UpdateRef()
259 /*kTransactionActive*/false, /*kCheckTransaction*/false, kVerifyNone, /*kIsVolatile*/false>( in UpdateRef()
Dmark_sweep-inl.h39 mirror::Class* klass = obj->GetClass<kVerifyNone>(); in ScanObjectVisit()
Dconcurrent_copying.cc613 CheckReference(obj->GetFieldObject<mirror::Object, kVerifyNone, kWithoutReadBarrier>(offset), in operator ()()
659 ref->GetClass<kVerifyNone, kWithoutReadBarrier>())); in CheckReference()
746 obj->VisitReferences</*kVisitNativeRoots=*/true, kVerifyNone, kWithoutReadBarrier>( in VerifyNoMissingCardMarks()
1081 obj->GetFieldObject<mirror::Object, kVerifyNone, kWithoutReadBarrier>(offset); in operator ()()
1091 ref = obj->GetClass<kVerifyNone, kWithoutReadBarrier>(); in operator ()()
1439 if (UNLIKELY((obj->GetClass<kVerifyNone, kWithoutReadBarrier>()->IsTypeOfReferenceClass()))) { in ScanDirtyObject()
1441 obj->AsReference<kVerifyNone, kWithoutReadBarrier>()->GetReferent<kWithoutReadBarrier>(); in ScanDirtyObject()
2359 if (UNLIKELY((to_ref->GetClass<kVerifyNone, kWithoutReadBarrier>()->IsTypeOfReferenceClass() && in ProcessMarkStackRef()
3234 mirror::Object, kVerifyNone, kWithoutReadBarrier, false>(offset); in Process()
3248 obj->GetFieldObject<mirror::Object, kVerifyNone, kWithoutReadBarrier, false>(offset)) { in Process()
[all …]
Dconcurrent_copying-inl.h44 << ref->GetClass<kVerifyNone, kWithoutReadBarrier>()->PrettyClass(); in MarkUnevacFromSpaceRegion()
Dmark_compact.cc986 mirror::Class* klass = prev_obj->GetClass<kVerifyNone, kWithoutReadBarrier>(); in InitNonMovingSpaceFirstObjects()
1004 mirror::Class* klass = prev_obj->GetClass<kVerifyNone, kWithoutReadBarrier>(); in InitNonMovingSpaceFirstObjects()
1577 mirror::Class* klass = obj->GetClass<kVerifyNone, kWithoutReadBarrier>(); in IsValidObject()
1582 obj->GetClass<kVerifyNone, kWithFromSpaceBarrier>()); in IsValidObject()
1588 mirror::Class* klass = ref->GetClass<kVerifyNone, kWithFromSpaceBarrier>(); in VerifyObject()
1589 mirror::Class* pre_compact_klass = ref->GetClass<kVerifyNone, kWithoutReadBarrier>(); in VerifyObject()
1590 mirror::Class* klass_klass = klass->GetClass<kVerifyNone, kWithFromSpaceBarrier>(); in VerifyObject()
1591 mirror::Class* klass_klass_klass = klass_klass->GetClass<kVerifyNone, kWithFromSpaceBarrier>(); in VerifyObject()
2359 uint8_t* klass_end = reinterpret_cast<uint8_t*>(klass) + from_klass->SizeOf<kVerifyNone>(); in FreeFromSpacePages()
/art/dex2oat/linker/
Dimage_writer.cc195 obj->GetFieldObject<mirror::Object, kVerifyNone, kWithoutReadBarrier>(offset); in operator ()()
213 FindInstanceFieldWithOffset</*kExactOffset*/ true, kVerifyNone, kWithoutReadBarrier>( in operator ()()
214 obj->GetClass<kVerifyNone, kWithoutReadBarrier>(), offset.Uint32Value()); in operator ()()
293 array->GetWithoutChecks<kVerifyNone, kWithoutReadBarrier>(idx); in MatchDirtyObjectPaths()
299 if (next_obj->GetClass<kVerifyNone, kWithoutReadBarrier>()->GetDescriptor(&temp) != in MatchDirtyObjectPaths()
318 cur_obj->VisitReferences</*kVisitNativeRoots=*/false, kVerifyNone, kWithoutReadBarrier>( in MatchDirtyObjectPaths()
748 ObjPtr<mirror::Class> klass = object->GetClass<kVerifyNone, kWithoutReadBarrier>(); in GetImageBin()
749 if (klass->IsStringClass<kVerifyNone>()) { in GetImageBin()
757 ObjPtr<mirror::Class> as_klass = object->AsClass<kVerifyNone>(); in GetImageBin()
758 if (as_klass->IsVisiblyInitialized<kVerifyNone>()) { in GetImageBin()
[all …]
/art/compiler/optimizing/
Dintrinsic_objects.cc89 boot_image_live_objects->GetWithoutChecks<kVerifyNone, kWithoutReadBarrier>( in GetValueOfObject()
103 ->GetFieldObject<mirror::Object, kVerifyNone, kWithoutReadBarrier>(result))); in GetValueOfArrayDataOffset()
/art/runtime/gc/space/
Dimage_space.cc289 heap_visitor_(klass->GetClass<kVerifyNone, kWithoutReadBarrier>())); in VisitClass()
293 kVerifyNone>(mirror::Object::ClassOffset(), class_class); in VisitClass()
298 size_t num_reference_instance_fields = class_class->NumReferenceInstanceFields<kVerifyNone>(); in VisitClass()
314 klass->GetSuperClass<kVerifyNone, kWithoutReadBarrier>(); in VisitClass()
315 CHECK_EQ(object_class->NumReferenceInstanceFields<kVerifyNone>(), 1u); in VisitClass()
318 size_t num_reference_static_fields = klass->NumReferenceStaticFields<kVerifyNone>(); in VisitClass()
321 klass->GetFirstReferenceStaticFieldOffset<kVerifyNone>(kPointerSize); in VisitClass()
331 klass->FixupNativePointers<kVerifyNone>(klass.Ptr(), kPointerSize, *this); in VisitClass()
344 int32_t length = pointer_array->GetLength<kVerifyNone>(); in VisitPointerArray()
347 pointer_array->ElementAddress<kVerifyNone>(i, kPointerSize)); in VisitPointerArray()
[all …]
Dspace_test.h115 ObjPtr<mirror::Array> arr = o->AsArray<kVerifyNone>(); in InstallClass()
119 EXPECT_EQ(arr->SizeOf<kVerifyNone>(), size); in InstallClass()
Dmemory_tool_malloc_space-inl.h79 return obj->SizeOf<kVerifyNone>(); in GetObjSizeNoThreadSafety()
Dmalloc_space.cc138 recent_freed_objects_[recent_free_pos_] = std::make_pair(ptr, ptr->GetClass<kVerifyNone>()); in RegisterRecentFree()
Drosalloc_space.cc452 size_t size = obj->SizeOf<kVerifyNone>(); in AllocationSizeNonvirtual()
/art/imgdiag/
Dimgdiag.cc118 oss << object->GetFieldObject<mirror::Object, kVerifyNone, kWithoutReadBarrier>( in PrettyFieldValue()
123 oss << static_cast<bool>(object->GetFieldBoolean<kVerifyNone>(field->GetOffset())); in PrettyFieldValue()
127 oss << static_cast<int32_t>(object->GetFieldByte<kVerifyNone>(field->GetOffset())); in PrettyFieldValue()
131 oss << object->GetFieldChar<kVerifyNone>(field->GetOffset()); in PrettyFieldValue()
135 oss << object->GetFieldShort<kVerifyNone>(field->GetOffset()); in PrettyFieldValue()
139 oss << object->GetField32<kVerifyNone>(field->GetOffset()); in PrettyFieldValue()
143 oss << object->GetField64<kVerifyNone>(field->GetOffset()); in PrettyFieldValue()
147 oss << object->GetField32<kVerifyNone>(field->GetOffset()); in PrettyFieldValue()
151 oss << object->GetField64<kVerifyNone>(field->GetOffset()); in PrettyFieldValue()
512 parent_obj->VisitReferences</*kVisitNativeRoots=*/false, kVerifyNone, kWithoutReadBarrier>( in CalculateParentMap()
/art/runtime/oat/
Dimage-inl.h34 return image_roots->Get<kVerifyNone, kReadBarrierOption>(static_cast<int32_t>(image_root)); in GetImageRoot()

12