Home
last modified time | relevance | path

Searched refs:file_size (Results 1 – 6 of 6) sorted by relevance

/unit/src/
H A Dnxt_hpux_sendfile.c36 size_t file_size; in nxt_hpux_event_conn_io_sendfile() local
63 file_size = nxt_sendbuf_file_coalesce(&sb); in nxt_hpux_event_conn_io_sendfile()
65 if (file_size == 0) { in nxt_hpux_event_conn_io_sendfile()
97 c->socket.fd, fb->file->fd, fb->file_pos, file_size, in nxt_hpux_event_conn_io_sendfile()
101 file_size, hdtrl, 0); in nxt_hpux_event_conn_io_sendfile()
121 c->socket.fd, fb->file_pos, file_size, &fb->file->name, in nxt_hpux_event_conn_io_sendfile()
H A Dnxt_aix_send_file.c22 nxt_off_t file_size, sent; in nxt_aix_event_conn_io_send_file() local
47 file_size = nxt_sendbuf_file_coalesce(&sb); in nxt_aix_event_conn_io_send_file()
49 if (file_size == 0) { in nxt_aix_event_conn_io_send_file()
67 sfp.file_bytes = file_size; in nxt_aix_event_conn_io_send_file()
75 c->socket.fd, fb->file->fd, fb->file_pos, file_size, nhd, ntr); in nxt_aix_event_conn_io_send_file()
107 file_size, nhd, ntr); in nxt_aix_event_conn_io_send_file()
H A Dnxt_freebsd_sendfile.c36 size_t file_size; in nxt_freebsd_event_conn_io_sendfile() local
65 file_size = nxt_sendbuf_file_coalesce(&sb); in nxt_freebsd_event_conn_io_sendfile()
67 if (file_size == 0) { in nxt_freebsd_event_conn_io_sendfile()
96 fb->file->fd, c->socket.fd, fb->file_pos, file_size, in nxt_freebsd_event_conn_io_sendfile()
101 file_size, ht, &sent, 0); in nxt_freebsd_event_conn_io_sendfile()
121 fb->file->fd, c->socket.fd, fb->file_pos, file_size, err, in nxt_freebsd_event_conn_io_sendfile()
H A Dnxt_macosx_sendfile.c31 size_t hd_size, file_size; in nxt_macosx_event_conn_io_sendfile() local
61 file_size = nxt_sendbuf_file_coalesce(&sb); in nxt_macosx_event_conn_io_sendfile()
63 if (file_size == 0) { in nxt_macosx_event_conn_io_sendfile()
102 sent = hd_size + file_size; in nxt_macosx_event_conn_io_sendfile()
H A Dnxt_test_build.h254 uint64_t file_size; member
/unit/test/
H A Dtest_static.py134 file_size = 32 * 1024 * 1024
136 f.seek(file_size - 1)
141 == file_size