Home
last modified time | relevance | path

Searched refs:consumed (Results 1 – 10 of 10) sorted by relevance

/curl/tests/libtest/
H A Dlib1591.c35 static size_t consumed = 0; variable
41 if(consumed == strlen(testdata)) { in read_callback()
45 if(amount > strlen(testdata)-consumed) { in read_callback()
49 consumed += amount; in read_callback()
/curl/lib/
H A Dcw-out.c266 size_t consumed; in cw_out_buf_flush() local
271 &consumed); in cw_out_buf_flush()
275 if(consumed) { in cw_out_buf_flush()
276 if(consumed == Curl_dyn_len(&cwbuf->b)) { in cw_out_buf_flush()
280 DEBUGASSERT(consumed < Curl_dyn_len(&cwbuf->b)); in cw_out_buf_flush()
281 result = Curl_dyn_tail(&cwbuf->b, Curl_dyn_len(&cwbuf->b) - consumed); in cw_out_buf_flush()
376 size_t consumed; in cw_out_do_write() local
378 buf, blen, &consumed); in cw_out_do_write()
381 if(consumed < blen) { in cw_out_do_write()
383 result = cw_out_append(ctx, otype, buf + consumed, blen - consumed); in cw_out_do_write()
H A Drtsp.c798 size_t consumed = 0; in rtsp_rtp_write_resp() local
811 result = rtsp_filter_rtp(data, buf, blen, &consumed); in rtsp_rtp_write_resp()
814 buf += consumed; in rtsp_rtp_write_resp()
815 blen -= consumed; in rtsp_rtp_write_resp()
825 result = Curl_http_write_resp_hds(data, buf, blen, &consumed); in rtsp_rtp_write_resp()
829 buf += consumed; in rtsp_rtp_write_resp()
830 blen -= consumed; in rtsp_rtp_write_resp()
843 result = rtsp_filter_rtp(data, buf, blen, &consumed); in rtsp_rtp_write_resp()
846 blen -= consumed; in rtsp_rtp_write_resp()
H A Dhttp_chunks.c427 size_t consumed; in cw_chunked_write() local
432 consumed = 0; in cw_chunked_write()
434 &consumed); in cw_chunked_write()
447 blen -= consumed; in cw_chunked_write()
H A Dhttp.c3677 size_t consumed; in http_rw_hd() local
3858 size_t consumed; in http_parse_headers() local
3900 blen -= consumed; in http_parse_headers()
3901 buf += consumed; in http_parse_headers()
3937 if(consumed) { in http_parse_headers()
3938 blen -= consumed; in http_parse_headers()
3939 buf += consumed; in http_parse_headers()
3961 size_t consumed; in Curl_http_write_resp_hd() local
4008 size_t consumed; in Curl_http_write_resp() local
4016 blen -= consumed; in Curl_http_write_resp()
[all …]
H A Dmime.c566 size_t consumed = 1; in encoder_qp_read() local
596 consumed = 2; in encoder_qp_read()
616 switch(qp_lookahead_eol(st, ateof, consumed)) { in encoder_qp_read()
627 consumed = 0; in encoder_qp_read()
646 st->bufbeg += consumed; in encoder_qp_read()
H A Dcf-h1-proxy.c434 size_t consumed = 0; in recv_CONNECT_resp() local
438 result = Curl_httpchunk_read(data, &ts->ch, &byte, 1, &consumed); in recv_CONNECT_resp()
/curl/docs/libcurl/opts/
H A DCURLOPT_TCP_FASTOPEN.md31 SYN and SYN-ACK packets and consumed by the receiving end during the initial
/curl/lib/vquic/
H A Dcurl_ngtcp2.c964 size_t consumed, void *user_data, in cb_h3_deferred_consume() argument
974 ngtcp2_conn_extend_max_stream_offset(ctx->qconn, stream3_id, consumed); in cb_h3_deferred_consume()
975 ngtcp2_conn_extend_max_offset(ctx->qconn, consumed); in cb_h3_deferred_consume()
H A Dcurl_osslq.c826 size_t consumed, void *user_data, in cb_h3_deferred_consume() argument
838 stream->s.id, consumed); in cb_h3_deferred_consume()

Completed in 55 milliseconds