Lines Matching refs:reader
485 struct Curl_creader *reader) in cr_chunked_init() argument
487 struct chunked_reader *ctx = reader->ctx; in cr_chunked_init()
494 struct Curl_creader *reader) in cr_chunked_close() argument
496 struct chunked_reader *ctx = reader->ctx; in cr_chunked_close()
502 struct Curl_creader *reader) in add_last_chunk() argument
504 struct chunked_reader *ctx = reader->ctx; in add_last_chunk()
555 struct Curl_creader *reader, in add_chunk() argument
558 struct chunked_reader *ctx = reader->ctx; in add_chunk()
576 result = Curl_creader_read(data, reader->next, buf, blen, &nread, &eos); in add_chunk()
604 return add_last_chunk(data, reader); in add_chunk()
609 struct Curl_creader *reader, in cr_chunked_read() argument
613 struct chunked_reader *ctx = reader->ctx; in cr_chunked_read()
622 result = add_chunk(data, reader, buf, blen); in cr_chunked_read()
643 struct Curl_creader *reader) in cr_chunked_total_length() argument
647 (void)reader; in cr_chunked_total_length()
669 struct Curl_creader *reader = NULL; in Curl_httpchunk_add_reader() local
672 result = Curl_creader_create(&reader, data, &Curl_httpchunk_encoder, in Curl_httpchunk_add_reader()
675 result = Curl_creader_add(data, reader); in Curl_httpchunk_add_reader()
677 if(result && reader) in Curl_httpchunk_add_reader()
678 Curl_creader_free(data, reader); in Curl_httpchunk_add_reader()