Home
last modified time | relevance | path

Searched refs:nxt_buf_mem_used_size (Results 1 – 12 of 12) sorted by relevance

/unit/src/
H A Dnxt_http_websocket.c63 used_size = nxt_buf_mem_used_size(&b->mem); in nxt_http_websocket_client()
91 if (nxt_buf_mem_used_size(&b->mem) == 0) { in nxt_http_websocket_client()
112 used_size = nxt_buf_mem_used_size(&b->mem); in nxt_http_websocket_client()
H A Dnxt_buf.h201 #define nxt_buf_mem_used_size(bm) \ macro
211 nxt_buf_mem_used_size(&(b)->mem))
H A Dnxt_sendbuf.c218 size = nxt_buf_mem_used_size(&b->mem); in nxt_sendbuf_copy_coalesce()
252 size = nxt_buf_mem_used_size(bm); in nxt_sendbuf_copy_coalesce()
H A Dnxt_h1proto_websocket.c146 size = nxt_buf_mem_used_size(&in->mem); in nxt_h1p_websocket_frame_start()
232 size = nxt_buf_mem_used_size(&c->read->mem); in nxt_h1p_conn_ws_frame_header_read()
684 while (nxt_buf_mem_used_size(&b->mem) == 0) { in nxt_h1p_conn_ws_pong()
H A Dnxt_h1proto.c338 if (nxt_buf_mem_used_size(&b->mem) >= 11) { in nxt_http_conn_test()
714 used = nxt_buf_mem_used_size(&in->mem); in nxt_h1p_header_buffer_test()
941 size = nxt_buf_mem_used_size(&in->mem); in nxt_h1p_request_body_read()
1039 size = nxt_buf_mem_used_size(&b->mem); in nxt_h1p_conn_request_body_read()
1364 h1p->header_size = nxt_buf_mem_used_size(&header->mem); in nxt_h1p_request_header_send()
1430 size = nxt_buf_mem_used_size(&in->mem); in nxt_h1p_complete_buffers()
1813 size = nxt_buf_mem_used_size(&in->mem); in nxt_h1p_keepalive()
2550 if (nxt_buf_mem_used_size(&b->mem) != 0) { in nxt_h1p_peer_header_read_done()
2589 length = nxt_buf_mem_used_size(bm); in nxt_h1p_peer_header_parse()
H A Dnxt_http_source.c464 if (nxt_buf_mem_used_size(&rest->mem) != 0) { in nxt_http_source_header_ready()
479 if (nxt_buf_mem_used_size(&rest->mem) != 0) { in nxt_http_source_header_ready()
H A Dnxt_controller.c790 preread = nxt_buf_mem_used_size(&b->mem); in nxt_controller_conn_read()
883 read = nxt_buf_mem_used_size(&b->mem); in nxt_controller_conn_body_read()
1257 if (nxt_buf_mem_used_size(mbuf) >= 3 in nxt_controller_process_config()
1821 nxt_fd_write(msg->fd[0], mbuf->pos, nxt_buf_mem_used_size(mbuf)); in nxt_controller_process_cert_save()
1884 nxt_buf_mem_used_size(&msg->buf->mem), msg->buf->mem.pos); in nxt_controller_conf_handler()
2274 nxt_buf_mem_used_size(&body->mem)); in nxt_controller_response()
H A Dnxt_port_socket.c263 return (nxt_buf_mem_used_size(&b->mem) <= NXT_PORT_MAX_ENQUEUE_BUF_SIZE in nxt_port_can_enqueue_buf()
277 size = nxt_buf_mem_used_size(&b->mem); in nxt_port_enqueue_buf()
291 mm->size = nxt_buf_mem_used_size(&b->mem); in nxt_port_enqueue_buf()
H A Dnxt_main_process.c335 nxt_buf_mem_used_size(&msg->buf->mem), msg->buf->mem.pos); in nxt_main_data_handler()
1484 if (nxt_buf_mem_used_size(&msg->buf->mem) != sizeof(size_t)) { in nxt_main_port_conf_store_handler()
1486 (int) nxt_buf_mem_used_size(&msg->buf->mem)); in nxt_main_port_conf_store_handler()
H A Dnxt_fastcgi_source.c663 if (nxt_buf_mem_used_size(&b->mem) != 0) { in nxt_fastcgi_source_header_ready()
H A Dnxt_router.c770 if (nxt_buf_mem_used_size(&msg->buf->mem) != sizeof(size_t)) { in nxt_router_conf_data_handler()
772 (int) nxt_buf_mem_used_size(&msg->buf->mem)); in nxt_router_conf_data_handler()
846 app_name.length = nxt_buf_mem_used_size(&msg->buf->mem); in nxt_router_app_restart_handler()
3902 b_size = nxt_buf_is_mem(b) ? nxt_buf_mem_used_size(&b->mem) : 0; in nxt_router_response_ready_handler()
3966 if (nxt_buf_mem_used_size(&b->mem) == 0) { in nxt_router_response_ready_handler()
5398 size = nxt_buf_mem_used_size(&b->mem); in nxt_router_prepare_msg()
H A Dnxt_cert.c63 bio = BIO_new_mem_buf(mbuf->pos, nxt_buf_mem_used_size(mbuf)); in nxt_cert_mem()