Home
last modified time | relevance | path

Searched refs:nghttp2_min (Results 1 - 15 of 15) sorted by relevance

/third_party/nghttp2/lib/
H A Dnghttp2_helper.c180 recv_reduction_delta = nghttp2_min(*recv_reduction_ptr, delta); in nghttp2_adjust_local_window_size()
236 recv_reduction_delta = nghttp2_min(*recv_reduction_ptr, delta); in nghttp2_increase_local_window_size()
H A Dnghttp2_ratelim.c64 rl->val = nghttp2_min(rl->val, rl->burst); in nghttp2_ratelim_update()
H A Dnghttp2_helper.h38 #define nghttp2_min(A, B) ((A) < (B) ? (A) : (B)) macro
H A Dnghttp2_hd.c1247 size_t next_bufsize = nghttp2_min(settings_max_dynamic_table_size, in nghttp2_hd_deflate_change_table_size()
1253 nghttp2_min(deflater->min_hd_table_bufsize_max, next_bufsize); in nghttp2_hd_deflate_change_table_size()
1726 size_t len = nghttp2_min((size_t)(last - in), inflater->left); in hd_inflate_read()
1942 nghttp2_min(inflater->min_hd_table_bufsize_max, in nghttp2_hd_inflate_hd_nv()
H A Dnghttp2_session.c1688 max = nghttp2_min( in nghttp2_session_adjust_idle_stream()
1690 16, nghttp2_min(session->local_settings.max_concurrent_streams, in nghttp2_session_adjust_idle_stream()
2120 return nghttp2_min(nghttp2_min(nghttp2_min(requested_window_size, in nghttp2_session_enforce_flow_control_limits()
2207 nghttp2_min(frame->hd.length + NGHTTP2_MAX_PADLEN, max_payloadlen); in session_call_select_padding()
2233 max_payloadlen = nghttp2_min(NGHTTP2_MAX_PAYLOADLEN, in session_headers_add_pad()
2273 buflen = nghttp2_min(nghttp2_buf_avail(buf), NGHTTP2_MAX_PAYLOADLEN); in session_pack_extension()
4668 min_header_table_size = nghttp2_min(min_header_table_size, iv[i].value); in nghttp2_session_update_local_settings()
5554 recv_size = nghttp2_min(*consumed_size_pt in session_update_consumed_size()
[all...]
H A Dnghttp2_buf.c346 nwrite = nghttp2_min(nghttp2_buf_avail(buf), len); in nghttp2_bufs_add()
/third_party/node/deps/nghttp2/lib/
H A Dnghttp2_helper.c180 recv_reduction_delta = nghttp2_min(*recv_reduction_ptr, delta); in nghttp2_adjust_local_window_size()
236 recv_reduction_delta = nghttp2_min(*recv_reduction_ptr, delta); in nghttp2_increase_local_window_size()
H A Dnghttp2_ratelim.c64 rl->val = nghttp2_min(rl->val, rl->burst); in nghttp2_ratelim_update()
H A Dnghttp2_helper.h38 #define nghttp2_min(A, B) ((A) < (B) ? (A) : (B)) macro
H A Dnghttp2_hd.c1247 size_t next_bufsize = nghttp2_min(settings_max_dynamic_table_size, in nghttp2_hd_deflate_change_table_size()
1253 nghttp2_min(deflater->min_hd_table_bufsize_max, next_bufsize); in nghttp2_hd_deflate_change_table_size()
1726 size_t len = nghttp2_min((size_t)(last - in), inflater->left); in hd_inflate_read()
1942 nghttp2_min(inflater->min_hd_table_bufsize_max, in nghttp2_hd_inflate_hd_nv()
H A Dnghttp2_session.c1683 max = nghttp2_min( in nghttp2_session_adjust_idle_stream()
1685 16, nghttp2_min(session->local_settings.max_concurrent_streams, in nghttp2_session_adjust_idle_stream()
2115 return nghttp2_min(nghttp2_min(nghttp2_min(requested_window_size, in nghttp2_session_enforce_flow_control_limits()
2202 nghttp2_min(frame->hd.length + NGHTTP2_MAX_PADLEN, max_payloadlen); in session_call_select_padding()
2228 max_payloadlen = nghttp2_min(NGHTTP2_MAX_PAYLOADLEN, in session_headers_add_pad()
2268 buflen = nghttp2_min(nghttp2_buf_avail(buf), NGHTTP2_MAX_PAYLOADLEN); in session_pack_extension()
4663 min_header_table_size = nghttp2_min(min_header_table_size, iv[i].value); in nghttp2_session_update_local_settings()
5549 recv_size = nghttp2_min(*consumed_size_pt in session_update_consumed_size()
[all...]
H A Dnghttp2_buf.c346 nwrite = nghttp2_min(nghttp2_buf_avail(buf), len); in nghttp2_bufs_add()
/third_party/nghttp2/tests/
H A Dnghttp2_test_helper.c179 n = nghttp2_min(offset, nghttp2_buf_len(&bp)); in inflate_hd()
H A Dfailmalloc_test.c76 size_t wlen = nghttp2_min(avail, len); in data_feed_recv_callback()
H A Dnghttp2_session_test.c299 return (ssize_t)nghttp2_min(max_payloadlen, frame->hd.length + ud->padlen); in select_padding_callback()
5331 payloadlen = nghttp2_min(NGHTTP2_INITIAL_CONNECTION_WINDOW_SIZE, in test_nghttp2_submit_data_read_length_too_large()
5397 return (ssize_t)nghttp2_min(len, 16); in submit_data_twice_data_source_read_callback()

Completed in 41 milliseconds