Lines Matching refs:mode
754 void CheckReleaseMode(jint mode) { in CheckReleaseMode() argument
755 if (mode != 0 && mode != JNI_COMMIT && mode != JNI_ABORT) { in CheckReleaseMode()
756 JniAbortF(function_name_, "unknown value for release mode: %d", mode); in CheckReleaseMode()
1097 static void ReleaseGuardedPACopy(JNIEnv* env, jarray java_array, void* dataBuf, int mode) { in ReleaseGuardedPACopy() argument
1103 if (mode != JNI_ABORT) { in ReleaseGuardedPACopy()
1107 if (mode != JNI_COMMIT) { in ReleaseGuardedPACopy()
1613 …void Release##_jname##ArrayElements(JNIEnv* env, _ctype##Array array, _ctype* elems, jint mode) { \
1614 CHECK_JNI_ENTRY(kFlag_Default | kFlag_ExcepOkay, "Eapr", env, array, elems, mode); \
1617 ReleaseGuardedPACopy(env, array, elems, mode); \
1619 baseEnv(env)->Release##_jname##ArrayElements(env, array, elems, mode); \
1705 static void ReleasePrimitiveArrayCritical(JNIEnv* env, jarray array, void* carray, jint mode) { in ReleasePrimitiveArrayCritical() argument
1706 CHECK_JNI_ENTRY(kFlag_CritRelease | kFlag_ExcepOkay, "Eapr", env, array, carray, mode); in ReleasePrimitiveArrayCritical()
1709 ReleaseGuardedPACopy(env, array, carray, mode); in ReleasePrimitiveArrayCritical()
1711 baseEnv(env)->ReleasePrimitiveArrayCritical(env, array, carray, mode); in ReleasePrimitiveArrayCritical()