/art/test/423-invoke-interface/src/ |
H A D | Main.java | 98 public static void $opt$InvokeInterface(Itf object, int factor) { argument 99 assertEquals(factor * 1, object.return1()); 100 assertEquals(factor * 2, object.return2()); 101 assertEquals(factor * 3, object.return3()); 102 assertEquals(factor * 4, object.return4()); 103 assertEquals(factor * 5, object.return5()); 104 assertEquals(factor * 6, object.return6()); 105 assertEquals(factor * 7, object.return7()); 106 assertEquals(factor * 8, object.return8()); 107 assertEquals(factor * 9, object [all...] |
/art/runtime/ |
H A D | art_field-inl.h | 28 #include "mirror/object-inl.h" 62 inline uint32_t ArtField::Get32(mirror::Object* object) { argument 63 DCHECK(object != nullptr) << PrettyField(this); 64 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); 66 return object->GetField32Volatile(GetOffset()); 68 return object->GetField32(GetOffset()); 72 inline void ArtField::Set32(mirror::Object* object, uint32_t new_value) { argument 73 DCHECK(object != nullptr) << PrettyField(this); 74 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); 76 object 82 Get64(mirror::Object* object) argument 92 Set64(mirror::Object* object, uint64_t new_value) argument 102 GetObj(mirror::Object* object) argument 112 SetObj(mirror::Object* object, mirror::Object* new_value) argument 141 GetBoolean(mirror::Object* object) argument 146 SetBoolean(mirror::Object* object, uint8_t z) argument 150 GetByte(mirror::Object* object) argument 155 SetByte(mirror::Object* object, int8_t b) argument 159 GetChar(mirror::Object* object) argument 164 SetChar(mirror::Object* object, uint16_t c) argument 168 GetShort(mirror::Object* object) argument 173 SetShort(mirror::Object* object, int16_t s) argument 180 GetInt(mirror::Object* object) argument 189 SetInt(mirror::Object* object, int32_t i) argument 197 GetLong(mirror::Object* object) argument 206 SetLong(mirror::Object* object, int64_t j) argument 214 GetFloat(mirror::Object* object) argument 222 SetFloat(mirror::Object* object, float f) argument 229 GetDouble(mirror::Object* object) argument 237 SetDouble(mirror::Object* object, double d) argument 244 GetObject(mirror::Object* object) argument 250 SetObject(mirror::Object* object, mirror::Object* l) argument [all...] |
H A D | art_field.h | 89 // field access, null object for static fields 90 uint8_t GetBoolean(mirror::Object* object) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 93 void SetBoolean(mirror::Object* object, uint8_t z) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 95 int8_t GetByte(mirror::Object* object) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 98 void SetByte(mirror::Object* object, int8_t b) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 100 uint16_t GetChar(mirror::Object* object) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 103 void SetChar(mirror::Object* object, uint16_t c) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 105 int16_t GetShort(mirror::Object* object) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 108 void SetShort(mirror::Object* object, int16_t s) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 110 int32_t GetInt(mirror::Object* object) SHARED_LOCKS_REQUIRE [all...] |
H A D | object_lock.cc | 19 #include "mirror/object-inl.h" 25 ObjectLock<T>::ObjectLock(Thread* self, Handle<T> object) : self_(self), obj_(object) { argument 26 CHECK(object.Get() != nullptr);
|
H A D | handle_scope-inl.h | 75 inline void HandleScope::SetReference(size_t i, mirror::Object* object) { argument 77 GetReferences()[i].Assign(object); 90 inline MutableHandle<T> StackHandleScope<kNumReferences>::NewHandle(T* object) { argument 91 SetReference(pos_, object); 98 inline HandleWrapper<T> StackHandleScope<kNumReferences>::NewHandleWrapper(T** object) { argument 99 SetReference(pos_, *object); 102 return HandleWrapper<T>(object, h); 106 inline void StackHandleScope<kNumReferences>::SetReference(size_t i, mirror::Object* object) { argument 108 VerifyObject(object); 109 GetReferences()[i].Assign(object); [all...] |
H A D | object_callbacks.h | 38 // A callback for visiting an object in the heap. 40 // A callback used for marking an object, returns the new address of the object if the object moved. 47 // A callback for testing if an object is marked, returns null if not marked, otherwise the new 48 // address the object (if the object didn't move, returns the object input parameter). 49 typedef mirror::Object* (IsMarkedCallback)(mirror::Object* object, void* arg) WARN_UNUSED; 51 // Returns true if the object i [all...] |
H A D | object_lock.h | 31 ObjectLock(Thread* self, Handle<T> object) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
H A D | handle_scope.h | 71 ALWAYS_INLINE void SetReference(size_t i, mirror::Object* object) 153 ALWAYS_INLINE MutableHandle<T> NewHandle(T* object) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 156 ALWAYS_INLINE HandleWrapper<T> NewHandleWrapper(T** object) 159 ALWAYS_INLINE void SetReference(size_t i, mirror::Object* object) 212 MutableHandle<T> NewHandle(T* object) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { 220 return scopes_.top()->NewHandle(object);
|
/art/test/435-new-instance/smali/ |
H A D | instance.smali | 30 return-object v4 38 return-object v4 46 return-object v4 54 return-object v4
|
/art/test/406-fields/src/ |
H A D | TestCase.java | 176 public static void assertNull(String message, Object object) { argument 177 if (object != null) { 182 public static void assertNull(Object object) { argument 183 assertNull("Expected null", object); 186 public static void assertNotNull(String message, Object object) { argument 187 if (object == null) { 192 public static void assertNotNull(Object object) { argument 193 assertNotNull("Expected non-null", object);
|
/art/test/407-arrays/src/ |
H A D | TestCase.java | 176 public static void assertNull(String message, Object object) { argument 177 if (object != null) { 182 public static void assertNull(Object object) { argument 183 assertNull("Expected null", object); 186 public static void assertNotNull(String message, Object object) { argument 187 if (object == null) { 192 public static void assertNotNull(Object object) { argument 193 assertNotNull("Expected non-null", object);
|
/art/test/412-new-array/src/ |
H A D | TestCase.java | 176 public static void assertNull(String message, Object object) { argument 177 if (object != null) { 182 public static void assertNull(Object object) { argument 183 assertNull("Expected null", object); 186 public static void assertNotNull(String message, Object object) { argument 187 if (object == null) { 192 public static void assertNotNull(Object object) { argument 193 assertNotNull("Expected non-null", object);
|
/art/test/414-static-fields/src/ |
H A D | TestCase.java | 176 public static void assertNull(String message, Object object) { argument 177 if (object != null) { 182 public static void assertNull(Object object) { argument 183 assertNull("Expected null", object); 186 public static void assertNotNull(String message, Object object) { argument 187 if (object == null) { 192 public static void assertNotNull(Object object) { argument 193 assertNotNull("Expected non-null", object);
|
/art/runtime/mirror/ |
H A D | object_array-inl.h | 68 inline bool ObjectArray<T>::CheckAssignable(T* object) { argument 69 if (object != nullptr) { 71 if (UNLIKELY(!object->InstanceOf(element_class))) { 72 ThrowArrayStoreException(object); 80 inline void ObjectArray<T>::Set(int32_t i, T* object) { argument 82 Set<true>(i, object); 84 Set<false>(i, object); 90 inline void ObjectArray<T>::Set(int32_t i, T* object) { argument 91 if (CheckIsValidIndex(i) && CheckAssignable<kVerifyFlags>(object)) { 92 SetFieldObject<kTransactionActive, kCheckTransaction, kVerifyFlags>(OffsetOfElement(i), object); local 100 SetWithoutChecks(int32_t i, T* object) argument 103 SetFieldObject<kTransactionActive, kCheckTransaction, kVerifyFlags>(OffsetOfElement(i), object); local 108 SetWithoutChecksAndWriteBarrier(int32_t i, T* object) argument 113 OffsetOfElement(i), object); local [all...] |
H A D | object_array.h | 42 // Returns true if the object can be stored into the array. If not, throws 46 bool CheckAssignable(T* object) NO_THREAD_SAFETY_ANALYSIS; 48 ALWAYS_INLINE void Set(int32_t i, T* object) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 52 ALWAYS_INLINE void Set(int32_t i, T* object) NO_THREAD_SAFETY_ANALYSIS; 60 ALWAYS_INLINE void SetWithoutChecks(int32_t i, T* object) NO_THREAD_SAFETY_ANALYSIS; 65 ALWAYS_INLINE void SetWithoutChecksAndWriteBarrier(int32_t i, T* object)
|
H A D | array.cc | 25 #include "object-inl.h" 124 void Array::ThrowArrayStoreException(Object* object) { argument 125 art::ThrowArrayStoreException(object->GetClass(), this->GetClass());
|
/art/test/021-string2/src/junit/framework/ |
H A D | Assert.java | 208 * Asserts that an object isn't null. 210 static public void assertNotNull(Object object) { argument 211 assertNotNull(null, object); 214 * Asserts that an object isn't null. If it is 217 static public void assertNotNull(String message, Object object) { argument 218 assertTrue(message, object != null); 221 * Asserts that an object is null. If it isn't an {@link AssertionError} is 223 * Message contains: Expected: <null> but was: object 225 * @param object 228 static public void assertNull(Object object) { argument 236 assertNull(String message, Object object) argument [all...] |
/art/test/082-inline-execute/src/junit/framework/ |
H A D | Assert.java | 208 * Asserts that an object isn't null. 210 static public void assertNotNull(Object object) { argument 211 assertNotNull(null, object); 214 * Asserts that an object isn't null. If it is 217 static public void assertNotNull(String message, Object object) { argument 218 assertTrue(message, object != null); 221 * Asserts that an object is null. If it isn't an {@link AssertionError} is 223 * Message contains: Expected: <null> but was: object 225 * @param object 228 static public void assertNull(Object object) { argument 236 assertNull(String message, Object object) argument [all...] |
/art/compiler/ |
H A D | image_writer.h | 72 T* GetImageAddress(T* object) const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { 73 return object == nullptr ? nullptr : 74 reinterpret_cast<T*>(image_begin_ + GetImageOffset(object)); 138 // failures due to invalid read barrier bits during object field reads. 144 // We use the lock word to store the bin # and bin index of the object in the image. 147 // stored in the lock word bit-for-bit when object forwarding addresses are being calculated. 152 // The bin an object belongs to, i.e. regular, class/verified, class/initialized, etc. 154 // The offset in bytes from the beginning of the bin. Aligned to object size. 166 // We use the lock word to store the offset of the object in the image. 167 void AssignImageOffset(mirror::Object* object, BinSlo [all...] |
H A D | image_writer.cc | 53 #include "mirror/object-inl.h" 227 void ImageWriter::SetImageOffset(mirror::Object* object, size_t offset) { argument 228 DCHECK(object != nullptr); 231 // The object is already deflated from when we set the bin slot. Just overwrite the lock word. 232 object->SetLockWord(LockWord::FromForwardingAddress(offset), false); 233 DCHECK_EQ(object->GetLockWord(false).ReadBarrierState(), 0u); 234 DCHECK(IsImageOffsetAssigned(object)); 243 void ImageWriter::AssignImageOffset(mirror::Object* object, ImageWriter::BinSlot bin_slot) { argument 244 DCHECK(object != nullptr); 251 SetImageOffset(object, new_offse 270 SetImageBinSlot(mirror::Object* object, BinSlot bin_slot) argument 276 Monitor::Deflate(Thread::Current(), object);; local 357 AssignImageBinSlot(mirror::Object* object) argument [all...] |
/art/patchoat/ |
H A D | patchoat.cc | 40 #include "mirror/object-inl.h" 495 void PatchOat::FixupNativePointerArray(mirror::PointerArray* object) { argument 496 if (object->IsIntArray()) { 497 mirror::IntArray* arr = object->AsIntArray(); 504 CHECK(object->IsLongArray()); 505 mirror::LongArray* arr = object->AsLongArray(); 586 void PatchOat::VisitObject(mirror::Object* object) { argument 587 mirror::Object* copy = RelocatedCopyOf(object); 590 object->AssertReadBarrierPointer(); 592 mirror::Object* moved_to = RelocatedAddressOfPointer(object); 642 FixupMethod(ArtMethod* object, ArtMethod* copy) argument [all...] |
/art/runtime/gc/collector/ |
H A D | mark_compact.cc | 42 #include "mirror/object-inl.h" 151 // Marking a large object, make sure its aligned as a sanity check. 172 MarkStackPush(obj); // This object was not previously marked. 178 // This object was not previously marked. 287 // The object must be pushed on to the mark stack. 380 // Update object references in mod union tables and spaces. 404 << "Didn't update large object classes since they are assumed to not move."; 498 inline bool MarkCompact::IsMarked(const Object* object) const { 499 if (immune_region_.ContainsObject(object)) { 502 if (objects_before_forwarding_->HasAddress(object)) { 508 IsMarkedCallback(mirror::Object* object, void* arg) argument [all...] |
H A D | mark_compact.h | 141 // Schedules an unmarked object for reference processing. 146 // Returns null if the object is not marked, otherwise returns the forwarding address (same as 147 // object for non movable things). 148 mirror::Object* GetMarkedForwardAddress(mirror::Object* object) const 152 static mirror::Object* MarkedForwardingAddressCallback(mirror::Object* object, void* arg) 156 // Marks or unmarks a large object based on whether or not set is true. If set is true, then we 168 // Push an object onto the mark stack. 192 // Move a single object to its forward address. 194 // Mark a single object. 199 static mirror::Object* IsMarkedCallback(mirror::Object* object, voi [all...] |
H A D | semi_space.h | 101 // Updates obj_ptr if the object has moved. 159 // Schedules an unmarked object for reference processing. 164 // Returns null if the object is not marked, otherwise returns the forwarding address (same as 165 // object for non movable things). 166 mirror::Object* GetMarkedForwardAddress(mirror::Object* object) const 170 static bool HeapReferenceMarkedCallback(mirror::HeapReference<mirror::Object>* object, void* arg) 174 static mirror::Object* MarkedForwardingAddressCallback(mirror::Object* object, void* arg) 178 // Marks or unmarks a large object based on whether or not set is true. If set is true, then we 190 // Push an object onto the mark stack. 208 // object [all...] |
/art/test/134-reg-promotion/smali/ |
H A D | Test.smali | 51 move-result-object v3
|