Lines Matching refs:iov
14 const OSSL_QTX_IOVEC *iov, size_t iov_len) in compare_iov() argument
20 total_len += iov[i].buf_len; in compare_iov()
26 if (memcmp(cur, iov[i].buf, iov[i].buf_len)) in compare_iov()
29 cur += iov[i].buf_len; in compare_iov()
45 OSSL_QTX_IOVEC iov[2]; in test_sstream_simple() local
56 num_iov = OSSL_NELEM(iov); in test_sstream_simple()
57 if (!TEST_false(ossl_quic_sstream_get_stream_frame(sstream, 0, &hdr, iov, in test_sstream_simple()
72 num_iov = OSSL_NELEM(iov); in test_sstream_simple()
73 if (!TEST_true(ossl_quic_sstream_get_stream_frame(sstream, 0, &hdr, iov, in test_sstream_simple()
81 if (!TEST_true(compare_iov(data_1, sizeof(data_1), iov, num_iov))) in test_sstream_simple()
89 num_iov = OSSL_NELEM(iov); in test_sstream_simple()
90 if (!TEST_true(ossl_quic_sstream_get_stream_frame(sstream, 0, &hdr, iov, in test_sstream_simple()
98 if (!TEST_true(compare_iov(data_1 + 8, sizeof(data_1) - 8, iov, num_iov))) in test_sstream_simple()
105 num_iov = OSSL_NELEM(iov); in test_sstream_simple()
106 if (!TEST_false(ossl_quic_sstream_get_stream_frame(sstream, 0, &hdr, iov, in test_sstream_simple()
115 num_iov = OSSL_NELEM(iov); in test_sstream_simple()
116 if (!TEST_true(ossl_quic_sstream_get_stream_frame(sstream, 0, &hdr, iov, in test_sstream_simple()
124 if (!TEST_true(compare_iov(data_1 + 4, 3, iov, num_iov))) in test_sstream_simple()
132 num_iov = OSSL_NELEM(iov); in test_sstream_simple()
133 if (!TEST_false(ossl_quic_sstream_get_stream_frame(sstream, 0, &hdr, iov, in test_sstream_simple()
159 num_iov = OSSL_NELEM(iov); in test_sstream_simple()
160 if (!TEST_true(ossl_quic_sstream_get_stream_frame(sstream, 0, &hdr, iov, in test_sstream_simple()
173 num_iov = OSSL_NELEM(iov); in test_sstream_simple()
174 if (!TEST_false(ossl_quic_sstream_get_stream_frame(sstream, 0, &hdr, iov, in test_sstream_simple()
184 num_iov = OSSL_NELEM(iov); in test_sstream_simple()
185 if (!TEST_true(ossl_quic_sstream_get_stream_frame(sstream, 0, &hdr, iov, in test_sstream_simple()
198 num_iov = OSSL_NELEM(iov); in test_sstream_simple()
199 if (!TEST_false(ossl_quic_sstream_get_stream_frame(sstream, 0, &hdr, iov, in test_sstream_simple()
221 OSSL_QTX_IOVEC iov[2]; in test_sstream_bulk() local
307 num_iov = OSSL_NELEM(iov); in test_sstream_bulk()
308 if (!TEST_true(ossl_quic_sstream_get_stream_frame(sstream, i, &hdr, iov, in test_sstream_bulk()
314 if (!TEST_size_t_le(iov[j].buf_len + rd, expected)) in test_sstream_bulk()
317 memcpy(dst_cur, iov[j].buf, iov[j].buf_len); in test_sstream_bulk()
318 dst_cur += iov[j].buf_len; in test_sstream_bulk()
319 cur_rd += iov[j].buf_len; in test_sstream_bulk()