Home
last modified time | relevance | path

Searched refs:nxt_slow_path (Results 1 – 25 of 112) sorted by relevance

12345

/unit/src/
H A Dnxt_time_parse.c59 if (nxt_slow_path(p + 18 > end)) { in nxt_time_parse()
68 if (nxt_slow_path(day <= 0)) { in nxt_time_parse()
140 if (nxt_slow_path(yr <= 0)) { in nxt_time_parse()
153 if (nxt_slow_path(yr <= 0)) { in nxt_time_parse()
193 if (nxt_slow_path(*p++ != ' ')) { in nxt_time_parse()
198 if (nxt_slow_path(hour < 0)) { in nxt_time_parse()
203 if (nxt_slow_path(*p++ != ':')) { in nxt_time_parse()
208 if (nxt_slow_path(min < 0)) { in nxt_time_parse()
213 if (nxt_slow_path(*p++ != ':')) { in nxt_time_parse()
218 if (nxt_slow_path(sec < 0)) { in nxt_time_parse()
[all …]
H A Dnxt_http_route_addr.c44 if (nxt_slow_path(addr.length < 2)) { in nxt_http_route_addr_pattern_parse()
75 if (nxt_slow_path(port.start == NULL)) { in nxt_http_route_addr_pattern_parse()
94 if (nxt_slow_path(ret != NXT_OK)) { in nxt_http_route_addr_pattern_parse()
104 if (nxt_slow_path(ret != NXT_OK)) { in nxt_http_route_addr_pattern_parse()
135 if (nxt_slow_path(ret != NXT_OK)) { in nxt_http_route_addr_pattern_parse()
139 if (nxt_slow_path(cidr_prefix == 0)) { in nxt_http_route_addr_pattern_parse()
145 if (nxt_slow_path(cidr_prefix == 128)) { in nxt_http_route_addr_pattern_parse()
183 if (nxt_slow_path(ret != NXT_OK)) { in nxt_http_route_addr_pattern_parse()
257 if (nxt_slow_path(inet->start == INADDR_NONE)) { in nxt_http_route_addr_pattern_parse()
266 if (nxt_slow_path(port.start != NULL)) { in nxt_http_route_addr_pattern_parse()
[all …]
H A Dnxt_external.c41 if (nxt_slow_path(flags == -1)) { in nxt_external_fd_no_cloexec()
50 if (nxt_slow_path(res == -1)) { in nxt_external_fd_no_cloexec()
90 if (nxt_slow_path(rc != NXT_OK)) { in nxt_external_start()
95 if (nxt_slow_path(rc != NXT_OK)) { in nxt_external_start()
100 if (nxt_slow_path(rc != NXT_OK)) { in nxt_external_start()
105 if (nxt_slow_path(rc != NXT_OK)) { in nxt_external_start()
110 if (nxt_slow_path(rc != NXT_OK)) { in nxt_external_start()
115 if (nxt_slow_path(rc != NXT_OK)) { in nxt_external_start()
136 if (nxt_slow_path(p == end)) { in nxt_external_start()
145 if (nxt_slow_path(rc == -1)) { in nxt_external_start()
[all …]
H A Dnxt_clone.c49 if (nxt_slow_path(p == end)) { in nxt_clone_credential_setgroups()
74 if (nxt_slow_path(n == -1)) { in nxt_clone_credential_setgroups()
95 if (nxt_slow_path(p == end)) { in nxt_clone_credential_map_write()
103 if (nxt_slow_path(mapfd == -1)) { in nxt_clone_credential_map_write()
111 if (nxt_slow_path(n != len)) { in nxt_clone_credential_map_write()
188 if (nxt_slow_path(p == end)) { in nxt_clone_credential_map_set()
234 if (nxt_slow_path(ret != NXT_OK)) { in nxt_clone_credential_map()
239 if (nxt_slow_path(ret != NXT_OK)) { in nxt_clone_credential_map()
248 if (nxt_slow_path(ret != NXT_OK)) { in nxt_clone_credential_map()
355 if (nxt_slow_path(m.size > 1)) { in nxt_clone_vldt_credential_gidmap()
[all …]
H A Dnxt_pcre2.c37 if (nxt_slow_path(general_ctx == NULL)) { in nxt_regex_compile()
42 if (nxt_slow_path(compile_ctx == NULL)) { in nxt_regex_compile()
47 if (nxt_slow_path(re == NULL)) { in nxt_regex_compile()
51 if (nxt_slow_path(nxt_str_dup(mp, &re->pattern, source) == NULL)) { in nxt_regex_compile()
57 if (nxt_slow_path(re->code == NULL)) { in nxt_regex_compile()
73 if (nxt_slow_path(errcode != 0 && errcode != PCRE2_ERROR_JIT_BADOPTION)) { in nxt_regex_compile()
117 if (nxt_slow_path(ctx == NULL)) { in nxt_regex_match_create()
123 if (nxt_slow_path(match == NULL)) { in nxt_regex_match_create()
142 if (nxt_slow_path(ret < PCRE2_ERROR_NOMATCH)) { in nxt_regex_match()
H A Dnxt_isolation.c79 if (nxt_slow_path(ret != NXT_OK)) { in nxt_isolation_main_prefork()
94 if (nxt_slow_path(ret != NXT_OK)) { in nxt_isolation_main_prefork()
125 if (nxt_slow_path(ret != NXT_OK)) { in nxt_isolation_main_prefork()
145 if (nxt_slow_path(ret != NXT_OK)) { in nxt_isolation_main_prefork()
299 if (nxt_slow_path(map->map == NULL)) { in nxt_isolation_credential_map()
352 if (nxt_slow_path(ret != NXT_OK)) { in nxt_isolation_vldt_creds()
544 if (nxt_slow_path(ret != NXT_OK)) { in nxt_isolation_set_mounts()
595 if (nxt_slow_path(mnt == NULL)) { in nxt_isolation_set_lang_mounts()
621 if (nxt_slow_path(mnt == NULL)) { in nxt_isolation_set_lang_mounts()
863 if (nxt_slow_path(mounts == NULL)) { in nxt_isolation_make_private_mount()
[all …]
H A Dnxt_parse.c34 if (nxt_slow_path(c > 9)) { in nxt_int_parse()
38 if (nxt_slow_path(val >= cutoff && (val > cutoff || c > cutlim))) { in nxt_int_parse()
80 if (nxt_slow_path(c > 9)) { in nxt_size_t_parse()
84 if (nxt_slow_path(val >= cutoff && (val > cutoff || c > cutlim))) { in nxt_size_t_parse()
146 if (nxt_slow_path(val > max)) { in nxt_size_parse()
185 if (nxt_slow_path(c > 9)) { in nxt_off_t_parse()
189 if (nxt_slow_path(val >= cutoff && (val > cutoff || c > cutlim))) { in nxt_off_t_parse()
224 if (nxt_slow_path(length == 0)) { in nxt_str_int_parse()
241 if (nxt_slow_path(val >= cutoff && (val > cutoff || c > cutlim))) { in nxt_str_int_parse()
315 if (nxt_slow_path(p == *start)) { in nxt_number_parse()
H A Dnxt_credential.c24 if (nxt_slow_path(pwd == NULL)) { in nxt_credential_get()
44 if (nxt_slow_path(grp == NULL)) { in nxt_credential_get()
120 if (nxt_slow_path(uc->gids == NULL)) { in nxt_credential_groups_get()
139 if (nxt_slow_path(uc->gids == NULL)) { in nxt_credential_groups_get()
188 if (nxt_slow_path(nsaved == -1)) { in nxt_credential_groups_get()
206 if (nxt_slow_path(saved == NULL)) { in nxt_credential_groups_get()
214 if (nxt_slow_path(nsaved == -1)) { in nxt_credential_groups_get()
240 if (nxt_slow_path(ngroups == -1)) { in nxt_credential_groups_get()
249 if (nxt_slow_path(uc->gids == NULL)) { in nxt_credential_groups_get()
255 if (nxt_slow_path(ngroups == -1)) { in nxt_credential_groups_get()
[all …]
H A Dnxt_process.c104 if (nxt_slow_path(process == NULL)) { in nxt_process_new()
175 if (nxt_slow_path(port == NULL)) { in nxt_process_start()
182 if (nxt_slow_path(ret != NXT_OK)) { in nxt_process_start()
187 if (nxt_slow_path(tmp_mp == NULL)) { in nxt_process_start()
311 if (nxt_slow_path(pid < 0)) { in nxt_process_create()
317 if (nxt_slow_path(pid < 0)) { in nxt_process_create()
400 if (nxt_slow_path(ret != NXT_OK)) { in nxt_process_setup()
498 if (nxt_slow_path(buf == NULL)) { in nxt_process_whoami()
508 if (nxt_slow_path(stream == 0)) { in nxt_process_whoami()
607 if (nxt_slow_path(stream == 0)) { in nxt_process_send_created()
[all …]
H A Dnxt_cert.c64 if (nxt_slow_path(bio == NULL)) { in nxt_cert_mem()
84 if (nxt_slow_path(bio == NULL)) { in nxt_cert_fd()
375 if (nxt_slow_path(mp == NULL)) { in nxt_cert_info_save()
380 if (nxt_slow_path(info == NULL)) { in nxt_cert_info_save()
385 if (nxt_slow_path(name == NULL)) { in nxt_cert_info_save()
467 if (nxt_slow_path(all == NULL)) { in nxt_cert_info_get_all()
843 if (nxt_slow_path(dir == NULL)) { in nxt_cert_store_load()
980 if (nxt_slow_path(dir == NULL)) {
1002 if (nxt_slow_path(b == NULL)) {
1072 if (nxt_slow_path(b == NULL)) { in nxt_cert_store_get()
[all …]
H A Dnxt_socketpair.c26 if (nxt_slow_path(socketpair(AF_UNIX, NXT_UNIX_SOCKET, 0, pair) != 0)) { in nxt_socketpair_create()
33 if (nxt_slow_path(nxt_socket_nonblocking(task, pair[0]) != NXT_OK)) { in nxt_socketpair_create()
37 if (nxt_slow_path(fcntl(pair[0], F_SETFD, FD_CLOEXEC) == -1)) { in nxt_socketpair_create()
41 if (nxt_slow_path(nxt_socket_nonblocking(task, pair[1]) != NXT_OK)) { in nxt_socketpair_create()
45 if (nxt_slow_path(fcntl(pair[1], F_SETFD, FD_CLOEXEC) == -1)) { in nxt_socketpair_create()
52 if (nxt_slow_path(setsockopt(pair[0], SOL_SOCKET, SO_PASSCRED, in nxt_socketpair_create()
59 if (nxt_slow_path(setsockopt(pair[1], SOL_SOCKET, SO_PASSCRED, in nxt_socketpair_create()
H A Dnxt_log.h61 if (nxt_slow_path(_log->level >= _level_)) { \
71 if (nxt_slow_path(_log->level >= NXT_LOG_NOTICE || nxt_trace)) { \
90 if (nxt_slow_path(_log_->level >= _level_)) { \
102 if (nxt_slow_path(_log->level == NXT_LOG_DEBUG || nxt_debug)) { \
112 if (nxt_slow_path(_log_->level == NXT_LOG_DEBUG || nxt_debug)) { \
120 if (nxt_slow_path(!(c))) { \
H A Dnxt_h1proto_websocket.c177 if (nxt_slow_path(r == NULL)) { in nxt_h1p_conn_ws_keepalive()
182 if (nxt_slow_path(out == NULL)) { in nxt_h1p_conn_ws_keepalive()
259 if (nxt_slow_path(r == NULL)) { in nxt_h1p_conn_ws_frame_header_read()
265 if (nxt_slow_path(wsh->mask == 0)) { in nxt_h1p_conn_ws_frame_header_read()
271 if (nxt_slow_path(wsh->fin == 0)) { in nxt_h1p_conn_ws_frame_header_read()
475 if (nxt_slow_path(b == NULL)) { in nxt_h1p_ws_io_read_handler()
519 if (nxt_slow_path(r == NULL)) { in nxt_h1p_conn_ws_timeout()
559 if (nxt_slow_path(r == NULL)) { in nxt_h1p_conn_ws_frame_payload_read()
588 if (nxt_slow_path(err->args)) { in hxt_h1p_send_ws_error()
604 if (nxt_slow_path(out == NULL)) { in hxt_h1p_send_ws_error()
[all …]
H A Dnxt_unit.c601 if (nxt_slow_path(rc != 0)) { in nxt_unit_create()
665 if (nxt_slow_path(rc != 0)) { in nxt_unit_ctx_init()
863 if (nxt_slow_path(rc != 0)) { in nxt_unit_read_env()
887 if (nxt_slow_path(rc == EOF)) { in nxt_unit_read_env()
894 if (nxt_slow_path(rc != 16)) { in nxt_unit_read_env()
5268 if (nxt_slow_path(rc != 0)) { in nxt_unit_create_port()
5994 if (nxt_slow_path(n == -1)) { in nxt_unit_sendmsg()
6593 if (nxt_slow_path(p > end)) { in nxt_unit_log()
6601 if (nxt_slow_path(n < 0)) { in nxt_unit_log()
6643 if (nxt_slow_path(p > end)) { in nxt_unit_req_log()
[all …]
H A Dnxt_http_parse.c115 if (nxt_slow_path(rp->fields == NULL)) { in nxt_http_parse_request_init()
237 if (nxt_slow_path(p == end)) { in nxt_http_parse_request_line()
245 if (nxt_slow_path(ch != '/')) { in nxt_http_parse_request_line()
248 if (nxt_slow_path(rc != NXT_OK)) { in nxt_http_parse_request_line()
349 if (nxt_slow_path(end - p < 10)) { in nxt_http_parse_request_line()
597 if (nxt_slow_path(p == *pos)) { in nxt_http_parse_field_name()
617 if (nxt_slow_path(p != *pos)) { in nxt_http_parse_field_name()
635 if (nxt_slow_path(p == end)) { in nxt_http_parse_field_value()
657 if (nxt_slow_path(p == end)) { in nxt_http_parse_field_value()
784 if (nxt_slow_path(p == end)) { in nxt_http_parse_field_end()
[all …]
H A Dnxt_port_memory.c227 if (nxt_slow_path(mem == MAP_FAILED)) { in nxt_port_incoming_port_mmap()
262 if (nxt_slow_path(port_mmap == NULL)) { in nxt_port_incoming_port_mmap()
306 if (nxt_slow_path(port_mmap == NULL)) { in nxt_port_new_port_mmap()
314 if (nxt_slow_path(fd == -1)) { in nxt_port_new_port_mmap()
321 if (nxt_slow_path(mem == MAP_FAILED)) { in nxt_port_new_port_mmap()
386 if (nxt_slow_path(fd == -1)) { in nxt_shm_open()
398 if (nxt_slow_path(fd == -1)) { in nxt_shm_open()
413 if (nxt_slow_path(fd == -1)) { in nxt_shm_open()
521 if (nxt_slow_path(process == NULL)) { in nxt_port_get_port_incoming_mmap()
563 if (nxt_slow_path(b == NULL)) { in nxt_port_mmap_get_buf()
[all …]
H A Dnxt_fs.c29 if (nxt_slow_path(mnt->flags != 0)) { in nxt_fs_mount()
71 if (nxt_slow_path(rc < 0)) { in nxt_fs_mount()
94 if (nxt_slow_path((mnt->flags & NXT_FS_FLAGS_NODEV) && !mnt->builtin)) { in nxt_fs_mount()
160 if (nxt_slow_path(data == NULL)) { in nxt_fs_mount()
197 if (nxt_slow_path(nmount(iov, iovlen, flags) < 0)) { in nxt_fs_mount()
217 if (nxt_slow_path(umount2((const char *) path, MNT_DETACH) < 0)) { in nxt_fs_unmount()
228 if (nxt_slow_path(unmount((const char *) path, MNT_FORCE) < 0)) { in nxt_fs_unmount()
263 if (nxt_slow_path(nxt_fs_mkdir((u_char *) path, mode) != NXT_OK in nxt_fs_mkdir_all()
/unit/src/python/
H A Dnxt_python_asgi.c390 if (nxt_slow_path(fd == NULL)) { in nxt_py_asgi_remove_reader()
620 if (nxt_slow_path(v == NULL)) { in nxt_py_asgi_create_http_scope()
630 if (nxt_slow_path(v == NULL)) { in nxt_py_asgi_create_http_scope()
649 if (nxt_slow_path(v == NULL)) { in nxt_py_asgi_create_http_scope()
658 if (nxt_slow_path(v == NULL)) { in nxt_py_asgi_create_http_scope()
667 if (nxt_slow_path(v == NULL)) { in nxt_py_asgi_create_http_scope()
676 if (nxt_slow_path(v == NULL)) { in nxt_py_asgi_create_http_scope()
751 if (nxt_slow_path(v == NULL)) { in nxt_py_asgi_create_address()
767 if (nxt_slow_path(v == NULL)) { in nxt_py_asgi_create_address()
801 if (nxt_slow_path(v == NULL)) { in nxt_py_asgi_create_header()
[all …]
H A Dnxt_python_asgi_websocket.c167 if (nxt_slow_path(future == NULL)) { in nxt_py_asgi_websocket_receive()
563 if (nxt_slow_path(msg == NULL)) { in nxt_py_asgi_websocket_handler()
585 if (nxt_slow_path(exc == NULL)) { in nxt_py_asgi_websocket_handler()
613 if (nxt_slow_path(exc == NULL)) { in nxt_py_asgi_websocket_handler()
636 if (nxt_slow_path(res == NULL)) { in nxt_py_asgi_websocket_receive_done()
658 if (nxt_slow_path(res == NULL)) { in nxt_py_asgi_websocket_receive_fail()
697 if (nxt_slow_path(p == NULL)) { in nxt_py_asgi_websocket_suspend_frame()
901 if (nxt_slow_path(msg == NULL)) { in nxt_py_asgi_websocket_pop_msg()
983 if (nxt_slow_path(ws == NULL)) { in nxt_py_asgi_websocket_close_handler()
994 if (nxt_slow_path(msg == NULL)) { in nxt_py_asgi_websocket_close_handler()
[all …]
H A Dnxt_python_wsgi.c191 if (nxt_slow_path(obj == NULL)) { in nxt_python_wsgi_init()
218 if (nxt_slow_path(pctx == NULL)) { in nxt_python_wsgi_ctx_data_alloc()
337 if (nxt_slow_path(args == NULL)) { in nxt_python_request_handler()
470 if (nxt_slow_path(obj == NULL)) { in nxt_python_create_environ()
488 if (nxt_slow_path(obj == NULL)) { in nxt_python_create_environ()
542 if (nxt_slow_path(err == NULL)) { in nxt_python_create_environ()
790 if (nxt_slow_path(res == NULL)) { in nxt_python_field_name()
831 if (nxt_slow_path(res == NULL)) { in nxt_python_field_value()
956 if (nxt_slow_path(status < 0)) { in nxt_py_start_resp()
1218 if (nxt_slow_path(res < 0)) { in nxt_py_input_getline()
[all …]
H A Dnxt_python_asgi_http.c132 if (nxt_slow_path(msg == NULL)) { in nxt_py_asgi_http_receive()
139 if (nxt_slow_path(future == NULL)) { in nxt_py_asgi_http_receive()
208 if (nxt_slow_path(msg == NULL)) { in nxt_py_asgi_http_read_msg()
477 if (nxt_slow_path(msg == NULL)) { in nxt_py_asgi_http_emit_disconnect()
502 if (nxt_slow_path(res == NULL)) { in nxt_py_asgi_http_set_result()
539 if (nxt_slow_path(msg == NULL)) { in nxt_py_asgi_http_data_handler()
575 if (nxt_slow_path(sent < 0)) { in nxt_py_asgi_http_drain()
579 if (nxt_slow_path(sent == 0)) { in nxt_py_asgi_http_drain()
604 if (nxt_slow_path(exc == NULL)) { in nxt_py_asgi_http_drain()
617 if (nxt_slow_path(res == NULL)) { in nxt_py_asgi_http_drain()
[all …]
H A Dnxt_python.c102 if (nxt_slow_path(path == NULL)) { in nxt_python_start()
163 if (nxt_slow_path(obj == NULL)) { in nxt_python_start()
184 if (nxt_slow_path(obj == NULL)) { in nxt_python_start()
333 if (nxt_slow_path(value == NULL)) { in nxt_python_set_target()
344 if (nxt_slow_path(module == NULL)) { in nxt_python_set_target()
364 if (nxt_slow_path(obj == NULL)) { in nxt_python_set_target()
407 if (nxt_slow_path(sys == NULL)) { in nxt_python_set_path()
441 if (nxt_slow_path(ret != 0)) { in nxt_python_set_path()
466 if (nxt_slow_path(res != 0)) { in nxt_python_init_threads()
474 if (nxt_slow_path(res != 0)) { in nxt_python_init_threads()
[all …]
H A Dnxt_python_asgi_lifespan.c131 if (nxt_slow_path(receive == NULL)) { in nxt_py_asgi_lifespan_target_startup()
137 if (nxt_slow_path(receive == NULL)) { in nxt_py_asgi_lifespan_target_startup()
143 if (nxt_slow_path(receive == NULL)) { in nxt_py_asgi_lifespan_target_startup()
168 if (nxt_slow_path(scope == NULL)) { in nxt_py_asgi_lifespan_target_startup()
182 if (nxt_slow_path(res == NULL)) { in nxt_py_asgi_lifespan_target_startup()
211 if (nxt_slow_path(res == NULL)) { in nxt_py_asgi_lifespan_target_startup()
236 if (nxt_slow_path(res == NULL)) { in nxt_py_asgi_lifespan_target_startup()
246 if (nxt_slow_path(res == NULL)) { in nxt_py_asgi_lifespan_target_startup()
347 if (nxt_slow_path(res == NULL)) { in nxt_py_asgi_lifespan_target_shutdown()
473 if (nxt_slow_path(v != 0)) { in nxt_py_asgi_lifespan_send_startup()
[all …]
/unit/src/ruby/
H A Dnxt_ruby.c165 if (nxt_slow_path(v == Qnil)) { in nxt_ruby_init_strings()
319 if (nxt_slow_path(state != 0)) { in nxt_ruby_start()
328 if (nxt_slow_path(state != 0)) { in nxt_ruby_start()
467 if (nxt_slow_path(state == 0)) { in nxt_ruby_init_basic()
488 if (nxt_slow_path(state != 0)) { in nxt_ruby_rack_init()
508 if (nxt_slow_path(state != 0)) { in nxt_ruby_rack_init()
733 if (nxt_slow_path(status < 0)) { in nxt_ruby_rack_app_run()
1110 if (nxt_slow_path(fd == -1)) { in nxt_ruby_rack_result_body_file_write()
1119 if (nxt_slow_path(rc == -1)) { in nxt_ruby_rack_result_body_file_write()
1223 if (nxt_slow_path(err == Qnil)) { in nxt_ruby_exception_log()
[all …]
/unit/src/perl/
H A Dnxt_perl_psgi.c208 if (nxt_slow_path(items != 2)) { in XS()
262 if (nxt_slow_path(items != 1)) { in XS()
429 if (nxt_slow_path(buf == NULL)) { in nxt_perl_psgi_module_create()
511 if (nxt_slow_path(status != 0)) { in nxt_perl_psgi_ctx_init()
527 if (nxt_slow_path(status != 0)) { in nxt_perl_psgi_ctx_init()
732 if (nxt_slow_path(ha == NULL)) { in nxt_perl_psgi_add_str()
747 if (nxt_slow_path(ha == NULL)) { in nxt_perl_psgi_add_value()
1041 if (nxt_slow_path(status < 0)) { in nxt_perl_psgi_result_array()
1220 if (nxt_slow_path(env == NULL)) { in nxt_perl_psgi_request_handler()
1310 if (nxt_slow_path(ctx == NULL)) { in nxt_perl_psgi_thread_func()
[all …]

12345