Home
last modified time | relevance | path

Searched refs:env (Results 1 – 25 of 88) sorted by path

1234

/unit/auto/modules/
H A Dgo74 NXT_GO_PATH=${NXT_GO_PATH=`${NXT_GO} env GOPATH`}
104 GOOS = `${NXT_GO} env GOOS`
105 GOARCH = `${NXT_GO} env GOARCH`
113 ${NXT_GO}-install: ${NXT_GO}-install-src ${NXT_GO}-install-env
121 ${NXT_GO}-install-env: \$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}/env.go \
124 \$(DESTDIR)\$(NXT_GO_DST)/src/${NXT_GO_PKG}/env.go:
/unit/pkg/deb/
H A DMakefile275 …( cd debuild/unit-$(VERSION)/debian/build-unit && env python3 -m pytest --user=nobody $(PYTEST_ARG…
286 …( cd debuild/unit-$(VERSION)/debian/build-unit-debug && env python3 -m pytest --user=nobody $(PYTE…
/unit/pkg/deb/debian.module/
H A Drules-noarch.in18 config.env.%:
34 configure.unit: config.env.unit
43 configure.unit_debug: config.env.unit_debug
H A Drules.in18 config.env.%:
34 configure.unit: config.env.unit
43 configure.unit_debug: config.env.unit_debug
H A Dunit.example-perl-app6 my $env = shift;
10 [ "Hello from Unit, Perl $^V, environment:\n\n", Dumper($env) ],
H A Dunit.example-ruby-app1 app = Proc.new do |env|
/unit/pkg/deb/debian/
H A Drules.in23 config.env.%:
41 configure.unit: config.env.unit
51 configure.unit_debug: config.env.unit_debug
/unit/pkg/rpm/
H A DMakefile232 …( cd rpmbuild/BUILD/unit-$(VERSION) && rm -f build && ln -s build-nodebug build && env python3 -m …
243 …( cd rpmbuild/BUILD/unit-$(VERSION) && rm -f build && ln -s build-debug build && env python3 -m py…
/unit/pkg/rpm/rpmbuild/SOURCES/
H A Dunit.example-perl-app6 my $env = shift;
10 [ "Hello from Unit, Perl $^V, environment:\n\n", Dumper($env) ],
H A Dunit.example-ruby-app1 app = Proc.new do |env|
/unit/src/java/nginx/unit/
H A DRequest.java1186 public void setCharacterEncoding(String env) throws UnsupportedEncodingException in setCharacterEncoding() argument
1188 trace("setCharacterEncoding: " + env); in setCharacterEncoding()
1190 characterEncoding = env; in setCharacterEncoding()
/unit/src/java/
H A Dnxt_jni.c35 (*env)->DeleteLocalRef(env, cls); in nxt_java_jni_init()
38 cls = (*env)->FindClass(env, "java/io/IOException"); in nxt_java_jni_init()
44 nxt_java_IOException_class = (*env)->NewGlobalRef(env, cls); in nxt_java_jni_init()
45 (*env)->DeleteLocalRef(env, cls); in nxt_java_jni_init()
56 (*env)->DeleteLocalRef(env, cls); in nxt_java_jni_init()
59 cls = (*env)->FindClass(env, "java/io/File"); in nxt_java_jni_init()
67 nxt_java_File_class = (*env)->NewGlobalRef(env, cls); in nxt_java_jni_init()
68 (*env)->DeleteLocalRef(env, cls); in nxt_java_jni_init()
77 (*env)->DeleteGlobalRef(env, nxt_java_File_class); in nxt_java_jni_init()
95 (*env)->ThrowNew(env, nxt_java_IOException_class, msg); in nxt_java_throw_IOException()
[all …]
H A Dnxt_jni.h14 int nxt_java_jni_init(JNIEnv *env);
16 void nxt_java_throw_NoSuchElementException(JNIEnv *env, const char *msg);
18 void nxt_java_throw_IOException(JNIEnv *env, const char *msg);
20 void nxt_java_throw_IllegalStateException(JNIEnv *env, const char *msg);
27 jstring nxt_java_newString(JNIEnv *env, char *str, uint32_t len);
H A Dnxt_jni_Context.c39 nxt_java_Context_class = (*env)->NewGlobalRef(env, cls); in nxt_java_initContext()
40 (*env)->DeleteLocalRef(env, cls); in nxt_java_initContext()
50 nxt_java_Context_service = (*env)->GetMethodID(env, cls, "service", in nxt_java_initContext()
74 res = (*env)->RegisterNatives(env, nxt_java_Context_class, in nxt_java_initContext()
90 (*env)->DeleteGlobalRef(env, cls); in nxt_java_initContext()
100 webapp_str = (*env)->NewStringUTF(env, webapp); in nxt_java_startContext()
121 (*env)->CallVoidMethod(env, ctx, nxt_java_Context_stop); in nxt_java_stopContext()
134 msg_str = (*env)->GetStringUTFChars(env, msg, NULL); in nxt_java_Context_log()
141 (*env)->ReleaseStringUTFChars(env, msg, msg_str); in nxt_java_Context_log()
155 msg_str = (*env)->GetStringUTFChars(env, msg, NULL); in nxt_java_Context_trace()
[all …]
H A Dnxt_jni_Context.h13 int nxt_java_initContext(JNIEnv *env, jobject cl);
15 jobject nxt_java_startContext(JNIEnv *env, const char *webapp,
18 void nxt_java_service(JNIEnv *env, jobject ctx, jobject jreq, jobject jresp);
20 void nxt_java_stopContext(JNIEnv *env, jobject ctx);
H A Dnxt_jni_HeaderNamesEnumeration.c29 nxt_java_initHeaderNamesEnumeration(JNIEnv *env, jobject cl) in nxt_java_initHeaderNamesEnumeration() argument
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()
132 nxt_java_throw_NoSuchElementException(env, "pos >= size"); in nxt_java_HeaderNamesEnumeration_nextElement()
[all …]
H A Dnxt_jni_HeaderNamesEnumeration.h14 int nxt_java_initHeaderNamesEnumeration(JNIEnv *env, jobject cl);
16 jobject nxt_java_newHeaderNamesEnumeration(JNIEnv *env, nxt_unit_field_t *f,
H A Dnxt_jni_HeadersEnumeration.c30 nxt_java_initHeadersEnumeration(JNIEnv *env, jobject cl) in nxt_java_initHeadersEnumeration() argument
40 nxt_java_HeadersEnumeration_class = (*env)->NewGlobalRef(env, cls); in nxt_java_initHeadersEnumeration()
41 (*env)->DeleteLocalRef(env, cls); in nxt_java_initHeadersEnumeration()
44 nxt_java_HeadersEnumeration_ctor = (*env)->GetMethodID(env, cls, in nxt_java_initHeadersEnumeration()
47 (*env)->DeleteGlobalRef(env, cls); in nxt_java_initHeadersEnumeration()
61 res = (*env)->RegisterNatives(env, nxt_java_HeadersEnumeration_class, in nxt_java_initHeadersEnumeration()
68 (*env)->DeleteGlobalRef(env, cls); in nxt_java_initHeadersEnumeration()
77 nxt_java_newHeadersEnumeration(JNIEnv *env, nxt_unit_field_t *f, in nxt_java_newHeadersEnumeration() argument
80 return (*env)->NewObject(env, in nxt_java_newHeadersEnumeration()
131 nxt_java_throw_IOException(env, "pos >= size"); in nxt_java_HeadersEnumeration_nextElement()
[all …]
H A Dnxt_jni_HeadersEnumeration.h14 int nxt_java_initHeadersEnumeration(JNIEnv *env, jobject cl);
16 jobject nxt_java_newHeadersEnumeration(JNIEnv *env, nxt_unit_field_t *f,
H A Dnxt_jni_InputStream.c35 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()
151 data = (*env)->GetPrimitiveArrayCritical(env, b, NULL); in nxt_java_InputStream_read()
[all …]
H A Dnxt_jni_InputStream.h13 int nxt_java_initInputStream(JNIEnv *env, jobject cl);
H A Dnxt_jni_OutputStream.c32 nxt_java_initOutputStream(JNIEnv *env, jobject cl) in nxt_java_initOutputStream() argument
42 nxt_java_OutputStream_class = (*env)->NewGlobalRef(env, cls); in nxt_java_initOutputStream()
43 (*env)->DeleteLocalRef(env, cls); in nxt_java_initOutputStream()
65 res = (*env)->RegisterNatives(env, nxt_java_OutputStream_class, in nxt_java_initOutputStream()
72 (*env)->DeleteGlobalRef(env, cls); in nxt_java_initOutputStream()
91 buf = nxt_java_OutputStream_req_buf(env, req); in nxt_java_OutputStream_writeByte()
99 nxt_java_OutputStream_flush_buf(env, req); in nxt_java_OutputStream_writeByte()
188 ptr = (*env)->GetPrimitiveArrayCritical(env, b, NULL); in nxt_java_OutputStream_write()
191 buf = nxt_java_OutputStream_req_buf(env, req); in nxt_java_OutputStream_write()
213 (*env)->ReleasePrimitiveArrayCritical(env, b, ptr, 0); in nxt_java_OutputStream_write()
[all …]
H A Dnxt_jni_OutputStream.h13 int nxt_java_initOutputStream(JNIEnv *env, jobject cl);
15 int nxt_java_OutputStream_flush_buf(JNIEnv *env, nxt_unit_request_info_t *req);
H A Dnxt_jni_Request.c97 (*env)->DeleteLocalRef(env, cls); in nxt_java_initRequest()
102 (*env)->DeleteGlobalRef(env, cls); in nxt_java_initRequest()
108 (*env)->DeleteGlobalRef(env, cls); in nxt_java_initRequest()
114 (*env)->DeleteGlobalRef(env, cls); in nxt_java_initRequest()
258 (*env)->DeleteGlobalRef(env, cls); in nxt_java_initRequest()
402 return (*env)->NewStringUTF(env, query); in nxt_java_Request_getQueryString()
424 return (*env)->NewStringUTF(env, target); in nxt_java_Request_getRequestURI()
713 (*env)->ReleaseStringUTFChars(env, msg, msg_str); in nxt_java_Request_log()
734 (*env)->ReleaseStringUTFChars(env, msg, msg_str); in nxt_java_Request_trace()
804 (*env)->DeleteGlobalRef(env, data->jresp); in nxt_java_Request_closeWs()
[all …]
H A Dnxt_jni_Request.h14 int nxt_java_initRequest(JNIEnv *env, jobject cl);
16 jobject nxt_java_newRequest(JNIEnv *env, jobject ctx, nxt_unit_request_info_t *req);
18 void nxt_java_Request_websocket(JNIEnv *env, jobject jreq, jobject jbuf,
21 void nxt_java_Request_close(JNIEnv *env, jobject jreq);

1234