Lines Matching refs:nwritten
773 ssize_t nwritten; in write_resp_raw() local
779 nwritten = Curl_bufq_write(&stream->recvbuf, mem, memlen, &result); in write_resp_raw()
780 if(nwritten < 0) { in write_resp_raw()
785 stream->recv_buf_nonflow += (size_t)nwritten; in write_resp_raw()
787 if((size_t)nwritten < memlen) { in write_resp_raw()
990 ssize_t nwritten = 0; in cb_h3_read_req_body() local
1015 nwritten += vec[nvecs].len; in cb_h3_read_req_body()
1021 if(nwritten > 0 && stream->upload_left != -1) in cb_h3_read_req_body()
1022 stream->upload_left -= nwritten; in cb_h3_read_req_body()
1030 else if(!nwritten) { in cb_h3_read_req_body()
1041 nwritten, Curl_bufq_len(&stream->sendbuf), in cb_h3_read_req_body()
1799 ssize_t nwritten = -1; in h3_stream_open() local
1815 nwritten = Curl_h1_req_parse_read(&stream->h1, buf, len, NULL, 0, err); in h3_stream_open()
1816 if(nwritten < 0) in h3_stream_open()
1826 nwritten = -1; in h3_stream_open()
1836 nwritten = -1; in h3_stream_open()
1896 nwritten = -1; in h3_stream_open()
1914 return nwritten; in h3_stream_open()
1924 ssize_t nwritten; in cf_osslq_send() local
1937 nwritten = -1; in cf_osslq_send()
1944 nwritten = -1; in cf_osslq_send()
1949 nwritten = h3_stream_open(cf, data, buf, len, err); in cf_osslq_send()
1950 if(nwritten < 0) { in cf_osslq_send()
1966 nwritten = (ssize_t)len; in cf_osslq_send()
1972 nwritten = -1; in cf_osslq_send()
1976 nwritten = Curl_bufq_write(&stream->sendbuf, buf, len, err); in cf_osslq_send()
1979 stream->s.id, len, nwritten, *err); in cf_osslq_send()
1980 if(nwritten < 0) { in cf_osslq_send()
1990 nwritten = -1; in cf_osslq_send()
1996 stream ? stream->s.id : -1, len, nwritten, *err); in cf_osslq_send()
1998 return nwritten; in cf_osslq_send()