Lines Matching refs:max_len
98 size_t max_len; in read_internal() local
100 data = ring_buf_get_ptr(&qrs->rbuf, range.start, &max_len); in read_internal()
103 if (max_len < l) { in read_internal()
104 memcpy(buf, data, max_len); in read_internal()
105 size -= max_len; in read_internal()
106 buf += max_len; in read_internal()
107 readbytes_ += max_len; in read_internal()
108 l -= max_len; in read_internal()
109 data = ring_buf_get_ptr(&qrs->rbuf, range.start + max_len, in read_internal()
110 &max_len); in read_internal()
111 if (!ossl_assert(data != NULL) || !ossl_assert(max_len > l)) in read_internal()
196 size_t rec_len_, max_len; in ossl_quic_rstream_get_record() local
217 &max_len); in ossl_quic_rstream_get_record()
220 if (max_len < rec_len_) { in ossl_quic_rstream_get_record()
221 rec_len_ = max_len; in ossl_quic_rstream_get_record()
222 qrs->head_range.end = qrs->head_range.start + max_len; in ossl_quic_rstream_get_record()