Home
last modified time | relevance | path

Searched refs:bio1 (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
586 assert(bio1 != NULL); in bio_make_pair()
589 b1 = bio1->ptr; in bio_make_pair()
643 b2->peer = bio1; in bio_make_pair()
649 bio1->init = 1; in bio_make_pair()
771 BIO *bio1 = NULL, *bio2 = NULL; in BIO_new_bio_pair_external_buf() local
779 bio1 = BIO_new(bio_s_bio()); in BIO_new_bio_pair_external_buf()
780 if (bio1 == 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()
796 BIO_free(bio1); 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()
219 ScopedBIO bio1_scoper(bio1); in TestZeroCopyBioPairs()
223 bio1, bio1_application_send_buffer, kLengths[i]); in TestZeroCopyBioPairs()
230 if (!BIO_zero_copy_get_write_buf(bio1, &write_buf, &write_buf_offset, in TestZeroCopyBioPairs()
249 if (BIO_zero_copy_get_write_buf_done(bio1, interleaved_write_len)) { in TestZeroCopyBioPairs()
255 bio1, bio1_application_send_buffer + total_write, in TestZeroCopyBioPairs()