Home | History | Annotate | Download | only in runtime

Lines Matching refs:CHECK_JNI_EXIT

901 #define CHECK_JNI_EXIT(type, exp) ({ \
1129 return CHECK_JNI_EXIT("I", baseEnv(env)->GetVersion(env));
1135 return CHECK_JNI_EXIT("c", baseEnv(env)->DefineClass(env, name, loader, buf, bufLen));
1141 return CHECK_JNI_EXIT("c", baseEnv(env)->FindClass(env, name));
1146 return CHECK_JNI_EXIT("c", baseEnv(env)->GetSuperclass(env, c));
1151 return CHECK_JNI_EXIT("b", baseEnv(env)->IsAssignableFrom(env, c1, c2));
1157 return CHECK_JNI_EXIT("m", baseEnv(env)->FromReflectedMethod(env, method));
1163 return CHECK_JNI_EXIT("f", baseEnv(env)->FromReflectedField(env, field));
1168 return CHECK_JNI_EXIT("L", baseEnv(env)->ToReflectedMethod(env, cls, mid, isStatic));
1173 return CHECK_JNI_EXIT("L", baseEnv(env)->ToReflectedField(env, cls, fid, isStatic));
1179 return CHECK_JNI_EXIT("I", baseEnv(env)->Throw(env, obj));
1184 return CHECK_JNI_EXIT("I", baseEnv(env)->ThrowNew(env, c, message));
1189 return CHECK_JNI_EXIT("L", baseEnv(env)->ExceptionOccurred(env));
1215 return CHECK_JNI_EXIT("I", baseEnv(env)->PushLocalFrame(env, capacity));
1220 return CHECK_JNI_EXIT("L", baseEnv(env)->PopLocalFrame(env, res));
1225 return CHECK_JNI_EXIT("L", baseEnv(env)->NewGlobalRef(env, obj));
1230 return CHECK_JNI_EXIT("L", baseEnv(env)->NewLocalRef(env, ref));
1268 return CHECK_JNI_EXIT("I", baseEnv(env)->EnsureLocalCapacity(env, capacity));
1273 return CHECK_JNI_EXIT("b", baseEnv(env)->IsSameObject(env, ref1, ref2));
1278 return CHECK_JNI_EXIT("L", baseEnv(env)->AllocObject(env, c));
1287 return CHECK_JNI_EXIT("L", result);
1292 return CHECK_JNI_EXIT("L", baseEnv(env)->NewObjectV(env, c, mid, args));
1297 return CHECK_JNI_EXIT("L", baseEnv(env)->NewObjectA(env, c, mid, args));
1302 return CHECK_JNI_EXIT("c", baseEnv(env)->GetObjectClass(env, obj));
1307 return CHECK_JNI_EXIT("b", baseEnv(env)->IsInstanceOf(env, obj, c));
1312 return CHECK_JNI_EXIT("m", baseEnv(env)->GetMethodID(env, c, name, sig));
1317 return CHECK_JNI_EXIT("f", baseEnv(env)->GetFieldID(env, c, name, sig));
1322 return CHECK_JNI_EXIT("m", baseEnv(env)->GetStaticMethodID(env, c, name, sig));
1327 return CHECK_JNI_EXIT("f", baseEnv(env)->GetStaticFieldID(env, c, name, sig));
1334 return CHECK_JNI_EXIT(_type, baseEnv(env)->GetStatic##_jname##Field(env, c, fid)); \
1339 return CHECK_JNI_EXIT(_type, baseEnv(env)->Get##_jname##Field(env, obj, fid)); \
1469 #define NON_VOID_RETURN(_retsig, _ctype) return CHECK_JNI_EXIT(_retsig, (_ctype) result)
1485 return CHECK_JNI_EXIT("s", baseEnv(env)->NewString(env, unicodeChars, len));
1490 return CHECK_JNI_EXIT("I", baseEnv(env)->GetStringLength(env, string));
1504 return CHECK_JNI_EXIT("p", result);
1520 return CHECK_JNI_EXIT("s", baseEnv(env)->NewStringUTF(env, bytes));
1525 return CHECK_JNI_EXIT("I", baseEnv(env)->GetStringUTFLength(env, string));
1537 return CHECK_JNI_EXIT("u", result); // TODO: show pointer and truncate string.
1552 return CHECK_JNI_EXIT("I", baseEnv(env)->GetArrayLength(env, array));
1557 return CHECK_JNI_EXIT("a", baseEnv(env)->NewObjectArray(env, length, elementClass, initialElement));
1562 return CHECK_JNI_EXIT("L", baseEnv(env)->GetObjectArrayElement(env, array, index));
1574 return CHECK_JNI_EXIT("a", baseEnv(env)->New##_jname##Array(env, length)); \
1614 return CHECK_JNI_EXIT("p", result); \
1660 return CHECK_JNI_EXIT("I", baseEnv(env)->RegisterNatives(env, c, methods, nMethods));
1665 return CHECK_JNI_EXIT("I", baseEnv(env)->UnregisterNatives(env, c));
1673 return CHECK_JNI_EXIT("I", baseEnv(env)->MonitorEnter(env, obj));
1681 return CHECK_JNI_EXIT("I", baseEnv(env)->MonitorExit(env, obj));
1686 return CHECK_JNI_EXIT("I", baseEnv(env)->GetJavaVM(env, vm));
1707 return CHECK_JNI_EXIT("p", result);
1731 return CHECK_JNI_EXIT("p", result);
1747 return CHECK_JNI_EXIT("L", baseEnv(env)->NewWeakGlobalRef(env, obj));
1752 return CHECK_JNI_EXIT("b", baseEnv(env)->ExceptionCheck(env));
1760 return CHECK_JNI_EXIT("I", baseEnv(env)->GetObjectRefType(env, obj));
1771 return CHECK_JNI_EXIT("L", baseEnv(env)->NewDirectByteBuffer(env, address, capacity));
1777 return CHECK_JNI_EXIT("p", baseEnv(env)->GetDirectBufferAddress(env, buf));
1783 return CHECK_JNI_EXIT("J", baseEnv(env)->GetDirectBufferCapacity(env, buf));
2037 return CHECK_JNI_EXIT("I", BaseVm(vm)->DestroyJavaVM(vm));
2043 return CHECK_JNI_EXIT("I", BaseVm(vm)->AttachCurrentThread(vm, p_env, thr_args));
2049 return CHECK_JNI_EXIT("I", BaseVm(vm)->AttachCurrentThreadAsDaemon(vm, p_env, thr_args));
2055 return CHECK_JNI_EXIT("I", BaseVm(vm)->DetachCurrentThread(vm));
2061 return CHECK_JNI_EXIT("I", BaseVm(vm)->GetEnv(vm, env, version));