HomeSort by: relevance | last modified time | path
    Searched refs:bio1 (Results 1 - 14 of 14) sorted by relevancy

  /src/crypto/external/apache2/openssl/dist/test/
bio_meth_test.c 17 BIO *membio = NULL, *bio1 = NULL, *bio2 = NULL, *bio3 = NULL; local
26 || !TEST_ptr(bio1 = BIO_new(meth1))
33 BIO_set_next(bio2, bio1);
34 BIO_set_next(bio1, membio);
46 || !TEST_ptr_eq(BIO_find_type(bio3, id), bio1))
60 BIO_free(bio1);
bio_dgram_test.c 496 BIO *bio1 = NULL, *bio2 = NULL; local
518 if (!TEST_int_eq(BIO_new_bio_dgram_pair(&bio1, 0, &bio2, 0), 1))
521 if (!TEST_ptr(bio1 = bio2 = BIO_new(BIO_s_dgram_mem())))
525 mtu1 = BIO_dgram_get_mtu(bio1);
537 if (!TEST_true(BIO_set_write_buf_size(bio1, bufsz)))
556 r = BIO_write(bio1, scratch + 4, blen);
610 if (!TEST_true(BIO_sendmmsg(bio1, msgs, sizeof(BIO_MSG), OSSL_NELEM(msgs), 0,
660 if (!TEST_false(BIO_sendmmsg(bio1, msgs, sizeof(BIO_MSG),
671 if (!TEST_int_eq(BIO_dgram_get_effective_caps(bio1), ref_caps))
677 if (!TEST_int_eq(BIO_dgram_set_caps(bio1, ref_caps), 1)
    [all...]
threadstest.c 1233 BIO *bio1 = NULL, *bio2 = NULL; local
1235 r = BIO_new_bio_dgram_pair(&bio1, 0, &bio2, 0);
1239 multi_bio1 = bio1;
1247 BIO_free(bio1);
quic_txp_test.c 61 BIO *bio1, *bio2; member in struct:helper
121 BIO_free(h->bio1);
144 if (!TEST_true(BIO_new_bio_dgram_pair(&h->bio1, 0, &h->bio2, 0)))
147 h->qtx_args.bio = h->bio1;
sslapitest.c 2911 static void setupbio(BIO **res, BIO *bio1, BIO *bio2, int type)
2918 *res = bio1;
2940 BIO *bio1 = NULL; local
2990 if (!TEST_ptr(bio1 = BIO_new(BIO_s_mem())))
3003 setupbio(&irbio, bio1, bio2, initrbio);
3004 setupbio(&iwbio, bio1, bio2, initwbio);
3026 setupbio(&nrbio, bio1, bio2, newrbio);
3027 setupbio(&nwbio, bio1, bio2, newwbio);
3054 BIO_free(bio1);
  /src/crypto/external/apache2/openssl/dist/crypto/bio/
bss_bio.c 35 static int bio_make_pair(BIO *bio1, BIO *bio2);
459 * BIO_free(bio1); BIO_free(bio2); do the job.
602 static int bio_make_pair(BIO *bio1, BIO *bio2)
606 assert(bio1 != NULL);
609 b1 = bio1->ptr;
636 b2->peer = bio1;
640 bio1->init = 1;
678 BIO *bio1 = NULL, *bio2 = NULL; local
682 bio1 = BIO_new(BIO_s_bio());
683 if (bio1 == NULL
    [all...]
bss_dgram_pair.c 193 static int dgram_pair_ctrl_destroy_bio_pair(BIO *bio1);
338 static int dgram_pair_ctrl_make_bio_pair(BIO *bio1, BIO *bio2)
343 if (bio1 == NULL || bio2 == NULL) {
349 if (bio1->method != &dgram_pair_method || bio2->method != &dgram_pair_method) {
355 b1 = bio1->ptr;
393 b2->peer = bio1;
396 bio1->init = 1;
402 static int dgram_pair_ctrl_destroy_bio_pair(BIO *bio1)
405 struct bio_dgram_pair_st *b1 = bio1->ptr, *b2;
408 bio1->init = 0
806 BIO *bio1 = NULL, *bio2 = NULL; local
    [all...]
  /src/crypto/external/bsd/openssl/dist/crypto/bio/
bss_bio.c 35 static int bio_make_pair(BIO *bio1, BIO *bio2);
463 * BIO_free(bio1); BIO_free(bio2); do the job.
606 static int bio_make_pair(BIO *bio1, BIO *bio2)
610 assert(bio1 != NULL);
613 b1 = bio1->ptr;
644 b2->peer = bio1;
648 bio1->init = 1;
686 BIO *bio1 = NULL, *bio2 = NULL; local
690 bio1 = BIO_new(BIO_s_bio());
691 if (bio1 == NULL
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/crypto/bio/
bss_bio.c 35 static int bio_make_pair(BIO *bio1, BIO *bio2);
465 * BIO_free(bio1); BIO_free(bio2); do the job.
608 static int bio_make_pair(BIO *bio1, BIO *bio2)
612 assert(bio1 != NULL);
615 b1 = bio1->ptr;
646 b2->peer = bio1;
650 bio1->init = 1;
688 BIO *bio1 = NULL, *bio2 = NULL; local
692 bio1 = BIO_new(BIO_s_bio());
693 if (bio1 == NULL
    [all...]
  /src/crypto/external/apache2/openssl/dist/include/openssl/
bio.h.in 904 int BIO_new_bio_pair(BIO **bio1, size_t writebuf1,
907 int BIO_new_bio_dgram_pair(BIO **bio1, size_t writebuf1,
912 * If successful, returns 1 and in *bio1, *bio2 two BIO pair endpoints.
913 * Otherwise returns 0 and sets *bio1 and *bio2 to NULL. Size 0 uses default
  /src/crypto/external/bsd/openssl.old/dist/test/
sslapitest.c 1790 static void setupbio(BIO **res, BIO *bio1, BIO *bio2, int type)
1797 *res = bio1;
1820 BIO *bio1 = NULL; local
1870 if (!TEST_ptr(bio1 = BIO_new(BIO_s_mem())))
1883 setupbio(&irbio, bio1, bio2, initrbio);
1884 setupbio(&iwbio, bio1, bio2, initwbio);
1904 setupbio(&nrbio, bio1, bio2, newrbio);
1905 setupbio(&nwbio, bio1, bio2, newwbio);
1926 BIO_free(bio1);
  /src/crypto/external/bsd/openssl.old/dist/include/openssl/
bio.h 721 int BIO_new_bio_pair(BIO **bio1, size_t writebuf1,
724 * If successful, returns 1 and in *bio1, *bio2 two BIO pair endpoints.
725 * Otherwise returns 0 and sets *bio1 and *bio2 to NULL. Size 0 uses default
  /src/crypto/external/bsd/openssl/dist/test/
sslapitest.c 2876 static void setupbio(BIO **res, BIO *bio1, BIO *bio2, int type)
2883 *res = bio1;
2906 BIO *bio1 = NULL; local
2956 if (!TEST_ptr(bio1 = BIO_new(BIO_s_mem())))
2969 setupbio(&irbio, bio1, bio2, initrbio);
2970 setupbio(&iwbio, bio1, bio2, initwbio);
2990 setupbio(&nrbio, bio1, bio2, newrbio);
2991 setupbio(&nwbio, bio1, bio2, newwbio);
3012 BIO_free(bio1);
  /src/crypto/external/bsd/openssl/dist/include/openssl/
bio.h.in 783 int BIO_new_bio_pair(BIO **bio1, size_t writebuf1,
786 * If successful, returns 1 and in *bio1, *bio2 two BIO pair endpoints.
787 * Otherwise returns 0 and sets *bio1 and *bio2 to NULL. Size 0 uses default

Completed in 54 milliseconds