Lines Matching refs:rb
308 TLS_BUFFER *rb; in tls_default_read_n() local
313 rb = &rl->rbuf; in tls_default_read_n()
314 left = rb->left; in tls_default_read_n()
316 align = (size_t)rb->buf + SSL3_RT_HEADER_LENGTH; in tls_default_read_n()
323 rb->offset = align; in tls_default_read_n()
325 rl->packet = rb->buf + rb->offset; in tls_default_read_n()
337 pkt = rb->buf + align; in tls_default_read_n()
345 rb->offset = len + align; in tls_default_read_n()
368 rb->left = left - n; in tls_default_read_n()
369 rb->offset += n; in tls_default_read_n()
376 if (n > rb->len - rb->offset) { in tls_default_read_n()
389 if (max > rb->len - rb->offset) in tls_default_read_n()
390 max = rb->len - rb->offset; in tls_default_read_n()
432 rb->left = left; in tls_default_read_n()
451 rb->offset += n; in tls_default_read_n()
452 rb->left = left - n; in tls_default_read_n()