Lines Matching refs:nwritten
1327 ssize_t nwritten = 0; in cb_h3_read_req_body() local
1352 nwritten += vec[nvecs].len; in cb_h3_read_req_body()
1358 if(nwritten > 0 && stream->upload_left != -1) in cb_h3_read_req_body()
1359 stream->upload_left -= nwritten; in cb_h3_read_req_body()
1367 else if(!nwritten) { in cb_h3_read_req_body()
1378 nwritten, Curl_bufq_len(&stream->sendbuf), in cb_h3_read_req_body()
1400 ssize_t nwritten = -1; in h3_stream_open() local
1416 nwritten = Curl_h1_req_parse_read(&stream->h1, buf, len, NULL, 0, err); in h3_stream_open()
1417 if(nwritten < 0) in h3_stream_open()
1427 nwritten = -1; in h3_stream_open()
1437 nwritten = -1; in h3_stream_open()
1454 nwritten = -1; in h3_stream_open()
1498 nwritten = -1; in h3_stream_open()
1515 return nwritten; in h3_stream_open()
1699 ssize_t nwritten, n; in read_pkt_to_send() local
1711 nwritten = 0; in read_pkt_to_send()
1736 nwritten = -1; in read_pkt_to_send()
1770 nwritten = -1; in read_pkt_to_send()
1787 nwritten = n; in read_pkt_to_send()
1792 return nwritten; in read_pkt_to_send()
2020 ngtcp2_ssize nwritten; in cf_ngtcp2_shutdown() local
2038 nwritten = ngtcp2_conn_write_connection_close( in cf_ngtcp2_shutdown()
2045 (curl_uint64_t)ctx->last_error.error_code, (int)nwritten); in cf_ngtcp2_shutdown()
2046 if(nwritten > 0) { in cf_ngtcp2_shutdown()
2048 (size_t)nwritten, &result); in cf_ngtcp2_shutdown()
2055 ctx->q.gsolen = (size_t)nwritten; in cf_ngtcp2_shutdown()