Home
last modified time | relevance | path

Searched refs:nxt_assert (Results 1 – 22 of 22) sorted by last modified time

/unit/src/
H A Dnxt_router.c724 nxt_assert(port->id != 0); in nxt_router_new_port_handler()
2529 nxt_assert(fd != -1); in nxt_router_port_queue_map()
3113 nxt_assert(port != NULL); in nxt_router_app_prefork_ready()
4066 nxt_assert(app != NULL); in nxt_router_response_ready_handler()
4423 nxt_assert(data != NULL); in nxt_router_app_port_ready()
4430 nxt_assert(port != NULL); in nxt_router_app_port_ready()
4541 nxt_assert(data != NULL); in nxt_router_app_port_error()
4677 nxt_assert(port != NULL); in nxt_router_app_port_release()
4795 nxt_assert(app != NULL); in nxt_router_app_port_close()
5252 nxt_assert(app != NULL); in nxt_router_app_prepare_request()
[all …]
H A Dnxt_main_process.c643 nxt_assert(process != NULL); in nxt_main_process_created_handler()
644 nxt_assert(process->state == NXT_PROCESS_STATE_CREATING); in nxt_main_process_created_handler()
703 nxt_assert(msg->port_msg.reply_port == 0); in nxt_main_process_whoami_handler()
H A Dnxt_application.c730 nxt_assert(!nxt_queue_is_empty(&process->ports)); in nxt_proto_process_created_handler()
840 nxt_assert(!nxt_queue_is_empty(&process->ports)); in nxt_proto_sigchld_handler()
H A Dnxt_runtime.c1532 nxt_assert(process->use_count == 0); in nxt_runtime_process_release()
1533 nxt_assert(process->registered == 0); in nxt_runtime_process_release()
1534 nxt_assert(nxt_queue_is_empty(&process->ports)); in nxt_runtime_process_release()
1675 nxt_assert(process->registered == 0); in nxt_runtime_process_add()
1724 nxt_assert(process->registered != 0); in nxt_runtime_process_remove()
1737 nxt_assert(lhq.value == process); in nxt_runtime_process_remove()
H A Dnxt_isolation.c584 nxt_assert(lang != NULL); in nxt_isolation_set_mounts()
H A Dnxt_openssl.c312 nxt_assert(bundle != NULL); in nxt_openssl_server_init()
1141 nxt_assert(bundle != NULL);
H A Dnxt_controller.c494 nxt_assert(nxt_buf_used_size(msg->buf) == sizeof(pid)); in nxt_controller_remove_pid_handler()
605 nxt_assert(router_port != NULL); in nxt_controller_conf_send()
606 nxt_assert(nxt_controller_router_ready); in nxt_controller_conf_send()
1585 nxt_assert(router_port != NULL); in nxt_controller_process_status()
1586 nxt_assert(nxt_controller_router_ready); in nxt_controller_process_status()
H A Dnxt_http_route.c2137 nxt_assert(pattern->u.pattern_slices != NULL); in nxt_http_route_pattern()
H A Dnxt_script.c533 nxt_assert(b->next == NULL); in nxt_script_buf_completion()
H A Dnxt_process.c614 nxt_assert(!nxt_queue_is_empty(&process->ports)); in nxt_process_create()
747 nxt_assert(0); in nxt_process_do_start()
773 nxt_assert(my_port != NULL && main_port != NULL); in nxt_process_whoami()
824 nxt_assert(nxt_buf_used_size(buf) == sizeof(nxt_pid_t)); in nxt_process_whoami_ok()
873 nxt_assert(process->state == NXT_PROCESS_STATE_CREATED); in nxt_process_send_created()
880 nxt_assert(my_port != NULL && main_port != NULL); in nxt_process_send_created()
1221 nxt_assert(port->process == NULL); in nxt_process_port_add()
H A Dnxt_fs.c20 nxt_assert(dirlen < PATH_MAX && dirlen > 1 && dir[0] == '/'); in nxt_fs_mkdir_all()
H A Dnxt_string.c806 nxt_assert(length != 0); in nxt_base64_decode()
H A Dnxt_port.c31 nxt_assert(port->pair[0] == -1); in nxt_port_mp_cleanup()
32 nxt_assert(port->pair[1] == -1); in nxt_port_mp_cleanup()
34 nxt_assert(port->use_count == 0); in nxt_port_mp_cleanup()
35 nxt_assert(port->app_link.next == NULL); in nxt_port_mp_cleanup()
36 nxt_assert(port->idle_link.next == NULL); in nxt_port_mp_cleanup()
38 nxt_assert(nxt_queue_is_empty(&port->messages)); in nxt_port_mp_cleanup()
39 nxt_assert(nxt_lvlhsh_is_empty(&port->rpc_streams)); in nxt_port_mp_cleanup()
40 nxt_assert(nxt_lvlhsh_is_empty(&port->rpc_peers)); in nxt_port_mp_cleanup()
135 nxt_assert(port->process != NULL); in nxt_port_release()
327 nxt_assert(!nxt_queue_is_empty(&process->ports)); in nxt_port_process_ready_handler()
[all …]
H A Dnxt_capability.c38 nxt_assert(cap->setid == 0); in nxt_capability_set()
H A Dnxt_port_socket.c743 nxt_assert(port->engine == task->thread->engine); in nxt_port_read_handler()
827 nxt_assert(port->engine == task->thread->engine); in nxt_port_queue_read_handler()
H A Dnxt_port_rpc.c112 nxt_assert(reg->data == ex); in nxt_port_rpc_register_handler()
129 nxt_assert(port->pair[0] != -1); in nxt_port_rpc_register_handler_ex()
181 nxt_assert(reg->data == ex); in nxt_port_rpc_ex_stream()
198 nxt_assert(reg->data == ex); in nxt_port_rpc_ex_set_peer()
269 nxt_assert(reg->link.prev == &reg->link); in nxt_port_rpc_remove_from_peers()
407 nxt_assert(reg->peer == peer); in nxt_port_rpc_remove_peer()
417 nxt_assert(peer_link->prev == peer_link); in nxt_port_rpc_remove_peer()
422 nxt_assert(peer_link->next->prev == peer_link); in nxt_port_rpc_remove_peer()
423 nxt_assert(peer_link->prev->next == peer_link); in nxt_port_rpc_remove_peer()
H A Dnxt_port_memory.c134 nxt_assert(data == b->parent); in nxt_port_mmap_buf_completion()
H A Dnxt_log.h118 #define nxt_assert(c) \ macro
133 #define nxt_assert(c) macro
H A Dnxt_http_chunk_parse.c258 nxt_assert(data == b->parent); in nxt_http_chunk_buf_completion()
H A Dnxt_cert.c1116 nxt_assert(b->next == NULL); in nxt_cert_buf_completion()
H A Dnxt_buf.c207 nxt_assert(data == b->parent); in nxt_buf_completion()
248 nxt_assert(b->is_ts != 0); in nxt_buf_ts_handle()
284 nxt_assert(data == b->parent); in nxt_buf_ts_completion()
H A Dnxt_array.c129 nxt_assert(size == dst->size); in nxt_array_copy()