Home
last modified time | relevance | path

Searched refs:events_len (Results 1 – 3 of 3) sorted by relevance

/third_party/libinput/src/
Dlibinput.c1859 libinput->events_len = 4; in libinput_init()
1860 libinput->events = zalloc(libinput->events_len * sizeof(*libinput->events)); in libinput_init()
3134 size_t events_len = libinput->events_len; in libinput_post_event() local
3144 if (events_count > events_len) { in libinput_post_event()
3147 events_len *= 2; in libinput_post_event()
3148 tmp = realloc(events, events_len * sizeof *events); in libinput_post_event()
3159 libinput->events_in = libinput->events_len; in libinput_post_event()
3162 move_len = libinput->events_len - libinput->events_out; in libinput_post_event()
3163 new_out = events_len - move_len; in libinput_post_event()
3171 libinput->events_len = events_len; in libinput_post_event()
[all …]
Dlibinput-private.h143 size_t events_len; member
/third_party/libinput/patch/diff_libinput_mmi/libinput/
Dlibinput_0000.diff6157 libinput->events_in = (libinput->events_in + 1) % libinput->events_len;