Home
last modified time | relevance | path

Searched refs:bio2 (Results 1 – 2 of 2) sorted by relevance

/external/boringssl/src/crypto/bio/
Dpair.c567 static int bio_make_pair(BIO* bio1, BIO* bio2, in bio_make_pair() argument
573 assert(bio2 != NULL); in bio_make_pair()
576 b2 = bio2->ptr; in bio_make_pair()
624 b1->peer = bio2; in bio_make_pair()
636 bio2->init = 1; in bio_make_pair()
757 BIO *bio1 = NULL, *bio2 = NULL; in BIO_new_bio_pair_external_buf() local
769 bio2 = BIO_new(bio_s_bio()); in BIO_new_bio_pair_external_buf()
770 if (bio2 == NULL) { in BIO_new_bio_pair_external_buf()
774 if (!bio_make_pair(bio1, bio2, writebuf1_len, ext_writebuf1, writebuf2_len, in BIO_new_bio_pair_external_buf()
784 BIO_free(bio2); in BIO_new_bio_pair_external_buf()
[all …]
Dbio_test.cc215 BIO *bio1, *bio2; in TestZeroCopyBioPairs() local
216 if (!BIO_new_bio_pair(&bio1, kBufferSize, &bio2, kBufferSize)) { in TestZeroCopyBioPairs()
220 ScopedBIO bio2_scoper(bio2); in TestZeroCopyBioPairs()
237 total_read += BIO_read(bio2, bio2_application_recv_buffer + total_read, in TestZeroCopyBioPairs()
259 size_t bytes_left = BIO_pending(bio2); in TestZeroCopyBioPairs()
261 bio2, bio2_application_recv_buffer + total_read, bytes_left); in TestZeroCopyBioPairs()