/unit/src/python/ |
H A D | nxt_python_asgi_http.c | 95 if (nxt_fast_path(http != NULL)) { in nxt_py_asgi_http_create() 514 if (nxt_fast_path(res == Py_False)) { in nxt_py_asgi_http_set_result() 646 if (nxt_fast_path(http != NULL)) { in nxt_py_asgi_http_close_handler()
|
H A D | nxt_python_wsgi.c | 380 if (nxt_fast_path(iterator != NULL)) { in nxt_python_request_handler() 398 if (nxt_fast_path(PyBytes_Check(item))) { in nxt_python_request_handler() 454 if (nxt_fast_path(prepare_environ)) { in nxt_python_request_handler() 1155 if (nxt_fast_path(!PyBytes_Check(str))) { in nxt_py_write() 1256 if (nxt_fast_path(ssize > 0)) { in nxt_py_input_readline() 1409 if (nxt_fast_path(rc == NXT_UNIT_OK)) { in nxt_python_write()
|
H A D | nxt_python_asgi_lifespan.c | 365 if (nxt_fast_path(msg != NULL)) { in nxt_py_asgi_lifespan_target_shutdown() 518 if (nxt_fast_path(message != NULL && PyUnicode_Check(message))) { in nxt_py_asgi_lifespan_send_startup()
|
/unit/src/ |
H A D | nxt_router.c | 738 if (nxt_fast_path(app != NULL)) { in nxt_router_new_port_handler() 819 if (nxt_fast_path(ret == NXT_OK)) { in nxt_router_conf_data_handler() 875 if (nxt_fast_path(app != NULL)) { in nxt_router_app_restart_handler() 1049 if (nxt_fast_path(engine->port != NULL)) { in nxt_router_remove_pid_handler() 1920 if (nxt_fast_path(conf != NULL)) { in nxt_router_conf_create() 3659 if (nxt_fast_path(res == NXT_OK)) { in nxt_router_rt_add_port() 4978 if (nxt_fast_path(app_joint->app != NULL)) { in nxt_router_app_idle_timeout() 5309 if (nxt_fast_path(res == NXT_OK)) { in nxt_router_app_prepare_request()
|
H A D | nxt_main_process.c | 430 if (nxt_fast_path(mem != MAP_FAILED)) { in nxt_main_new_port_handler() 589 if (nxt_fast_path(ret == NXT_OK || ret == NXT_AGAIN)) { in nxt_main_start_process_handler() 611 if (nxt_fast_path(port != NULL)) { in nxt_main_start_process_handler() 881 if (nxt_fast_path(port != NULL)) { in nxt_main_process_sigusr1_handler() 1164 if (nxt_fast_path(out != NULL)) { in nxt_main_port_socket_handler() 1438 if (nxt_fast_path(port != NULL)) { in nxt_main_port_modules_handler() 1647 if (nxt_fast_path(ret == NXT_OK)) { in nxt_main_port_conf_store_handler() 1726 if (nxt_fast_path(port != NULL)) { in nxt_main_port_access_log_handler()
|
H A D | nxt_application.c | 664 if (nxt_fast_path(port != NULL)) { in nxt_proto_start_process_handler()
|
H A D | nxt_listen_socket.c | 19 if (nxt_fast_path(listen(s, backlog) == 0)) { in nxt_listen_socket()
|
H A D | nxt_runtime.c | 688 if (nxt_fast_path(thread_pool != NULL)) { in nxt_runtime_thread_pool_create() 900 if (nxt_fast_path(ret == 0 || nxt_errno == EEXIST)) { in nxt_runtime_conf_init() 917 if (nxt_fast_path(ret == 0 || nxt_errno == EEXIST)) { in nxt_runtime_conf_init() 1310 if (nxt_fast_path(log_files != NULL)) { in nxt_runtime_log_files_init() 1466 if (nxt_fast_path(length != 0)) { in nxt_current_directory() 1469 if (nxt_fast_path(name != NULL)) { in nxt_current_directory()
|
H A D | nxt_file.c | 118 if (nxt_fast_path(n >= 0)) { in nxt_file_write() 146 if (nxt_fast_path(n >= 0)) { in nxt_file_read() 173 if (nxt_fast_path(ret != -1)) { in nxt_file_read_ahead() 211 if (nxt_fast_path(err == 0)) { in nxt_file_read_ahead() 234 if (nxt_fast_path(ret != -1)) { in nxt_file_read_ahead() 305 if (nxt_fast_path(unlink((char *) name) == 0)) { in nxt_file_delete() 418 if (nxt_fast_path(ret == 0)) { in nxt_file_rename() 450 if (nxt_fast_path(ioctl(fd, FIONBIO, &nb) != -1)) { in nxt_fd_nonblocking() 468 if (nxt_fast_path(ioctl(fd, FIONBIO, &nb) != -1)) { in nxt_fd_blocking() 601 if (nxt_fast_path(fp != NULL)) { in nxt_file_fopen() [all …]
|
H A D | nxt_conf.c | 1402 if (nxt_fast_path(end - start >= 4 in nxt_conf_json_parse_value() 1414 if (nxt_fast_path(end - start >= 5 in nxt_conf_json_parse_value() 1426 if (nxt_fast_path(end - start >= 4 in nxt_conf_json_parse_value() 1436 if (nxt_fast_path(end - start > 1)) { in nxt_conf_json_parse_value() 1444 if (nxt_fast_path((ch - '0') <= 9)) { in nxt_conf_json_parse_value() 1530 if (nxt_fast_path(*p == '}')) { in nxt_conf_json_parse_object() 1625 if (nxt_fast_path(*p == '}')) { in nxt_conf_json_parse_object() 1787 if (nxt_fast_path(*p == ']')) { in nxt_conf_json_parse_array() 1866 if (nxt_fast_path(ch >= ' ')) { in nxt_conf_json_parse_string() 2106 for (p = s; nxt_fast_path(p != end); p++) { in nxt_conf_json_parse_number() [all …]
|
H A D | nxt_http_static.c | 414 if (nxt_fast_path(ret == NXT_OK)) { in nxt_http_static_send_ready() 513 if (nxt_fast_path(nxt_is_file(&fi))) { in nxt_http_static_send_ready()
|
H A D | nxt_isolation.c | 828 if (nxt_fast_path(ret == NXT_OK)) { in nxt_isolation_change_root() 1076 if (nxt_fast_path(nxt_isolation_chroot(task, rootfs) == NXT_OK)) { in nxt_isolation_change_root()
|
H A D | nxt_http_request.c | 100 if (nxt_fast_path(ret == NXT_OK)) { in nxt_http_request_host() 223 if (nxt_fast_path(r->content_length == NULL)) { in nxt_http_request_content_length() 228 if (nxt_fast_path(n >= 0)) { in nxt_http_request_content_length() 562 if (nxt_fast_path(action != NULL)) { in nxt_http_request_action() 615 if (nxt_fast_path(r->proto.any != NULL)) { in nxt_http_request_proto_info() 624 if (nxt_fast_path(r->proto.any != NULL)) { in nxt_http_request_read_body() 704 if (nxt_fast_path(r->proto.any != NULL)) { in nxt_http_request_header_send() 729 if (nxt_fast_path(r->proto.any != NULL)) { in nxt_http_request_send() 741 if (nxt_fast_path(b != NULL)) { in nxt_http_buf_mem() 812 if (nxt_fast_path(proto.any != NULL)) { in nxt_http_request_error_handler() [all …]
|
H A D | nxt_clone.c | 398 if (nxt_fast_path(gid_ok)) { in nxt_clone_vldt_credential_gidmap()
|
H A D | nxt_socket.c | 83 if (nxt_fast_path(getsockopt(s, level, sockopt, &val, &len) == 0)) { in nxt_socket_getsockopt() 105 if (nxt_fast_path(setsockopt(s, level, sockopt, &val, len) == 0)) { in nxt_socket_setsockopt() 180 if (nxt_fast_path(bind(s, &sa->u.sockaddr, sa->socklen) == 0)) { in nxt_socket_bind() 253 if (nxt_fast_path(shutdown(s, how) == 0)) { in nxt_socket_shutdown() 288 if (nxt_fast_path(close(s) == 0)) { in nxt_socket_close()
|
H A D | nxt_openssl.c | 137 if (nxt_fast_path(nxt_openssl_version != 0)) { in nxt_openssl_library_init() 1006 if (nxt_fast_path(ret == NXT_OK)) { 1012 if (nxt_fast_path(ret == NXT_DECLINED)) {
|
H A D | nxt_php_sapi.c | 216 if (nxt_fast_path(ctx != NULL)) { in ZEND_NAMED_FUNCTION() 1301 if (nxt_fast_path(rc == NXT_UNIT_OK)) { 1591 if (nxt_fast_path(ret == SUCCESS)) {
|
H A D | nxt_sprintf.c | 145 if (nxt_fast_path(v != NULL)) { in nxt_vsprintf()
|
H A D | nxt_controller.c | 260 if (nxt_fast_path(nxt_is_file(&fi))) { in nxt_controller_file_read() 437 if (nxt_fast_path(rc == NXT_OK)) { in nxt_controller_send_current_conf() 1047 if (nxt_fast_path(length >= 0)) { in nxt_controller_request_content_length()
|
H A D | nxt_unit.c | 1488 if (nxt_fast_path(port != NULL)) { in nxt_unit_request_check_response_port() 2820 if (nxt_fast_path(rbuf != NULL)) { in nxt_unit_read_buf_get_impl() 3814 if (nxt_fast_path(hdr != NULL)) { in nxt_unit_new_mmap() 4190 if (nxt_fast_path(*hdr != NULL)) { in nxt_unit_check_rbuf_mmap() 5657 if (nxt_fast_path(port != NULL)) { in nxt_unit_remove_port() 5669 if (nxt_fast_path(port != NULL)) { in nxt_unit_remove_port() 6588 if (nxt_fast_path(ctx != NULL)) { in nxt_unit_log() 6632 if (nxt_fast_path(req != NULL)) { in nxt_unit_req_log() 6648 if (nxt_fast_path(req != NULL)) { in nxt_unit_req_log() 6726 if (nxt_fast_path(err == 0)) { in nxt_unit_lvlhsh_alloc() [all …]
|
H A D | nxt_http_route.c | 1622 if (r->local == NULL && nxt_fast_path(r->proto.any != NULL)) { in nxt_http_route_match()
|
H A D | nxt_h1proto.c | 201 if (nxt_fast_path(ret == NXT_OK)) { in nxt_h1p_init() 485 if (nxt_fast_path(r != NULL)) { in nxt_h1p_conn_request_init() 504 if (nxt_fast_path(ret == NXT_OK)) { in nxt_h1p_conn_request_init() 591 if (nxt_fast_path(ret == NXT_OK)) { in nxt_h1p_conn_request_header_parse() 610 if (nxt_fast_path(status == NXT_OK)) { in nxt_h1p_conn_request_header_parse() 1780 if (nxt_fast_path(joint != NULL)) { in nxt_h1p_conn_timer_value()
|
H A D | nxt_script.c | 596 if (nxt_fast_path(ret == NXT_OK)) { in nxt_script_store_get_handler() 616 if (nxt_fast_path(b != NULL)) { in nxt_script_store_delete() 662 if (nxt_fast_path(path != NULL)) { in nxt_script_store_delete_handler()
|
/unit/src/ruby/ |
H A D | nxt_ruby.c | 1352 if (nxt_fast_path(res != Qnil)) { in nxt_ruby_ready_handler()
|
/unit/src/test/ |
H A D | nxt_unit_app_test.c | 73 if (nxt_fast_path(err == 0)) { in main()
|