Home
last modified time | relevance | path

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

/third_party/curl/docs/examples/
Dsendrecv.c107 size_t nsent; in main() local
109 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()
/third_party/libuv/test/
Dbenchmark-pump.c64 static int64_t nsent = 0; variable
95 gbit(nsent, STATS_INTERVAL)); in show_stats()
123 nsent = 0; in show_stats()
195 nsent += sizeof write_buffer; in write_cb()
/third_party/curl/lib/
Dcf-h1-proxy.c71 size_t nsent; member
241 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()
/third_party/node/deps/uv/src/unix/
Dfs.c799 ssize_t nsent; in uv__fs_sendfile_emul() local
839 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 …]
/third_party/libuv/src/unix/
Dfs.c820 ssize_t nsent; in uv__fs_sendfile_emul() local
860 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 …]
/third_party/rust/crates/rustix/src/backend/libc/fs/
Dsyscalls.rs1318 let nsent = ret_ssize_t(c::sendfile64( in sendfile() localVariable
1324 Ok(nsent as usize) in sendfile()