Home
last modified time | relevance | path

Searched refs:avail (Results 1 – 11 of 11) sorted by relevance

/openssl/include/internal/
H A Dring_buf.h80 size_t avail, idx, l; in ring_buf_write_at() local
84 avail = ring_buf_avail(r); in ring_buf_write_at()
87 > safe_add_u64(r->head_offset, avail, &err) in ring_buf_write_at()
117 size_t pushed = 0, avail, idx, l; in ring_buf_push() local
121 avail = ring_buf_avail(r); in ring_buf_push()
122 if (buf_len > avail) in ring_buf_push()
123 buf_len = avail; in ring_buf_push()
H A Dquic_stream_map.h513 size_t avail; in ossl_quic_stream_recv_pending() local
524 if (!ossl_quic_rstream_available(s->rstream, &avail, &fin)) in ossl_quic_stream_recv_pending()
525 avail = 0; in ossl_quic_stream_recv_pending()
527 if (avail == 0 && include_fin && fin) in ossl_quic_stream_recv_pending()
528 avail = 1; in ossl_quic_stream_recv_pending()
530 return avail; in ossl_quic_stream_recv_pending()
H A Dquic_stream.h370 int ossl_quic_rstream_available(QUIC_RSTREAM *qrs, size_t *avail, int *fin);
/openssl/ssl/quic/
H A Dquic_rstream.c173 int ossl_quic_rstream_available(QUIC_RSTREAM *qrs, size_t *avail, int *fin) in ossl_quic_rstream_available() argument
184 *avail = avail_ > SIZE_MAX ? SIZE_MAX : (size_t)avail_; in ossl_quic_rstream_available()
186 *avail = (size_t)avail_; in ossl_quic_rstream_available()
H A Dquic_impl.c2228 size_t avail = ossl_quic_sstream_get_buffer_avail(sstream); in sstream_ensure_spare() local
2232 if (spare_ <= avail || cur_sz == MAX_WRITE_BUF_SIZE) in sstream_ensure_spare()
2235 growth = spare_ - avail; in sstream_ensure_spare()
2874 size_t avail = 0; in ossl_quic_pending_int() local
2900 avail = ossl_quic_stream_recv_pending(ctx.xso->stream, in ossl_quic_pending_int()
2905 avail = ossl_quic_stream_recv_pending(ctx.xso->stream, in ossl_quic_pending_int()
2910 return avail; in ossl_quic_pending_int()
4037 size_t avail = 0; in test_poll_event_r() local
4056 && ossl_quic_rstream_available(xso->stream->rstream, &avail, &fin) in test_poll_event_r()
4057 && (avail > 0 || (fin && !xso->retired_fin)); in test_poll_event_r()
H A Dquic_channel.c879 size_t avail = 0; in crypto_ensure_empty() local
885 if (!ossl_quic_rstream_available(rstream, &avail, &is_fin)) in crypto_ensure_empty()
888 return avail == 0; in crypto_ensure_empty()
/openssl/test/
H A Dquic_stream_test.c381 size_t readbytes = 0, avail = 0; in test_rstream_simple() local
434 || !TEST_true(ossl_quic_rstream_available(rstream, &avail, &fin)) in test_rstream_simple()
436 || !TEST_size_t_eq(avail, sizeof(simple_data)) in test_rstream_simple()
H A Dquic_multistream_test.c5407 uint64_t size, used, avail; in check_write_buf_stat() local
5414 || !TEST_true(SSL_get_stream_write_buf_avail(c_a, &avail)) in check_write_buf_stat()
5415 || !TEST_uint64_t_ge(size, avail) in check_write_buf_stat()
5417 || !TEST_uint64_t_eq(avail + used, size)) in check_write_buf_stat()
/openssl/test/recipes/30-test_evp_data/
H A Devpkdf_argon2.txt120 # Expected fail on condition violation: threads > avail threads
/openssl/apps/
H A Dspeed.c1594 DWORD avail = 0; in run_benchmark() local
1666 && !PeekNamedPipe(job_fd, NULL, 0, NULL, &avail, NULL) in run_benchmark()
1667 && avail > 0) in run_benchmark()
/openssl/crypto/objects/
H A Dobjects.txt909 !Cname no-rev-avail

Completed in 90 milliseconds