Lines Matching refs:newObj
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()
1571 dvmCallMethodV(_self, (Method*) methodID, (Object*)newObj, &unused, in NewObject()
1578 return newObj; in NewObject()
1585 jobject newObj; in NewObjectV() local
1586 newObj = (jobject) dvmAllocObject((ClassObject*) clazz, ALLOC_DONT_TRACK); in NewObjectV()
1587 newObj = addLocalReference(newObj); in NewObjectV()
1588 if (newObj != NULL) { in NewObjectV()
1590 dvmCallMethodV(_self, (Method*) methodID, (Object*)newObj, &unused, in NewObjectV()
1595 return newObj; in NewObjectV()
1602 jobject newObj; in NewObjectA() local
1603 newObj = (jobject) dvmAllocObject((ClassObject*) clazz, ALLOC_DONT_TRACK); in NewObjectA()
1604 newObj = addLocalReference(newObj); in NewObjectA()
1605 if (newObj != NULL) { in NewObjectA()
1607 dvmCallMethodA(_self, (Method*) methodID, (Object*)newObj, &unused, in NewObjectA()
1612 return newObj; in NewObjectA()
2287 ArrayObject* newObj = NULL; in NewObjectArray() local
2295 newObj = dvmAllocObjectArray(elemClassObj, length, ALLOC_DEFAULT); in NewObjectArray()
2296 if (newObj == NULL) { in NewObjectArray()
2300 dvmReleaseTrackedAlloc((Object*) newObj, NULL); in NewObjectArray()
2306 Object** arrayData = (Object**) newObj->contents; in NewObjectArray()
2312 newObj = addLocalReference((jobjectArray) newObj); in NewObjectArray()
2316 return (jobjectArray) newObj; in NewObjectArray()
2790 Object* newObj = dvmAllocObject(clazz, ALLOC_DONT_TRACK); in NewDirectByteBuffer() local
2791 if (newObj != NULL) { in NewDirectByteBuffer()
2793 newObj = addLocalReference(newObj); in NewDirectByteBuffer()
2795 newObj, &callResult, platformAddress, (jint) capacity, (jint) 0); in NewDirectByteBuffer()
2800 result = (jobject) newObj; in NewDirectByteBuffer()