Lines Matching refs:written
107 ssize_t written = -1; in schannel_connect_step1() local
379 outbuf.cbBuffer, &written); in schannel_connect_step1()
381 if((result != CURLE_OK) || (outbuf.cbBuffer != (size_t) written)) { in schannel_connect_step1()
383 "sent %zd of %lu bytes", written, outbuf.cbBuffer); in schannel_connect_step1()
388 "sent %zd bytes\n", written); in schannel_connect_step1()
404 ssize_t nread = -1, written = -1; in schannel_connect_step2() local
564 &written); in schannel_connect_step2()
566 (outbuf[i].cbBuffer != (size_t) written)) { in schannel_connect_step2()
568 "sent %zd of %lu bytes", written, outbuf[i].cbBuffer); in schannel_connect_step2()
894 ssize_t written = -1; in schannel_send() local
950 written = 0; in schannel_send()
972 while(len > (size_t)written) { in schannel_send()
983 "(bytes sent: %zd)", written); in schannel_send()
985 written = -1; in schannel_send()
994 written = -1; in schannel_send()
999 "(bytes sent: %zd)", written); in schannel_send()
1001 written = -1; in schannel_send()
1006 result = Curl_write_plain(conn, conn->sock[sockindex], data + written, in schannel_send()
1007 len - written, &this_write); in schannel_send()
1012 written = -1; in schannel_send()
1016 written += this_write; in schannel_send()
1028 if(len == (size_t)written) in schannel_send()
1031 written = outbuf[1].cbBuffer; in schannel_send()
1033 return written; in schannel_send()
1445 ssize_t written; in Curl_schannel_shutdown() local
1447 outbuf.cbBuffer, &written); in Curl_schannel_shutdown()
1450 if((result != CURLE_OK) || (outbuf.cbBuffer != (size_t) written)) { in Curl_schannel_shutdown()
1452 " (bytes written: %zd)\n", curl_easy_strerror(result), written); in Curl_schannel_shutdown()