Lines Matching refs:nwritten
247 size_t nwritten, hds_len = CURLMIN(data->req.sendbuf_hds_len, blen); in req_send_buffer_flush() local
248 result = xfer_send(data, (const char *)buf, blen, hds_len, &nwritten); in req_send_buffer_flush()
252 Curl_bufq_skip(&data->req.sendbuf, nwritten); in req_send_buffer_flush()
254 data->req.sendbuf_hds_len -= CURLMIN(hds_len, nwritten); in req_send_buffer_flush()
258 if(nwritten < blen) in req_send_buffer_flush()
318 size_t nwritten; in req_flush() local
319 result = xfer_send(data, &tmp, 0, 0, &nwritten); in req_flush()
385 size_t blen, nwritten; in Curl_req_send() local
395 result = xfer_send(data, buf, blen, blen, &nwritten); in Curl_req_send()
398 buf += nwritten; in Curl_req_send()
399 blen -= nwritten; in Curl_req_send()