Lines Matching refs:stream
837 SSL *clientquic = NULL, *stream = NULL; in test_bio_ssl() local
934 stream = SSL_new_stream(clientquic, 0); in test_bio_ssl()
935 if (!TEST_ptr(stream)) in test_bio_ssl()
938 if (!TEST_true(SSL_set_mode(stream, 0))) in test_bio_ssl()
945 if (!TEST_int_eq(BIO_set_ssl(thisbio, stream, BIO_CLOSE), 1)) in test_bio_ssl()
947 stream = NULL; in test_bio_ssl()
959 SSL_free(stream); in test_bio_ssl()
1429 static int unreliable_client_read(SSL *clientquic, SSL **stream, void *buf, in unreliable_client_read() argument
1437 if (*stream == NULL) { in unreliable_client_read()
1439 *stream = SSL_accept_stream(clientquic, 0); in unreliable_client_read()
1442 if (*stream != NULL) { in unreliable_client_read()
1443 if (SSL_read_ex(*stream, buf, buflen, readbytes)) in unreliable_client_read()
1445 if (!TEST_int_eq(SSL_get_error(*stream, 0), SSL_ERROR_WANT_READ)) in unreliable_client_read()
1490 SSL *clientquic = NULL, *stream[2] = { NULL, NULL }; in test_noisy_dgram() local
1545 if (!TEST_true(unreliable_client_read(clientquic, &stream[j], buf, in test_noisy_dgram()
1554 if (!TEST_true(SSL_write_ex(stream[j], (unsigned char *)msg, in test_noisy_dgram()
1577 SSL_free(stream[0]); in test_noisy_dgram()
1578 SSL_free(stream[1]); in test_noisy_dgram()