Lines Matching refs:bytes_written
257 ssize_t bytes_written; in Curl_sendf() local
269 bytes_written=0; in Curl_sendf()
275 result = Curl_write(conn, sockfd, sptr, write_len, &bytes_written); in Curl_sendf()
281 Curl_debug(data, CURLINFO_DATA_OUT, sptr, (size_t)bytes_written, conn); in Curl_sendf()
283 if((size_t)bytes_written != write_len) { in Curl_sendf()
286 write_len -= bytes_written; in Curl_sendf()
287 sptr += bytes_written; in Curl_sendf()
311 ssize_t bytes_written; in Curl_write() local
315 bytes_written = conn->send[num](conn, num, mem, len, &result); in Curl_write()
317 *written = bytes_written; in Curl_write()
318 if(bytes_written >= 0) in Curl_write()
342 ssize_t bytes_written; in Curl_send_plain() local
352 bytes_written = sendto(sockfd, mem, len, MSG_FASTOPEN, in Curl_send_plain()
358 bytes_written = swrite(sockfd, mem, len); in Curl_send_plain()
361 if(-1 == bytes_written) { in Curl_send_plain()
377 bytes_written=0; in Curl_send_plain()
387 return bytes_written; in Curl_send_plain()
401 ssize_t bytes_written; in Curl_write_plain() local
405 bytes_written = Curl_send_plain(conn, num, mem, len, &result); in Curl_write_plain()
407 *written = bytes_written; in Curl_write_plain()