Home
last modified time | relevance | path

Searched refs:ring_buf (Results 1 – 4 of 4) sorted by relevance

/openssl/ssl/quic/
H A Dquic_sstream.c20 struct ring_buf ring_buf; member
68 ring_buf_init(&qss->ring_buf); in ossl_quic_sstream_new()
70 ring_buf_destroy(&qss->ring_buf, 0); in ossl_quic_sstream_new()
117 hdr->offset = qss->ring_buf.head_offset; in ossl_quic_sstream_get_stream_frame()
177 return qss->ring_buf.head_offset; in ossl_quic_sstream_get_cur_size()
289 struct ring_buf old_ring_buf = qss->ring_buf; in ossl_quic_sstream_append()
322 qss->ring_buf = old_ring_buf; in ossl_quic_sstream_append()
364 return qss->ring_buf.alloc; in ossl_quic_sstream_get_buffer_size()
369 return ring_buf_used(&qss->ring_buf); in ossl_quic_sstream_get_buffer_used()
374 return ring_buf_avail(&qss->ring_buf); in ossl_quic_sstream_get_buffer_avail()
[all …]
H A Dquic_rstream.c21 struct ring_buf rbuf;
268 struct ring_buf *rbuf = cb_arg; in write_at_ring_buf_cb()
/openssl/include/internal/
H A Dring_buf.h25 struct ring_buf { struct
47 static ossl_inline int ring_buf_init(struct ring_buf *r) in OSSL_SAFE_MATH_UNSIGNED() argument
55 static ossl_inline void ring_buf_destroy(struct ring_buf *r, int cleanse) in ring_buf_destroy()
65 static ossl_inline size_t ring_buf_used(struct ring_buf *r) in ring_buf_used()
70 static ossl_inline size_t ring_buf_avail(struct ring_buf *r) in ring_buf_avail()
75 static ossl_inline int ring_buf_write_at(struct ring_buf *r, in ring_buf_write_at()
113 static ossl_inline size_t ring_buf_push(struct ring_buf *r, in ring_buf_push()
172 static ossl_inline int ring_buf_get_buf_at(const struct ring_buf *r, in ring_buf_get_buf_at()
199 static ossl_inline void ring_buf_cpop_range(struct ring_buf *r, in ring_buf_cpop_range()
231 static ossl_inline int ring_buf_resize(struct ring_buf *r, size_t num_bytes, in ring_buf_resize()
[all …]
/openssl/crypto/bio/
H A Dbss_dgram_pair.c24 struct ring_buf { struct
35 static int ring_buf_init(struct ring_buf *r, size_t nbytes) in ring_buf_init() argument
46 static void ring_buf_destroy(struct ring_buf *r) in ring_buf_destroy()
62 static void ring_buf_head_tail(struct ring_buf *r, int idx, uint8_t **buf, size_t *len) in ring_buf_head_tail()
82 static void ring_buf_push_pop(struct ring_buf *r, int idx, size_t num_bytes) in ring_buf_push_pop()
115 static void ring_buf_clear(struct ring_buf *r) in ring_buf_clear()
120 static int ring_buf_resize(struct ring_buf *r, size_t nbytes) in ring_buf_resize()
252 struct ring_buf rbuf;

Completed in 12 milliseconds