Lines Matching refs:Object
47 inline uint32_t Object::ClassSize(PointerSize pointer_size) { in ClassSize()
53 inline Class* Object::GetClass() { in GetClass()
58 inline void Object::SetClass(ObjPtr<Class> new_klass) { in SetClass()
69 inline void Object::SetLockWord(LockWord new_val, bool as_volatile) { in SetLockWord()
78 inline uint32_t Object::GetLockOwnerThreadId() { in GetLockOwnerThreadId()
82 inline ObjPtr<mirror::Object> Object::MonitorEnter(Thread* self) { in MonitorEnter()
86 inline ObjPtr<mirror::Object> Object::MonitorTryEnter(Thread* self) { in MonitorTryEnter()
90 inline bool Object::MonitorExit(Thread* self) { in MonitorExit()
94 inline void Object::Notify(Thread* self) { in Notify()
98 inline void Object::NotifyAll(Thread* self) { in NotifyAll()
102 inline void Object::Wait(Thread* self, int64_t ms, int32_t ns) { in Wait()
106 inline uint32_t Object::GetMarkBit() { in GetMarkBit()
111 inline void Object::SetReadBarrierState(uint32_t rb_state) { in SetReadBarrierState()
119 inline void Object::AssertReadBarrierState() const { in AssertReadBarrierState()
121 Object* obj = const_cast<Object*>(this); in AssertReadBarrierState()
127 inline bool Object::VerifierInstanceOf(ObjPtr<Class> klass) { in VerifierInstanceOf()
134 inline bool Object::InstanceOf(ObjPtr<Class> klass) { in InstanceOf()
141 inline bool Object::IsClass() { in IsClass()
151 inline ObjPtr<Class> Object::AsClass() { in AsClass()
157 inline bool Object::IsObjectArray() { in IsObjectArray()
167 inline ObjPtr<ObjectArray<T>> Object::AsObjectArray() { in AsObjectArray()
173 inline bool Object::IsArrayInstance() { in IsArrayInstance()
180 inline bool Object::IsReferenceInstance() { in IsReferenceInstance()
185 inline ObjPtr<Reference> Object::AsReference() { in AsReference()
191 inline ObjPtr<Array> Object::AsArray() { in AsArray()
197 ALWAYS_INLINE bool Object::IsSpecificPrimitiveArray() { in IsSpecificPrimitiveArray()
208 inline bool Object::IsBooleanArray() { in IsBooleanArray()
213 inline ObjPtr<BooleanArray> Object::AsBooleanArray() { in AsBooleanArray()
219 inline bool Object::IsByteArray() { in IsByteArray()
224 inline ObjPtr<ByteArray> Object::AsByteArray() { in AsByteArray()
230 inline bool Object::IsCharArray() { in IsCharArray()
235 inline ObjPtr<CharArray> Object::AsCharArray() { in AsCharArray()
241 inline bool Object::IsShortArray() { in IsShortArray()
246 inline ObjPtr<ShortArray> Object::AsShortArray() { in AsShortArray()
252 inline bool Object::IsIntArray() { in IsIntArray()
257 inline ObjPtr<IntArray> Object::AsIntArrayUnchecked() { in AsIntArrayUnchecked()
261 inline ObjPtr<IntArray> Object::AsIntArray() { in AsIntArray()
267 inline bool Object::IsLongArray() { in IsLongArray()
272 inline ObjPtr<LongArray> Object::AsLongArrayUnchecked() { in AsLongArrayUnchecked()
276 inline ObjPtr<LongArray> Object::AsLongArray() { in AsLongArray()
282 inline bool Object::IsFloatArray() { in IsFloatArray()
287 inline ObjPtr<FloatArray> Object::AsFloatArray() { in AsFloatArray()
293 inline bool Object::IsDoubleArray() { in IsDoubleArray()
298 inline ObjPtr<DoubleArray> Object::AsDoubleArray() { in AsDoubleArray()
304 inline bool Object::IsString() { in IsString()
311 inline ObjPtr<String> Object::AsString() { in AsString()
317 inline ObjPtr<Throwable> Object::AsThrowable() { in AsThrowable()
323 inline bool Object::IsWeakReferenceInstance() { in IsWeakReferenceInstance()
328 inline bool Object::IsSoftReferenceInstance() { in IsSoftReferenceInstance()
333 inline bool Object::IsFinalizerReferenceInstance() { in IsFinalizerReferenceInstance()
338 inline ObjPtr<FinalizerReference> Object::AsFinalizerReference() { in AsFinalizerReference()
344 inline bool Object::IsPhantomReferenceInstance() { in IsPhantomReferenceInstance()
349 inline size_t Object::SizeOf() { in SizeOf()
363 DCHECK_GE(result, sizeof(Object)) << " class=" in SizeOf()
374 inline int8_t Object::GetFieldByte(MemberOffset field_offset) { in GetFieldByte()
380 inline uint8_t Object::GetFieldBooleanVolatile(MemberOffset field_offset) { in GetFieldBooleanVolatile()
385 inline int8_t Object::GetFieldByteVolatile(MemberOffset field_offset) { in GetFieldByteVolatile()
393 inline void Object::SetFieldBoolean(MemberOffset field_offset, uint8_t new_value) { in SetFieldBoolean()
410 inline void Object::SetFieldByte(MemberOffset field_offset, int8_t new_value) { in SetFieldByte()
423 inline void Object::SetFieldBooleanVolatile(MemberOffset field_offset, uint8_t new_value) { in SetFieldBooleanVolatile()
429 inline void Object::SetFieldByteVolatile(MemberOffset field_offset, int8_t new_value) { in SetFieldByteVolatile()
435 inline uint16_t Object::GetFieldChar(MemberOffset field_offset) { in GetFieldChar()
441 inline int16_t Object::GetFieldShort(MemberOffset field_offset) { in GetFieldShort()
447 inline uint16_t Object::GetFieldCharVolatile(MemberOffset field_offset) { in GetFieldCharVolatile()
452 inline int16_t Object::GetFieldShortVolatile(MemberOffset field_offset) { in GetFieldShortVolatile()
460 inline void Object::SetFieldChar(MemberOffset field_offset, uint16_t new_value) { in SetFieldChar()
476 inline void Object::SetFieldShort(MemberOffset field_offset, int16_t new_value) { in SetFieldShort()
489 inline void Object::SetFieldCharVolatile(MemberOffset field_offset, uint16_t new_value) { in SetFieldCharVolatile()
495 inline void Object::SetFieldShortVolatile(MemberOffset field_offset, int16_t new_value) { in SetFieldShortVolatile()
504 inline void Object::SetField32(MemberOffset field_offset, int32_t new_value) { in SetField32()
517 inline void Object::SetField32Volatile(MemberOffset field_offset, int32_t new_value) { in SetField32Volatile()
522 inline void Object::SetField32Transaction(MemberOffset field_offset, int32_t new_value) { in SetField32Transaction()
534 inline void Object::SetField64(MemberOffset field_offset, int64_t new_value) { in SetField64()
547 inline void Object::SetField64Volatile(MemberOffset field_offset, int64_t new_value) { in SetField64Volatile()
553 inline void Object::SetField64Transaction(MemberOffset field_offset, int32_t new_value) { in SetField64Transaction()
562 inline kSize Object::GetFieldAcquire(MemberOffset field_offset) { in GetFieldAcquire()
569 inline bool Object::CasFieldWeakSequentiallyConsistent64(MemberOffset field_offset, in CasFieldWeakSequentiallyConsistent64()
583 inline bool Object::CasFieldStrongSequentiallyConsistent64(MemberOffset field_offset, in CasFieldStrongSequentiallyConsistent64()
604 inline T* Object::GetFieldObject(MemberOffset field_offset) { in GetFieldObject()
617 inline T* Object::GetFieldObjectVolatile(MemberOffset field_offset) { in GetFieldObjectVolatile()
625 inline void Object::SetFieldObjectWithoutWriteBarrier(MemberOffset field_offset, in SetFieldObjectWithoutWriteBarrier()
626 ObjPtr<Object> new_value) { in SetFieldObjectWithoutWriteBarrier()
629 ObjPtr<Object> obj; in SetFieldObjectWithoutWriteBarrier()
631 obj = GetFieldObjectVolatile<Object>(field_offset); in SetFieldObjectWithoutWriteBarrier()
633 obj = GetFieldObject<Object>(field_offset); in SetFieldObjectWithoutWriteBarrier()
640 HeapReference<Object>* objref_addr = reinterpret_cast<HeapReference<Object>*>(raw_addr); in SetFieldObjectWithoutWriteBarrier()
648 inline void Object::SetFieldObject(MemberOffset field_offset, ObjPtr<Object> new_value) { in SetFieldObject()
659 inline void Object::SetFieldObjectVolatile(MemberOffset field_offset, ObjPtr<Object> new_value) { in SetFieldObjectVolatile()
665 inline void Object::SetFieldObjectTransaction(MemberOffset field_offset, ObjPtr<Object> new_value) { in SetFieldObjectTransaction()
674 inline HeapReference<Object>* Object::GetFieldObjectReferenceAddr(MemberOffset field_offset) { in GetFieldObjectReferenceAddr()
676 return reinterpret_cast<HeapReference<Object>*>(reinterpret_cast<uint8_t*>(this) + in GetFieldObjectReferenceAddr()
681 inline bool Object::CasFieldObjectWithoutWriteBarrier(MemberOffset field_offset, in CasFieldObjectWithoutWriteBarrier()
682 ObjPtr<Object> old_value, in CasFieldObjectWithoutWriteBarrier()
683 ObjPtr<Object> new_value, in CasFieldObjectWithoutWriteBarrier()
691 uint32_t old_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(old_value)); in CasFieldObjectWithoutWriteBarrier()
692 uint32_t new_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(new_value)); in CasFieldObjectWithoutWriteBarrier()
699 inline bool Object::CasFieldObject(MemberOffset field_offset, in CasFieldObject()
700 ObjPtr<Object> old_value, in CasFieldObject()
701 ObjPtr<Object> new_value, in CasFieldObject()
717 inline ObjPtr<Object> Object::CompareAndExchangeFieldObject(MemberOffset field_offset, in CompareAndExchangeFieldObject()
718 ObjPtr<Object> old_value, in CompareAndExchangeFieldObject()
719 ObjPtr<Object> new_value) { in CompareAndExchangeFieldObject()
722 uint32_t old_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(old_value)); in CompareAndExchangeFieldObject()
723 uint32_t new_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(new_value)); in CompareAndExchangeFieldObject()
727 ObjPtr<Object> witness_value(PtrCompression<kPoisonHeapReferences, Object>::Decompress(old_ref)); in CompareAndExchangeFieldObject()
743 inline ObjPtr<Object> Object::ExchangeFieldObject(MemberOffset field_offset, in ExchangeFieldObject()
744 ObjPtr<Object> new_value) { in ExchangeFieldObject()
748 uint32_t new_ref(PtrCompression<kPoisonHeapReferences, Object>::Compress(new_value)); in ExchangeFieldObject()
752 ObjPtr<Object> old_value(PtrCompression<kPoisonHeapReferences, Object>::Decompress(old_ref)); in ExchangeFieldObject()
766 inline void Object::GetPrimitiveFieldViaAccessor(MemberOffset field_offset, Accessor<T>* accessor) { in GetPrimitiveFieldViaAccessor()
774 inline void Object::UpdateFieldBooleanViaAccessor(MemberOffset field_offset, in UpdateFieldBooleanViaAccessor()
789 inline void Object::UpdateFieldByteViaAccessor(MemberOffset field_offset, in UpdateFieldByteViaAccessor()
804 inline void Object::UpdateFieldCharViaAccessor(MemberOffset field_offset, in UpdateFieldCharViaAccessor()
819 inline void Object::UpdateFieldShortViaAccessor(MemberOffset field_offset, in UpdateFieldShortViaAccessor()
834 inline void Object::UpdateField32ViaAccessor(MemberOffset field_offset, in UpdateField32ViaAccessor()
849 inline void Object::UpdateField64ViaAccessor(MemberOffset field_offset, in UpdateField64ViaAccessor()
867 inline void Object::VisitFieldsReferences(uint32_t ref_offsets, const Visitor& visitor) { in VisitFieldsReferences()
876 field_offset += sizeof(mirror::HeapReference<mirror::Object>); in VisitFieldsReferences()
904 sizeof(mirror::HeapReference<mirror::Object>)); in VisitFieldsReferences()
911 inline void Object::VisitInstanceFieldsReferences(ObjPtr<Class> klass, const Visitor& visitor) { in VisitInstanceFieldsReferences()
917 inline void Object::VisitStaticFieldsReferences(ObjPtr<Class> klass, const Visitor& visitor) { in VisitStaticFieldsReferences()
923 inline bool Object::IsClassLoader() { in IsClassLoader()
928 inline ObjPtr<ClassLoader> Object::AsClassLoader() { in AsClassLoader()
934 inline bool Object::IsDexCache() { in IsDexCache()
939 inline ObjPtr<mirror::DexCache> Object::AsDexCache() { in AsDexCache()
945 inline void Object::VerifyTransaction() { in VerifyTransaction()