Home
last modified time | relevance | path

Searched refs:nxt_buf_is_file (Results 1 – 14 of 14) sorted by relevance

/unit/src/
H A Dnxt_sendbuf.c33 if (nxt_buf_is_file(b)) { in nxt_sendbuf_mem_coalesce0()
103 if (nxt_buf_is_file(b)) { in nxt_sendbuf_mem_coalesce()
192 if (b == NULL || !nxt_buf_is_file(b)) { in nxt_sendbuf_file_coalesce()
355 if (nxt_buf_is_file(b)) { in nxt_sendbuf_update()
365 if (nxt_buf_is_file(b)) { in nxt_sendbuf_update()
H A Dnxt_buf.h120 #define nxt_buf_is_file(b) \ macro
210 (nxt_buf_is_file(b) ? (b)->file_end - (b)->file_pos: \
H A Dnxt_hpux_sendfile.c57 if (nhd > 1 || sb.buf == NULL || !nxt_buf_is_file(sb.buf)) { in nxt_hpux_event_conn_io_sendfile()
H A Dnxt_aix_send_file.c41 if (nhd > 1 || sb.buf == NULL || !nxt_buf_is_file(sb.buf)) { in nxt_aix_event_conn_io_send_file()
H A Dnxt_macosx_sendfile.c54 if (sb.buf == NULL || !nxt_buf_is_file(sb.buf)) { in nxt_macosx_event_conn_io_sendfile()
H A Dnxt_freebsd_sendfile.c59 if (sb.buf == NULL || !nxt_buf_is_file(sb.buf)) { in nxt_freebsd_event_conn_io_sendfile()
H A Dnxt_solaris_sendfilev.c105 if (nxt_buf_is_file(b)) { in nxt_solaris_buf_coalesce()
H A Dnxt_linux_sendfile.c71 fb = (sb.buf != NULL && nxt_buf_is_file(sb.buf)) ? sb.buf : NULL; in nxt_linux_event_conn_io_sendfile()
H A Dnxt_event_conn_job_sendfile.c248 } else if (nxt_buf_is_file(b) && b->file_pos != b->file_end) { in nxt_event_conn_job_sendfile_completion()
H A Dnxt_h1proto.c956 if (nxt_buf_is_file(b)) { in nxt_h1p_request_body_read()
989 if (nxt_buf_is_file(b)) { in nxt_h1p_request_body_read()
1046 if (nxt_buf_is_file(b)) { in nxt_h1p_conn_request_body_read()
1085 if (nxt_buf_is_file(b)) { in nxt_h1p_conn_request_body_read()
2323 if (nxt_buf_is_file(r->body)) { in nxt_h1p_peer_header_send()
2337 if (nxt_buf_is_file(r->body)) { in nxt_h1p_peer_header_send()
H A Dnxt_conn_write.c175 if (niov == 0 && nxt_buf_is_file(sb->buf)) { in nxt_conn_io_sendbuf()
H A Dnxt_port_socket.c652 if (nxt_buf_is_file(b)) { in nxt_port_buf_completion()
662 if (nxt_buf_is_file(b)) { in nxt_port_buf_completion()
H A Dnxt_http_request.c847 if (r->body != NULL && nxt_buf_is_file(r->body) in nxt_http_request_close_handler()
H A Dnxt_router.c5285 if (body != NULL && nxt_buf_is_file(body)) { in nxt_router_app_prepare_request()