Lines Matching refs:nread
528 char *buf, size_t blen, size_t *nread, bool *eos) in Curl_creader_read() argument
530 *nread = 0; in Curl_creader_read()
534 return reader->crt->do_read(data, reader, buf, blen, nread, eos); in Curl_creader_read()
555 size_t *nread, bool *eos) in Curl_creader_def_read() argument
559 nread, eos); in Curl_creader_def_read()
561 *nread = 0; in Curl_creader_def_read()
655 size_t nread; in cr_in_read() local
678 nread = 0; in cr_in_read()
681 nread = ctx->read_cb(buf, 1, blen, ctx->cb_user_data); in cr_in_read()
686 switch(nread) { in cr_in_read()
724 if(nread > blen) { in cr_in_read()
733 ctx->read_len += nread; in cr_in_read()
736 *pnread = nread; in cr_in_read()
978 size_t nread, i, start, n; in cr_lc_read() local
995 result = Curl_creader_read(data, reader->next, buf, blen, &nread, &eos); in cr_lc_read()
1000 if(!nread || !memchr(buf, '\n', nread)) { in cr_lc_read()
1004 *pnread = nread; in cr_lc_read()
1010 for(i = start = 0; i < nread; ++i) { in cr_lc_read()
1180 size_t *nread, bool *eos) in Curl_client_read() argument
1186 DEBUGASSERT(nread); in Curl_client_read()
1197 nread, eos); in Curl_client_read()
1199 blen, result, *nread, *eos); in Curl_client_read()
1280 size_t nread = ctx->blen - ctx->index; in cr_buf_read() local
1283 if(!nread || !ctx->buf) { in cr_buf_read()
1288 if(nread > blen) in cr_buf_read()
1289 nread = blen; in cr_buf_read()
1290 memcpy(buf, ctx->buf + ctx->index, nread); in cr_buf_read()
1291 *pnread = nread; in cr_buf_read()
1292 ctx->index += nread; in cr_buf_read()