| /src/crypto/external/apache2/openssl/dist/ssl/quic/ |
| quic_fifd.c | 73 QUIC_SSTREAM *sstream; local 78 sstream = fifd->get_sstream_by_id(chunks[i].stream_id, 81 if (sstream == NULL) 86 ossl_quic_sstream_mark_acked(sstream, 90 ossl_quic_sstream_mark_acked_fin(sstream); 102 if (ossl_quic_sstream_is_totally_acked(sstream)) 129 QUIC_SSTREAM *sstream; local 137 sstream = fifd->get_sstream_by_id(chunks[i].stream_id, 140 if (sstream == NULL) 149 * by (sstream == NULL) above as the QSM will free the QUIC_SSTREA 257 QUIC_SSTREAM *sstream; local [all...] |
| quic_channel.c | 967 QUIC_SSTREAM *sstream = ch->crypto_send[pn_space]; local 969 if (!ossl_assert(sstream != NULL)) 972 ret = ossl_quic_sstream_append(sstream, buf, buf_len, consumed); 3750 if ((qs->sstream = ossl_quic_sstream_new(INIT_APP_BUF_LEN)) == NULL) 3800 ossl_quic_sstream_free(qs->sstream); 3801 qs->sstream = NULL;
|
| quic_impl.c | 783 && !ossl_quic_sstream_get_final_size(ctx.xso->stream->sstream, NULL)) 994 if (xso->stream->sstream != NULL) 995 ossl_quic_sstream_set_cleanse(xso->stream->sstream, cleanse); 2458 ossl_quic_sstream_fin(xso->stream->sstream); 2490 static int sstream_ensure_spare(QUIC_SSTREAM *sstream, uint64_t spare) 2492 size_t cur_sz = ossl_quic_sstream_get_buffer_size(sstream); 2493 size_t avail = ossl_quic_sstream_get_buffer_avail(sstream); 2506 return ossl_quic_sstream_set_buffer_size(sstream, new_sz); 2517 QUIC_SSTREAM *sstream = xso->stream->sstream; local [all...] |
| /src/crypto/external/apache2/openssl/dist/test/ |
| quic_fifd_test.c | 61 QUIC_SSTREAM *sstream[4]; member in struct:info_st 79 return cur_info->sstream[stream_id - 42]; 137 if (!TEST_true(ossl_quic_sstream_append(info->sstream[i], 144 ossl_quic_sstream_fin(info->sstream[i]); 146 if (!TEST_true(ossl_quic_sstream_get_stream_frame(info->sstream[i], 0, 151 || !TEST_size_t_eq(ossl_quic_sstream_get_buffer_used(info->sstream[i]), 12) 152 || !TEST_true(ossl_quic_sstream_mark_transmitted(info->sstream[i], 157 if (i == 1 && !TEST_true(ossl_quic_sstream_mark_transmitted_fin(info->sstream[i], hdr.offset + hdr.len))) 213 if (!TEST_size_t_eq(ossl_quic_sstream_get_buffer_used(info->sstream[i]), 0)) 217 if (!TEST_false(ossl_quic_sstream_mark_lost_fin(info->sstream[1])) [all...] |
| quic_stream_test.c | 43 QUIC_SSTREAM *sstream = NULL; local 48 if (!TEST_ptr(sstream = ossl_quic_sstream_new(init_size))) 52 if (!TEST_true(ossl_quic_sstream_is_totally_acked(sstream))) 57 if (!TEST_false(ossl_quic_sstream_get_stream_frame(sstream, 0, &hdr, iov, 62 if (!TEST_true(ossl_quic_sstream_append(sstream, data_1, sizeof(data_1), 68 if (!TEST_false(ossl_quic_sstream_is_totally_acked(sstream))) 73 if (!TEST_true(ossl_quic_sstream_get_stream_frame(sstream, 0, &hdr, iov, 85 if (!TEST_true(ossl_quic_sstream_mark_transmitted(sstream, 0, 7))) 90 if (!TEST_true(ossl_quic_sstream_get_stream_frame(sstream, 0, &hdr, iov, 101 if (!TEST_true(ossl_quic_sstream_mark_transmitted(sstream, 8, 15)) 219 QUIC_SSTREAM *sstream = NULL; local [all...] |
| /src/crypto/external/apache2/openssl/dist/include/internal/ |
| quic_stream_map.h | 51 #define QUIC_SSTREAM_STATE_NONE 0 /* --- sstream == NULL */ 53 #define QUIC_SSTREAM_STATE_SEND 2 /* |-- sstream != NULL */ 56 #define QUIC_SSTREAM_STATE_RESET_SENT 5 /* |-- sstream == NULL */ 138 * DO NOT test these pointers (sstream, rstream) for NULL. Determine the 140 * function; then the invariant of that state guarantees that sstream or 143 * stream with a send part can still have sstream as NULL, and a stream with 151 QUIC_SSTREAM *sstream; /* NULL if RX-only */ member in struct:quic_stream_st 355 * Do NOT use (s->sstream != NULL) to test this; use this function. Note that 356 * even if this function returns 1, s->sstream might be NULL if the QUIC_SSTREAM 379 * it. If this returns 1, s->sstream is guaranteed to be non-NULL. The convers [all...] |