/art/runtime/mirror/ |
H A D | art_field-inl.h | 25 #include "object-inl.h" 58 inline uint32_t ArtField::Get32(const Object* object) const { 59 DCHECK(object != NULL) << PrettyField(this); 60 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); 61 return object->GetField32(GetOffset(), IsVolatile()); 64 inline void ArtField::Set32(Object* object, uint32_t new_value) const { argument 65 DCHECK(object != NULL) << PrettyField(this); 66 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); 67 object->SetField32(GetOffset(), new_value, IsVolatile()); 70 inline uint64_t ArtField::Get64(const Object* object) cons 76 Set64(Object* object, uint64_t new_value) const argument 88 SetObj(Object* object, const Object* new_value) const argument 100 SetBoolean(Object* object, bool z) const argument 112 SetByte(Object* object, int8_t b) const argument 124 SetChar(Object* object, uint16_t c) const argument 136 SetShort(Object* object, int16_t s) const argument 150 SetInt(Object* object, int32_t i) const argument 166 SetLong(Object* object, int64_t j) const argument 182 SetFloat(Object* object, float f) const argument 198 SetDouble(Object* object, double d) const argument 212 SetObject(Object* object, const Object* l) const argument [all...] |
H A D | art_field.h | 22 #include "object.h" 74 // field access, null object for static fields 75 bool GetBoolean(const Object* object) const 77 void SetBoolean(Object* object, bool z) const 79 int8_t GetByte(const Object* object) const 81 void SetByte(Object* object, int8_t b) const 83 uint16_t GetChar(const Object* object) const 85 void SetChar(Object* object, uint16_t c) const 87 int16_t GetShort(const Object* object) const 89 void SetShort(Object* object, int16_ [all...] |
H A D | object_array-inl.h | 51 inline bool ObjectArray<T>::CheckAssignable(T* object) { argument 52 if (object != NULL) { 54 if (UNLIKELY(!object->InstanceOf(element_class))) { 55 ThrowArrayStoreException(object); 63 inline void ObjectArray<T>::Set(int32_t i, T* object) { argument 64 if (LIKELY(IsValidIndex(i) && CheckAssignable(object))) { 66 SetFieldObject(data_offset, object, false); 73 inline void ObjectArray<T>::SetWithoutChecks(int32_t i, T* object) { argument 76 SetFieldObject(data_offset, object, false); 80 inline void ObjectArray<T>::SetPtrWithoutChecks(int32_t i, T* object) { argument 108 Object* object = src->GetFieldObject<Object*>(src_offset, false); local 119 Object* object = src->GetFieldObject<Object*>(src_offset, false); local [all...] |
H A D | object_array.h | 33 // Returns true if the object can be stored into the array. If not, throws 35 bool CheckAssignable(T* object) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 37 void Set(int32_t i, T* object) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 41 void SetWithoutChecks(int32_t i, T* object) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 45 void SetPtrWithoutChecks(int32_t i, T* object) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
H A D | array.cc | 24 #include "object-inl.h" 141 void Array::ThrowArrayStoreException(Object* object) const { 142 art::ThrowArrayStoreException(object->GetClass(), this->GetClass());
|
H A D | array.h | 20 #include "object.h" 85 void ThrowArrayStoreException(Object* object) const
|
/art/runtime/ |
H A D | sirt_ref.h | 29 SirtRef(Thread* self, T* object) : self_(self), sirt_(object) { argument 42 void reset(T* object = NULL) { 43 sirt_.SetReference(0, object);
|
H A D | root_visitor.h | 29 typedef bool (IsMarkedTester)(const mirror::Object* object, void* arg);
|
H A D | stack_indirect_reference_table.h | 34 explicit StackIndirectReferenceTable(mirror::Object* object) : argument 36 references_[0] = object; 61 void SetReference(size_t i, mirror::Object* object) { argument 63 references_[i] = object;
|
H A D | intern_table.cc | 22 #include "mirror/object-inl.h" 223 mirror::Object* object = it->second; local 224 if (!is_marked(object, arg)) {
|
H A D | intern_table_test.cc | 20 #include "mirror/object.h" 84 bool IsMarked(const mirror::Object* object, void* arg) { argument 85 return reinterpret_cast<TestPredicate*>(arg)->IsMarked(object);
|
H A D | monitor.cc | 28 #include "mirror/object-inl.h" 298 ThrowIllegalMonitorStateExceptionF("unlock of unowned monitor on object of type '%s'" 304 ThrowIllegalMonitorStateExceptionF("unlock of monitor owned by '%s' on object of type '%s'" 313 ThrowIllegalMonitorStateExceptionF("unlock of monitor owned by '%s' on object of type '%s'" 322 " owned by '%s') on object of type '%s' on thread '%s'", 328 ThrowIllegalMonitorStateExceptionF("unlock of monitor owned by '%s' on object of type '%s'" 398 ThrowIllegalMonitorStateExceptionF("object not locked by thread before wait()"); 453 // Set wait_monitor_ to the monitor object we will be waiting on. When wait_monitor_ is 533 ThrowIllegalMonitorStateExceptionF("object not locked by thread before notify()"); 560 ThrowIllegalMonitorStateExceptionF("object no 837 mirror::Object* object = NULL; local [all...] |
/art/compiler/ |
H A D | image_writer.h | 64 // We use the lock word to store the offset of the object in the image. 65 void AssignImageOffset(mirror::Object* object) 67 DCHECK(object != NULL); 68 SetImageOffset(object, image_end_); 69 image_end_ += RoundUp(object->SizeOf(), 8); // 64-bit alignment 73 void SetImageOffset(mirror::Object* object, size_t offset) { argument 74 DCHECK(object != NULL); 76 DCHECK(!IsImageOffsetAssigned(object)); 77 offsets_.Put(object, offset); 80 size_t IsImageOffsetAssigned(const mirror::Object* object) cons [all...] |
/art/compiler/llvm/ |
H A D | runtime_support_builder_thumb2.h | 31 virtual void EmitLockObject(::llvm::Value* object);
|
H A D | runtime_support_builder_arm.h | 39 virtual void EmitLockObject(::llvm::Value* object); 40 virtual void EmitUnlockObject(::llvm::Value* object);
|
H A D | runtime_support_builder_thumb2.cc | 20 #include "mirror/object.h" 45 void RuntimeSupportBuilderThumb2::EmitLockObject(Value* object) { argument 50 // $1: object 66 Value* retry_slow_path = irb_.CreateCall(func, object); 76 irb_.CreateCall2(slow_func, object, EmitGetCurrentThread());
|
H A D | runtime_support_builder_arm.cc | 122 void RuntimeSupportBuilderARM::EmitLockObject(Value* object) { argument 123 RuntimeSupportBuilder::EmitLockObject(object); 130 void RuntimeSupportBuilderARM::EmitUnlockObject(Value* object) { argument 131 RuntimeSupportBuilder::EmitUnlockObject(object);
|
H A D | runtime_support_builder.cc | 22 #include "mirror/object.h" 166 void RuntimeSupportBuilder::EmitLockObject(::llvm::Value* object) { argument 168 irb_.LoadFromObjectOffset(object, 197 irb_.CompareExchangeObjectOffset(object, 206 irb_.CreateCall2(slow_func, object, EmitGetCurrentThread()); 212 void RuntimeSupportBuilder::EmitUnlockObject(::llvm::Value* object) { argument 218 irb_.LoadFromObjectOffset(object, 238 irb_.StoreToObjectOffset(object, 246 irb_.CreateCall2(slow_func, object, EmitGetCurrentThread());
|
H A D | runtime_support_builder.h | 67 virtual void EmitLockObject(::llvm::Value* object); 68 virtual void EmitUnlockObject(::llvm::Value* object);
|
/art/test/021-string2/src/junit/framework/ |
H A D | Assert.java | 210 * Asserts that an object isn't null. 212 static public void assertNotNull(Object object) { argument 213 assertNotNull(null, object); 216 * Asserts that an object isn't null. If it is 219 static public void assertNotNull(String message, Object object) { argument 220 assertTrue(message, object != null); 223 * Asserts that an object is null. 225 static public void assertNull(Object object) { argument 226 assertNull(null, object); 229 * Asserts that an object i 232 assertNull(String message, Object object) argument [all...] |
/art/test/082-inline-execute/src/junit/framework/ |
H A D | Assert.java | 210 * Asserts that an object isn't null. 212 static public void assertNotNull(Object object) { argument 213 assertNotNull(null, object); 216 * Asserts that an object isn't null. If it is 219 static public void assertNotNull(String message, Object object) { argument 220 assertTrue(message, object != null); 223 * Asserts that an object is null. 225 static public void assertNull(Object object) { argument 226 assertNull(null, object); 229 * Asserts that an object i 232 assertNull(String message, Object object) argument [all...] |
/art/runtime/gc/space/ |
H A D | space_test.cc | 212 los = space::LargeObjectMapSpace::Create("large object space"); 214 los = space::FreeListSpace::Create("large object space", NULL, 128 * MB); 335 size_t last_object = 0; // last object for which allocation succeeded 352 mirror::Object* object; local 355 object = space->Alloc(self, alloc_size, &bytes_allocated); 357 object = space->AllocWithGrowth(self, alloc_size, &bytes_allocated); 361 if (object != NULL) { // allocation succeeded 362 lots_of_objects.get()[i] = object; 363 size_t allocation_size = space->AllocationSize(object); 411 mirror::Object* object local [all...] |
/art/runtime/native/ |
H A D | java_lang_Thread.cc | 21 #include "mirror/object.h" 93 mirror::Object* object = soa.Decode<mirror::Object*>(java_object); local 94 if (object == NULL) { 95 ThrowNullPointerException(NULL, "object == null"); 100 return thread->HoldsLock(object);
|
/art/runtime/jdwp/ |
H A D | object_registry.cc | 60 // This object was already in our map. 65 // This object isn't in the registry yet, so add it. 200 mirror::Object* object = self->DecodeJObject(entry.jni_reference); local 206 object_to_entry_.erase(object);
|
/art/runtime/gc/collector/ |
H A D | mark_sweep.h | 159 // Blackens an object. 213 // Verify that an object is live, either in a live bitmap or in the allocation stack. 228 // Marks an object. 242 // Returns true if the object has its bit set in the mark bitmap. 243 bool IsMarked(const mirror::Object* object) const; 245 static bool IsMarkedCallback(const mirror::Object* object, void* arg) 248 static bool IsMarkedArrayCallback(const mirror::Object* object, void* arg) 263 // Unmarks an object by clearing the bit inside of the corresponding bitmap, or if it is in a 264 // space set, removing the object from the set. 274 // Marks an object atomicall [all...] |