Home
last modified time | relevance | path

Searched refs:n (Results 101 – 125 of 169) sorted by relevance

1234567

/unit/auto/
H A Dcgroup7 CGROUP=$(grep cgroup2 /proc/mounts | head -n 1 | cut -d " " -f 2)
H A Dthreads156 if [ -n "$NXT_PTHREAD" ]; then
203 void *n;
209 if (pthread_join(pt, &n))
H A Dclang122 nxt_feature_test="int n __attribute__ ((visibility(\"default\")));
135 nxt_feature_test="int n __attribute__ ((aligned(64)));
H A Dmake33 $echo -n "NXT_LIB_INCS =" >> $NXT_MAKEFILE
37 $echo -n " -I $nxt_inc" >> $NXT_MAKEFILE
269 $echo -n "NXT_INCS =" >> $NXT_MAKEFILE
273 $echo -n " -I $nxt_inc" >> $NXT_MAKEFILE
354 @test -n "\$(DESTDIR)$NXT_PREFIX" \\
/unit/src/
H A Dnxt_epoll_engine.c724 int n; in nxt_epoll_signalfd_handler() local
734 n = read(ev->fd, &sfd, sizeof(struct signalfd_siginfo)); in nxt_epoll_signalfd_handler()
736 nxt_debug(task, "read signalfd(%d): %d", ev->fd, n); in nxt_epoll_signalfd_handler()
738 if (n != sizeof(struct signalfd_siginfo)) { in nxt_epoll_signalfd_handler()
811 int n; in nxt_epoll_eventfd_handler() local
834 engine->u.epoll.eventfd.fd, n, events); in nxt_epoll_eventfd_handler()
836 if (n != sizeof(uint64_t)) { in nxt_epoll_eventfd_handler()
1163 ssize_t n; in nxt_epoll_edge_conn_io_recvbuf() local
1165 n = nxt_conn_io_recvbuf(c, b); in nxt_epoll_edge_conn_io_recvbuf()
1167 if (n > 0 && c->socket.epoll_eof) { in nxt_epoll_edge_conn_io_recvbuf()
[all …]
H A Dnxt_http_proxy.c409 nxt_off_t n; in nxt_http_proxy_content_length() local
416 n = nxt_off_t_parse(field->value, field->value_length); in nxt_http_proxy_content_length()
418 if (nxt_fast_path(n >= 0)) { in nxt_http_proxy_content_length()
419 r->resp.content_length_n = n; in nxt_http_proxy_content_length()
H A Dnxt_js.h28 void nxt_js_set_proto(nxt_js_conf_t *jcf, njs_external_t *proto, nxt_uint_t n);
H A Dnxt_http_static.c798 nxt_int_t n; in nxt_http_static_body_handler() local
808 n = 0; in nxt_http_static_body_handler()
828 } while (rest > 0 && ++n < NXT_HTTP_STATIC_BUF_COUNT); in nxt_http_static_body_handler()
857 ssize_t n, size; in nxt_http_static_buf_completion() local
878 n = nxt_file_read(fb->file, b->mem.start, size, fb->file_pos); in nxt_http_static_buf_completion()
880 if (nxt_slow_path(n == NXT_ERROR)) { in nxt_http_static_buf_completion()
887 if (n == rest) { in nxt_http_static_buf_completion()
894 fb->file_pos += n; in nxt_http_static_buf_completion()
899 b->mem.free = b->mem.pos + n; in nxt_http_static_buf_completion()
H A Dnxt_array.h29 NXT_EXPORT nxt_array_t *nxt_array_create(nxt_mp_t *mp, nxt_uint_t n,
H A Dnxt_thread_time.c154 nxt_uint_t n; in nxt_thread_time_shared() local
164 n = nxt_shared_time.realtime.nsec; in nxt_thread_time_shared()
168 if (now->realtime.sec == t && now->realtime.nsec == n in nxt_thread_time_shared()
H A Dnxt_var.h49 nxt_int_t nxt_var_register(nxt_var_decl_t *decl, size_t n);
H A Dnxt_sha1.c143 #define GET(n) \ argument
144 ( ((uint32_t) p[n * 4 + 3]) \
145 | ((uint32_t) p[n * 4 + 2] << 8) \
146 | ((uint32_t) p[n * 4 + 1] << 16) \
147 | ((uint32_t) p[n * 4] << 24))
H A Dnxt_port_memory.c288 nxt_bool_t tracking, nxt_int_t n) in nxt_port_new_port_mmap() argument
344 for (i = 0; i < n; i++) { in nxt_port_new_port_mmap()
446 nxt_int_t n, nxt_bool_t tracking) in nxt_port_mmap_get() argument
477 while (nchunks < n) { in nxt_port_mmap_get()
493 if (nchunks == n) { in nxt_port_mmap_get()
504 mmap_handler = nxt_port_new_port_mmap(task, mmaps, tracking, n); in nxt_port_mmap_get()
H A Dnxt_unit.c3010 buf->free += n; in nxt_unit_response_write_cb()
3055 buf->free += n; in nxt_unit_response_write_cb()
3564 *n = 0; in nxt_unit_mmap_get()
3694 uint32_t cap, n; in nxt_unit_mmap_at() local
3726 for (n = mmaps->cap; n < cap; n++) { in nxt_unit_mmap_at()
5999 ssize_t n; in nxt_unit_sendmsg() local
6028 return n; in nxt_unit_sendmsg()
6781 nxt_int_t n; in nxt_unit_memcasecmp() local
6794 n = c1 - c2; in nxt_unit_memcasecmp()
6796 if (n != 0) { in nxt_unit_memcasecmp()
[all …]
H A Dnxt_eventport_engine.c453 int n, events, signo; in nxt_eventport_poll() local
496 n = port_getn(engine->u.eventport.fd, engine->u.eventport.events, in nxt_eventport_poll()
503 err = (n < 0) ? nxt_errno : 0; in nxt_eventport_poll()
507 if (n == -1) { in nxt_eventport_poll()
/unit/src/test/
H A Dnxt_cq_test.c53 mean(const double *times, int n) in mean() argument
60 for (i = 0; i < n; i++) { in mean()
64 return sum / n; in mean()
69 cov(const double *times, double mean, int n) in cov() argument
76 for (i = 0; i < n; i++) { in cov()
80 variance /= n; in cov()
H A Dnxt_http_parse_test.c53 nxt_str_t *request, nxt_lvlhsh_t *hash, const char *name, nxt_uint_t n);
654 nxt_lvlhsh_t *hash, const char *name, nxt_uint_t n) in nxt_http_parse_test_bench() argument
664 name, request->length, n); in nxt_http_parse_test_bench()
672 for (i = 0; nxt_fast_path(i < n); i++) { in nxt_http_parse_test_bench()
/unit/auto/modules/
H A Dwasm-wasi-component55 $echo -n "looking for rust compiler ... "
64 $echo -n "looking for cargo ... "
H A Djava_chk_sha51210 $echo -n "looking for sha512 check tool ..."
/unit/src/python/
H A Dnxt_python_asgi.c937 uint32_t i, n, start; in nxt_py_asgi_create_subprotocols() local
941 n = 1; in nxt_py_asgi_create_subprotocols()
945 n++; in nxt_py_asgi_create_subprotocols()
949 res = PyTuple_New(n); in nxt_py_asgi_create_subprotocols()
954 n = 0; in nxt_py_asgi_create_subprotocols()
972 n++; in nxt_py_asgi_create_subprotocols()
988 PyTuple_SET_ITEM(res, n, proto); in nxt_py_asgi_create_subprotocols()
1161 Py_ssize_t n; in nxt_py_asgi_port_read() local
1166 n = PyTuple_GET_SIZE(args); in nxt_py_asgi_port_read()
1168 if (n != 2) { in nxt_py_asgi_port_read()
[all …]
/unit/go/
H A Dresponse.go28 func (r *response) Write(p []byte) (n int, err error) {
/unit/pkg/deb/debian/
H A Dcopyright19 Copyright 2021-2022 Oisín Canty
/unit/
H A DNOTICE19 Copyright 2021-2022 Oisín Canty
/unit/pkg/rpm/rpmbuild/SOURCES/
H A DCOPYRIGHT.unit-jsc1119 Copyright 2021-2022 Oisín Canty
H A DCOPYRIGHT.unit-jsc819 Copyright 2021-2022 Oisín Canty

1234567