Lines Matching refs:readbytes
1732 int ssl_read_internal(SSL *s, void *buf, size_t num, size_t *readbytes) in ssl_read_internal() argument
1766 *readbytes = s->asyncrw; in ssl_read_internal()
1769 return s->method->ssl_read(s, buf, num, readbytes); in ssl_read_internal()
1776 size_t readbytes; in SSL_read() local
1783 ret = ssl_read_internal(s, buf, (size_t)num, &readbytes); in SSL_read()
1790 ret = (int)readbytes; in SSL_read()
1795 int SSL_read_ex(SSL *s, void *buf, size_t num, size_t *readbytes) in SSL_read_ex() argument
1797 int ret = ssl_read_internal(s, buf, num, readbytes); in SSL_read_ex()
1804 int SSL_read_early_data(SSL *s, void *buf, size_t num, size_t *readbytes) in SSL_read_early_data() argument
1835 ret = SSL_read_ex(s, buf, num, readbytes); in SSL_read_early_data()
1850 *readbytes = 0; in SSL_read_early_data()
1864 static int ssl_peek_internal(SSL *s, void *buf, size_t num, size_t *readbytes) in ssl_peek_internal() argument
1885 *readbytes = s->asyncrw; in ssl_peek_internal()
1888 return s->method->ssl_peek(s, buf, num, readbytes); in ssl_peek_internal()
1895 size_t readbytes; in SSL_peek() local
1902 ret = ssl_peek_internal(s, buf, (size_t)num, &readbytes); in SSL_peek()
1909 ret = (int)readbytes; in SSL_peek()
1915 int SSL_peek_ex(SSL *s, void *buf, size_t num, size_t *readbytes) in SSL_peek_ex() argument
1917 int ret = ssl_peek_internal(s, buf, num, readbytes); in SSL_peek_ex()