Home
last modified time | relevance | path

Searched refs:object (Results 1 – 25 of 269) sorted by relevance

1234567891011

/art/test/423-invoke-interface/src/
DMain.java98 public static void $opt$InvokeInterface(Itf object, int factor) { in $opt$InvokeInterface() argument
99 assertEquals(factor * 1, object.return1()); in $opt$InvokeInterface()
100 assertEquals(factor * 2, object.return2()); in $opt$InvokeInterface()
101 assertEquals(factor * 3, object.return3()); in $opt$InvokeInterface()
102 assertEquals(factor * 4, object.return4()); in $opt$InvokeInterface()
103 assertEquals(factor * 5, object.return5()); in $opt$InvokeInterface()
104 assertEquals(factor * 6, object.return6()); in $opt$InvokeInterface()
105 assertEquals(factor * 7, object.return7()); in $opt$InvokeInterface()
106 assertEquals(factor * 8, object.return8()); in $opt$InvokeInterface()
107 assertEquals(factor * 9, object.return9()); in $opt$InvokeInterface()
[all …]
/art/runtime/
Dart_field-inl.h63 inline uint32_t ArtField::Get32(mirror::Object* object) { in Get32() argument
64 DCHECK(object != nullptr) << PrettyField(this); in Get32()
65 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Get32()
67 return object->GetField32Volatile(GetOffset()); in Get32()
69 return object->GetField32(GetOffset()); in Get32()
73 inline void ArtField::Set32(mirror::Object* object, uint32_t new_value) { in Set32() argument
74 DCHECK(object != nullptr) << PrettyField(this); in Set32()
75 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Set32()
77 object->SetField32Volatile<kTransactionActive>(GetOffset(), new_value); in Set32()
79 object->SetField32<kTransactionActive>(GetOffset(), new_value); in Set32()
[all …]
Dart_field.h89 uint8_t GetBoolean(mirror::Object* object) SHARED_REQUIRES(Locks::mutator_lock_);
92 void SetBoolean(mirror::Object* object, uint8_t z) SHARED_REQUIRES(Locks::mutator_lock_);
94 int8_t GetByte(mirror::Object* object) SHARED_REQUIRES(Locks::mutator_lock_);
97 void SetByte(mirror::Object* object, int8_t b) SHARED_REQUIRES(Locks::mutator_lock_);
99 uint16_t GetChar(mirror::Object* object) SHARED_REQUIRES(Locks::mutator_lock_);
102 void SetChar(mirror::Object* object, uint16_t c) SHARED_REQUIRES(Locks::mutator_lock_);
104 int16_t GetShort(mirror::Object* object) SHARED_REQUIRES(Locks::mutator_lock_);
107 void SetShort(mirror::Object* object, int16_t s) SHARED_REQUIRES(Locks::mutator_lock_);
109 int32_t GetInt(mirror::Object* object) SHARED_REQUIRES(Locks::mutator_lock_);
112 void SetInt(mirror::Object* object, int32_t i) SHARED_REQUIRES(Locks::mutator_lock_);
[all …]
Dhandle_scope-inl.h85 inline void HandleScope::SetReference(size_t i, mirror::Object* object) { in SetReference() argument
90 GetReferences()[i].Assign(object); in SetReference()
103 inline MutableHandle<T> StackHandleScope<kNumReferences>::NewHandle(T* object) { in NewHandle() argument
104 SetReference(pos_, object); in NewHandle()
111 inline HandleWrapper<T> StackHandleScope<kNumReferences>::NewHandleWrapper(T** object) { in NewHandleWrapper() argument
112 SetReference(pos_, *object); in NewHandleWrapper()
115 return HandleWrapper<T>(object, h); in NewHandleWrapper()
119 inline void StackHandleScope<kNumReferences>::SetReference(size_t i, mirror::Object* object) { in SetReference() argument
124 VerifyObject(object); in SetReference()
125 GetReferences()[i].Assign(object); in SetReference()
Dobject_lock.cc25 ObjectLock<T>::ObjectLock(Thread* self, Handle<T> object) : self_(self), obj_(object) { in ObjectLock() argument
26 CHECK(object.Get() != nullptr); in ObjectLock()
/art/test/004-JniTest/
Dexpected.txt9 RUNNING super object, super class, super nonstatic
11 PASSED super object, super class, super nonstatic
13 RUNNING super object, sub class, super nonstatic
15 PASSED super object, sub class, super nonstatic
18 RUNNING sub object, super class, super nonstatic
20 PASSED sub object, super class, super nonstatic
23 RUNNING sub object, sub class, super nonstatic
25 PASSED sub object, sub class, super nonstatic
28 RUNNING sub object, sub class, sub nonstatic
30 PASSED sub object, sub class, sub nonstatic
[all …]
/art/test/412-new-array/smali/
Dfilled_new_array.smali8 move-result-object v0
9 return-object v0
15 move-result-object v0
16 return-object v0
22 move-result-object v0
23 return-object v0
29 move-result-object v0
30 return-object v0
36 move-result-object v0
37 return-object v0
[all …]
/art/test/800-smali/smali/
Db_22881413.smali49 sget-object v0, LB22881413;->unresBase0:La/b/c/dBase0;
130 # sget-object v0, LB22881413;->res1:Ljava/lang/Number;
136 # sget-object v0, LB22881413;->unresX:La/b/c/dX;
143 sget-object v0, LB22881413;->res1:Ljava/lang/Number;
149 sget-object v0, LB22881413;->res2:Ljava/lang/ClassLoader;
155 sget-object v0, LB22881413;->res3:Ljava/lang/Package;
161 sget-object v0, LB22881413;->res4:Ljava/lang/RuntimeException;
167 sget-object v0, LB22881413;->res5:Ljava/lang/Exception;
173 sget-object v0, LB22881413;->res6:Ljava/util/ArrayList;
179 sget-object v0, LB22881413;->res7:Ljava/util/LinkedList;
[all …]
Db_27799205_3.smali12 # Use some non-object non-array input (non-Object because the merge should be Object).
24 move-object v0, v3
28 move-object v0, v4
34 # Test aput-object: v0[v2] = v1. Should fail for v0 not being an array.
35 aput-object v1, v0, v2
Db_27799205_4.smali24 move-object v0, v3
28 move-object v0, v4
34 # Test aput-object: v0[v2] = v1. Should fail for v0 not being an array.
35 aput-object v1, v0, v2
Db_27799205_5.smali24 move-object v0, v3
28 move-object v0, v4
34 # Test aput-object: v0[v2] = v1. Should fail for v0 not being an array.
35 aput-object v1, v0, v2
/art/test/011-array-copy/
Dexpected.txt1 string -> object
2 object -> string
3 object -> string (modified)
/art/test/407-arrays/src/
DTestCase.java176 public static void assertNull(String message, Object object) { in assertNull() argument
177 if (object != null) { in assertNull()
182 public static void assertNull(Object object) { in assertNull() argument
183 assertNull("Expected null", object); in assertNull()
186 public static void assertNotNull(String message, Object object) { in assertNotNull() argument
187 if (object == null) { in assertNotNull()
192 public static void assertNotNull(Object object) { in assertNotNull() argument
193 assertNotNull("Expected non-null", object); in assertNotNull()
/art/test/414-static-fields/src/
DTestCase.java176 public static void assertNull(String message, Object object) { in assertNull() argument
177 if (object != null) { in assertNull()
182 public static void assertNull(Object object) { in assertNull() argument
183 assertNull("Expected null", object); in assertNull()
186 public static void assertNotNull(String message, Object object) { in assertNotNull() argument
187 if (object == null) { in assertNotNull()
192 public static void assertNotNull(Object object) { in assertNotNull() argument
193 assertNotNull("Expected non-null", object); in assertNotNull()
/art/test/412-new-array/src/
DTestCase.java176 public static void assertNull(String message, Object object) { in assertNull() argument
177 if (object != null) { in assertNull()
182 public static void assertNull(Object object) { in assertNull() argument
183 assertNull("Expected null", object); in assertNull()
186 public static void assertNotNull(String message, Object object) { in assertNotNull() argument
187 if (object == null) { in assertNotNull()
192 public static void assertNotNull(Object object) { in assertNotNull() argument
193 assertNotNull("Expected non-null", object); in assertNotNull()
/art/test/406-fields/src/
DTestCase.java176 public static void assertNull(String message, Object object) { in assertNull() argument
177 if (object != null) { in assertNull()
182 public static void assertNull(Object object) { in assertNull() argument
183 assertNull("Expected null", object); in assertNull()
186 public static void assertNotNull(String message, Object object) { in assertNotNull() argument
187 if (object == null) { in assertNotNull()
192 public static void assertNotNull(Object object) { in assertNotNull() argument
193 assertNotNull("Expected non-null", object); in assertNotNull()
/art/runtime/mirror/
Dobject_array-inl.h68 inline bool ObjectArray<T>::CheckAssignable(T* object) { in CheckAssignable() argument
69 if (object != nullptr) { in CheckAssignable()
71 if (UNLIKELY(!object->InstanceOf(element_class))) { in CheckAssignable()
72 ThrowArrayStoreException(object); in CheckAssignable()
80 inline void ObjectArray<T>::Set(int32_t i, T* object) { in Set() argument
82 Set<true>(i, object); in Set()
84 Set<false>(i, object); in Set()
90 inline void ObjectArray<T>::Set(int32_t i, T* object) { in Set() argument
91 if (CheckIsValidIndex(i) && CheckAssignable<kVerifyFlags>(object)) { in Set()
92 SetFieldObject<kTransactionActive, kCheckTransaction, kVerifyFlags>(OffsetOfElement(i), object); in Set()
[all …]
Dobject_array.h48 bool CheckAssignable(T* object) NO_THREAD_SAFETY_ANALYSIS;
50 ALWAYS_INLINE void Set(int32_t i, T* object) SHARED_REQUIRES(Locks::mutator_lock_);
54 ALWAYS_INLINE void Set(int32_t i, T* object) NO_THREAD_SAFETY_ANALYSIS;
62 ALWAYS_INLINE void SetWithoutChecks(int32_t i, T* object) NO_THREAD_SAFETY_ANALYSIS;
67 ALWAYS_INLINE void SetWithoutChecksAndWriteBarrier(int32_t i, T* object)
/art/test/dexdump/
Dcheckers.txt78 0014ba: 0c00 |0003: move-result-object v0
84 0014d4: 5420 0100 |0010: iget-object v0, v2, Lcom/google/android/check…
129 00153a: 0c02 |000d: move-result-object v2
131 001542: 5b60 0100 |0011: iput-object v0, v6, Lcom/google/android/check…
141 001568: 5460 0100 |0024: iget-object v0, v6, Lcom/google/android/check…
143 001572: 5460 0100 |0029: iget-object v0, v6, Lcom/google/android/check…
181 0015e0: 0c00 |001c: move-result-object v0
184 0015ec: 0c01 |0022: move-result-object v1
186 0015f4: 0c01 |0026: move-result-object v1
187 0015f6: 5492 0100 |0027: iget-object v2, v9, Lcom/google/android/check…
[all …]
/art/compiler/
Dimage_writer.h79 T* GetImageAddress(T* object) const SHARED_REQUIRES(Locks::mutator_lock_) { in GetImageAddress() argument
80 if (object == nullptr || IsInBootImage(object)) { in GetImageAddress()
81 return object; in GetImageAddress()
83 size_t oat_index = GetOatIndex(object); in GetImageAddress()
85 return reinterpret_cast<T*>(image_info.image_begin_ + GetImageOffset(object)); in GetImageAddress()
310 void AssignImageOffset(mirror::Object* object, BinSlot bin_slot)
312 void SetImageOffset(mirror::Object* object, size_t offset)
314 bool IsImageOffsetAssigned(mirror::Object* object) const
316 size_t GetImageOffset(mirror::Object* object) const SHARED_REQUIRES(Locks::mutator_lock_);
321 void AssignImageBinSlot(mirror::Object* object) SHARED_REQUIRES(Locks::mutator_lock_);
[all …]
/art/test/082-inline-execute/src/junit/framework/
DAssert.java210 static public void assertNotNull(Object object) { in assertNotNull() argument
211 assertNotNull(null, object); in assertNotNull()
217 static public void assertNotNull(String message, Object object) { in assertNotNull() argument
218 assertTrue(message, object != null); in assertNotNull()
228 static public void assertNull(Object object) { in assertNull() argument
229 String message = "Expected: <null> but was: " + String.valueOf(object); in assertNull()
230 assertNull(message, object); in assertNull()
236 static public void assertNull(String message, Object object) { in assertNull() argument
237 assertTrue(message, object == null); in assertNull()
/art/test/021-string2/src/junit/framework/
DAssert.java210 static public void assertNotNull(Object object) { in assertNotNull() argument
211 assertNotNull(null, object); in assertNotNull()
217 static public void assertNotNull(String message, Object object) { in assertNotNull() argument
218 assertTrue(message, object != null); in assertNotNull()
228 static public void assertNull(Object object) { in assertNull() argument
229 String message = "Expected: <null> but was: " + String.valueOf(object); in assertNull()
230 assertNull(message, object); in assertNull()
236 static public void assertNull(String message, Object object) { in assertNull() argument
237 assertTrue(message, object == null); in assertNull()
/art/runtime/interpreter/mterp/arm/
Dop_iput_quick.S6 GET_VREG r3, r2 @ r3<- fp[B], the object pointer
8 cmp r3, #0 @ check object for null
9 beq common_errNullObject @ object was null
Dop_iput_wide_quick.S4 GET_VREG r2, r2 @ r2<- fp[B], the object pointer
6 cmp r2, #0 @ check object for null
7 beq common_errNullObject @ object was null
/art/test/972-default-imt-collision/smali/
DKlass.smali292 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
303 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
314 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
325 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
336 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
347 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
358 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
369 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
380 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
391 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
[all …]

1234567891011