Lines Matching refs:nbytes

2728     size_t nbytes;  in test_extra_tickets()  local
2764 if (!TEST_true(SSL_write_ex(serverssl, &c, 1, &nbytes)) in test_extra_tickets()
2765 || !TEST_size_t_eq(1, nbytes) in test_extra_tickets()
2767 || !TEST_true(SSL_read_ex(clientssl, buf, sizeof(buf), &nbytes)) in test_extra_tickets()
2769 || !TEST_int_eq(sizeof(buf), nbytes) in test_extra_tickets()
2771 || !TEST_false(SSL_read_ex(clientssl, buf, sizeof(buf), &nbytes))) in test_extra_tickets()
2778 || !TEST_true(SSL_write_ex(serverssl, &c, sizeof(c), &nbytes)) in test_extra_tickets()
2779 || !TEST_size_t_eq(sizeof(c), nbytes) in test_extra_tickets()
2781 || !TEST_true(SSL_read_ex(clientssl, buf, sizeof(buf), &nbytes)) in test_extra_tickets()
2783 || !TEST_size_t_eq(sizeof(buf), nbytes) in test_extra_tickets()
2792 || !TEST_true(SSL_write_ex(serverssl, &c, 0, &nbytes)) in test_extra_tickets()
2793 || !TEST_size_t_eq(0, nbytes) in test_extra_tickets()
2795 || !TEST_false(SSL_read_ex(clientssl, buf, sizeof(buf), &nbytes)) in test_extra_tickets()
2806 || !TEST_false(SSL_read_ex(clientssl, buf, sizeof(buf), &nbytes)) in test_extra_tickets()
2823 if (!TEST_false(SSL_write_ex(serverssl, &c, 1, &nbytes)) in test_extra_tickets()
2825 || !TEST_size_t_eq(nbytes, 0)) in test_extra_tickets()
2841 if (!TEST_true(SSL_write_ex(serverssl, &c, 1, &nbytes)) in test_extra_tickets()
2842 || !TEST_size_t_eq(1, nbytes) in test_extra_tickets()
2844 || !TEST_true(SSL_read_ex(clientssl, buf, sizeof(buf), &nbytes)) in test_extra_tickets()
2846 || !TEST_int_eq(sizeof(buf), nbytes) in test_extra_tickets()
2848 || !TEST_false(SSL_read_ex(clientssl, buf, sizeof(buf), &nbytes))) in test_extra_tickets()
2856 if (!TEST_true(SSL_write_ex(serverssl, &c, 1, &nbytes)) in test_extra_tickets()
2857 || !TEST_size_t_eq(1, nbytes) in test_extra_tickets()
2859 || !TEST_true(SSL_read_ex(clientssl, buf, sizeof(buf), &nbytes)) in test_extra_tickets()
2861 || !TEST_int_eq(sizeof(buf), nbytes) in test_extra_tickets()
2863 || !TEST_false(SSL_read_ex(clientssl, buf, sizeof(buf), &nbytes))) in test_extra_tickets()