Searched refs:nghttp2_min (Results 1 – 13 of 13) sorted by relevance
/third_party/node/deps/nghttp2/lib/ |
D | nghttp2_helper.c | 180 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()
|
D | nghttp2_helper.h | 38 #define nghttp2_min(A, B) ((A) < (B) ? (A) : (B)) macro
|
D | nghttp2_session.c | 1388 max = nghttp2_min( in nghttp2_session_adjust_idle_stream() 1390 16, nghttp2_min(session->local_settings.max_concurrent_streams, in nghttp2_session_adjust_idle_stream() 1798 return nghttp2_min(nghttp2_min(nghttp2_min(requested_window_size, in nghttp2_session_enforce_flow_control_limits() 1885 nghttp2_min(frame->hd.length + NGHTTP2_MAX_PADLEN, max_payloadlen); in session_call_select_padding() 1912 max_payloadlen = nghttp2_min(NGHTTP2_MAX_PAYLOADLEN, in session_headers_add_pad() 1956 buflen = nghttp2_min(nghttp2_buf_avail(buf), NGHTTP2_MAX_PAYLOADLEN); in session_pack_extension() 4333 min_header_table_size = nghttp2_min(min_header_table_size, iv[i].value); in nghttp2_session_update_local_settings() 5110 recv_size = nghttp2_min(*consumed_size_ptr, *recv_window_size_ptr); in session_update_consumed_size() 5233 return nghttp2_min((size_t)(last - in), iframe->payloadleft); in inbound_frame_payload_readlen() 5249 nghttp2_min((size_t)(last - in), nghttp2_buf_mark_avail(&iframe->sbuf)); in inbound_frame_buf_read() [all …]
|
D | nghttp2_hd.c | 1242 size_t next_bufsize = nghttp2_min(settings_max_dynamic_table_size, in nghttp2_hd_deflate_change_table_size() 1248 nghttp2_min(deflater->min_hd_table_bufsize_max, next_bufsize); in nghttp2_hd_deflate_change_table_size() 1720 size_t len = nghttp2_min((size_t)(last - in), inflater->left); in hd_inflate_read() 1936 nghttp2_min(inflater->min_hd_table_bufsize_max, in nghttp2_hd_inflate_hd_nv()
|
D | nghttp2_buf.c | 346 nwrite = nghttp2_min(nghttp2_buf_avail(buf), len); in nghttp2_bufs_add()
|
/third_party/nghttp2/lib/ |
D | nghttp2_helper.c | 180 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()
|
D | nghttp2_helper.h | 38 #define nghttp2_min(A, B) ((A) < (B) ? (A) : (B)) macro
|
D | nghttp2_session.c | 1388 max = nghttp2_min( in nghttp2_session_adjust_idle_stream() 1390 16, nghttp2_min(session->local_settings.max_concurrent_streams, in nghttp2_session_adjust_idle_stream() 1798 return nghttp2_min(nghttp2_min(nghttp2_min(requested_window_size, in nghttp2_session_enforce_flow_control_limits() 1885 nghttp2_min(frame->hd.length + NGHTTP2_MAX_PADLEN, max_payloadlen); in session_call_select_padding() 1912 max_payloadlen = nghttp2_min(NGHTTP2_MAX_PAYLOADLEN, in session_headers_add_pad() 1956 buflen = nghttp2_min(nghttp2_buf_avail(buf), NGHTTP2_MAX_PAYLOADLEN); in session_pack_extension() 4333 min_header_table_size = nghttp2_min(min_header_table_size, iv[i].value); in nghttp2_session_update_local_settings() 5110 recv_size = nghttp2_min(*consumed_size_ptr, *recv_window_size_ptr); in session_update_consumed_size() 5233 return nghttp2_min((size_t)(last - in), iframe->payloadleft); in inbound_frame_payload_readlen() 5249 nghttp2_min((size_t)(last - in), nghttp2_buf_mark_avail(&iframe->sbuf)); in inbound_frame_buf_read() [all …]
|
D | nghttp2_hd.c | 1242 size_t next_bufsize = nghttp2_min(settings_max_dynamic_table_size, in nghttp2_hd_deflate_change_table_size() 1248 nghttp2_min(deflater->min_hd_table_bufsize_max, next_bufsize); in nghttp2_hd_deflate_change_table_size() 1720 size_t len = nghttp2_min((size_t)(last - in), inflater->left); in hd_inflate_read() 1936 nghttp2_min(inflater->min_hd_table_bufsize_max, in nghttp2_hd_inflate_hd_nv()
|
D | nghttp2_buf.c | 346 nwrite = nghttp2_min(nghttp2_buf_avail(buf), len); in nghttp2_bufs_add()
|
/third_party/nghttp2/tests/ |
D | nghttp2_test_helper.c | 175 n = nghttp2_min(offset, nghttp2_buf_len(&bp)); in inflate_hd()
|
D | failmalloc_test.c | 76 size_t wlen = nghttp2_min(avail, len); in data_feed_recv_callback()
|
D | nghttp2_session_test.c | 298 return (ssize_t)nghttp2_min(max_payloadlen, frame->hd.length + ud->padlen); in select_padding_callback() 4913 payloadlen = nghttp2_min(NGHTTP2_INITIAL_CONNECTION_WINDOW_SIZE, in test_nghttp2_submit_data_read_length_too_large() 4979 return (ssize_t)nghttp2_min(len, 16); in submit_data_twice_data_source_read_callback()
|