Lines Matching refs:readbytes
262 static int bio_read_intern(BIO *b, void *data, size_t dlen, size_t *readbytes) in bio_read_intern() argument
285 ret = b->method->bread(b, data, dlen, readbytes); in bio_read_intern()
288 b->num_read += (uint64_t)*readbytes; in bio_read_intern()
292 dlen, 0, 0L, ret, readbytes); in bio_read_intern()
295 if (ret > 0 && *readbytes > dlen) { in bio_read_intern()
305 size_t readbytes; in BIO_read() local
311 ret = bio_read_intern(b, data, (size_t)dlen, &readbytes); in BIO_read()
315 ret = (int)readbytes; in BIO_read()
321 int BIO_read_ex(BIO *b, void *data, size_t dlen, size_t *readbytes) in BIO_read_ex() argument
323 return bio_read_intern(b, data, dlen, readbytes) > 0; in BIO_read_ex()
550 size_t readbytes = 0; in BIO_gets() local
580 readbytes = ret; in BIO_gets()
586 0, 0L, ret, &readbytes); in BIO_gets()
590 if (readbytes > (size_t)size) in BIO_gets()
593 ret = (int)readbytes; in BIO_gets()