Lines Matching refs:written

437     size_t readbytes, written;  in test_keylog_no_master_key()  local
511 || !TEST_true(SSL_write_early_data(clientssl, NULL, 0, &written)) in test_keylog_no_master_key()
1555 size_t written, readbytes; in test_large_app_data() local
1681 &written)) in test_large_app_data()
1682 || !TEST_size_t_eq(written, SSL3_RT_MAX_PLAIN_LENGTH)) in test_large_app_data()
1690 if (!TEST_mem_eq(msg, written, buf, readbytes)) in test_large_app_data()
3545 size_t readbytes, written, eoedlen, rawread, rawwritten; in test_early_data_read_write() local
3563 &written)) in test_early_data_read_write()
3564 || !TEST_size_t_eq(written, strlen(MSG1))) in test_early_data_read_write()
3584 &written)) in test_early_data_read_write()
3585 || !TEST_size_t_eq(written, strlen(MSG2)) in test_early_data_read_write()
3592 &written)) in test_early_data_read_write()
3593 || !TEST_size_t_eq(written, strlen(MSG3))) in test_early_data_read_write()
3605 &written)) in test_early_data_read_write()
3606 || !TEST_size_t_eq(written, strlen(MSG4)) in test_early_data_read_write()
3615 if (!TEST_true(SSL_write_ex(clientssl, MSG5, strlen(MSG5), &written)) in test_early_data_read_write()
3616 || !TEST_size_t_eq(written, strlen(MSG5)) in test_early_data_read_write()
3651 &written)) in test_early_data_read_write()
3652 || !TEST_size_t_eq(written, strlen(MSG6))) in test_early_data_read_write()
3668 &written))) in test_early_data_read_write()
3693 if (!TEST_true(SSL_write_ex(serverssl, MSG7, strlen(MSG7), &written)) in test_early_data_read_write()
3694 || !TEST_size_t_eq(written, strlen(MSG7)) in test_early_data_read_write()
3716 &written)) in test_early_data_read_write()
3717 || !TEST_size_t_eq(written, strlen(MSG1)) in test_early_data_read_write()
3730 &written))) in test_early_data_read_write()
3740 if (!TEST_true(SSL_write_ex(clientssl, MSG5, strlen(MSG5), &written)) in test_early_data_read_write()
3741 || !TEST_size_t_eq(written, strlen(MSG5)) in test_early_data_read_write()
3789 size_t readbytes, written; in test_early_data_replay_int() local
3848 &written)) in test_early_data_replay_int()
3849 || !TEST_size_t_eq(written, strlen(MSG1))) in test_early_data_replay_int()
3948 size_t readbytes, written; in early_data_skip_helper() local
4009 &written)) in early_data_skip_helper()
4010 || !TEST_size_t_eq(written, strlen(MSG1))) in early_data_skip_helper()
4033 if (!TEST_false(SSL_write_ex(clientssl, MSG2, strlen(MSG2), &written)) in early_data_skip_helper()
4053 &written))) in early_data_skip_helper()
4061 sizeof(bad_early_data), &written))) in early_data_skip_helper()
4090 if (!TEST_true(SSL_write_ex(clientssl, MSG2, strlen(MSG2), &written)) in early_data_skip_helper()
4091 || !TEST_size_t_eq(written, strlen(MSG2)) in early_data_skip_helper()
4175 size_t readbytes, written; in test_early_data_not_sent() local
4184 if (!TEST_false(SSL_write_ex(clientssl, MSG1, strlen(MSG1), &written))) in test_early_data_not_sent()
4199 if (!TEST_true(SSL_write_ex(clientssl, MSG1, strlen(MSG1), &written)) in test_early_data_not_sent()
4200 || !TEST_size_t_eq(written, strlen(MSG1)) in test_early_data_not_sent()
4203 || !SSL_write_ex(serverssl, MSG2, strlen(MSG2), &written) in test_early_data_not_sent()
4204 || !TEST_size_t_eq(written, strlen(MSG2))) in test_early_data_not_sent()
4267 size_t readbytes, written; in test_early_data_psk() local
4393 &written)) in test_early_data_psk()
4401 &written))) in test_early_data_psk()
4448 size_t readbytes, written; in test_early_data_psk_with_all_ciphers() local
4530 &written))) in test_early_data_psk_with_all_ciphers()
4548 if (!TEST_true(SSL_write_ex(clientssl, MSG2, strlen(MSG2), &written)) in test_early_data_psk_with_all_ciphers()
4549 || !TEST_size_t_eq(written, strlen(MSG2))) in test_early_data_psk_with_all_ciphers()
4584 size_t readbytes, written; in test_early_data_not_expected() local
4593 &written))) in test_early_data_not_expected()
4610 if (!TEST_true(SSL_write_ex(clientssl, MSG2, strlen(MSG2), &written)) in test_early_data_not_expected()
4611 || !TEST_size_t_eq(written, strlen(MSG2))) in test_early_data_not_expected()
4644 size_t readbytes, written; in test_early_data_tls1_2() local
4654 if (!TEST_false(SSL_write_ex(clientssl, MSG1, strlen(MSG1), &written))) in test_early_data_tls1_2()
4671 if (!TEST_false(SSL_write_ex(clientssl, MSG1, strlen(MSG1), &written)) in test_early_data_tls1_2()
4681 if (!TEST_true(SSL_write_ex(clientssl, MSG1, strlen(MSG1), &written)) in test_early_data_tls1_2()
4682 || !TEST_size_t_eq(written, strlen(MSG1)) in test_early_data_tls1_2()
4687 || !TEST_true(SSL_write_ex(serverssl, MSG2, strlen(MSG2), &written)) in test_early_data_tls1_2()
4688 || !TEST_size_t_eq(written, strlen(MSG2)) in test_early_data_tls1_2()
6669 size_t readbytes, written; in test_export_key_mat_early() local
6676 if (!TEST_true(SSL_write_early_data(clientssl, NULL, 0, &written)) in test_export_key_mat_early()
7157 size_t written, readbytes; in test_ssl_clear() local
7194 if (!TEST_true(SSL_write_ex(writer, msg, strlen(msg), &written)) in test_ssl_clear()
7195 || written != strlen(msg)) in test_ssl_clear()
7866 size_t written, readbytes; in test_info_callback() local
7885 &written)) in test_info_callback()
7886 || !TEST_size_t_eq(written, strlen(MSG1))) in test_info_callback()
7973 size_t written, readbytes; in test_ssl_pending() local
8019 || !TEST_true(SSL_write_ex(serverssl, msg, sizeof(msg), &written)) in test_ssl_pending()
8020 || !TEST_size_t_eq(written, sizeof(msg)) in test_ssl_pending()
8023 || !TEST_int_eq(SSL_pending(clientssl), (int)(written - readbytes)) in test_ssl_pending()
8592 size_t written, readbytes; in test_shutdown() local
8680 if (!TEST_false(SSL_write_ex(clientssl, msg, sizeof(msg), &written))) in test_shutdown()
8694 || !TEST_false(SSL_write_ex(serverssl, msg, sizeof(msg), &written)) in test_shutdown()
9258 size_t readbytes, written, len; in test_multiblock_write() local
9295 if (!TEST_true(SSL_write_ex(serverssl, msg, sizeof(msg), &written)) in test_multiblock_write()
9296 || !TEST_size_t_eq(written, sizeof(msg))) in test_multiblock_write()
9299 len = written; in test_multiblock_write()
11067 size_t written, readbytes; in test_read_ahead_key_change() local
11086 if (!TEST_true(SSL_write_ex(clientssl, msg, strlen(msg), &written)) in test_read_ahead_key_change()
11087 || !TEST_size_t_eq(written, strlen(msg))) in test_read_ahead_key_change()
11093 if (!TEST_true(SSL_write_ex(clientssl, msg, strlen(msg), &written)) in test_read_ahead_key_change()
11094 || !TEST_size_t_eq(written, strlen(msg))) in test_read_ahead_key_change()
11167 size_t written, readbytes; in test_tls13_record_padding() local
11235 if (!TEST_true(SSL_write_ex(clientssl, msg, strlen(msg), &written)) in test_tls13_record_padding()
11236 || !TEST_size_t_eq(written, strlen(msg))) in test_tls13_record_padding()
11241 || !TEST_size_t_eq(written, readbytes)) in test_tls13_record_padding()
11289 size_t written, readbytes, offset, msglen, fragsize = 10, numpipes = 5; in test_pipelining() local
11377 if (!TEST_true(SSL_write_ex(peera, msg, msglen, &written)) in test_pipelining()
11378 || !TEST_size_t_eq(written, msglen)) in test_pipelining()
11413 if (!TEST_true(SSL_write_ex(peerb, msg + offset, sendlen, &written)) in test_pipelining()
11414 || !TEST_size_t_eq(written, sendlen)) in test_pipelining()
11620 size_t written, readbytes; in test_rstate_string() local
11660 sizeof(dummyheader), &written)) in test_rstate_string()
11661 || !TEST_size_t_eq(written, SSL3_RT_HEADER_LENGTH)) in test_rstate_string()
11788 size_t written, readbytes, totread = 0; in test_data_retry() local
11828 if (!TEST_false(SSL_write_ex(clientssl, inbuf, sizeof(inbuf), &written))) in test_data_retry()
11845 if (!TEST_false(SSL_write_ex(clientssl, inbuf, sizeof(inbuf), &written))) in test_data_retry()
11852 if (!TEST_true(SSL_write_ex(clientssl, inbuf, sizeof(inbuf), &written))) in test_data_retry()