/dalvik/vm/native/ |
D | java_lang_reflect_Constructor.cpp | 43 Object* newObj; in Dalvik_java_lang_reflect_Constructor_constructNative() local 61 newObj = dvmAllocObject(declaringClass, ALLOC_DEFAULT); in Dalvik_java_lang_reflect_Constructor_constructNative() 62 if (newObj == NULL) in Dalvik_java_lang_reflect_Constructor_constructNative() 68 (void) dvmInvokeMethod(newObj, meth, argList, params, NULL, noAccessCheck); in Dalvik_java_lang_reflect_Constructor_constructNative() 69 dvmReleaseTrackedAlloc(newObj, NULL); in Dalvik_java_lang_reflect_Constructor_constructNative() 70 RETURN_PTR(newObj); in Dalvik_java_lang_reflect_Constructor_constructNative()
|
D | java_lang_Class.cpp | 497 Object* newObj; in Dalvik_java_lang_Class_newInstance() local 554 newObj = dvmAllocObject(clazz, ALLOC_DEFAULT); in Dalvik_java_lang_Class_newInstance() 558 dvmCallMethod(self, init, newObj, &unused); in Dalvik_java_lang_Class_newInstance() 559 dvmReleaseTrackedAlloc(newObj, NULL); in Dalvik_java_lang_Class_newInstance() 561 RETURN_PTR(newObj); in Dalvik_java_lang_Class_newInstance()
|
/dalvik/vm/mterp/c/ |
D | OP_NEW_INSTANCE.cpp | 4 Object* newObj; in HANDLE_OPCODE() local 42 newObj = dvmAllocObject(clazz, ALLOC_DONT_TRACK); in HANDLE_OPCODE() 43 if (newObj == NULL) in HANDLE_OPCODE() 45 SET_REGISTER(vdst, (u4) newObj); in HANDLE_OPCODE()
|
/dalvik/vm/ |
D | UtfString.cpp | 244 StringObject* newObj = makeStringObject(utf16Length, &chars); in dvmCreateStringFromCstrAndLength() local 245 if (newObj == NULL) { in dvmCreateStringFromCstrAndLength() 252 dvmSetFieldInt((Object*) newObj, STRING_FIELDOFF_HASHCODE, hashCode); in dvmCreateStringFromCstrAndLength() 254 return newObj; in dvmCreateStringFromCstrAndLength() 266 StringObject* newObj = makeStringObject(len, &chars); in dvmCreateStringFromUnicode() local 267 if (newObj == NULL) { in dvmCreateStringFromUnicode() 274 dvmSetFieldInt((Object*)newObj, STRING_FIELDOFF_HASHCODE, hashCode); in dvmCreateStringFromUnicode() 276 return newObj; in dvmCreateStringFromUnicode()
|
D | Jni.cpp | 1545 Object* newObj = dvmAllocObject(clazz, ALLOC_DONT_TRACK); in AllocObject() local 1546 return addLocalReference(ts.self(), newObj); in AllocObject() 1561 Object* newObj = dvmAllocObject(clazz, ALLOC_DONT_TRACK); in NewObject() local 1562 jobject result = addLocalReference(ts.self(), newObj); in NewObject() 1563 if (newObj != NULL) { in NewObject() 1567 dvmCallMethodV(ts.self(), (Method*) methodID, newObj, true, &unused, args); in NewObject() 1582 Object* newObj = dvmAllocObject(clazz, ALLOC_DONT_TRACK); in NewObjectV() local 1583 jobject result = addLocalReference(ts.self(), newObj); in NewObjectV() 1584 if (newObj != NULL) { in NewObjectV() 1586 dvmCallMethodV(ts.self(), (Method*) methodID, newObj, true, &unused, args); in NewObjectV() [all …]
|
D | Debugger.cpp | 1104 Object* newObj = dvmAllocObject(clazz, ALLOC_DEFAULT); in dvmDbgCreateObject() local 1105 dvmReleaseTrackedAlloc(newObj, NULL); in dvmDbgCreateObject() 1106 return objectToObjectId(newObj); in dvmDbgCreateObject() 1118 Object* newObj = (Object*) dvmAllocArrayByClass(clazz, length, ALLOC_DEFAULT); in dvmDbgCreateArrayObject() local 1119 dvmReleaseTrackedAlloc(newObj, NULL); in dvmDbgCreateArrayObject() 1120 return objectToObjectId(newObj); in dvmDbgCreateArrayObject()
|
/dalvik/vm/alloc/ |
D | Alloc.cpp | 183 Object* newObj; in dvmAllocObject() local 189 newObj = (Object*)dvmMalloc(clazz->objectSize, flags); in dvmAllocObject() 190 if (newObj != NULL) { in dvmAllocObject() 191 DVM_OBJECT_INIT(newObj, clazz); in dvmAllocObject() 195 return newObj; in dvmAllocObject()
|
/dalvik/vm/mterp/out/ |
D | InterpC-allstubs.cpp | 1642 Object* newObj; in HANDLE_OPCODE() local 1680 newObj = dvmAllocObject(clazz, ALLOC_DONT_TRACK); in HANDLE_OPCODE() 1681 if (newObj == NULL) in HANDLE_OPCODE() 1683 SET_REGISTER(vdst, (u4) newObj); in HANDLE_OPCODE()
|
D | InterpC-portable.cpp | 1653 Object* newObj; in dvmInterpretPortable() local 1691 newObj = dvmAllocObject(clazz, ALLOC_DONT_TRACK); in dvmInterpretPortable() 1692 if (newObj == NULL) in dvmInterpretPortable() 1694 SET_REGISTER(vdst, (u4) newObj); in dvmInterpretPortable()
|