• Home
  • Raw
  • Download

Lines Matching refs:CHECK_JNI_EXIT

1315 #define CHECK_JNI_EXIT(type, exp) ({ \  macro
1324 return CHECK_JNI_EXIT("I", baseEnv(env)->GetVersion(env)); in Check_GetVersion()
1332 return CHECK_JNI_EXIT("c", baseEnv(env)->DefineClass(env, name, loader, buf, bufLen)); in Check_DefineClass()
1338 return CHECK_JNI_EXIT("c", baseEnv(env)->FindClass(env, name)); in Check_FindClass()
1343 return CHECK_JNI_EXIT("c", baseEnv(env)->GetSuperclass(env, clazz)); in Check_GetSuperclass()
1348 return CHECK_JNI_EXIT("b", baseEnv(env)->IsAssignableFrom(env, clazz1, clazz2)); in Check_IsAssignableFrom()
1354 return CHECK_JNI_EXIT("m", baseEnv(env)->FromReflectedMethod(env, method)); in Check_FromReflectedMethod()
1360 return CHECK_JNI_EXIT("f", baseEnv(env)->FromReflectedField(env, field)); in Check_FromReflectedField()
1367 return CHECK_JNI_EXIT("L", baseEnv(env)->ToReflectedMethod(env, cls, methodID, isStatic)); in Check_ToReflectedMethod()
1374 return CHECK_JNI_EXIT("L", baseEnv(env)->ToReflectedField(env, cls, fieldID, isStatic)); in Check_ToReflectedField()
1380 return CHECK_JNI_EXIT("I", baseEnv(env)->Throw(env, obj)); in Check_Throw()
1385 return CHECK_JNI_EXIT("I", baseEnv(env)->ThrowNew(env, clazz, message)); in Check_ThrowNew()
1390 return CHECK_JNI_EXIT("L", baseEnv(env)->ExceptionOccurred(env)); in Check_ExceptionOccurred()
1413 return CHECK_JNI_EXIT("I", baseEnv(env)->PushLocalFrame(env, capacity)); in Check_PushLocalFrame()
1418 return CHECK_JNI_EXIT("L", baseEnv(env)->PopLocalFrame(env, res)); in Check_PopLocalFrame()
1423 return CHECK_JNI_EXIT("L", baseEnv(env)->NewGlobalRef(env, obj)); in Check_NewGlobalRef()
1440 return CHECK_JNI_EXIT("L", baseEnv(env)->NewLocalRef(env, ref)); in Check_NewLocalRef()
1457 return CHECK_JNI_EXIT("I", baseEnv(env)->EnsureLocalCapacity(env, capacity)); in Check_EnsureLocalCapacity()
1462 return CHECK_JNI_EXIT("b", baseEnv(env)->IsSameObject(env, ref1, ref2)); in Check_IsSameObject()
1467 return CHECK_JNI_EXIT("L", baseEnv(env)->AllocObject(env, clazz)); in Check_AllocObject()
1476 return CHECK_JNI_EXIT("L", result); in Check_NewObject()
1481 return CHECK_JNI_EXIT("L", baseEnv(env)->NewObjectV(env, clazz, methodID, args)); in Check_NewObjectV()
1486 return CHECK_JNI_EXIT("L", baseEnv(env)->NewObjectA(env, clazz, methodID, args)); in Check_NewObjectA()
1491 return CHECK_JNI_EXIT("c", baseEnv(env)->GetObjectClass(env, obj)); in Check_GetObjectClass()
1496 return CHECK_JNI_EXIT("b", baseEnv(env)->IsInstanceOf(env, obj, clazz)); in Check_IsInstanceOf()
1501 return CHECK_JNI_EXIT("m", baseEnv(env)->GetMethodID(env, clazz, name, sig)); in Check_GetMethodID()
1506 return CHECK_JNI_EXIT("f", baseEnv(env)->GetFieldID(env, clazz, name, sig)); in Check_GetFieldID()
1513 return CHECK_JNI_EXIT("m", baseEnv(env)->GetStaticMethodID(env, clazz, name, sig)); in Check_GetStaticMethodID()
1520 return CHECK_JNI_EXIT("f", baseEnv(env)->GetStaticFieldID(env, clazz, name, sig)); in Check_GetStaticFieldID()
1528 return CHECK_JNI_EXIT(_type, baseEnv(env)->GetStatic##_jname##Field(env, clazz, fieldID)); \
1534 return CHECK_JNI_EXIT(_type, baseEnv(env)->Get##_jname##Field(env, obj, fieldID)); \
1667 #define NON_VOID_RETURN(_retsig, _ctype) return CHECK_JNI_EXIT(_retsig, (_ctype) result)
1683 return CHECK_JNI_EXIT("s", baseEnv(env)->NewString(env, unicodeChars, len)); in Check_NewString()
1688 return CHECK_JNI_EXIT("I", baseEnv(env)->GetStringLength(env, string)); in Check_GetStringLength()
1703 return CHECK_JNI_EXIT("p", result); in Check_GetStringChars()
1723 return CHECK_JNI_EXIT("s", baseEnv(env)->NewStringUTF(env, bytes)); in Check_NewStringUTF()
1728 return CHECK_JNI_EXIT("I", baseEnv(env)->GetStringUTFLength(env, string)); in Check_GetStringUTFLength()
1740 return CHECK_JNI_EXIT("u", result); // TODO: show pointer and truncate string. in Check_GetStringUTFChars()
1759 return CHECK_JNI_EXIT("I", baseEnv(env)->GetArrayLength(env, array)); in Check_GetArrayLength()
1766 …return CHECK_JNI_EXIT("a", baseEnv(env)->NewObjectArray(env, length, elementClass, initialElement)… in Check_NewObjectArray()
1771 return CHECK_JNI_EXIT("L", baseEnv(env)->GetObjectArrayElement(env, array, index)); in Check_GetObjectArrayElement()
1784 return CHECK_JNI_EXIT("a", baseEnv(env)->New##_jname##Array(env, length)); \
1822 return CHECK_JNI_EXIT("p", result); \
1879 return CHECK_JNI_EXIT("I", baseEnv(env)->RegisterNatives(env, clazz, methods, nMethods)); in Check_RegisterNatives()
1884 return CHECK_JNI_EXIT("I", baseEnv(env)->UnregisterNatives(env, clazz)); in Check_UnregisterNatives()
1889 return CHECK_JNI_EXIT("I", baseEnv(env)->MonitorEnter(env, obj)); in Check_MonitorEnter()
1894 return CHECK_JNI_EXIT("I", baseEnv(env)->MonitorExit(env, obj)); in Check_MonitorExit()
1899 return CHECK_JNI_EXIT("I", baseEnv(env)->GetJavaVM(env, vm)); in Check_GetJavaVM()
1920 return CHECK_JNI_EXIT("p", result); in Check_GetPrimitiveArrayCritical()
1946 return CHECK_JNI_EXIT("p", result); in Check_GetStringCritical()
1966 return CHECK_JNI_EXIT("L", baseEnv(env)->NewWeakGlobalRef(env, obj)); in Check_NewWeakGlobalRef()
1977 return CHECK_JNI_EXIT("b", baseEnv(env)->ExceptionCheck(env)); in Check_ExceptionCheck()
1983 return CHECK_JNI_EXIT("I", baseEnv(env)->GetObjectRefType(env, obj)); in Check_GetObjectRefType()
1994 return CHECK_JNI_EXIT("L", baseEnv(env)->NewDirectByteBuffer(env, address, capacity)); in Check_NewDirectByteBuffer()
2000 return CHECK_JNI_EXIT("p", baseEnv(env)->GetDirectBufferAddress(env, buf)); in Check_GetDirectBufferAddress()
2006 return CHECK_JNI_EXIT("J", baseEnv(env)->GetDirectBufferCapacity(env, buf)); in Check_GetDirectBufferCapacity()
2019 return CHECK_JNI_EXIT("I", baseVm(vm)->DestroyJavaVM(vm)); in Check_DestroyJavaVM()
2025 return CHECK_JNI_EXIT("I", baseVm(vm)->AttachCurrentThread(vm, p_env, thr_args)); in Check_AttachCurrentThread()
2031 return CHECK_JNI_EXIT("I", baseVm(vm)->AttachCurrentThreadAsDaemon(vm, p_env, thr_args)); in Check_AttachCurrentThreadAsDaemon()
2037 return CHECK_JNI_EXIT("I", baseVm(vm)->DetachCurrentThread(vm)); in Check_DetachCurrentThread()
2043 return CHECK_JNI_EXIT("I", baseVm(vm)->GetEnv(vm, env, version)); in Check_GetEnv()