Home
last modified time | relevance | path

Searched refs:nghttp2_ratelim_drain (Results 1 - 7 of 7) sorted by relevance

/third_party/nghttp2/tests/
H A Dnghttp2_ratelim_test.c48 nghttp2_ratelim_drain(&rl, 100); in test_nghttp2_ratelim_update()
77 nghttp2_ratelim_drain(&rl, 999); in test_nghttp2_ratelim_update()
97 CU_ASSERT(-1 == nghttp2_ratelim_drain(&rl, 101)); in test_nghttp2_ratelim_drain()
98 CU_ASSERT(0 == nghttp2_ratelim_drain(&rl, 51)); in test_nghttp2_ratelim_drain()
99 CU_ASSERT(0 == nghttp2_ratelim_drain(&rl, 49)); in test_nghttp2_ratelim_drain()
100 CU_ASSERT(-1 == nghttp2_ratelim_drain(&rl, 1)); in test_nghttp2_ratelim_drain()
/third_party/nghttp2/lib/
H A Dnghttp2_ratelim.h53 /* nghttp2_ratelim_drain drains |n| from rl->val. It returns 0 if it
55 int nghttp2_ratelim_drain(nghttp2_ratelim *rl, uint64_t n);
H A Dnghttp2_ratelim.c67 int nghttp2_ratelim_drain(nghttp2_ratelim *rl, uint64_t n) { in nghttp2_ratelim_drain() function
H A Dnghttp2_session.c4476 if (nghttp2_ratelim_drain(&session->stream_reset_ratelim, 1) == 0) { in session_update_stream_reset_ratelim()
/third_party/node/deps/nghttp2/lib/
H A Dnghttp2_ratelim.h53 /* nghttp2_ratelim_drain drains |n| from rl->val. It returns 0 if it
55 int nghttp2_ratelim_drain(nghttp2_ratelim *rl, uint64_t n);
H A Dnghttp2_ratelim.c67 int nghttp2_ratelim_drain(nghttp2_ratelim *rl, uint64_t n) { in nghttp2_ratelim_drain() function
H A Dnghttp2_session.c4471 if (nghttp2_ratelim_drain(&session->stream_reset_ratelim, 1) == 0) { in session_update_stream_reset_ratelim()

Completed in 21 milliseconds