Lines Matching refs:nwritten
452 ssize_t nwritten = 0; in Curl_bufq_write() local
468 nwritten += n; in Curl_bufq_write()
472 if(nwritten == 0 && len) { in Curl_bufq_write()
477 return nwritten; in Curl_bufq_write()
587 ssize_t nwritten = 0; in Curl_bufq_pass() local
594 if(!nwritten || *err != CURLE_AGAIN) { in Curl_bufq_pass()
596 nwritten = -1; in Curl_bufq_pass()
601 if(!nwritten) { in Curl_bufq_pass()
604 nwritten = -1; in Curl_bufq_pass()
609 nwritten += chunk_written; in Curl_bufq_pass()
611 return nwritten; in Curl_bufq_pass()
619 ssize_t nwritten = 0, n; in Curl_bufq_write_pass() local
654 nwritten += (size_t)n; in Curl_bufq_write_pass()
657 if(!nwritten && len) { in Curl_bufq_write_pass()
662 return nwritten; in Curl_bufq_write_pass()