Lines Matching refs:env

18 static jlong JNICALL nxt_java_HeaderNamesEnumeration_nextElementPos(JNIEnv *env,
20 static jstring JNICALL nxt_java_HeaderNamesEnumeration_nextElement(JNIEnv *env,
29 nxt_java_initHeaderNamesEnumeration(JNIEnv *env, jobject cl) in nxt_java_initHeaderNamesEnumeration() argument
34 cls = nxt_java_loadClass(env, cl, "nginx.unit.HeaderNamesEnumeration"); in nxt_java_initHeaderNamesEnumeration()
39 nxt_java_HeaderNamesEnumeration_class = (*env)->NewGlobalRef(env, cls); in nxt_java_initHeaderNamesEnumeration()
40 (*env)->DeleteLocalRef(env, cls); in nxt_java_initHeaderNamesEnumeration()
43 nxt_java_HeaderNamesEnumeration_ctor = (*env)->GetMethodID(env, cls, in nxt_java_initHeaderNamesEnumeration()
46 (*env)->DeleteGlobalRef(env, cls); in nxt_java_initHeaderNamesEnumeration()
60 res = (*env)->RegisterNatives(env, nxt_java_HeaderNamesEnumeration_class, in nxt_java_initHeaderNamesEnumeration()
68 (*env)->DeleteGlobalRef(env, cls); in nxt_java_initHeaderNamesEnumeration()
77 nxt_java_newHeaderNamesEnumeration(JNIEnv *env, nxt_unit_field_t *f, in nxt_java_newHeaderNamesEnumeration() argument
80 return (*env)->NewObject(env, in nxt_java_newHeaderNamesEnumeration()
88 nxt_java_HeaderNamesEnumeration_nextElementPos(JNIEnv *env, jclass cls, in nxt_java_HeaderNamesEnumeration_nextElementPos() argument
113 nxt_java_HeaderNamesEnumeration_nextElement(JNIEnv *env, jclass cls, in nxt_java_HeaderNamesEnumeration_nextElement() argument
132 nxt_java_throw_NoSuchElementException(env, "pos >= size"); in nxt_java_HeaderNamesEnumeration_nextElement()
146 res = (*env)->NewStringUTF(env, name); in nxt_java_HeaderNamesEnumeration_nextElement()