Lines Matching refs:numbytes

59     size_t numbytes = 0;  in test_quic_write_read()  local
97 if (!TEST_true(SSL_write_ex(clientquic, msg, msglen, &numbytes)) in test_quic_write_read()
98 || !TEST_size_t_eq(numbytes, msglen)) in test_quic_write_read()
109 &numbytes))) in test_quic_write_read()
111 } while (numbytes == 0); in test_quic_write_read()
113 if (!TEST_mem_eq(buf, numbytes, msg, msglen)) in test_quic_write_read()
124 msglen, &numbytes))) in test_quic_write_read()
130 if (!TEST_false(SSL_read_ex(clientquic, buf, 1, &numbytes)) in test_quic_write_read()
134 &numbytes)) in test_quic_write_read()
146 if (!TEST_true(SSL_read_ex(clientquic, buf, 1, &numbytes)) in test_quic_write_read()
147 || !TEST_size_t_eq(numbytes, 1) in test_quic_write_read()
151 sizeof(buf) - 1, &numbytes)) in test_quic_write_read()
152 || !TEST_mem_eq(buf, numbytes + 1, msg, msglen)) in test_quic_write_read()
219 size_t numbytes; in test_fin_only_blocking() local
242 strlen(msg), &numbytes)) in test_fin_only_blocking()
243 || !TEST_size_t_eq(strlen(msg), numbytes)) in test_fin_only_blocking()
248 if (!TEST_true(SSL_read_ex(clientquic, buf, sizeof(buf), &numbytes)) in test_fin_only_blocking()
249 || !TEST_mem_eq(msg, strlen(msg), buf, numbytes)) in test_fin_only_blocking()
258 if (!TEST_false(SSL_read_ex(clientquic, buf, sizeof(buf), &numbytes))) in test_fin_only_blocking()
1234 size_t numbytes = 0; in test_client_auth() local
1275 if (!TEST_true(SSL_write_ex(clientquic, msg, msglen, &numbytes)) in test_client_auth()
1276 || !TEST_size_t_eq(numbytes, msglen)) in test_client_auth()
1282 msglen, &numbytes))) in test_client_auth()
1288 if (!TEST_true(SSL_read_ex(clientquic, buf, sizeof(buf), &numbytes)) in test_client_auth()
1289 || !TEST_size_t_eq(numbytes, msglen) in test_client_auth()
1290 || !TEST_mem_eq(buf, numbytes, msg, msglen)) in test_client_auth()