Home
last modified time | relevance | path

Searched refs:nghttp3_buf (Results 1 – 11 of 11) sorted by relevance

/third_party/node/deps/ngtcp2/nghttp3/lib/
Dnghttp3_buf.c28 void nghttp3_buf_init(nghttp3_buf *buf) { in nghttp3_buf_init()
32 void nghttp3_buf_wrap_init(nghttp3_buf *buf, uint8_t *src, size_t len) { in nghttp3_buf_wrap_init()
37 void nghttp3_buf_free(nghttp3_buf *buf, const nghttp3_mem *mem) { in nghttp3_buf_free()
41 size_t nghttp3_buf_left(const nghttp3_buf *buf) { in nghttp3_buf_left()
45 size_t nghttp3_buf_len(const nghttp3_buf *buf) { in nghttp3_buf_len()
49 size_t nghttp3_buf_cap(const nghttp3_buf *buf) { in nghttp3_buf_cap()
53 void nghttp3_buf_reset(nghttp3_buf *buf) { buf->pos = buf->last = buf->begin; } in nghttp3_buf_reset()
55 int nghttp3_buf_reserve(nghttp3_buf *buf, size_t size, const nghttp3_mem *mem) { in nghttp3_buf_reserve()
79 void nghttp3_buf_swap(nghttp3_buf *a, nghttp3_buf *b) { in nghttp3_buf_swap()
80 nghttp3_buf c = *a; in nghttp3_buf_swap()
[all …]
Dnghttp3_buf.h37 void nghttp3_buf_wrap_init(nghttp3_buf *buf, uint8_t *src, size_t len);
43 size_t nghttp3_buf_cap(const nghttp3_buf *buf);
45 int nghttp3_buf_reserve(nghttp3_buf *buf, size_t size, const nghttp3_mem *mem);
50 void nghttp3_buf_swap(nghttp3_buf *a, nghttp3_buf *b);
65 nghttp3_buf buf;
69 void nghttp3_typed_buf_init(nghttp3_typed_buf *tbuf, const nghttp3_buf *buf,
Dnghttp3_qpack.h177 nghttp3_buf namebuf;
178 nghttp3_buf valuebuf;
294 nghttp3_buf *rbuf, nghttp3_buf *ebuf,
344 nghttp3_qpack_encoder *encoder, nghttp3_buf *pbuf, uint64_t ricnt,
358 nghttp3_buf *rbuf,
373 nghttp3_buf *rbuf,
389 nghttp3_qpack_encoder *encoder, nghttp3_buf *rbuf, uint64_t absidx,
405 nghttp3_qpack_encoder *encoder, nghttp3_buf *rbuf, uint64_t absidx,
419 nghttp3_buf *rbuf,
434 nghttp3_buf *ebuf,
[all …]
Dnghttp3_stream.c69 nghttp3_ringbuf_init(&stream->chunks, 0, sizeof(nghttp3_buf), mem); in nghttp3_stream_new()
71 nghttp3_ringbuf_init(&stream->inq, 0, sizeof(nghttp3_buf), mem); in nghttp3_stream_new()
107 nghttp3_buf *buf; in delete_chunks()
121 nghttp3_buf *buf; in delete_out_chunks()
305 const nghttp3_buf *chunk) { in typed_buf_shared_init()
312 nghttp3_buf *chunk; in nghttp3_stream_write_stream_type()
334 nghttp3_buf *chunk; in nghttp3_stream_write_settings()
382 nghttp3_buf *chunk; in nghttp3_stream_write_goaway()
407 nghttp3_buf *chunk; in nghttp3_stream_write_priority_update()
442 nghttp3_buf *rbuf, nghttp3_buf *ebuf, in nghttp3_stream_write_header_block()
[all …]
Dnghttp3_stream.h312 nghttp3_buf *rbuf, nghttp3_buf *ebuf,
330 nghttp3_buf *nghttp3_stream_get_chunk(nghttp3_stream *stream);
Dnghttp3_qpack.c1112 static int reserve_buf_internal(nghttp3_buf *buf, size_t extra_size, in reserve_buf_internal()
1129 static int reserve_buf_small(nghttp3_buf *buf, size_t extra_size, in reserve_buf_small()
1134 static int reserve_buf(nghttp3_buf *buf, size_t extra_size, in reserve_buf()
1140 nghttp3_buf *pbuf, nghttp3_buf *rbuf, in nghttp3_qpack_encoder_encode()
1141 nghttp3_buf *ebuf, int64_t stream_id, in nghttp3_qpack_encoder_encode()
1212 static int qpack_write_number(nghttp3_buf *rbuf, uint8_t fb, uint64_t num, in qpack_write_number()
1236 nghttp3_buf *ebuf) { in nghttp3_qpack_encoder_process_dtable_update()
1268 nghttp3_buf *ebuf, size_t cap) { in nghttp3_qpack_encoder_write_set_dtable_cap()
1417 nghttp3_buf *rbuf, nghttp3_buf *ebuf, in nghttp3_qpack_encoder_encode_nv()
1765 nghttp3_buf *rbuf, in nghttp3_qpack_encoder_write_static_indexed()
[all …]
Dnghttp3_conn.h132 nghttp3_buf rbuf;
133 nghttp3_buf ebuf;
Dnghttp3_balloc.h59 nghttp3_buf buf;
Dnghttp3_conn.c1055 nghttp3_buf *buf; in conn_process_blocked_stream_data()
1534 nghttp3_buf buf; in conn_decode_headers()
/third_party/node/deps/ngtcp2/nghttp3/lib/includes/nghttp3/
Dnghttp3.h617 typedef struct nghttp3_buf { struct
639 } nghttp3_buf; argument
646 NGHTTP3_EXTERN void nghttp3_buf_init(nghttp3_buf *buf);
655 NGHTTP3_EXTERN void nghttp3_buf_free(nghttp3_buf *buf, const nghttp3_mem *mem);
665 NGHTTP3_EXTERN size_t nghttp3_buf_left(const nghttp3_buf *buf);
674 NGHTTP3_EXTERN size_t nghttp3_buf_len(const nghttp3_buf *buf);
683 NGHTTP3_EXTERN void nghttp3_buf_reset(nghttp3_buf *buf);
1154 nghttp3_qpack_encoder *encoder, nghttp3_buf *pbuf, nghttp3_buf *rbuf,
1155 nghttp3_buf *ebuf, int64_t stream_id, const nghttp3_nv *nva, size_t nvlen);
1441 nghttp3_buf *dbuf);
/third_party/node/deps/ngtcp2/
Dngtcp2.gyp54 'nghttp3/lib/nghttp3_buf.c',