Home
last modified time | relevance | path

Searched refs:nxt_assert (Results 1 – 21 of 21) sorted by relevance

/unit/src/
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_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_log.h118 #define nxt_assert(c) \ macro
133 #define nxt_assert(c) macro
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_capability.c38 nxt_assert(cap->setid == 0); in nxt_capability_set()
H A Dnxt_router.c724 nxt_assert(port->id != 0); in nxt_router_new_port_handler()
2319 nxt_assert(fd != -1); in nxt_router_port_queue_map()
2903 nxt_assert(port != NULL); in nxt_router_app_prefork_ready()
4197 nxt_assert(app != NULL); in nxt_router_response_ready_handler()
4554 nxt_assert(data != NULL); in nxt_router_app_port_ready()
4561 nxt_assert(port != NULL); in nxt_router_app_port_ready()
4672 nxt_assert(data != NULL); in nxt_router_app_port_error()
4808 nxt_assert(port != NULL); in nxt_router_app_port_release()
4926 nxt_assert(app != NULL); in nxt_router_app_port_close()
5383 nxt_assert(app != NULL); in nxt_router_app_prepare_request()
[all …]
H A Dnxt_process.c467 nxt_assert(0); in nxt_process_do_start()
493 nxt_assert(my_port != NULL && main_port != NULL); in nxt_process_whoami()
544 nxt_assert(nxt_buf_used_size(buf) == sizeof(nxt_pid_t)); in nxt_process_whoami_ok()
593 nxt_assert(process->state == NXT_PROCESS_STATE_CREATED); in nxt_process_send_created()
600 nxt_assert(my_port != NULL && main_port != NULL); in nxt_process_send_created()
989 nxt_assert(port->process == NULL); in nxt_process_port_add()
H A Dnxt_array.c129 nxt_assert(size == dst->size); in nxt_array_copy()
H A Dnxt_http_chunk_parse.c258 nxt_assert(data == b->parent); in nxt_http_chunk_buf_completion()
H A Dnxt_fs.c245 nxt_assert(dirlen < PATH_MAX && dirlen > 1 && dir[0] == '/'); in nxt_fs_mkdir_all()
H A Dnxt_runtime.c1409 nxt_assert(process->use_count == 0); in nxt_runtime_process_release()
1410 nxt_assert(process->registered == 0); in nxt_runtime_process_release()
1551 nxt_assert(process->registered == 0); in nxt_runtime_process_add()
H A Dnxt_main_process.c568 nxt_assert(process != NULL); in nxt_main_process_created_handler()
569 nxt_assert(process->state == NXT_PROCESS_STATE_CREATING); in nxt_main_process_created_handler()
623 nxt_assert(msg->port_msg.reply_port == 0); in nxt_main_process_whoami_handler()
H A Dnxt_string.c806 nxt_assert(length != 0); in nxt_base64_decode()
H A Dnxt_var.c575 nxt_assert(str != NULL); in nxt_var_query_finish()
H A Dnxt_controller.c462 nxt_assert(nxt_buf_used_size(msg->buf) == sizeof(pid)); in nxt_controller_remove_pid_handler()
572 nxt_assert(router_port != NULL); in nxt_controller_conf_send()
573 nxt_assert(nxt_controller_router_ready); in nxt_controller_conf_send()
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_openssl.c312 nxt_assert(bundle != NULL); in nxt_openssl_server_init()
1141 nxt_assert(bundle != NULL);
H A Dnxt_port_memory.c134 nxt_assert(data == b->parent); in nxt_port_mmap_buf_completion()
H A Dnxt_isolation.c530 nxt_assert(lang != NULL); in nxt_isolation_set_mounts()
H A Dnxt_cert.c1116 nxt_assert(b->next == NULL); in nxt_cert_buf_completion()
H A Dnxt_http_route.c2085 nxt_assert(pattern->u.pattern_slices != NULL); in nxt_http_route_pattern()