Lines Matching refs:env

17 static jint JNICALL nxt_java_InputStream_readLine(JNIEnv *env, jclass cls,
19 static jboolean JNICALL nxt_java_InputStream_isFinished(JNIEnv *env, jclass cls,
21 static jint JNICALL nxt_java_InputStream_readByte(JNIEnv *env, jclass cls,
23 static jint JNICALL nxt_java_InputStream_read(JNIEnv *env, jclass cls,
25 static jlong JNICALL nxt_java_InputStream_skip(JNIEnv *env, jclass cls,
27 static jint JNICALL nxt_java_InputStream_available(JNIEnv *env, jclass cls,
35 nxt_java_initInputStream(JNIEnv *env, jobject cl) in nxt_java_initInputStream() argument
40 cls = nxt_java_loadClass(env, cl, "nginx.unit.InputStream"); in nxt_java_initInputStream()
45 nxt_java_InputStream_class = (*env)->NewGlobalRef(env, cls); in nxt_java_initInputStream()
46 (*env)->DeleteLocalRef(env, cls); in nxt_java_initInputStream()
74 res = (*env)->RegisterNatives(env, nxt_java_InputStream_class, in nxt_java_initInputStream()
81 (*env)->DeleteGlobalRef(env, cls); in nxt_java_initInputStream()
90 nxt_java_InputStream_readLine(JNIEnv *env, jclass cls, in nxt_java_InputStream_readLine() argument
99 data = (*env)->GetPrimitiveArrayCritical(env, out, NULL); in nxt_java_InputStream_readLine()
109 (*env)->ReleasePrimitiveArrayCritical(env, out, data, 0); in nxt_java_InputStream_readLine()
116 nxt_java_InputStream_isFinished(JNIEnv *env, jclass cls, jlong req_info_ptr) in nxt_java_InputStream_isFinished() argument
127 nxt_java_InputStream_readByte(JNIEnv *env, jclass cls, jlong req_info_ptr) in nxt_java_InputStream_readByte() argument
142 nxt_java_InputStream_read(JNIEnv *env, jclass cls, jlong req_info_ptr, in nxt_java_InputStream_read() argument
151 data = (*env)->GetPrimitiveArrayCritical(env, b, NULL); in nxt_java_InputStream_read()
157 (*env)->ReleasePrimitiveArrayCritical(env, b, data, 0); in nxt_java_InputStream_read()
164 nxt_java_InputStream_skip(JNIEnv *env, jclass cls, jlong req_info_ptr, jlong n) in nxt_java_InputStream_skip() argument
203 nxt_java_InputStream_available(JNIEnv *env, jclass cls, jlong req_info_ptr) in nxt_java_InputStream_available() argument