Lines Matching refs:crt
113 reader->crt->do_close(data, reader); in cl_reset_reader()
152 result = r->crt->rewind(data, r); in Curl_client_start()
155 r->crt->name, result); in Curl_client_start()
534 return reader->crt->do_read(data, reader, buf, blen, nread, eos); in Curl_creader_read()
558 return reader->next->crt->do_read(data, reader->next, buf, blen, in Curl_creader_def_read()
579 reader->next->crt->total_length(data, reader->next) : -1; in Curl_creader_def_total_length()
914 const struct Curl_crtype *crt, in Curl_creader_create() argument
921 DEBUGASSERT(crt->creader_size >= sizeof(struct Curl_creader)); in Curl_creader_create()
922 p = calloc(1, crt->creader_size); in Curl_creader_create()
927 reader->crt = crt; in Curl_creader_create()
930 result = crt->do_init(data, reader); in Curl_creader_create()
942 reader->crt->do_close(data, reader); in Curl_creader_free()
1102 DEBUGASSERT(r->crt); in do_init_reader_stack()
1107 clen = r->crt->total_length(data, r); in do_init_reader_stack()
1169 DEBUGASSERT(r->crt); in Curl_creader_set()
1207 if(reader->crt->needs_rewind(data, reader)) { in Curl_creader_needs_rewind()
1379 return r ? r->crt->total_length(data, r) : -1; in Curl_creader_total_length()
1387 return r ? r->crt->total_length(data, r) : -1; in Curl_creader_client_length()
1395 return r ? r->crt->resume_from(data, r, offset) : CURLE_READ_ERROR; in Curl_creader_resume_from()
1404 result = reader->crt->unpause(data, reader); in Curl_creader_unpause()
1417 if(reader->crt->is_paused(data, reader)) in Curl_creader_is_paused()
1428 reader->crt->done(data, reader, premature); in Curl_creader_done()
1434 const struct Curl_crtype *crt) in Curl_creader_get_by_type() argument
1438 if(r->crt == crt) in Curl_creader_get_by_type()