Lines Matching refs:blen
642 size_t blen; in h2_process_pending_input() local
645 while(Curl_bufq_peek(&ctx->inbufq, &buf, &blen)) { in h2_process_pending_input()
647 rv = nghttp2_session_mem_recv(ctx->h2, (const uint8_t *)buf, blen); in h2_process_pending_input()
781 const uint8_t *buf, size_t blen, int flags, in send_callback() argument
795 nwritten = Curl_bufq_write(&ctx->outbufq, buf, blen, &result); in send_callback()
797 nwritten = Curl_bufq_write_pass(&ctx->outbufq, buf, blen, in send_callback()
1057 const char *buf, size_t blen, bool eos) in h2_xfer_write_resp_hd() argument
1062 stream->xfer_result = Curl_xfer_write_resp_hd(data, buf, blen, eos); in h2_xfer_write_resp_hd()
1067 stream->id, stream->xfer_result, blen); in h2_xfer_write_resp_hd()
1074 const char *buf, size_t blen, bool eos) in h2_xfer_write_resp() argument
1079 stream->xfer_result = Curl_xfer_write_resp(data, buf, blen, eos); in h2_xfer_write_resp()
1087 stream->id, stream->xfer_result, blen); in h2_xfer_write_resp()
1209 static int fr_print(const nghttp2_frame *frame, char *buffer, size_t blen) in fr_print() argument
1213 return msnprintf(buffer, blen, in fr_print()
1220 return msnprintf(buffer, blen, in fr_print()
1227 return msnprintf(buffer, blen, in fr_print()
1232 return msnprintf(buffer, blen, in fr_print()
1239 return msnprintf(buffer, blen, "FRAME[SETTINGS, ack=1]"); in fr_print()
1241 return msnprintf(buffer, blen, in fr_print()
1245 return msnprintf(buffer, blen, in fr_print()
1251 return msnprintf(buffer, blen, in fr_print()
1264 return msnprintf(buffer, blen, "FRAME[GOAWAY, error=%d, reason='%s', " in fr_print()
1269 return msnprintf(buffer, blen, in fr_print()
1274 return msnprintf(buffer, blen, "FRAME[%d, len=%d, flags=%d]", in fr_print()
1732 size_t blen; in Curl_http2_request_upgrade() local
1745 &base64, &blen); in Curl_http2_request_upgrade()
2113 const void *buf, size_t blen, bool eos, in cf_h2_body_send() argument
2131 return (ssize_t)blen; in cf_h2_body_send()
2139 nwritten = Curl_bufq_write(&stream->sendbuf, buf, blen, err); in cf_h2_body_send()
2143 if(eos && (blen == (size_t)nwritten)) in cf_h2_body_send()