/third_party/nghttp2/src/ |
D | HttpServer.cc | 1413 auto valuebuf = nghttp2_rcbuf_get_buf(value); in on_header_callback2() local 1418 valuebuf.base, valuebuf.len, flags, user_data); in on_header_callback2() 1429 if (stream->header_buffer_size + namebuf.len + valuebuf.len > 64_k) { in on_header_callback2() 1434 stream->header_buffer_size += namebuf.len + valuebuf.len; in on_header_callback2() 1442 header.method = StringRef{valuebuf.base, valuebuf.len}; in on_header_callback2() 1447 header.scheme = StringRef{valuebuf.base, valuebuf.len}; in on_header_callback2() 1452 header.authority = StringRef{valuebuf.base, valuebuf.len}; in on_header_callback2() 1457 header.host = StringRef{valuebuf.base, valuebuf.len}; in on_header_callback2() 1462 header.path = StringRef{valuebuf.base, valuebuf.len}; in on_header_callback2() 1467 header.ims = StringRef{valuebuf.base, valuebuf.len}; in on_header_callback2() [all …]
|
D | shrpx_http2_session.cc | 913 auto valuebuf = nghttp2_rcbuf_get_buf(value); in on_header_callback2() local 923 if (resp.fs.buffer_size() + namebuf.len + valuebuf.len > in on_header_callback2() 929 << resp.fs.buffer_size() + namebuf.len + valuebuf.len in on_header_callback2() 951 StringRef{valuebuf.base, valuebuf.len}, in on_header_callback2() 957 StringRef{valuebuf.base, valuebuf.len}, no_index, in on_header_callback2() 973 auto valuebuf = nghttp2_rcbuf_get_buf(value); in on_header_callback2() local 980 if (promised_req.fs.buffer_size() + namebuf.len + valuebuf.len > in on_header_callback2() 986 << promised_req.fs.buffer_size() + namebuf.len + valuebuf.len in on_header_callback2() 998 StringRef{valuebuf.base, valuebuf.len}, in on_header_callback2() 1031 auto valuebuf = nghttp2_rcbuf_get_buf(value); in on_invalid_header_callback2() local [all …]
|
D | shrpx_http2_upstream.cc | 166 auto valuebuf = nghttp2_rcbuf_get_buf(value); in on_header_callback2() local 171 valuebuf.base, valuebuf.len, flags, user_data); in on_header_callback2() 187 if (req.fs.buffer_size() + namebuf.len + valuebuf.len > in on_header_callback2() 196 << req.fs.buffer_size() + namebuf.len + valuebuf.len in on_header_callback2() 221 StringRef{valuebuf.base, valuebuf.len}, no_index, in on_header_callback2() 227 StringRef{valuebuf.base, valuebuf.len}, no_index, in on_header_callback2() 247 auto valuebuf = nghttp2_rcbuf_get_buf(value); in on_invalid_header_callback2() local 252 << StringRef{valuebuf.base, valuebuf.len} << "]"; in on_invalid_header_callback2()
|
D | shrpx_http3_upstream.cc | 2112 auto valuebuf = nghttp3_rcbuf_get_buf(value); in http_recv_request_header() local 2117 if (req.fs.buffer_size() + namebuf.len + valuebuf.len > in http_recv_request_header() 2128 << req.fs.buffer_size() + namebuf.len + valuebuf.len in http_recv_request_header() 2152 StringRef{valuebuf.base, valuebuf.len}, no_index, in http_recv_request_header() 2158 StringRef{valuebuf.base, valuebuf.len}, no_index, in http_recv_request_header()
|
/third_party/node/deps/nghttp2/lib/ |
D | nghttp2_hd.c | 743 nghttp2_buf_init(&inflater->valuebuf); in nghttp2_hd_inflate_init() 2127 nghttp2_buf_wrap_init(&inflater->valuebuf, inflater->valuercbuf->base, in nghttp2_hd_inflate_hd_nv() 2134 rv = hd_inflate_read_huff(inflater, &inflater->valuebuf, in, last); in nghttp2_hd_inflate_hd_nv() 2149 *inflater->valuebuf.last = '\0'; in nghttp2_hd_inflate_hd_nv() 2150 inflater->valuercbuf->len = nghttp2_buf_len(&inflater->valuebuf); in nghttp2_hd_inflate_hd_nv() 2167 rv = hd_inflate_read(inflater, &inflater->valuebuf, in, last); in nghttp2_hd_inflate_hd_nv() 2183 *inflater->valuebuf.last = '\0'; in nghttp2_hd_inflate_hd_nv() 2184 inflater->valuercbuf->len = nghttp2_buf_len(&inflater->valuebuf); in nghttp2_hd_inflate_hd_nv()
|
D | nghttp2_hd.h | 237 nghttp2_buf namebuf, valuebuf; member
|
/third_party/nghttp2/lib/ |
D | nghttp2_hd.c | 743 nghttp2_buf_init(&inflater->valuebuf); in nghttp2_hd_inflate_init() 2127 nghttp2_buf_wrap_init(&inflater->valuebuf, inflater->valuercbuf->base, in nghttp2_hd_inflate_hd_nv() 2134 rv = hd_inflate_read_huff(inflater, &inflater->valuebuf, in, last); in nghttp2_hd_inflate_hd_nv() 2149 *inflater->valuebuf.last = '\0'; in nghttp2_hd_inflate_hd_nv() 2150 inflater->valuercbuf->len = nghttp2_buf_len(&inflater->valuebuf); in nghttp2_hd_inflate_hd_nv() 2167 rv = hd_inflate_read(inflater, &inflater->valuebuf, in, last); in nghttp2_hd_inflate_hd_nv() 2183 *inflater->valuebuf.last = '\0'; in nghttp2_hd_inflate_hd_nv() 2184 inflater->valuercbuf->len = nghttp2_buf_len(&inflater->valuebuf); in nghttp2_hd_inflate_hd_nv()
|
D | nghttp2_hd.h | 237 nghttp2_buf namebuf, valuebuf; member
|
/third_party/node/deps/ngtcp2/nghttp3/lib/ |
D | nghttp3_qpack.c | 2627 nghttp3_buf_init(&rstate->valuebuf); in nghttp3_qpack_read_state_reset() 2750 *rstate->valuebuf.last = '\0'; in qpack_read_state_terminate_value() 2751 rstate->value->len = nghttp3_buf_len(&rstate->valuebuf); in qpack_read_state_terminate_value() 2981 nghttp3_buf_wrap_init(&decoder->rstate.valuebuf, in nghttp3_qpack_decoder_read_encoder() 2990 &decoder->rstate.valuebuf, p, end); in nghttp3_qpack_decoder_read_encoder() 3025 nread = qpack_read_string(&decoder->rstate, &decoder->rstate.valuebuf, p, in nghttp3_qpack_decoder_read_encoder() 3556 nghttp3_buf_wrap_init(&sctx->rstate.valuebuf, sctx->rstate.value->base, in nghttp3_qpack_decoder_read_request() 3563 nread = qpack_read_huffman_string(&sctx->rstate, &sctx->rstate.valuebuf, in nghttp3_qpack_decoder_read_request() 3603 nread = qpack_read_string(&sctx->rstate, &sctx->rstate.valuebuf, p, end); in nghttp3_qpack_decoder_read_request()
|
D | nghttp3_qpack.h | 178 nghttp3_buf valuebuf; member
|
/third_party/python/Modules/ |
D | _ssl.c | 1056 unsigned char *valuebuf = NULL; in _create_tuple_for_attribute() local 1059 buflen = ASN1_STRING_to_UTF8(&valuebuf, value); in _create_tuple_for_attribute() 1064 attr = Py_BuildValue("Ns#", _asn1obj2py(state, name, 0), valuebuf, buflen); in _create_tuple_for_attribute() 1065 OPENSSL_free(valuebuf); in _create_tuple_for_attribute()
|