/unit/docs/ |
H A D | unit-openapi.yaml | 4944 - ".c" 4962 - ".c" 4971 - ".c" 4978 - ".c" 4986 - ".c"
|
/unit/.github/workflows/ |
H A D | ci.yml | 312 …./configure wasm --include-path=pkg/contrib/wasmtime/crates/c-api/include --lib-path=pkg/contrib/w…
|
/unit/pkg/deb/ |
H A D | Makefile.wasm | 9 MODULE_CONFARGS_wasm= wasm --include-path=\$$(CURDIR)/pkg/contrib/wasmtime/crates/c-api/include --l…
|
/unit/pkg/rpm/ |
H A D | Makefile.wasm | 9 MODULE_CONFARGS_wasm= wasm --include-path=\`pwd\`/pkg/contrib/wasmtime/crates/c-api/include --lib-p…
|
/unit/src/ |
H A D | nxt_router.c | 2427 char c; in nxt_router_conf_forward_header() local 2439 c = fh->header->start[i]; in nxt_router_conf_forward_header() 4641 int c; in nxt_router_app_use() local 4643 c = nxt_atomic_fetch_add(&app->use_count, i); in nxt_router_app_use() 4645 if (i < 0 && c == -i) { in nxt_router_app_use() 5390 u_char *pos, *end, *p, c; in nxt_router_prepare_msg() local 5552 c = *pos; in nxt_router_prepare_msg() 5554 if (c >= 'a' && c <= 'z') { in nxt_router_prepare_msg() 5555 *p++ = (c & ~0x20); in nxt_router_prepare_msg() 5559 if (c == '-') { in nxt_router_prepare_msg() [all …]
|
H A D | nxt_runtime.c | 471 nxt_conn_t *c; in nxt_runtime_close_idle_connections() local 484 c = nxt_queue_link_data(link, nxt_conn_t, link); in nxt_runtime_close_idle_connections() 486 if (!c->socket.read_ready) { in nxt_runtime_close_idle_connections() 488 nxt_conn_close(engine, c); in nxt_runtime_close_idle_connections() 1392 nxt_uint_t c, p, ncurr, nprev; in nxt_runtime_listen_sockets_create() local 1407 for (c = 0; c < ncurr; c++) { in nxt_runtime_listen_sockets_create() 1411 if (nxt_sockaddr_cmp(curr[c].sockaddr, prev[p].sockaddr)) { in nxt_runtime_listen_sockets_create() 1413 ret = nxt_listen_socket_update(task, &curr[c], &prev[p]); in nxt_runtime_listen_sockets_create() 1422 if (nxt_listen_socket_create(task, rt->mem_pool, &curr[c]) != NXT_OK) { in nxt_runtime_listen_sockets_create()
|
H A D | nxt_var.c | 430 u_char *p, ch, c; in nxt_var_next_part() local 461 c = (u_char) (ch | 0x20); in nxt_var_next_part() 463 if ((c >= 'a' && c <= 'z') || ch == '_') { in nxt_var_next_part()
|
H A D | nxt_conn_write.c | 25 c = obj; in nxt_conn_io_write() 28 c->socket.fd, c->socket.error, c->block_write); in nxt_conn_io_write() 30 if (c->socket.error != 0 || c->block_write) { in nxt_conn_io_write() 34 if (!c->socket.write_ready || c->write == NULL) { in nxt_conn_io_write() 41 c->socket.error_handler = c->write_state->error_handler; in nxt_conn_io_write() 43 b = c->write; in nxt_conn_io_write() 51 sb.tls = c->u.tls; in nxt_conn_io_write() 113 nxt_conn_timer(engine, c, c->write_state, &c->write_timer); in nxt_conn_io_write() 149 nxt_conn_t *c; in nxt_conn_write_timer_handler() local 157 c->delayed = 0; in nxt_conn_write_timer_handler() [all …]
|
H A D | nxt_conf.c | 2093 u_char *p, *s, ch, c, *dot_pos; in nxt_conf_json_parse_number() local 2110 c = ch - '0'; in nxt_conf_json_parse_number() 2112 if (c > 9) { in nxt_conf_json_parse_number() 2160 c = ch - '0'; in nxt_conf_json_parse_number() 2162 if (c > 9) { in nxt_conf_json_parse_number()
|
H A D | nxt_http_request.c | 1116 c = *p; in nxt_http_cookie_parse() 1169 c = *p; in nxt_http_cookie() 1208 *p++ = c; in nxt_http_field_hash() 1210 c = case_sensitive ? c : nxt_lowcase(c); in nxt_http_field_hash() 1223 c = *src; in nxt_http_field_hash() 1225 switch (c) { in nxt_http_field_hash() 1240 *p++ = c; in nxt_http_field_hash() 1244 c = plus; in nxt_http_field_hash() 1253 c = case_sensitive ? c : nxt_lowcase(c); in nxt_http_field_hash() 1294 if (c >= 'A' && c <= 'Z') { in nxt_http_header_hash() [all …]
|
H A D | nxt_openssl.c | 91 nxt_conn_t *c); 1189 tls->conn = c; 1209 nxt_openssl_conn_handshake(task, c, c->socket.data); 1216 task, c, c->socket.data); 1249 c = obj; 1275 state = (c->read_state != NULL) ? c->read_state : c->write_state; 1325 wq = (c->read_state != NULL) ? c->read_work_queue : c->write_work_queue; 1354 n = nxt_openssl_conn_test_error(c->socket.task, c, ret, err, 1434 c = obj; 1454 if (c->socket.timedout || c->socket.error != 0) { [all …]
|
H A D | nxt_php_sapi.c | 378 nxt_php_app_conf_t *c; in nxt_php_setup() local 384 c = &conf->u.php; in nxt_php_setup() 409 if (c->options != NULL) { in nxt_php_setup() 429 if (c->options != NULL) { in nxt_php_setup() 468 c = &conf->u.php; in nxt_php_start() 470 n = (c->targets != NULL) ? nxt_conf_object_members_count(c->targets) : 1; in nxt_php_start() 824 char c, *p, *start; in nxt_php_disable() local 843 c = *p; in nxt_php_disable() 845 if (c == ' ' || c == ',' || c == '\0') { in nxt_php_disable() 868 } while (c != '\0'); in nxt_php_disable() [all …]
|
/unit/pkg/docker/ |
H A D | Makefile | 80 CONFIGURE_wasm ?= wasm --include-path=\`pwd\`/pkg/contrib/wasmtime/crates/c-api/include --lib-path=…
|
H A D | Dockerfile.wasm | 61 && echo "${rustupSha256} *rustup-init" | sha256sum -c - \ 71 …&& ./configure wasm --include-path=`pwd`/pkg/contrib/wasmtime/crates/c-api/include --lib-path=/usr… 75 …&& ./configure wasm --include-path=`pwd`/pkg/contrib/wasmtime/crates/c-api/include --lib-path=/usr…
|
/unit/auto/modules/ |
H A D | java | 346 src/nxt_java.c \ 347 src/java/nxt_jni.c \ 348 src/java/nxt_jni_Context.c \ 350 src/java/nxt_jni_HeadersEnumeration.c \ 351 src/java/nxt_jni_InputStream.c \ 352 src/java/nxt_jni_OutputStream.c \ 353 src/java/nxt_jni_Request.c \ 354 src/java/nxt_jni_Response.c \ 355 src/java/nxt_jni_Thread.c \ 356 src/java/nxt_jni_URLClassLoader.c \ [all …]
|
H A D | nodejs | 66 if /bin/sh -c "${NXT_NODE} -v" >> $NXT_AUTOCONF_ERR 2>&1; then 84 if /bin/sh -c "${NXT_NPM} -v" >> $NXT_AUTOCONF_ERR 2>&1; then 102 if /bin/sh -c "${NXT_NODE_GYP} -v" >> $NXT_AUTOCONF_ERR 2>&1; then
|
/unit/tools/ |
H A D | setup-unit | 841 | cc -x c -o $freeport -; 1100 local type_c='c';
|
/unit/ |
H A D | .gitattributes | 1 *.c diff=cpp
|
/unit/src/nodejs/unit-http/ |
H A D | unit.cpp | 20 port_data_t(nxt_unit_ctx_t *c, nxt_unit_port_t *p); 50 port_data_t::port_data_t(nxt_unit_ctx_t *c, nxt_unit_port_t *p) : in port_data_t() argument 51 ctx(c), port(p), ref_count(0), scheduled(false), stopped(false) in port_data_t() 620 lowcase(char c) in lowcase() argument 622 return (c >= 'A' && c <= 'Z') ? (c | 0x20) : c; in lowcase()
|
/unit/src/java/nginx/unit/websocket/ |
H A D | Util.java | 539 for (char c : input.toCharArray()) { in containsDelims() 540 switch (c) { in containsDelims()
|
/unit/test/unit/applications/ |
H A D | tls.py | 46 with open(key_path, 'rb') as k, open(crt_path, 'rb') as c: 47 return self.conf(k.read() + c.read(), f'/certificates/{crt}')
|
/unit/test/ |
H A D | test_tls_conf_command.py | 48 protocols = list(set(c[1] for c in shared_ciphers)) 71 ciphers = list(set(c for c in shared_ciphers if c[1] == cipher[1]))
|
H A D | test_proxy_chunked.py | 97 for l, c in chunks_lst:
|
/unit/src/ruby/ |
H A D | nxt_ruby.c | 54 nxt_ruby_app_conf_t *c); 267 nxt_ruby_app_conf_t *c; in nxt_ruby_start() local 276 c = &conf->u.ruby; in nxt_ruby_start() 278 nxt_ruby_threads = c->threads; in nxt_ruby_start() 295 rack_init.script = &c->script; in nxt_ruby_start() 311 if (c->hooks.start != NULL) { in nxt_ruby_start() 366 ruby_unit_init.data = c; in nxt_ruby_start() 1337 nxt_ruby_app_conf_t *c; in nxt_ruby_ready_handler() local 1339 c = ctx->unit->data; in nxt_ruby_ready_handler() 1341 if (c->threads <= 1) { in nxt_ruby_ready_handler() [all …]
|
/unit/src/python/ |
H A D | nxt_python_wsgi.c | 61 static PyObject *nxt_python_create_environ(nxt_python_app_conf_t *c); 465 nxt_python_create_environ(nxt_python_app_conf_t *c) in nxt_python_create_environ() argument 515 c->threads > 1 ? Py_True : Py_False) in nxt_python_create_environ() 821 char *p, c; in nxt_python_field_name() local 840 c = name[i]; in nxt_python_field_name() 842 if (c >= 'a' && c <= 'z') { in nxt_python_field_name() 843 *p++ = (c & ~0x20); in nxt_python_field_name() 847 if (c == '-') { in nxt_python_field_name() 852 *p++ = c; in nxt_python_field_name()
|