Home | History | Annotate | Download | only in vm

Lines Matching refs:CHECK_JNI_EXIT

1328 #define CHECK_JNI_EXIT(type, exp) ({ \
1337 return CHECK_JNI_EXIT("I", baseEnv(env)->GetVersion(env));
1345 return CHECK_JNI_EXIT("c", baseEnv(env)->DefineClass(env, name, loader, buf, bufLen));
1351 return CHECK_JNI_EXIT("c", baseEnv(env)->FindClass(env, name));
1356 return CHECK_JNI_EXIT("c", baseEnv(env)->GetSuperclass(env, clazz));
1361 return CHECK_JNI_EXIT("b", baseEnv(env)->IsAssignableFrom(env, clazz1, clazz2));
1367 return CHECK_JNI_EXIT("m", baseEnv(env)->FromReflectedMethod(env, method));
1373 return CHECK_JNI_EXIT("f", baseEnv(env)->FromReflectedField(env, field));
1380 return CHECK_JNI_EXIT("L", baseEnv(env)->ToReflectedMethod(env, cls, methodID, isStatic));
1387 return CHECK_JNI_EXIT("L", baseEnv(env)->ToReflectedField(env, cls, fieldID, isStatic));
1393 return CHECK_JNI_EXIT("I", baseEnv(env)->Throw(env, obj));
1398 return CHECK_JNI_EXIT("I", baseEnv(env)->ThrowNew(env, clazz, message));
1403 return CHECK_JNI_EXIT("L", baseEnv(env)->ExceptionOccurred(env));
1426 return CHECK_JNI_EXIT("I", baseEnv(env)->PushLocalFrame(env, capacity));
1431 return CHECK_JNI_EXIT("L", baseEnv(env)->PopLocalFrame(env, res));
1436 return CHECK_JNI_EXIT("L", baseEnv(env)->NewGlobalRef(env, obj));
1453 return CHECK_JNI_EXIT("L", baseEnv(env)->NewLocalRef(env, ref));
1470 return CHECK_JNI_EXIT("I", baseEnv(env)->EnsureLocalCapacity(env, capacity));
1475 return CHECK_JNI_EXIT("b", baseEnv(env)->IsSameObject(env, ref1, ref2));
1480 return CHECK_JNI_EXIT("L", baseEnv(env)->AllocObject(env, clazz));
1489 return CHECK_JNI_EXIT("L", result);
1494 return CHECK_JNI_EXIT("L", baseEnv(env)->NewObjectV(env, clazz, methodID, args));
1499 return CHECK_JNI_EXIT("L", baseEnv(env)->NewObjectA(env, clazz, methodID, args));
1504 return CHECK_JNI_EXIT("c", baseEnv(env)->GetObjectClass(env, obj));
1509 return CHECK_JNI_EXIT("b", baseEnv(env)->IsInstanceOf(env, obj, clazz));
1514 return CHECK_JNI_EXIT("m", baseEnv(env)->GetMethodID(env, clazz, name, sig));
1519 return CHECK_JNI_EXIT("f", baseEnv(env)->GetFieldID(env, clazz, name, sig));
1526 return CHECK_JNI_EXIT("m", baseEnv(env)->GetStaticMethodID(env, clazz, name, sig));
1533 return CHECK_JNI_EXIT("f", baseEnv(env)->GetStaticFieldID(env, clazz, name, sig));
1541 return CHECK_JNI_EXIT(_type, baseEnv(env)->GetStatic##_jname##Field(env, clazz, fieldID)); \
1547 return CHECK_JNI_EXIT(_type, baseEnv(env)->Get##_jname##Field(env, obj, fieldID)); \
1680 #define NON_VOID_RETURN(_retsig, _ctype) return CHECK_JNI_EXIT(_retsig, (_ctype) result)
1696 return CHECK_JNI_EXIT("s", baseEnv(env)->NewString(env, unicodeChars, len));
1701 return CHECK_JNI_EXIT("I", baseEnv(env)->GetStringLength(env, string));
1716 return CHECK_JNI_EXIT("p", result);
1736 return CHECK_JNI_EXIT("s", baseEnv(env)->NewStringUTF(env, bytes));
1741 return CHECK_JNI_EXIT("I", baseEnv(env)->GetStringUTFLength(env, string));
1753 return CHECK_JNI_EXIT("u", result); // TODO: show pointer and truncate string.
1772 return CHECK_JNI_EXIT("I", baseEnv(env)->GetArrayLength(env, array));
1779 return CHECK_JNI_EXIT("a", baseEnv(env)->NewObjectArray(env, length, elementClass, initialElement));
1784 return CHECK_JNI_EXIT("L", baseEnv(env)->GetObjectArrayElement(env, array, index));
1797 return CHECK_JNI_EXIT("a", baseEnv(env)->New##_jname##Array(env, length)); \
1835 return CHECK_JNI_EXIT("p", result); \
1892 return CHECK_JNI_EXIT("I", baseEnv(env)->RegisterNatives(env, clazz, methods, nMethods));
1897 return CHECK_JNI_EXIT("I", baseEnv(env)->UnregisterNatives(env, clazz));
1902 return CHECK_JNI_EXIT("I", baseEnv(env)->MonitorEnter(env, obj));
1907 return CHECK_JNI_EXIT("I", baseEnv(env)->MonitorExit(env, obj));
1912 return CHECK_JNI_EXIT("I", baseEnv(env)->GetJavaVM(env, vm));
1933 return CHECK_JNI_EXIT("p", result);
1959 return CHECK_JNI_EXIT("p", result);
1979 return CHECK_JNI_EXIT("L", baseEnv(env)->NewWeakGlobalRef(env, obj));
1990 return CHECK_JNI_EXIT("b", baseEnv(env)->ExceptionCheck(env));
1996 return CHECK_JNI_EXIT("I", baseEnv(env)->GetObjectRefType(env, obj));
2001 return CHECK_JNI_EXIT("L", baseEnv(env)->NewDirectByteBuffer(env, address, capacity));
2007 return CHECK_JNI_EXIT("p", baseEnv(env)->GetDirectBufferAddress(env, buf));
2013 return CHECK_JNI_EXIT("J", baseEnv(env)->GetDirectBufferCapacity(env, buf));
2026 return CHECK_JNI_EXIT("I", baseVm(vm)->DestroyJavaVM(vm));
2032 return CHECK_JNI_EXIT("I", baseVm(vm)->AttachCurrentThread(vm, p_env, thr_args));
2038 return CHECK_JNI_EXIT("I", baseVm(vm)->AttachCurrentThreadAsDaemon(vm, p_env, thr_args));
2044 return CHECK_JNI_EXIT("I", baseVm(vm)->DetachCurrentThread(vm));
2050 return CHECK_JNI_EXIT("I", baseVm(vm)->GetEnv(vm, env, version));