/art/test/423-invoke-interface/src/ |
D | Main.java | 98 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/ |
D | art_field-inl.h | 72 inline uint32_t ArtField::Get32(ObjPtr<mirror::Object> object) { in Get32() argument 73 DCHECK(object != nullptr) << PrettyField(); in Get32() 74 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Get32() 76 return object->GetField32Volatile(GetOffset()); in Get32() 78 return object->GetField32(GetOffset()); in Get32() 82 inline void ArtField::Set32(ObjPtr<mirror::Object> object, uint32_t new_value) { in Set32() argument 83 DCHECK(object != nullptr) << PrettyField(); in Set32() 84 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Set32() 86 object->SetField32Volatile<kTransactionActive>(GetOffset(), new_value); in Set32() 88 object->SetField32<kTransactionActive>(GetOffset(), new_value); in Set32() [all …]
|
D | art_field.h | 112 uint8_t GetBoolean(ObjPtr<mirror::Object> object) REQUIRES_SHARED(Locks::mutator_lock_); 115 void SetBoolean(ObjPtr<mirror::Object> object, uint8_t z) REQUIRES_SHARED(Locks::mutator_lock_); 117 int8_t GetByte(ObjPtr<mirror::Object> object) REQUIRES_SHARED(Locks::mutator_lock_); 120 void SetByte(ObjPtr<mirror::Object> object, int8_t b) REQUIRES_SHARED(Locks::mutator_lock_); 122 uint16_t GetChar(ObjPtr<mirror::Object> object) REQUIRES_SHARED(Locks::mutator_lock_); 125 void SetChar(ObjPtr<mirror::Object> object, uint16_t c) REQUIRES_SHARED(Locks::mutator_lock_); 127 int16_t GetShort(ObjPtr<mirror::Object> object) REQUIRES_SHARED(Locks::mutator_lock_); 130 void SetShort(ObjPtr<mirror::Object> object, int16_t s) REQUIRES_SHARED(Locks::mutator_lock_); 132 int32_t GetInt(ObjPtr<mirror::Object> object) REQUIRES_SHARED(Locks::mutator_lock_); 135 void SetInt(ObjPtr<mirror::Object> object, int32_t i) REQUIRES_SHARED(Locks::mutator_lock_); [all …]
|
D | object_lock.cc | 26 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()
|
D | handle_scope-inl.h | 95 inline void HandleScope::SetReference(size_t i, ObjPtr<mirror::Object> object) { in SetReference() argument 100 GetReferences()[i].Assign(object); in SetReference() 122 inline MutableHandle<T> FixedSizeHandleScope<kNumReferences>::NewHandle(T* object) { in NewHandle() argument 123 return NewHandle(ObjPtr<T>(object)); in NewHandle() 128 ObjPtr<MirrorType> object) { in NewHandle() argument 129 SetReference(pos_, object); in NewHandle() 136 inline HandleWrapper<T> FixedSizeHandleScope<kNumReferences>::NewHandleWrapper(T** object) { in NewHandleWrapper() argument 137 return HandleWrapper<T>(object, NewHandle(*object)); in NewHandleWrapper() 142 ObjPtr<T>* object) { in NewHandleWrapper() argument 143 return HandleWrapperObjPtr<T>(object, NewHandle(*object)); in NewHandleWrapper() [all …]
|
/art/test/004-JniTest/ |
D | expected.txt | 10 RUNNING super object, super class, super nonstatic 12 PASSED super object, super class, super nonstatic 14 RUNNING super object, sub class, super nonstatic 16 PASSED super object, sub class, super nonstatic 19 RUNNING sub object, super class, super nonstatic 21 PASSED sub object, super class, super nonstatic 24 RUNNING sub object, sub class, super nonstatic 26 PASSED sub object, sub class, super nonstatic 29 RUNNING sub object, sub class, sub nonstatic 31 PASSED sub object, sub class, sub nonstatic [all …]
|
/art/tools/ahat/src/test/com/android/ahat/ |
D | ObjectHandlerTest.java | 31 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 = dump.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 = dump.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/ |
D | filled_new_array.smali | 8 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/ |
D | expected.txt | 1 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/1929-exception-catch-exception/smali/art/ |
D | Test1929$Impl.smali | 71 sget-object v1, Ljava/lang/System;->out:Ljava/io/PrintStream; 81 move-result-object v2 85 move-result-object v3 89 move-result-object v3 93 move-result-object v2 99 move-result-object v2 103 move-result-object v3 107 move-result-object v2 113 move-result-object v2 117 move-result-object v2 [all …]
|
/art/test/800-smali/smali/ |
D | b_22881413.smali | 49 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 …]
|
D | b_27799205_3.smali | 12 # 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/ |
D | Main.smali | 21 # 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/586-checker-null-array-get/smali/ |
D | SmaliTests.smali | 47 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 [all …]
|
/art/test/011-array-copy/ |
D | expected.txt | 1 string -> object 2 object -> string 3 object -> string (modified)
|
/art/test/920-objects/ |
D | objects.cc | 31 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/runtime/entrypoints/quick/ |
D | quick_lock_entrypoints.cc | 32 ObjPtr<mirror::Object> object = obj->MonitorEnter(self); // May block in artLockObjectFromCode() local 33 DCHECK(self->HoldsLock(object)); in artLockObjectFromCode() 41 bool unlocked = object->MonitorExit(self); in artLockObjectFromCode() 45 DCHECK(self->HoldsLock(object)); in artLockObjectFromCode()
|
/art/openjdkjvmti/ |
D | ti_object.h | 42 static jvmtiError GetObjectSize(jvmtiEnv* env, jobject object, jlong* size_ptr); 44 static jvmtiError GetObjectHashCode(jvmtiEnv* env, jobject object, jint* hash_code_ptr); 46 static jvmtiError GetObjectMonitorUsage(jvmtiEnv* env, jobject object, jvmtiMonitorUsage* usage);
|
/art/test/406-fields/src/ |
D | TestCase.java | 176 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/ |
D | TestCase.java | 176 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/ |
D | TestCase.java | 176 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/ |
D | TestCase.java | 176 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/161-final-abstract-class/smali/ |
D | Main.smali | 63 sget-object p0, Ljava/lang/System;->out:Ljava/io/PrintStream; 79 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream; 100 move-result-object p0 111 move-result-object p0 121 sget-object p0, Ljava/lang/System;->out:Ljava/io/PrintStream; 137 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream; 150 move-result-object v0 157 sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream; 166 move-result-object v2 170 move-result-object v2 [all …]
|
/art/test/991-field-trace-2/ |
D | expected.txt | 4 …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/test/699-checker-string-append2/smali/ |
D | B146014745.smali | 31 move-result-object v1 35 move-result-object v1 37 move-result-object v1 39 move-result-object v1 40 return-object v1 53 move-result-object v1 55 move-result-object v1 57 move-result-object v1 60 move-result-object v1 62 move-result-object v1 [all …]
|