Lines Matching refs:blen
3380 const char *buf, size_t blen, in http_on_response() argument
3445 result = Curl_http2_upgrade(data, conn, FIRSTSOCKET, buf, blen); in http_on_response()
3448 *pconsumed += blen; in http_on_response()
3454 result = Curl_ws_accept(data, buf, blen); in http_on_response()
3457 *pconsumed += blen; /* ws accept handled the data */ in http_on_response()
3666 const char *buf_remain, size_t blen, in http_rw_hd() argument
3691 buf_remain, blen, &consumed); in http_rw_hd()
3846 const char *buf, size_t blen, in http_parse_headers() argument
3857 while(blen && k->header) { in http_parse_headers()
3860 end_ptr = memchr(buf, '\n', blen); in http_parse_headers()
3864 result = Curl_dyn_addn(&data->state.headerb, buf, blen); in http_parse_headers()
3867 *pconsumed += blen; in http_parse_headers()
3900 blen -= consumed; in http_parse_headers()
3932 buf, blen, &consumed); in http_parse_headers()
3938 blen -= consumed; in http_parse_headers()
3977 const char *buf, size_t blen, in Curl_http_write_resp_hds() argument
3987 result = http_parse_headers(data, buf, blen, pconsumed); in Curl_http_write_resp_hds()
4004 const char *buf, size_t blen, in Curl_http_write_resp() argument
4011 result = Curl_http_write_resp_hds(data, buf, blen, &consumed); in Curl_http_write_resp()
4015 DEBUGASSERT(consumed <= blen); in Curl_http_write_resp()
4016 blen -= consumed; in Curl_http_write_resp()
4020 DEBUGASSERT(!blen || !data->req.header); in Curl_http_write_resp()
4021 if(!data->req.header && (blen || is_eos)) { in Curl_http_write_resp()
4026 result = Curl_client_write(data, flags, (char *)buf, blen); in Curl_http_write_resp()
4423 char *buf, size_t blen, in cr_exp100_read() argument
4472 return Curl_creader_read(data, reader->next, buf, blen, nread, eos); in cr_exp100_read()