Lines Matching refs:bytes_written
290 ssize_t bytes_written; in Curl_sendf() local
302 bytes_written = 0; in Curl_sendf()
308 result = Curl_write(conn, sockfd, sptr, write_len, &bytes_written); in Curl_sendf()
314 Curl_debug(data, CURLINFO_DATA_OUT, sptr, (size_t)bytes_written); in Curl_sendf()
316 if((size_t)bytes_written != write_len) { in Curl_sendf()
319 write_len -= bytes_written; in Curl_sendf()
320 sptr += bytes_written; in Curl_sendf()
344 ssize_t bytes_written; in Curl_write() local
348 bytes_written = conn->send[num](conn, num, mem, len, &result); in Curl_write()
350 *written = bytes_written; in Curl_write()
351 if(bytes_written >= 0) in Curl_write()
375 ssize_t bytes_written; in Curl_send_plain() local
385 bytes_written = sendto(sockfd, mem, len, MSG_FASTOPEN, in Curl_send_plain()
391 bytes_written = swrite(sockfd, mem, len); in Curl_send_plain()
394 if(-1 == bytes_written) { in Curl_send_plain()
410 bytes_written = 0; in Curl_send_plain()
421 return bytes_written; in Curl_send_plain()
435 ssize_t bytes_written; in Curl_write_plain() local
439 bytes_written = Curl_send_plain(conn, num, mem, len, &result); in Curl_write_plain()
441 *written = bytes_written; in Curl_write_plain()