/dalvik/vm/mterp/c/ |
D | OP_NEW_INSTANCE.c | 4 Object* newObj; in HANDLE_OPCODE() local 37 newObj = dvmAllocObject(clazz, ALLOC_DONT_TRACK); in HANDLE_OPCODE() 38 if (newObj == NULL) in HANDLE_OPCODE() 40 SET_REGISTER(vdst, (u4) newObj); in HANDLE_OPCODE()
|
/dalvik/vm/ |
D | UtfString.c | 255 StringObject* newObj; in dvmCreateStringFromCstrAndLength() local 275 newObj = (StringObject*) dvmAllocObject(gDvm.classJavaLangString, in dvmCreateStringFromCstrAndLength() 277 if (newObj == NULL) in dvmCreateStringFromCstrAndLength() 282 dvmReleaseTrackedAllocIFN((Object*) newObj, NULL, allocFlags); in dvmCreateStringFromCstrAndLength() 288 dvmSetFieldObject((Object*)newObj, gDvm.offJavaLangString_value, in dvmCreateStringFromCstrAndLength() 291 dvmSetFieldInt((Object*)newObj, gDvm.offJavaLangString_count, utf16Length); in dvmCreateStringFromCstrAndLength() 292 dvmSetFieldInt((Object*)newObj, gDvm.offJavaLangString_hashCode, hashCode); in dvmCreateStringFromCstrAndLength() 301 return newObj; in dvmCreateStringFromCstrAndLength() 309 StringObject* newObj; in dvmCreateStringFromUnicode() local 328 newObj = (StringObject*) dvmAllocObject(gDvm.classJavaLangString, in dvmCreateStringFromUnicode() [all …]
|
D | Jni.c | 1537 jobject newObj; in AllocObject() local 1541 newObj = NULL; in AllocObject() 1543 newObj = (jobject) dvmAllocObject(clazz, ALLOC_DONT_TRACK); in AllocObject() 1544 newObj = addLocalReference(newObj); in AllocObject() 1548 return newObj; in AllocObject() 1559 jobject newObj; in NewObject() local 1563 newObj = NULL; in NewObject() 1565 newObj = (jobject) dvmAllocObject(clazz, ALLOC_DONT_TRACK); in NewObject() 1566 newObj = addLocalReference(newObj); in NewObject() 1567 if (newObj != NULL) { in NewObject() [all …]
|
/dalvik/vm/native/ |
D | java_lang_reflect_Constructor.c | 58 Object* newObj; in Dalvik_java_lang_reflect_Constructor_constructNative() local 77 newObj = dvmAllocObject(declaringClass, ALLOC_DEFAULT); in Dalvik_java_lang_reflect_Constructor_constructNative() 78 if (newObj == NULL) in Dalvik_java_lang_reflect_Constructor_constructNative() 84 (void) dvmInvokeMethod(newObj, meth, argList, params, NULL, noAccessCheck); in Dalvik_java_lang_reflect_Constructor_constructNative() 85 dvmReleaseTrackedAlloc(newObj, NULL); in Dalvik_java_lang_reflect_Constructor_constructNative() 86 RETURN_PTR(newObj); in Dalvik_java_lang_reflect_Constructor_constructNative()
|
D | java_lang_Class.c | 491 Object* newObj; in Dalvik_java_lang_Class_newInstance() local 552 newObj = dvmAllocObject(clazz, ALLOC_DEFAULT); in Dalvik_java_lang_Class_newInstance() 556 dvmCallMethod(self, init, newObj, &unused); in Dalvik_java_lang_Class_newInstance() 557 dvmReleaseTrackedAlloc(newObj, NULL); in Dalvik_java_lang_Class_newInstance() 559 RETURN_PTR(newObj); in Dalvik_java_lang_Class_newInstance()
|
/dalvik/vm/alloc/ |
D | Alloc.c | 136 Object* newObj; in dvmAllocObject() local 145 newObj = dvmMalloc(clazz->objectSize, flags); in dvmAllocObject() 146 if (newObj != NULL) { in dvmAllocObject() 147 DVM_OBJECT_INIT(newObj, clazz); in dvmAllocObject() 151 hprofFillInStackTrace(newObj); in dvmAllocObject() 156 return newObj; in dvmAllocObject()
|
/dalvik/libcore/support/src/test/java/tests/util/ |
D | SerializationTester.java | 171 Object newObj = oinput.readObject(); in readObject() local 172 return newObj; in readObject()
|
/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
D | ObjectStreamFieldTest.java | 405 SerializableObject2 newObj = (SerializableObject2) ois.readObject(); in test_isUnshared() local 407 ObjectInputStream.GetField getField = newObj.getGetField(); in test_isUnshared()
|
/dalvik/vm/mterp/out/ |
D | InterpC-allstubs.c | 1659 Object* newObj; in HANDLE_OPCODE() local 1692 newObj = dvmAllocObject(clazz, ALLOC_DONT_TRACK); in HANDLE_OPCODE() 1693 if (newObj == NULL) in HANDLE_OPCODE() 1695 SET_REGISTER(vdst, (u4) newObj); in HANDLE_OPCODE()
|
D | InterpC-portstd.c | 1723 Object* newObj; in INTERP_FUNC_NAME() local 1756 newObj = dvmAllocObject(clazz, ALLOC_DONT_TRACK); in INTERP_FUNC_NAME() 1757 if (newObj == NULL) in INTERP_FUNC_NAME() 1759 SET_REGISTER(vdst, (u4) newObj); in INTERP_FUNC_NAME()
|
D | InterpC-portdbg.c | 2003 Object* newObj; in INTERP_FUNC_NAME() local 2036 newObj = dvmAllocObject(clazz, ALLOC_DONT_TRACK); in INTERP_FUNC_NAME() 2037 if (newObj == NULL) in INTERP_FUNC_NAME() 2039 SET_REGISTER(vdst, (u4) newObj); in INTERP_FUNC_NAME()
|