/unit/src/ |
H A D | nxt_application.c | 177 if (nxt_slow_path(b == NULL)) { in nxt_discovery_start() 189 if (nxt_slow_path(stream == 0)) { in nxt_discovery_start() 196 if (nxt_slow_path(ret != NXT_OK)) { in nxt_discovery_start() 319 if (nxt_slow_path(p > end)) { in nxt_discovery_modules() 519 if (nxt_slow_path(lang == NULL)) { in nxt_proto_setup() 571 if (nxt_slow_path(ret != 0)) { in nxt_proto_setup() 607 if (nxt_slow_path(process == NULL)) { in nxt_proto_start_process_handler() 711 if (nxt_slow_path(process == NULL)) { in nxt_proto_process_created_handler() 872 if (nxt_slow_path(dl == NULL)) { in nxt_app_module_load() 881 if (nxt_slow_path(app == NULL)) { in nxt_app_module_load() [all …]
|
H A D | nxt_array.c | 17 if (nxt_slow_path(array == NULL)) { in nxt_array_create() 63 if (nxt_slow_path(p == NULL)) { in nxt_array_add() 124 if (nxt_slow_path(dst == NULL)) { in nxt_array_copy() 139 if (nxt_slow_path(data == NULL)) { in nxt_array_copy()
|
H A D | nxt_buf.c | 36 if (nxt_slow_path(b == NULL)) { in nxt_buf_mem_alloc() 63 if (nxt_slow_path(b == NULL)) { in nxt_buf_mem_ts_alloc() 101 if (nxt_slow_path(b == NULL)) { in nxt_buf_file_alloc() 306 if (nxt_slow_path(size == 0)) { in nxt_buf_make_plain() 314 if (nxt_slow_path(b == NULL)) { in nxt_buf_make_plain() 319 if (nxt_slow_path(nxt_buf_mem_free_size(&b->mem) in nxt_buf_make_plain()
|
H A D | nxt_buf.h | 233 if (nxt_slow_path(src != NULL && src->next != NULL)) { in nxt_buf_chk_make_plain()
|
H A D | nxt_capability.c | 90 if (nxt_slow_path(nxt_capget(&hdr, val) == -1)) { in nxt_capability_specific_set()
|
H A D | nxt_cert.c | 64 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 D | nxt_cgroup.c | 33 if (nxt_slow_path(ret == NXT_ERROR)) { in nxt_cgroup_proc_add() 38 if (nxt_slow_path(ret == NXT_ERROR)) { in nxt_cgroup_proc_add() 45 if (nxt_slow_path(len >= NXT_MAX_PATH_LEN - len)) { in nxt_cgroup_proc_add() 51 if (nxt_slow_path(fp == NULL)) { in nxt_cgroup_proc_add() 59 if (nxt_slow_path(len < 0)) { in nxt_cgroup_proc_add() 75 if (nxt_slow_path(ret == NXT_ERROR)) { in nxt_cgroup_cleanup() 80 if (nxt_slow_path(ret == NXT_ERROR)) { in nxt_cgroup_cleanup() 103 if (nxt_slow_path(fp == NULL)) { in nxt_mk_cgpath_relative()
|
H A D | nxt_clang.h | 37 #define nxt_slow_path(x) \ macro 49 #define nxt_slow_path(x) \ macro
|
H A D | nxt_clone.c | 35 if (nxt_slow_path(p == end)) { in nxt_clone_credential_setgroups() 60 if (nxt_slow_path(n == -1)) { in nxt_clone_credential_setgroups() 81 if (nxt_slow_path(p == end)) { in nxt_clone_credential_map_write() 89 if (nxt_slow_path(mapfd == -1)) { in nxt_clone_credential_map_write() 97 if (nxt_slow_path(n != len)) { in nxt_clone_credential_map_write() 174 if (nxt_slow_path(p == end)) { in nxt_clone_credential_map_set() 220 if (nxt_slow_path(ret != NXT_OK)) { in nxt_clone_credential_map() 225 if (nxt_slow_path(ret != NXT_OK)) { in nxt_clone_credential_map() 234 if (nxt_slow_path(ret != NXT_OK)) { in nxt_clone_credential_map() 341 if (nxt_slow_path(m.size > 1)) { in nxt_clone_vldt_credential_gidmap() [all …]
|
H A D | nxt_conf.c | 265 if (nxt_slow_path(value == NULL)) { in nxt_conf_create_object() 380 if (nxt_slow_path(value == NULL)) { in nxt_conf_create_array() 541 if (nxt_slow_path(end == NULL)) { in nxt_conf_path_next_token() 965 if (nxt_slow_path(copy == NULL)) { in nxt_conf_clone() 971 if (nxt_slow_path(rc != NXT_OK)) { in nxt_conf_clone() 1266 if (nxt_slow_path(p == end)) { in nxt_conf_json_parse() 1279 if (nxt_slow_path(p == NULL)) { in nxt_conf_json_parse() 1285 if (nxt_slow_path(p != end)) { in nxt_conf_json_parse() 1519 if (nxt_slow_path(p == end)) { in nxt_conf_json_parse_object() 1937 if (nxt_slow_path(p == end)) { in nxt_conf_json_parse_string() [all …]
|
H A D | nxt_conf_validation.c | 1711 if (nxt_slow_path(sa == NULL)) { in nxt_conf_vldt_listener() 1960 if (nxt_slow_path(ret == NULL)) { in nxt_conf_vldt_proxy() 2283 if (nxt_slow_path(p == NULL)) { in nxt_conf_vldt_match_encoded_patterns_set_member() 2288 if (nxt_slow_path(end == NULL)) { in nxt_conf_vldt_match_encoded_patterns_set_member() 2335 if (nxt_slow_path(ret != NXT_OK)) { in nxt_conf_vldt_match_encoded_pattern() 2342 if (nxt_slow_path(p == NULL)) { in nxt_conf_vldt_match_encoded_pattern() 2347 if (nxt_slow_path(end == NULL)) { in nxt_conf_vldt_match_encoded_pattern() 2613 if (nxt_slow_path(apps == NULL)) { in nxt_conf_vldt_app_name() 2619 if (nxt_slow_path(app == NULL)) { in nxt_conf_vldt_app_name() 3123 if (nxt_slow_path(ret != NXT_OK)) { in nxt_conf_vldt_clone_uidmap() [all …]
|
H A D | nxt_conn.c | 49 if (nxt_slow_path(c == NULL)) { in nxt_conn_create() 162 if (nxt_slow_path(sa == NULL)) { in nxt_conn_local_addr() 170 if (nxt_slow_path(ret != 0)) { in nxt_conn_local_addr()
|
H A D | nxt_conn_accept.c | 100 if (nxt_slow_path(c == NULL)) { in nxt_conn_accept_alloc() 175 if (nxt_slow_path(nxt_socket_nonblocking(task, s) != NXT_OK)) { in nxt_conn_io_accept() 244 if (nxt_slow_path(c == NULL)) { in nxt_conn_accept_next()
|
H A D | nxt_conn_close.c | 48 if (nxt_slow_path(ret != 0)) { in nxt_conn_close()
|
H A D | nxt_conn_connect.c | 89 if (nxt_slow_path(s == -1)) { in nxt_conn_socket() 111 if (nxt_slow_path(nxt_socket_bind(task, s, c->local) != NXT_OK)) { in nxt_conn_socket()
|
H A D | nxt_conn_proxy.c | 67 if (nxt_slow_path(p == NULL)) { in nxt_conn_proxy_create() 72 if (nxt_slow_path(peer == NULL)) { in nxt_conn_proxy_create() 156 if (nxt_slow_path(b == NULL)) { in nxt_conn_proxy_client_buffer_alloc() 305 if (nxt_slow_path(b == NULL)) { in nxt_conn_proxy_peer_read()
|
H A D | nxt_conn_write.c | 218 if (nxt_slow_path(n == 0)) { in nxt_conn_io_sendfile() 286 if (nxt_slow_path(map == MAP_FAILED)) { in nxt_sendfile()
|
H A D | nxt_controller.c | 355 if (nxt_slow_path(mp == NULL)) { in nxt_controller_start() 519 if (nxt_slow_path(mp == NULL)) { in nxt_controller_conf_default() 613 if (nxt_slow_path(b == NULL)) { in nxt_controller_conf_send() 618 if (nxt_slow_path(fd == -1)) { in nxt_controller_conf_send() 638 if (nxt_slow_path(stream == 0)) { in nxt_controller_conf_send() 725 if (nxt_slow_path(r == NULL)) { in nxt_controller_conn_init() 742 if (nxt_slow_path(b == NULL)) { in nxt_controller_conn_init() 2326 if (nxt_slow_path(b == NULL)) { in nxt_controller_process_control() 2443 if (nxt_slow_path(fd == -1)) { in nxt_controller_conf_store() 2459 if (nxt_slow_path(b == NULL)) { in nxt_controller_conf_store() [all …]
|
H A D | nxt_credential.c | 24 if (nxt_slow_path(pwd == NULL)) { in nxt_credential_get() 44 if (nxt_slow_path(grp == NULL)) { in nxt_credential_get() 123 if (nxt_slow_path(uc->gids == NULL)) { in nxt_credential_groups_get() 142 if (nxt_slow_path(uc->gids == NULL)) { in nxt_credential_groups_get() 191 if (nxt_slow_path(nsaved == -1)) { in nxt_credential_groups_get() 209 if (nxt_slow_path(saved == NULL)) { in nxt_credential_groups_get() 217 if (nxt_slow_path(nsaved == -1)) { in nxt_credential_groups_get() 243 if (nxt_slow_path(ngroups == -1)) { in nxt_credential_groups_get() 252 if (nxt_slow_path(uc->gids == NULL)) { in nxt_credential_groups_get() 258 if (nxt_slow_path(ngroups == -1)) { in nxt_credential_groups_get() [all …]
|
H A D | nxt_cyassl.c | 115 if (nxt_slow_path(nxt_cyassl_start() != NXT_OK)) { in nxt_cyassl_server_init() 440 if (nxt_slow_path(n == NXT_ERROR)) { in nxt_cyassl_conn_io_send() 466 if (nxt_slow_path(ret != SSL_SUCCESS)) { in nxt_cyassl_conn_io_shutdown()
|
H A D | nxt_devpoll_engine.c | 440 if (nxt_slow_path(ret != NXT_OK)) { in nxt_devpoll_commit_changes() 458 if (nxt_slow_path(ret != NXT_OK)) { in nxt_devpoll_commit_changes() 545 if (nxt_slow_path(write(fd, pfd, n) == (ssize_t) n)) { in nxt_devpoll_write() 608 if (nxt_slow_path(ev == NULL)) { in nxt_devpoll_poll() 621 if (nxt_slow_path(events & (POLLERR | POLLHUP | POLLNVAL)) != 0) { in nxt_devpoll_poll()
|
H A D | nxt_epoll_engine.c | 631 if (nxt_slow_path(ret != 0)) { in nxt_epoll_commit_changes() 778 if (nxt_slow_path(ret != NXT_OK)) { in nxt_epoll_enable_post() 861 if (nxt_slow_path(ret != sizeof(uint64_t))) { in nxt_epoll_signal()
|
H A D | nxt_event_conn_job_sendfile.c | 53 if (nxt_slow_path(jbs == NULL)) { in nxt_event_conn_job_sendfile_start() 119 if (nxt_slow_path(ret == NXT_ERROR)) { in nxt_event_conn_job_sendfile_handler() 230 if (nxt_slow_path(c->socket.error != 0)) { in nxt_event_conn_job_sendfile_return()
|
H A D | nxt_event_engine.c | 255 if (nxt_slow_path(work->next != NULL)) { in nxt_event_engine_post() 585 if (nxt_slow_path(mem_cache == NULL)) { in nxt_event_engine_mem_alloc() 600 if (nxt_slow_path(cache == NULL)) { in nxt_event_engine_mem_alloc() 645 if (nxt_slow_path(n == NXT_EVENT_ENGINE_NO_MEM_HINT)) { in nxt_event_engine_mem_free() 688 if (nxt_slow_path(b == NULL)) { in nxt_event_engine_buf_mem_alloc()
|
H A D | nxt_eventport_engine.c | 542 if (nxt_slow_path(events & (POLLERR | POLLHUP | POLLNVAL)) != 0) { in nxt_eventport_poll()
|