Home
last modified time | relevance | path

Searched refs:newObj (Results 1 – 9 of 9) sorted by relevance

/dalvik/vm/native/
Djava_lang_reflect_Constructor.cpp43 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()
Djava_lang_Class.cpp497 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/
DOP_NEW_INSTANCE.cpp4 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/
DUtfString.cpp244 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()
DJni.cpp1545 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 …]
DDebugger.cpp1104 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/
DAlloc.cpp183 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/
DInterpC-allstubs.cpp1642 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()
DInterpC-portable.cpp1653 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()