Home
last modified time | relevance | path

Searched refs:sstream (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/crypto/openssl/test/
H A Dquic_stream_test.c43 QUIC_SSTREAM *sstream = NULL; in test_sstream_simple() local
48 if (!TEST_ptr(sstream = ossl_quic_sstream_new(init_size))) in test_sstream_simple()
52 if (!TEST_true(ossl_quic_sstream_is_totally_acked(sstream))) in test_sstream_simple()
57 if (!TEST_false(ossl_quic_sstream_get_stream_frame(sstream, 0, &hdr, iov, in test_sstream_simple()
62 if (!TEST_true(ossl_quic_sstream_append(sstream, data_1, sizeof(data_1), in test_sstream_simple()
68 if (!TEST_false(ossl_quic_sstream_is_totally_acked(sstream))) in test_sstream_simple()
73 if (!TEST_true(ossl_quic_sstream_get_stream_frame(sstream, 0, &hdr, iov, in test_sstream_simple()
85 if (!TEST_true(ossl_quic_sstream_mark_transmitted(sstream, 0, 7))) in test_sstream_simple()
90 if (!TEST_true(ossl_quic_sstream_get_stream_frame(sstream, 0, &hdr, iov, in test_sstream_simple()
101 if (!TEST_true(ossl_quic_sstream_mark_transmitted(sstream, 8, 15))) in test_sstream_simple()
[all …]
H A Dquic_fifd_test.c61 QUIC_SSTREAM *sstream[4]; member
79 return cur_info->sstream[stream_id - 42]; in sstream_expect()
137 if (!TEST_true(ossl_quic_sstream_append(info->sstream[i], in test_generic()
144 ossl_quic_sstream_fin(info->sstream[i]); in test_generic()
146 if (!TEST_true(ossl_quic_sstream_get_stream_frame(info->sstream[i], 0, in test_generic()
151 || !TEST_size_t_eq(ossl_quic_sstream_get_buffer_used(info->sstream[i]), 12) in test_generic()
152 || !TEST_true(ossl_quic_sstream_mark_transmitted(info->sstream[i], in test_generic()
157 …if (i == 1 && !TEST_true(ossl_quic_sstream_mark_transmitted_fin(info->sstream[i], hdr.offset + hdr… in test_generic()
213 if (!TEST_size_t_eq(ossl_quic_sstream_get_buffer_used(info->sstream[i]), 0)) in test_generic()
217 if (!TEST_false(ossl_quic_sstream_mark_lost_fin(info->sstream[1]))) in test_generic()
[all …]
H A Dquic_txp_test.c1510 if (!TEST_ptr(s->sstream = ossl_quic_sstream_new(512 * 1024)) in run_script()
1518 ossl_quic_sstream_free(s->sstream); in run_script()
1531 if (!TEST_true(ossl_quic_sstream_append(s->sstream, op->buf, in run_script()
1547 ossl_quic_sstream_fin(s->sstream); in run_script()
/freebsd/crypto/openssl/ssl/quic/
H A Dquic_fifd.c73 QUIC_SSTREAM *sstream; in on_acked() local
78 sstream = fifd->get_sstream_by_id(chunks[i].stream_id, in on_acked()
81 if (sstream == NULL) in on_acked()
86 ossl_quic_sstream_mark_acked(sstream, in on_acked()
90 ossl_quic_sstream_mark_acked_fin(sstream); in on_acked()
102 if (ossl_quic_sstream_is_totally_acked(sstream)) in on_acked()
129 QUIC_SSTREAM *sstream; in on_lost() local
137 sstream = fifd->get_sstream_by_id(chunks[i].stream_id, in on_lost()
140 if (sstream == NULL) in on_lost()
152 ossl_quic_sstream_mark_lost(sstream, in on_lost()
[all …]
H A Dquic_stream_map.c185 ossl_quic_sstream_free(stream->sstream); in ossl_quic_stream_map_release()
186 stream->sstream = NULL; in ossl_quic_stream_map_release()
267 if (!ossl_quic_sstream_get_stream_frame(s->sstream, 0, &shdr, iov, in stream_has_data_to_send()
340 && ossl_quic_sstream_is_totally_acked(s->sstream)) in ossl_quic_stream_map_update_state()
344 && ossl_quic_sstream_is_totally_acked(s->sstream)) in ossl_quic_stream_map_update_state()
409 if (!ossl_quic_sstream_get_final_size(qs->sstream, &qs->send_final_size)) in ossl_quic_stream_map_notify_all_data_sent()
440 ossl_quic_sstream_free(qs->sstream); in ossl_quic_stream_map_notify_totally_acked()
441 qs->sstream = NULL; in ossl_quic_stream_map_notify_totally_acked()
492 ossl_quic_sstream_free(qs->sstream); in ossl_quic_stream_map_reset_stream_send_part()
493 qs->sstream = NULL; in ossl_quic_stream_map_reset_stream_send_part()
[all …]
H A Dquic_tserver.c380 if (!ossl_quic_sstream_append(qs->sstream, in ossl_quic_tserver_write()
408 if (!ossl_quic_sstream_get_final_size(qs->sstream, NULL)) { in ossl_quic_tserver_conclude()
409 ossl_quic_sstream_fin(qs->sstream); in ossl_quic_tserver_conclude()
507 return ossl_quic_sstream_is_totally_acked(qs->sstream); in ossl_quic_tserver_is_stream_totally_acked()
H A Dquic_impl.c783 && !ossl_quic_sstream_get_final_size(ctx.xso->stream->sstream, NULL)) in ossl_quic_free()
994 if (xso->stream->sstream != NULL) in xso_update_options()
995 ossl_quic_sstream_set_cleanse(xso->stream->sstream, cleanse); in xso_update_options()
2458 ossl_quic_sstream_fin(xso->stream->sstream); in quic_post_write()
2490 static int sstream_ensure_spare(QUIC_SSTREAM *sstream, uint64_t spare) in sstream_ensure_spare() argument
2492 size_t cur_sz = ossl_quic_sstream_get_buffer_size(sstream); in sstream_ensure_spare()
2493 size_t avail = ossl_quic_sstream_get_buffer_avail(sstream); in sstream_ensure_spare()
2506 return ossl_quic_sstream_set_buffer_size(sstream, new_sz); in sstream_ensure_spare()
2517 QUIC_SSTREAM *sstream = xso->stream->sstream; in xso_sstream_append() local
2518 uint64_t cur = ossl_quic_sstream_get_cur_size(sstream); in xso_sstream_append()
[all …]
H A Dquic_txp.c427 static int sstream_is_pending(QUIC_SSTREAM *sstream);
1580 static int sstream_is_pending(QUIC_SSTREAM *sstream) in sstream_is_pending() argument
1586 return ossl_quic_sstream_get_stream_frame(sstream, 0, &hdr, iov, &num_iov); in sstream_is_pending()
1633 return s->sstream; in get_sstream_by_id()
2217 QUIC_SSTREAM *sstream, in txp_plan_stream_chunk() argument
2226 chunk->valid = ossl_quic_sstream_get_stream_frame(sstream, skip, in txp_plan_stream_chunk()
2272 QUIC_SSTREAM *sstream, in txp_generate_stream_frames() argument
2306 if (!txp_plan_stream_chunk(txp, h, sstream, stream_txfc, i, &chunks[i], in txp_generate_stream_frames()
2345 if (!txp_plan_stream_chunk(txp, h, sstream, stream_txfc, i + 1, in txp_generate_stream_frames()
2626 stream->id, stream->sstream, in txp_generate_stream_related()
[all …]
H A Dquic_channel.c967 QUIC_SSTREAM *sstream = ch->crypto_send[pn_space]; in ch_on_crypto_send() local
969 if (!ossl_assert(sstream != NULL)) in ch_on_crypto_send()
972 ret = ossl_quic_sstream_append(sstream, buf, buf_len, consumed); in ch_on_crypto_send()
3750 if ((qs->sstream = ossl_quic_sstream_new(INIT_APP_BUF_LEN)) == NULL) in ch_init_new_stream()
3800 ossl_quic_sstream_free(qs->sstream); in ch_init_new_stream()
3801 qs->sstream = NULL; in ch_init_new_stream()
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dsstream.cppm
/freebsd/crypto/openssl/include/internal/
H A Dquic_stream_map.h151 QUIC_SSTREAM *sstream; /* NULL if RX-only */ member
468 return ossl_quic_sstream_get_final_size(s->sstream, final_size); in ossl_quic_stream_send_get_final_size()
/freebsd/contrib/llvm-project/libcxx/modules/
H A Dstd.cppm
H A Dstd.cppm.in136 # include <sstream>
/freebsd/contrib/llvm-project/clang/lib/Headers/cuda_wrappers/
H A Dcomplex37 #include <sstream>
/freebsd/contrib/kyua/utils/text/
H A Doperations.ipp34 #include <sstream>
/freebsd/contrib/llvm-project/libcxx/include/
H A D__std_clang_module166 # include <sstream>
H A Diosfwd114 #include <__fwd/sstream.h>
H A Dsstream16 sstream synopsis [sstream.syn]
316 #include <__fwd/sstream.h>
H A Dversion229 __cpp_lib_sstream_from_string_view 202306L <sstream>
H A Dmodule.modulemap237 header "sstream"
1386 module std_private_iosfwd_sstream_fwd [system] { header "__fwd/sstream.h" }
H A Dcomplex270 # include <sstream> // for std::basic_ostringstream
/freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/
H A DStdSymbolMap.inc769 SYMBOL(basic_istringstream, std::, <sstream>)
778 SYMBOL(basic_ostringstream, std::, <sstream>)
793 SYMBOL(basic_stringbuf, std::, <sstream>)
795 SYMBOL(basic_stringstream, std::, <sstream>)
1849 SYMBOL(istringstream, std::, <sstream>)
2316 SYMBOL(ostringstream, std::, <sstream>)
2757 SYMBOL(stringbuf, std::, <sstream>)
2759 SYMBOL(stringstream, std::, <sstream>)
3257 SYMBOL(wistringstream, std::, <sstream>)
3281 SYMBOL(wostringstream, std::, <sstream>)
[all …]
/freebsd/lib/libc++/
H A DMakefile226 STD_HEADERS+= sstream
800 FWD_HEADERS+= sstream.h
H A Dlibcxx.imp428 { include: [ "<__fwd/sstream.h>", "private", "<iosfwd>", "public" ] },
/freebsd/
H A DObsoleteFiles.inc4643 OLD_FILES+=usr/include/c++/v1/tr1/sstream
9971 OLD_FILES+=usr/include/c++/4.2/bits/sstream.tcc
10375 OLD_FILES+=usr/include/c++/4.2/sstream

12