/third_party/nghttp2/tests/ |
D | nghttp2_helper_test.c | 32 int32_t local_window_size = 100; in test_nghttp2_adjust_local_window_size() local 38 CU_ASSERT(0 == nghttp2_adjust_local_window_size(&local_window_size, in test_nghttp2_adjust_local_window_size() 41 CU_ASSERT(100 == local_window_size); in test_nghttp2_adjust_local_window_size() 47 CU_ASSERT(0 == nghttp2_adjust_local_window_size(&local_window_size, in test_nghttp2_adjust_local_window_size() 50 CU_ASSERT(100 == local_window_size); in test_nghttp2_adjust_local_window_size() 56 CU_ASSERT(0 == nghttp2_adjust_local_window_size(&local_window_size, in test_nghttp2_adjust_local_window_size() 59 CU_ASSERT(100 == local_window_size); in test_nghttp2_adjust_local_window_size() 65 CU_ASSERT(0 == nghttp2_adjust_local_window_size(&local_window_size, in test_nghttp2_adjust_local_window_size() 68 CU_ASSERT(101 == local_window_size); in test_nghttp2_adjust_local_window_size() 74 CU_ASSERT(0 == nghttp2_adjust_local_window_size(&local_window_size, in test_nghttp2_adjust_local_window_size() [all …]
|
D | nghttp2_session_test.c | 944 stream->local_window_size = 16383; in test_nghttp2_session_recv_data() 985 stream->local_window_size = 1 << 20; in test_nghttp2_session_recv_data() 5760 stream->local_window_size = NGHTTP2_INITIAL_WINDOW_SIZE + 100; in test_nghttp2_submit_settings_update_local_window_size() 5771 CU_ASSERT(16 * 1024 + 100 == stream->local_window_size); in test_nghttp2_submit_settings_update_local_window_size() 5774 CU_ASSERT(16 * 1024 == stream->local_window_size); in test_nghttp2_submit_settings_update_local_window_size() 5791 stream->local_window_size = NGHTTP2_INITIAL_WINDOW_SIZE + 100; in test_nghttp2_submit_settings_update_local_window_size() 5801 CU_ASSERT(16 * 1024 + 100 == stream->local_window_size); in test_nghttp2_submit_settings_update_local_window_size() 5812 stream->local_window_size = NGHTTP2_MAX_WINDOW_SIZE; in test_nghttp2_submit_settings_update_local_window_size() 6013 CU_ASSERT(NGHTTP2_INITIAL_WINDOW_SIZE + 1 == stream->local_window_size); in test_nghttp2_submit_window_update_local_window_size() 6024 -stream->local_window_size / 2)); in test_nghttp2_submit_window_update_local_window_size() [all …]
|
/third_party/node/deps/nghttp2/lib/ |
D | nghttp2_submit.c | 387 &session->local_window_size, &session->recv_window_size, in nghttp2_submit_window_update() 399 &stream->local_window_size, &stream->recv_window_size, in nghttp2_submit_window_update() 434 window_size_increment = window_size - session->local_window_size; in nghttp2_session_set_local_window_size() 442 &session->local_window_size, &session->recv_window_size, in nghttp2_session_set_local_window_size() 447 &session->local_window_size, &session->recv_window_size, in nghttp2_session_set_local_window_size() 467 window_size_increment = window_size - stream->local_window_size; in nghttp2_session_set_local_window_size() 475 &stream->local_window_size, &stream->recv_window_size, in nghttp2_session_set_local_window_size() 480 &stream->local_window_size, &stream->recv_window_size, in nghttp2_session_set_local_window_size()
|
D | nghttp2_helper.c | 248 int nghttp2_should_send_window_update(int32_t local_window_size, in nghttp2_should_send_window_update() argument 250 return recv_window_size > 0 && recv_window_size >= local_window_size / 2; in nghttp2_should_send_window_update()
|
D | nghttp2_helper.h | 112 int nghttp2_should_send_window_update(int32_t local_window_size,
|
D | nghttp2_stream.h | 198 int32_t local_window_size; member
|
D | nghttp2_session.c | 436 (*session_ptr)->local_window_size = NGHTTP2_INITIAL_CONNECTION_WINDOW_SIZE; in session_new() 4266 nghttp2_should_send_window_update(stream->local_window_size, in update_local_initial_window_size_func() 5023 int32_t local_window_size) { in adjust_recv_window_size() argument 5024 if (*recv_window_size_ptr > local_window_size - (int32_t)delta || in adjust_recv_window_size() 5038 stream->local_window_size); in nghttp2_session_update_recv_stream_window_size() 5050 nghttp2_should_send_window_update(stream->local_window_size, in nghttp2_session_update_recv_stream_window_size() 5068 session->local_window_size); in nghttp2_session_update_recv_connection_window_size() 5075 nghttp2_should_send_window_update(session->local_window_size, in nghttp2_session_update_recv_connection_window_size() 5095 int32_t local_window_size) { in session_update_consumed_size() argument 5112 if (nghttp2_should_send_window_update(local_window_size, recv_size)) { in session_update_consumed_size() [all …]
|
D | nghttp2_session.h | 309 int32_t local_window_size; member
|
D | nghttp2_stream.c | 75 stream->local_window_size = local_initial_window_size; in nghttp2_stream_init() 569 return update_initial_window_size(&stream->local_window_size, in nghttp2_stream_update_local_initial_window_size()
|
/third_party/nghttp2/lib/ |
D | nghttp2_submit.c | 387 &session->local_window_size, &session->recv_window_size, in nghttp2_submit_window_update() 399 &stream->local_window_size, &stream->recv_window_size, in nghttp2_submit_window_update() 434 window_size_increment = window_size - session->local_window_size; in nghttp2_session_set_local_window_size() 442 &session->local_window_size, &session->recv_window_size, in nghttp2_session_set_local_window_size() 447 &session->local_window_size, &session->recv_window_size, in nghttp2_session_set_local_window_size() 467 window_size_increment = window_size - stream->local_window_size; in nghttp2_session_set_local_window_size() 475 &stream->local_window_size, &stream->recv_window_size, in nghttp2_session_set_local_window_size() 480 &stream->local_window_size, &stream->recv_window_size, in nghttp2_session_set_local_window_size()
|
D | nghttp2_helper.c | 248 int nghttp2_should_send_window_update(int32_t local_window_size, in nghttp2_should_send_window_update() argument 250 return recv_window_size > 0 && recv_window_size >= local_window_size / 2; in nghttp2_should_send_window_update()
|
D | nghttp2_helper.h | 112 int nghttp2_should_send_window_update(int32_t local_window_size,
|
D | nghttp2_stream.h | 198 int32_t local_window_size; member
|
D | nghttp2_session.c | 436 (*session_ptr)->local_window_size = NGHTTP2_INITIAL_CONNECTION_WINDOW_SIZE; in session_new() 4266 nghttp2_should_send_window_update(stream->local_window_size, in update_local_initial_window_size_func() 5023 int32_t local_window_size) { in adjust_recv_window_size() argument 5024 if (*recv_window_size_ptr > local_window_size - (int32_t)delta || in adjust_recv_window_size() 5038 stream->local_window_size); in nghttp2_session_update_recv_stream_window_size() 5050 nghttp2_should_send_window_update(stream->local_window_size, in nghttp2_session_update_recv_stream_window_size() 5068 session->local_window_size); in nghttp2_session_update_recv_connection_window_size() 5075 nghttp2_should_send_window_update(session->local_window_size, in nghttp2_session_update_recv_connection_window_size() 5095 int32_t local_window_size) { in session_update_consumed_size() argument 5112 if (nghttp2_should_send_window_update(local_window_size, recv_size)) { in session_update_consumed_size() [all …]
|
D | nghttp2_session.h | 309 int32_t local_window_size; member
|
D | nghttp2_stream.c | 75 stream->local_window_size = local_initial_window_size; in nghttp2_stream_init() 569 return update_initial_window_size(&stream->local_window_size, in nghttp2_stream_update_local_initial_window_size()
|