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 1240 BIO *bio1 = NULL, *bio2 = NULL; local
1242 r = BIO_new_bio_dgram_pair(&bio1, 0, &bio2, 0);
1246 multi_bio1 = bio1;
1254 BIO_free(bio1);
quic_txp_test.c 47 BIO *bio1, *bio2; member in struct:helper
107 BIO_free(h->bio1);
130 if (!TEST_true(BIO_new_bio_dgram_pair(&h->bio1, 0, &h->bio2, 0)))
133 h->qtx_args.bio = h->bio1;
sslapitest.c 3049 static void setupbio(BIO **res, BIO *bio1, BIO *bio2, int type)
3056 *res = bio1;
3078 BIO *bio1 = NULL; local
3128 if (!TEST_ptr(bio1 = BIO_new(BIO_s_mem())))
3141 setupbio(&irbio, bio1, bio2, initrbio);
3142 setupbio(&iwbio, bio1, bio2, initwbio);
3164 setupbio(&nrbio, bio1, bio2, newrbio);
3165 setupbio(&nwbio, bio1, bio2, newwbio);
3192 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);
339 static int dgram_pair_ctrl_make_bio_pair(BIO *bio1, BIO *bio2)
344 if (bio1 == NULL || bio2 == NULL) {
350 if (bio1->method != &dgram_pair_method || bio2->method != &dgram_pair_method) {
356 b1 = bio1->ptr;
394 b2->peer = bio1;
397 bio1->init = 1;
403 static int dgram_pair_ctrl_destroy_bio_pair(BIO *bio1)
406 struct bio_dgram_pair_st *b1 = bio1->ptr, *b2;
409 bio1->init = 0
807 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 89 milliseconds