Home
last modified time | relevance | path

Searched refs:ratelimit (Results 1 – 20 of 20) sorted by relevance

/third_party/libinput/src/
Dutil-ratelimit.h37 struct ratelimit { struct
44 void ratelimit_init(struct ratelimit *r, uint64_t ival_ms, unsigned int burst); argument
45 enum ratelimit_state ratelimit_test(struct ratelimit *r);
Dutil-ratelimit.c34 ratelimit_init(struct ratelimit *r, uint64_t ival_us, unsigned int burst) in ratelimit_init()
56 ratelimit_test(struct ratelimit *r) in ratelimit_test()
Devdev.h181 struct ratelimit syn_drop_limit; /* ratelimit for SYN_DROPPED logging */
182 struct ratelimit delay_warning_limit; /* ratelimit for delayd processing logging */
183 struct ratelimit nonpointer_rel_limit; /* ratelimit for REL_* events from non-pointer devices */
200 struct ratelimit range_warn_limit;
786 struct ratelimit *ratelimit, in evdev_log_msg_ratelimit() argument
799 state = ratelimit_test(ratelimit); in evdev_log_msg_ratelimit()
817 struct human_time ht = to_human_time(ratelimit->interval); in evdev_log_msg_ratelimit()
822 ratelimit->burst, in evdev_log_msg_ratelimit()
Dlibinput-private.h445 struct ratelimit *ratelimit,
Devdev-mt-touchpad.h299 struct ratelimit warning;
Dlibinput.c288 struct ratelimit *ratelimit, in log_msg_ratelimit() argument
295 state = ratelimit_test(ratelimit); in log_msg_ratelimit()
307 ratelimit->burst, in log_msg_ratelimit()
308 us2ms(ratelimit->interval)); in log_msg_ratelimit()
/third_party/pulseaudio/src/modules/
Dmodule-udev-detect.c59 pa_ratelimit ratelimit; member
338 if (pa_ratelimit_test(&d->ratelimit, PA_LOG_DEBUG)) { in verify_access()
357 d->ratelimit.burst, in verify_access()
358 (long long unsigned) (d->ratelimit.interval / PA_USEC_PER_SEC)); in verify_access()
397 PA_INIT_RATELIMIT(d->ratelimit, 10*PA_USEC_PER_SEC, 5); in card_changed()
/third_party/pulseaudio/src/
Dmeson.build36 'pulsecore/ratelimit.c',
113 'pulsecore/ratelimit.h',
DMakefile.am737 pulsecore/ratelimit.c pulsecore/ratelimit.h \
/third_party/pulseaudio/src/pulsecore/
Dlog.c603 static PA_DEFINE_RATELIMIT(ratelimit, 5 * PA_USEC_PER_SEC, 10); in pa_log_ratelimit()
610 return pa_ratelimit_test(&ratelimit, level); in pa_log_ratelimit()
/third_party/libinput/
DBUILD.gn33 "src/util-ratelimit.c",
Dmeson.build248 'util-ratelimit.h',
270 'src/util-ratelimit.c',
271 'src/util-ratelimit.h',
/third_party/mesa3d/src/virtio/vulkan/
Dvn_queue.c376 static uint32_t ratelimit; in vn_QueueSubmit() local
377 if (ratelimit < 10) { in vn_QueueSubmit()
380 ratelimit++; in vn_QueueSubmit()
/third_party/pulseaudio/ohosbuild/src/
DBUILD.gn102 "$pulseaudio_dir/src/pulsecore/ratelimit.c",
/third_party/nghttp2/src/
Dshrpx_client_handler.cc401 get_config()->conn.upstream.ratelimit.write, in ClientHandler()
402 get_config()->conn.upstream.ratelimit.read, writecb, readcb, in ClientHandler()
Dshrpx.cc1964 << config->conn.upstream.ratelimit.read.rate << R"( in print_help()
1970 << config->conn.upstream.ratelimit.read.burst << R"( in print_help()
1975 << config->conn.upstream.ratelimit.write.rate << R"( in print_help()
1981 << config->conn.upstream.ratelimit.write.burst << R"( in print_help()
Dshrpx_config.cc3051 return parse_uint_with_unit(&config->conn.upstream.ratelimit.read.rate, opt, in parse_config()
3054 return parse_uint_with_unit(&config->conn.upstream.ratelimit.read.burst, in parse_config()
3057 return parse_uint_with_unit(&config->conn.upstream.ratelimit.write.rate, in parse_config()
3060 return parse_uint_with_unit(&config->conn.upstream.ratelimit.write.burst, in parse_config()
Dshrpx_config.h912 } ratelimit; member
/third_party/libinput/test/
Dtest-utils.c160 struct ratelimit rl; in START_TEST()
/third_party/curl/docs/
DTODO1054 https://www.ietf.org/id/draft-polli-ratelimit-headers-02.html