Lines Matching refs:jobj

279      * object type, "jobj" is the object we're trying to assign into it.
283 void checkFieldTypeForSet(jobject jobj, jfieldID fieldID, PrimitiveType prim, bool isStatic) {
292 if ((field->signature[0] == 'L' || field->signature[0] == '[') && jobj != NULL) {
294 Object* obj = dvmDecodeIndirectRef(self(), jobj);
296 * If jobj is a weak global ref whose referent has been cleared,
302 indirectRefKindName(jobj), jobj);
339 * Assumes "jobj" has already been validated.
341 void checkInstanceFieldID(jobject jobj, jfieldID fieldID) {
344 Object* obj = dvmDecodeIndirectRef(self(), jobj);
346 ALOGW("JNI ERROR: field operation on invalid reference (%p)", jobj);
452 * Verify that "methodID" is appropriate for "jobj".
458 void checkVirtualMethod(jobject jobj, jmethodID methodID) {
461 Object* obj = dvmDecodeIndirectRef(self(), jobj);
775 * Verify that "jobj" is a valid object, and that it's an object that JNI
780 void checkObject(jobject jobj) {
781 if (jobj == NULL) {
788 if (dvmGetJNIRefType(self(), jobj) == JNIInvalidRefType) {
789 ALOGW("JNI WARNING: %p is not a valid JNI reference", jobj);
792 Object* obj = dvmDecodeIndirectRef(self(), jobj);
794 ALOGW("JNI WARNING: native code passing in invalid reference %p", jobj);
799 jobj, obj);
939 * Verify that "jobj" is a valid non-NULL object reference, and points to
945 void checkInstance(jobject jobj, ClassObject* expectedClass, const char* argName) {
946 if (jobj == NULL) {
956 Object* obj = dvmDecodeIndirectRef(self(), jobj);
959 argName, indirectRefKindName(jobj), jobj);