Home
last modified time | relevance | path

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

/third_party/libevdev/libevdev/
Dlibevdev-int.h88 size_t queue_next; /**< next event index */ member
132 if (dev->queue_next >= dev->queue_size) in queue_push()
135 return &dev->queue[dev->queue_next++]; in queue_push()
158 if (dev->queue_next == 0) in queue_pop()
161 *ev = dev->queue[--dev->queue_next]; in queue_pop()
169 if (dev->queue_next == 0 || idx > dev->queue_next) in queue_peek()
188 if (dev->queue_next == 0) in queue_shift_multiple()
191 remaining = dev->queue_next; in queue_shift_multiple()
200 dev->queue_next = remaining; in queue_shift_multiple()
227 dev->queue_next = 0; in queue_alloc()
[all …]
/third_party/libevdev/test/
Dtest-int-queue.c23 ck_assert_int_eq(dev.queue_next, 0); in START_TEST()
27 ck_assert_int_eq(dev.queue_next, 0); in START_TEST()
/third_party/libevdev/
Dthird_party_libevdev.diff26415 + ck_assert_int_eq(dev.queue_next, 0);
26419 + ck_assert_int_eq(dev.queue_next, 0);