Searched refs:nsent (Results 1 – 6 of 6) sorted by relevance
107 size_t nsent; in main() local109 nsent = 0; in main()111 request_len - nsent_total, &nsent); in main()112 nsent_total += nsent; in main()125 printf("Sent %lu bytes.\n", (unsigned long)nsent); in main()
64 static int64_t nsent = 0; variable95 gbit(nsent, STATS_INTERVAL)); in show_stats()123 nsent = 0; in show_stats()195 nsent += sizeof write_buffer; in write_cb()
71 size_t nsent; member241 ts->nsent = 0; in start_CONNECT()266 if(blen <= ts->nsent) in send_CONNECT()269 blen -= ts->nsent; in send_CONNECT()270 buf += ts->nsent; in send_CONNECT()281 ts->nsent += (size_t)nwritten; in send_CONNECT()287 *done = (!result && (ts->nsent >= request_len)); in send_CONNECT()
799 ssize_t nsent; in uv__fs_sendfile_emul() local839 for (nsent = 0; (size_t) nsent < len; ) { in uv__fs_sendfile_emul()840 buflen = len - nsent; in uv__fs_sendfile_emul()856 if (use_pread && nsent == 0 && (errno == EIO || errno == ESPIPE)) { in uv__fs_sendfile_emul()861 if (nsent == 0) in uv__fs_sendfile_emul()862 nsent = -1; in uv__fs_sendfile_emul()878 nsent = -1; in uv__fs_sendfile_emul()892 nsent = -1; in uv__fs_sendfile_emul()898 nsent += nread; in uv__fs_sendfile_emul()902 if (nsent != -1) in uv__fs_sendfile_emul()[all …]
820 ssize_t nsent; in uv__fs_sendfile_emul() local860 for (nsent = 0; (size_t) nsent < len; ) { in uv__fs_sendfile_emul()861 buflen = len - nsent; in uv__fs_sendfile_emul()877 if (use_pread && nsent == 0 && (errno == EIO || errno == ESPIPE)) { in uv__fs_sendfile_emul()882 if (nsent == 0) in uv__fs_sendfile_emul()883 nsent = -1; in uv__fs_sendfile_emul()899 nsent = -1; in uv__fs_sendfile_emul()913 nsent = -1; in uv__fs_sendfile_emul()919 nsent += nread; in uv__fs_sendfile_emul()923 if (nsent != -1) in uv__fs_sendfile_emul()[all …]
1318 let nsent = ret_ssize_t(c::sendfile64( in sendfile() localVariable1324 Ok(nsent as usize) in sendfile()