Lines Matching refs:nsent
841 ssize_t nsent; in uv__fs_sendfile_emul() local
881 for (nsent = 0; (size_t) nsent < len; ) { in uv__fs_sendfile_emul()
882 buflen = len - nsent; in uv__fs_sendfile_emul()
898 if (use_pread && nsent == 0 && (errno == EIO || errno == ESPIPE)) { in uv__fs_sendfile_emul()
903 if (nsent == 0) in uv__fs_sendfile_emul()
904 nsent = -1; in uv__fs_sendfile_emul()
920 nsent = -1; in uv__fs_sendfile_emul()
934 nsent = -1; in uv__fs_sendfile_emul()
940 nsent += nread; in uv__fs_sendfile_emul()
944 if (nsent != -1) in uv__fs_sendfile_emul()
947 return nsent; in uv__fs_sendfile_emul()