Searched refs:events_len (Results 1 – 3 of 3) sorted by relevance
1859 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() local3144 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 …]
143 size_t events_len; member
6157 libinput->events_in = (libinput->events_in + 1) % libinput->events_len;