/dalvik/dx/tests/070-dex-multianewarray/ |
D | Blort.java | 19 public static Object test01() { in test01() 20 Object[][] x = new Object[2][5]; in test01() 24 public static Object test02() { in test02() 25 Object[][][] x = new Object[4][1][]; in test02() 29 public static Object test03() { in test03() 30 Object[][][] x = new Object[7][2][4]; in test03() 34 public static Object test04() { in test04() 35 Object[][][] x = new Object[3][0][0]; in test04() 39 public static Object test05() { in test05() 40 Object[][][][] x = new Object[1][3][5][7]; in test05() [all …]
|
/dalvik/dx/tests/090-dex-unify-arrays/ |
D | Blort.java | 24 static public Object test1(boolean b) { in test1() 29 Object o = b ? (Object) new int[1] : new float[1]; in test2() 34 Object o = b ? (Object) new char[1] : new double[1]; in test3() 39 Object o = b ? (Object) new long[1] : new boolean[1]; in test4() 44 Object o = b ? (Object) new short[1] : new Object[1]; in test5() 49 Object o = b ? (Object) new byte[1] : new boolean[1]; in test6() 53 static public Object test7(boolean b) { in test7() 57 static public Object[] test8(boolean b) { in test8()
|
/dalvik/vm/alloc/ |
D | Verify.cpp | 30 Object *obj = *(Object **)pObj; in dumpReferencesVisitor() 31 Object *lookingFor = *(Object **)arg; in dumpReferencesVisitor() 33 *(Object **)arg = NULL; in dumpReferencesVisitor() 41 static void dumpReferencesCallback(Object *obj, void *arg) in dumpReferencesCallback() 43 if (obj == (Object *)arg) { in dumpReferencesCallback() 60 Object *obj = *(Object **)ptr; in dumpReferencesRootVisitor() 61 Object *lookingFor = *(Object **)arg; in dumpReferencesRootVisitor() 70 static void dumpReferences(const Object *obj) in dumpReferences() 83 Object *obj; in verifyReference() 87 obj = *(Object **)addr; in verifyReference() [all …]
|
D | MarkSweep.h | 25 const Object **limit; 29 const Object **top; 33 const Object **base; 54 void dvmHeapProcessReferences(Object **softReferences, bool clearSoftRefs, 55 Object **weakReferences, 56 Object **finalizerReferences, 57 Object **phantomReferences); 62 void dvmEnqueueClearedReferences(Object **references);
|
D | Alloc.h | 64 extern "C" Object* dvmAllocObject(ClassObject* clazz, int flags); 73 extern "C" void dvmAddTrackedAlloc(Object* obj, Thread* self); 82 extern "C" void dvmReleaseTrackedAlloc(Object* obj, Thread* self); 87 bool dvmIsZygoteObject(const Object* obj); 94 Object* dvmCloneObject(Object* obj, int flags); 99 extern "C" void dvmSetFinalizable(Object* obj); 105 size_t dvmObjectSizeInHeap(const Object* obj); 149 bool dvmIsNonMovingObject(const Object* object);
|
D | MarkSweep.cpp | 35 static bool isMarked(const Object *obj, const GcMarkContext *ctx) in isMarked() 46 size_t length = dvmHeapSourceGetIdealFootprint() * sizeof(Object*) / in createMarkStack() 47 (sizeof(Object) + HEAP_SOURCE_CHUNK_OVERHEAD); in createMarkStack() 67 static void markStackPush(GcMarkStack *stack, const Object *obj) in markStackPush() 80 static const Object *markStackPop(GcMarkStack *stack) in markStackPop() 106 static void markObjectNonNull(const Object *obj, GcMarkContext *ctx, in markObjectNonNull() 112 if (obj < (Object *)ctx->immuneLimit) { in markObjectNonNull() 133 static void markObject(const Object *obj, GcMarkContext *ctx) in markObject() 150 Object *obj = *(Object **)addr; in rootMarkObjectVisitor() 197 Object *obj = *(Object **)addr; in rootReMarkObjectVisitor() [all …]
|
D | CardTable.cpp | 201 static bool isObjectDirty(const Object *obj) in isObjectDirty() 223 Object *obj; in countWhiteReferenceVisitor() 227 obj = *(Object **)addr; in countWhiteReferenceVisitor() 245 Object *obj; in dumpWhiteReferenceVisitor() 249 obj = *(Object **)addr; in dumpWhiteReferenceVisitor() 266 Object *obj = *(Object **)pObj; in dumpReferencesVisitor() 267 Object *lookingFor = *(Object **)arg; in dumpReferencesVisitor() 269 *(Object **)arg = NULL; in dumpReferencesVisitor() 273 static void dumpReferencesCallback(Object *obj, void *arg) in dumpReferencesCallback() 275 if (obj == (Object *)arg) { in dumpReferencesCallback() [all …]
|
/dalvik/dx/tests/073-dex-null-array-refs/ |
D | Blort.java | 19 public static Object test1() { in test1() 20 return ((Object[]) null)[0]; in test1() 24 ((Object[]) null)[0] = null; in test2() 28 return ((Object[]) null).length; in test3() 31 public static Object test4() { in test4() 32 Object[] arr = null; in test4() 37 Object[] arr = null; in test5() 42 Object[] arr = null; in test6() 46 public static Object test7(Object[] arr) { in test7() 54 public static void test8(Object[] arr) { in test8() [all …]
|
/dalvik/vm/native/ |
D | sun_misc_Unsafe.cpp | 30 Object* fieldObject = (Object*) args[0]; in Dalvik_sun_misc_Unsafe_objectFieldOffset0() 66 Object* obj = (Object*) args[1]; in Dalvik_sun_misc_Unsafe_compareAndSwapInt() 86 Object* obj = (Object*) args[1]; in Dalvik_sun_misc_Unsafe_compareAndSwapLong() 107 Object* obj = (Object*) args[1]; in Dalvik_sun_misc_Unsafe_compareAndSwapObject() 109 Object* expectedValue = (Object*) args[4]; in Dalvik_sun_misc_Unsafe_compareAndSwapObject() 110 Object* newValue = (Object*) args[5]; in Dalvik_sun_misc_Unsafe_compareAndSwapObject() 127 Object* obj = (Object*) args[1]; in Dalvik_sun_misc_Unsafe_getIntVolatile() 142 Object* obj = (Object*) args[1]; in Dalvik_sun_misc_Unsafe_putIntVolatile() 158 Object* obj = (Object*) args[1]; in Dalvik_sun_misc_Unsafe_getLongVolatile() 173 Object* obj = (Object*) args[1]; in Dalvik_sun_misc_Unsafe_putLongVolatile() [all …]
|
D | java_lang_Object.cpp | 32 Object* thisPtr = (Object*) args[0]; in Dalvik_java_lang_Object_internalClone() 33 Object* clone = dvmCloneObject(thisPtr, ALLOC_DONT_TRACK); in Dalvik_java_lang_Object_internalClone() 43 Object* thisPtr = (Object*) args[0]; in Dalvik_java_lang_Object_hashCode() 52 Object* thisPtr = (Object*) args[0]; in Dalvik_java_lang_Object_getClass() 66 Object* thisPtr = (Object*) args[0]; in Dalvik_java_lang_Object_notify() 78 Object* thisPtr = (Object*) args[0]; in Dalvik_java_lang_Object_notifyAll() 90 Object* thisPtr = (Object*) args[0]; in Dalvik_java_lang_Object_wait()
|
D | java_lang_VMThread.cpp | 33 Object* threadObj = (Object*) args[0]; in Dalvik_java_lang_VMThread_create() 60 Object* thisPtr = (Object*) args[0]; in Dalvik_java_lang_VMThread_getStatus() 83 Object* thisPtr = (Object*) args[0]; in Dalvik_java_lang_VMThread_holdsLock() 84 Object* object = (Object*) args[1]; in Dalvik_java_lang_VMThread_holdsLock() 107 Object* thisPtr = (Object*) args[0]; in Dalvik_java_lang_VMThread_interrupt() 145 Object* thisPtr = (Object*) args[0]; in Dalvik_java_lang_VMThread_isInterrupted() 168 Object* thisPtr = (Object*) args[0]; in Dalvik_java_lang_VMThread_nameChanged() 198 Object* thisPtr = (Object*) args[0]; in Dalvik_java_lang_VMThread_setPriority()
|
/dalvik/vm/ |
D | LinearAlloc.h | 48 LinearAllocHdr* dvmLinearAllocCreate(Object* classLoader); 53 void dvmLinearAllocDestroy(Object* classLoader); 60 void* dvmLinearAlloc(Object* classLoader, size_t size); 69 void* dvmLinearRealloc(Object* classLoader, void* mem, size_t newSize); 72 void dvmLinearSetReadOnly(Object* classLoader, void* mem); 73 void dvmLinearSetReadWrite(Object* classLoader, void* mem); 80 INLINE void dvmLinearReadOnly(Object* classLoader, void* mem) in dvmLinearReadOnly() 89 INLINE void dvmLinearReadWrite(Object* classLoader, void* mem) in dvmLinearReadWrite() 99 void dvmLinearFree(Object* classLoader, void* mem); 107 char* dvmLinearStrdup(Object* classLoader, const char* str); [all …]
|
D | ReferenceTable.h | 40 Object** nextEntry; /* top of the list */ 41 Object** table; /* bottom of the list */ 89 bool dvmAddToReferenceTable(ReferenceTable* pRef, Object* obj); 98 Object** dvmFindInReferenceTable(const ReferenceTable* pRef, Object** bottom, 99 Object* obj); 109 bool dvmRemoveFromReferenceTable(ReferenceTable* pRef, Object** bottom, 110 Object* obj); 122 void dvmDumpReferenceTableContents(Object* const* refs, size_t count,
|
D | Sync.h | 66 struct Object; 78 extern "C" void dvmLockObject(Thread* self, Object* obj); 83 extern "C" bool dvmUnlockObject(Thread* self, Object* obj); 88 void dvmObjectWait(Thread* self, Object* obj, 90 void dvmObjectNotify(Thread* self, Object* obj); 91 void dvmObjectNotifyAll(Thread* self, Object* obj); 96 u4 dvmIdentityHashCode(Object* obj); 111 Monitor* dvmCreateMonitor(Object* obj); 129 Object* dvmGetMonitorObject(Monitor* mon); 137 Thread* dvmGetObjectLockHolder(Object* obj); [all …]
|
D | ReferenceTable.cpp | 31 pRef->table = (Object**) malloc(initialCount * sizeof(Object*)); in dvmInitReferenceTable() 35 memset(pRef->table, 0xdd, initialCount * sizeof(Object*)); in dvmInitReferenceTable() 57 bool dvmAddToReferenceTable(ReferenceTable* pRef, Object* obj) in dvmAddToReferenceTable() 71 Object** newTable; in dvmAddToReferenceTable() 79 newTable = (Object**) realloc(pRef->table, newSize * sizeof(Object*)); in dvmAddToReferenceTable() 82 pRef->allocEntries, newSize, sizeof(Object*)); in dvmAddToReferenceTable() 100 Object** dvmFindInReferenceTable(const ReferenceTable* pRef, Object** bottom, in dvmFindInReferenceTable() 101 Object* obj) in dvmFindInReferenceTable() 103 Object** ptr; in dvmFindInReferenceTable() 121 bool dvmRemoveFromReferenceTable(ReferenceTable* pRef, Object** bottom, in dvmRemoveFromReferenceTable() [all …]
|
/dalvik/tests/088-monitor-verification/src/ |
D | Main.java | 52 Object obj1 = new Object(); in main() 53 Object obj2 = new Object(); in main() 79 synchronized (new Object()) { in nestedMayThrow() 179 private void doNothing(Object obj) {} in doNothing() 184 public void twoPath(Object obj1, Object obj2, int x) { in twoPath() 185 Object localObj; in twoPath() 204 public void triplet(Object obj1, Object obj2, int x) { in triplet() 205 Object localObj; in triplet()
|
/dalvik/tests/003-omnibus-opcodes/src/ |
D | Classes.java | 16 void checkCast(Object thisRef, Object moreRef, Object nullRef) { in checkCast() 61 static void xTests(Object x) { in xTests() 65 static void yTests(Object y) { in yTests() 69 static void xarTests(Object xar) { in xarTests() 70 assert( xar instanceof Object); in xarTests() 74 assert( xar instanceof Object[]); in xarTests() 75 assert(!(xar instanceof Object[][])); in xarTests() 77 static void yarTests(Object yar) { in yarTests() 81 static void xarararTests(Object xararar) { in xarararTests() 82 assert( xararar instanceof Object); in xarararTests() [all …]
|
/dalvik/vm/oo/ |
D | ObjectInlines.h | 28 Object* val) { in dvmSetObjectArrayElement() 29 ((Object **)(void *)(obj)->contents)[index] = val; in dvmSetObjectArrayElement() 50 INLINE JValue* dvmFieldPtr(const Object* obj, int offset) { in dvmFieldPtr() 54 INLINE bool dvmGetFieldBoolean(const Object* obj, int offset) { in dvmGetFieldBoolean() 57 INLINE s1 dvmGetFieldByte(const Object* obj, int offset) { in dvmGetFieldByte() 60 INLINE s2 dvmGetFieldShort(const Object* obj, int offset) { in dvmGetFieldShort() 63 INLINE u2 dvmGetFieldChar(const Object* obj, int offset) { in dvmGetFieldChar() 66 INLINE s4 dvmGetFieldInt(const Object* obj, int offset) { in dvmGetFieldInt() 69 INLINE s8 dvmGetFieldLong(const Object* obj, int offset) { in dvmGetFieldLong() 72 INLINE float dvmGetFieldFloat(const Object* obj, int offset) { in dvmGetFieldFloat() [all …]
|
/dalvik/tests/082-inline-execute/src/junit/framework/ |
D | Assert.java | 59 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() 70 static public void assertEquals(Object expected, Object actual) { in assertEquals() 212 static public void assertNotNull(Object object) { in assertNotNull() 219 static public void assertNotNull(String message, Object object) { in assertNotNull() 225 static public void assertNull(Object object) { in assertNull() 232 static public void assertNull(String message, Object object) { in assertNull() 239 static public void assertSame(String message, Object expected, Object actual) { in assertSame() 248 static public void assertSame(Object expected, Object actual) { in assertSame() 255 static public void assertNotSame(String message, Object expected, Object actual) { in assertNotSame() 263 static public void assertNotSame(Object expected, Object actual) { in assertNotSame() [all …]
|
/dalvik/tests/021-string2/src/junit/framework/ |
D | Assert.java | 59 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() 70 static public void assertEquals(Object expected, Object actual) { in assertEquals() 212 static public void assertNotNull(Object object) { in assertNotNull() 219 static public void assertNotNull(String message, Object object) { in assertNotNull() 225 static public void assertNull(Object object) { in assertNull() 232 static public void assertNull(String message, Object object) { in assertNull() 239 static public void assertSame(String message, Object expected, Object actual) { in assertSame() 248 static public void assertSame(Object expected, Object actual) { in assertSame() 255 static public void assertNotSame(String message, Object expected, Object actual) { in assertNotSame() 263 static public void assertNotSame(Object expected, Object actual) { in assertNotSame() [all …]
|
/dalvik/tests/010-instance/ |
D | expected.txt | 6 xar instanceof Object (true): true 10 xar instanceof Object[] (true): true 13 xararar instanceof Object (true): true 14 xararar instanceof Object[] (true): true 19 xararar instanceof Object[][][] (true): true 25 iar instanceof Object (true): true 26 iar instanceof Object[] (false): false 27 iarar instanceof Object (true): true 28 iarar instanceof Object[] (true): true 29 iarar instanceof Object[][] (false): false
|
/dalvik/vm/reflect/ |
D | Reflect.h | 37 Object* dvmGetDeclaredField(ClassObject* clazz, StringObject* nameObj); 56 Object* dvmGetDeclaredConstructorOrMethod(ClassObject* clazz, 95 bool dvmUnboxPrimitive(Object* value, ClassObject* returnType, 107 Field* dvmGetFieldFromReflectObj(Object* obj); 108 Method* dvmGetMethodFromReflectObj(Object* obj); 109 Object* dvmCreateReflectObjForField(const ClassObject* clazz, Field* field); 110 Object* dvmCreateReflectObjForMethod(const ClassObject* clazz, Method* method); 126 Object* loader); 131 Object* dvmCreateReflectMethodObject(const Method* meth); 147 Object* dvmGetClassAnnotation(const ClassObject* clazz, const ClassObject* annotationClazz); [all …]
|
/dalvik/tests/010-instance/src/ |
D | InstanceTest.java | 22 Object test; in main() 33 + (test instanceof Object)); in main() 41 + (test instanceof Object[])); in main() 50 + (test instanceof Object)); in main() 52 + (test instanceof Object[])); in main() 62 + (test instanceof Object[][][])); in main() 79 + (test instanceof Object)); in main() 81 + (test instanceof Object[])); in main() 85 + (test instanceof Object)); in main() 87 + (test instanceof Object[])); in main() [all …]
|
/dalvik/dx/tests/048-dex-new-array/ |
D | expected.txt | 5 0003: invoke-static {v0}, Blort.sink:(Ljava/lang/Object;)V 8 0009: invoke-static {v0}, Blort.sink:(Ljava/lang/Object;)V 11 000f: invoke-static {v0}, Blort.sink:(Ljava/lang/Object;)V 14 0015: invoke-static {v0}, Blort.sink:(Ljava/lang/Object;)V 17 001b: invoke-static {v0}, Blort.sink:(Ljava/lang/Object;)V 20 0021: invoke-static {v0}, Blort.sink:(Ljava/lang/Object;)V 23 0027: invoke-static {v0}, Blort.sink:(Ljava/lang/Object;)V 26 002d: invoke-static {v0}, Blort.sink:(Ljava/lang/Object;)V 27 0030: new-array v0, v1, java.lang.Object[] 28 0032: invoke-static {v0}, Blort.sink:(Ljava/lang/Object;)V
|
/dalvik/dx/tests/003-magic-version-access/ |
D | expected.txt | 37 0002: utf8{"java/lang/Object"} 39 0004: type{java.lang.Object} 43 super_class: type{java.lang.Object} 58 0002: utf8{"java/lang/Object"} 60 0004: type{java.lang.Object} 64 super_class: type{java.lang.Object} 79 0002: utf8{"java/lang/Object"} 81 0004: type{java.lang.Object} 85 super_class: type{java.lang.Object} 100 0002: utf8{"java/lang/Object"} [all …]
|