Home
last modified time | relevance | path

Searched refs:c (Results 1 – 25 of 116) sorted by last modified time

12345

/unit/docs/
H A Dunit-openapi.yaml4944 - ".c"
4962 - ".c"
4971 - ".c"
4978 - ".c"
4986 - ".c"
/unit/.github/workflows/
H A Dci.yml312 …./configure wasm --include-path=pkg/contrib/wasmtime/crates/c-api/include --lib-path=pkg/contrib/w…
/unit/pkg/deb/
H A DMakefile.wasm9 MODULE_CONFARGS_wasm= wasm --include-path=\$$(CURDIR)/pkg/contrib/wasmtime/crates/c-api/include --l…
/unit/pkg/rpm/
H A DMakefile.wasm9 MODULE_CONFARGS_wasm= wasm --include-path=\`pwd\`/pkg/contrib/wasmtime/crates/c-api/include --lib-p…
/unit/src/
H A Dnxt_router.c2427 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 Dnxt_runtime.c471 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 Dnxt_var.c430 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 Dnxt_conn_write.c25 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 Dnxt_conf.c2093 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 Dnxt_http_request.c1116 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 Dnxt_openssl.c91 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 Dnxt_php_sapi.c378 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 DMakefile80 CONFIGURE_wasm ?= wasm --include-path=\`pwd\`/pkg/contrib/wasmtime/crates/c-api/include --lib-path=…
H A DDockerfile.wasm61 && 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 Djava346 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 Dnodejs66 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 Dsetup-unit841 | cc -x c -o $freeport -;
1100 local type_c='c';
/unit/
H A D.gitattributes1 *.c diff=cpp
/unit/src/nodejs/unit-http/
H A Dunit.cpp20 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 DUtil.java539 for (char c : input.toCharArray()) { in containsDelims()
540 switch (c) { in containsDelims()
/unit/test/unit/applications/
H A Dtls.py46 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 Dtest_tls_conf_command.py48 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 Dtest_proxy_chunked.py97 for l, c in chunks_lst:
/unit/src/ruby/
H A Dnxt_ruby.c54 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 Dnxt_python_wsgi.c61 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()

12345