Searched refs:nwrite (Results 1 – 7 of 7) sorted by relevance
/curl/tests/server/ |
H A D | sockfilt.c | 286 ssize_t nwrite = 0; in fullwrite() local 289 ssize_t wc = write(filedes, (const unsigned char *)buffer + nwrite, in fullwrite() 290 nbytes - nwrite); in fullwrite() 312 nwrite += wc; in fullwrite() 314 } while((size_t)nwrite < nbytes); in fullwrite() 317 logmsg("wrote %zd bytes", nwrite); in fullwrite() 319 return nwrite; in fullwrite() 348 ssize_t nwrite = fullwrite(fileno(stdout), buffer, nbytes); in write_stdout() local 349 if(nwrite != (ssize_t)nbytes) { in write_stdout()
|
H A D | socksd.c | 649 ssize_t nwrite; in tunnel() local 655 nwrite = send(cp->remotefd, (char *)buffer, in tunnel() 657 if(nwrite != nread) in tunnel() 659 cp->fromclient += nwrite; in tunnel() 668 nwrite = send(cp->clientfd, (char *)buffer, in tunnel() 670 if(nwrite != nread) in tunnel() 672 cp->fromremote += nwrite; in tunnel()
|
/curl/lib/ |
H A D | sendf.c | 242 size_t nwrite, excess_len = 0; in cw_download_write() local 281 nwrite = nbytes; in cw_download_write() 284 if(nwrite > wmax) { in cw_download_write() 286 nwrite = wmax; in cw_download_write() 289 if(nwrite == wmax) { in cw_download_write() 305 if(nwrite > wmax) { in cw_download_write() 306 nwrite = wmax; in cw_download_write() 310 if(!data->req.ignorebody && (nwrite || (type & CLIENTWRITE_EOS))) { in cw_download_write() 311 result = Curl_cwriter_write(data, writer->next, type, buf, nwrite); in cw_download_write() 318 data->req.bytecount += nwrite; in cw_download_write() [all …]
|
H A D | file.c | 358 ssize_t nwrite; in file_upload() local 387 nwrite = write(fd, sendbuf, nread); in file_upload() 388 if((size_t)nwrite != nread) { in file_upload()
|
/curl/lib/vssh/ |
H A D | libssh2.c | 3184 size_t nwrite; in ssh_tls_send() local 3202 return (ssize_t)nwrite; in ssh_tls_send() 3506 ssize_t nwrite; in scp_send() local 3517 if(nwrite == LIBSSH2_ERROR_EAGAIN) { in scp_send() 3519 nwrite = 0; in scp_send() 3523 nwrite = -1; in scp_send() 3526 return nwrite; in scp_send() 3645 ssize_t nwrite; in sftp_send() local 3657 nwrite = 0; in sftp_send() 3661 nwrite = -1; in sftp_send() [all …]
|
H A D | libssh.c | 2563 ssize_t nwrite; in sftp_send() local 2574 nwrite = sftp_write(conn->proto.sshc.sftp_file, mem, len); in sftp_send() 2579 if(nwrite == SSH_AGAIN) { in sftp_send() 2581 nwrite = 0; in sftp_send() 2585 if(nwrite < 0) { in sftp_send() 2587 nwrite = -1; in sftp_send() 2590 return nwrite; in sftp_send()
|
H A D | wolfssh.c | 224 ssize_t nwrite = 0; in wscp_send() local 232 return nwrite; in wscp_send()
|
Completed in 32 milliseconds