Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/bio/
Dpair.c581 static int bio_make_pair(BIO* bio1, BIO* bio2, in bio_make_pair() argument
587 assert(bio2 != NULL); in bio_make_pair()
590 b2 = bio2->ptr; in bio_make_pair()
638 b1->peer = bio2; in bio_make_pair()
650 bio2->init = 1; in bio_make_pair()
771 BIO *bio1 = NULL, *bio2 = NULL; in BIO_new_bio_pair_external_buf() local
783 bio2 = BIO_new(bio_s_bio()); in BIO_new_bio_pair_external_buf()
784 if (bio2 == NULL) { in BIO_new_bio_pair_external_buf()
788 if (!bio_make_pair(bio1, bio2, writebuf1_len, ext_writebuf1, writebuf2_len, in BIO_new_bio_pair_external_buf()
798 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()