Home
last modified time | relevance | path

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

/dalvik/vm/mterp/c/
DOP_NEW_INSTANCE.c4 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/
DUtfString.c255 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 …]
DJni.c1537 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/
Djava_lang_reflect_Constructor.c58 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()
Djava_lang_Class.c491 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/
DAlloc.c136 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/
DSerializationTester.java171 Object newObj = oinput.readObject(); in readObject() local
172 return newObj; in readObject()
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
DObjectStreamFieldTest.java405 SerializableObject2 newObj = (SerializableObject2) ois.readObject(); in test_isUnshared() local
407 ObjectInputStream.GetField getField = newObj.getGetField(); in test_isUnshared()
/dalvik/vm/mterp/out/
DInterpC-allstubs.c1659 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()
DInterpC-portstd.c1723 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()
DInterpC-portdbg.c2003 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()