Home
last modified time | relevance | path

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

12345678910>>...14

/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.h55 inline uint32_t ArtField::Get32(ObjPtr<mirror::Object> object) { in Get32() argument
56 DCHECK(object != nullptr) << PrettyField(); in Get32()
57 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Get32()
59 return object->GetField32Volatile(GetOffset()); in Get32()
61 return object->GetField32(GetOffset()); in Get32()
65 inline void ArtField::Set32(ObjPtr<mirror::Object> object, uint32_t new_value) { in Set32() argument
66 DCHECK(object != nullptr) << PrettyField(); in Set32()
67 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Set32()
69 object->SetField32Volatile<kTransactionActive>(GetOffset(), new_value); in Set32()
71 object->SetField32<kTransactionActive>(GetOffset(), new_value); in Set32()
[all …]
Dart_field.h104 uint8_t GetBoolean(ObjPtr<mirror::Object> object) REQUIRES_SHARED(Locks::mutator_lock_);
107 void SetBoolean(ObjPtr<mirror::Object> object, uint8_t z) REQUIRES_SHARED(Locks::mutator_lock_);
109 int8_t GetByte(ObjPtr<mirror::Object> object) REQUIRES_SHARED(Locks::mutator_lock_);
112 void SetByte(ObjPtr<mirror::Object> object, int8_t b) REQUIRES_SHARED(Locks::mutator_lock_);
114 uint16_t GetChar(ObjPtr<mirror::Object> object) REQUIRES_SHARED(Locks::mutator_lock_);
117 void SetChar(ObjPtr<mirror::Object> object, uint16_t c) REQUIRES_SHARED(Locks::mutator_lock_);
119 int16_t GetShort(ObjPtr<mirror::Object> object) REQUIRES_SHARED(Locks::mutator_lock_);
122 void SetShort(ObjPtr<mirror::Object> object, int16_t s) REQUIRES_SHARED(Locks::mutator_lock_);
124 int32_t GetInt(ObjPtr<mirror::Object> object) REQUIRES_SHARED(Locks::mutator_lock_);
127 void SetInt(ObjPtr<mirror::Object> object, int32_t i) REQUIRES_SHARED(Locks::mutator_lock_);
[all …]
Dobject_lock.cc26 ObjectLock<T>::ObjectLock(Thread* self, Handle<T> object) : self_(self), obj_(object) { in ObjectLock() argument
27 CHECK(object != nullptr); in ObjectLock()
52 ObjectTryLock<T>::ObjectTryLock(Thread* self, Handle<T> object) : self_(self), obj_(object) { in ObjectTryLock() argument
53 CHECK(object != nullptr); in ObjectTryLock()
Dhandle_scope-inl.h92 inline void HandleScope::SetReference(size_t i, mirror::Object* object) { in SetReference() argument
97 GetReferences()[i].Assign(object); in SetReference()
110 inline MutableHandle<T> FixedSizeHandleScope<kNumReferences>::NewHandle(T* object) { in NewHandle() argument
111 SetReference(pos_, object); in NewHandle()
119 ObjPtr<MirrorType> object) { in NewHandle() argument
120 return NewHandle(object.Ptr()); in NewHandle()
124 inline HandleWrapper<T> FixedSizeHandleScope<kNumReferences>::NewHandleWrapper(T** object) { in NewHandleWrapper() argument
125 return HandleWrapper<T>(object, NewHandle(*object)); in NewHandleWrapper()
130 ObjPtr<T>* object) { in NewHandleWrapper() argument
131 return HandleWrapperObjPtr<T>(object, NewHandle(*object)); in NewHandleWrapper()
[all …]
/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/tools/ahat/test/
DObjectHandlerTest.java31 AhatInstance object = dump.getDumpedAhatInstance("aPhantomReference"); in noCrashClassInstance() local
32 assertNotNull(object); in noCrashClassInstance()
35 TestHandler.testNoCrash(handler, "http://localhost:7100/object?id=" + object.getId()); in noCrashClassInstance()
45 AhatInstance object = snapshot.findClass("Main"); in noCrashClassObj() local
46 assertNotNull(object); in noCrashClassObj()
48 TestHandler.testNoCrash(handler, "http://localhost:7100/object?id=" + object.getId()); in noCrashClassObj()
58 AhatInstance object = snapshot.findClass("java.lang.String"); in noCrashSystemClassObj() local
59 assertNotNull(object); in noCrashSystemClassObj()
61 TestHandler.testNoCrash(handler, "http://localhost:7100/object?id=" + object.getId()); in noCrashSystemClassObj()
68 AhatInstance object = dump.getDumpedAhatInstance("gcPathArray"); in noCrashArrayInstance() local
[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/990-field-trace/
Dexpected.txt1 MODIFY of int art.Test990$TestClass1.xyz on object of type: class art.Test990$TestClass1 in method …
2 MODIFY of java.lang.Object art.Test990$TestClass1.abc on object of type: class art.Test990$TestClas…
3 MODIFY of static long art.Test990$TestClass2.TOTAL on object of type: null in method art.Test990$Te…
4 MODIFY of int art.Test990$TestClass1.xyz on object of type: class art.Test990$TestClass2 in method …
5 MODIFY of java.lang.Object art.Test990$TestClass1.abc on object of type: class art.Test990$TestClas…
6 MODIFY of long art.Test990$TestClass2.baz on object of type: class art.Test990$TestClass2 in method…
7 MODIFY of int art.Test990$TestClass1.xyz on object of type: class art.Test990$TestClass1 in method …
8 MODIFY of java.lang.Object art.Test990$TestClass1.abc on object of type: class art.Test990$TestClas…
9 MODIFY of int art.Test990$TestClass1.xyz on object of type: class art.Test990$TestClass1 in method …
10 MODIFY of java.lang.Object art.Test990$TestClass1.abc on object of type: class art.Test990$TestClas…
[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
/art/test/955-methodhandles-smali/smali/
DMain.smali21 # the public lookup object.
25 # Get a reference to the public lookup object (MethodHandles.publicLookup()).
27 move-result-object v0
31 move-result-object v1
32 return-object v1
38 # the public lookup object.
42 # Get a reference to the public lookup object (MethodHandles.publicLookup()).
44 move-result-object v0
48 move-result-object v1
49 return-object v1
[all …]
/art/test/011-array-copy/
Dexpected.txt1 string -> object
2 object -> string
3 object -> string (modified)
/art/test/920-objects/
Dobjects.cc31 JNIEnv* env ATTRIBUTE_UNUSED, jclass klass ATTRIBUTE_UNUSED, jobject object) { in Java_art_Test920_getObjectSize() argument
34 jvmtiError result = jvmti_env->GetObjectSize(object, &size); in Java_art_Test920_getObjectSize()
47 JNIEnv* env ATTRIBUTE_UNUSED, jclass klass ATTRIBUTE_UNUSED, jobject object) { in Java_art_Test920_getObjectHashCode() argument
50 jvmtiError result = jvmti_env->GetObjectHashCode(object, &hash); in Java_art_Test920_getObjectHashCode()
/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/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/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/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/openjdkjvmti/
Dti_object.cc52 art::ObjPtr<art::mirror::Object> object = soa.Decode<art::mirror::Object>(jobject); in GetObjectSize() local
54 *size_ptr = object->SizeOf(); in GetObjectSize()
69 art::ObjPtr<art::mirror::Object> object = soa.Decode<art::mirror::Object>(jobject); in GetObjectHashCode() local
71 *hash_code_ptr = object->IdentityHashCode(); in GetObjectHashCode()
/art/test/dexdump/
Dinvoke-custom.txt82 0009b8: 6200 0200 |0000: sget-object v0, Ljava/lang/System;.out:Ljava/…
192 000a1c: 6200 0200 |0006: sget-object v0, Ljava/lang/System;.out:Ljava/…
197 000a34: 0c01 |0012: move-result-object v1
199 000a3c: 0c01 |0016: move-result-object v1
202 000a48: 0c01 |001c: move-result-object v1
204 000a50: 0c01 |0020: move-result-object v1
227 000a6c: 6200 0200 |0000: sget-object v0, Ljava/lang/System;.out:Ljava/…
232 000a84: 0c01 |000c: move-result-object v1
234 000a8c: 0c01 |0010: move-result-object v1
237 000a98: 0c01 |0016: move-result-object v1
[all …]
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/test/586-checker-null-array-get/smali/
DSmaliTests.smali47 move-result-object v0
51 aget-object v2, v0, v3
52 sput-object v2, LMain;->objectField:Ljava/lang/Object;
54 aget-object v2, v0, v4
55 sput-object v2, LMain;->objectField:Ljava/lang/Object;
57 aget-object v2, v0, v5
58 sput-object v2, LMain;->objectField:Ljava/lang/Object;
60 aget-object v2, v0, v6
61 sput-object v2, LMain;->objectField:Ljava/lang/Object;
65 move-result-object v1
/art/test/991-field-trace-2/
Dexpected.txt4 …ACCESS of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in…
7 …MODIFY of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in…
12 …ACCESS of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in…
18 …ACCESS of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in…
21 …MODIFY of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in…
27 …ACCESS of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in…
30 …MODIFY of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in…
35 …ACCESS of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in…
38 …MODIFY of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in…
43 …ACCESS of public int art.Test991$TestClass1.xyz on object of type: class art.Test991$TestClass1 in…
[all …]
/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
/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()

12345678910>>...14