Searched refs:MAX_EVENTS (Results 1 – 4 of 4) sorted by relevance
44 #define MAX_EVENTS 2 macro45 int min_count[MAX_EVENTS] = {60000, 100000};47 #define MAX_EVENTS 3 macro48 int min_count[MAX_EVENTS] = {150000, 200000, 250000};50 #define MAX_EVENTS 5 macro51 int min_count[MAX_EVENTS] = {150000, 20000, 25000, 30000, 35000};65 int selected_events[MAX_EVENTS];66 int selected_counts[MAX_EVENTS];504 for (i = 0; i < MAX_EVENTS; i++) { in do_status()642 if (num_events == MAX_EVENTS) { in main()[all …]
23 #define MAX_EVENTS 20 macro36 size_t alloc_map[MAX_EVENTS];152 struct parsed_event parsed[MAX_EVENTS]; in do_test()153 struct op_event const * event[MAX_EVENTS]; in do_test()157 nr_events = parse_events(parsed, MAX_EVENTS, it->events); in do_test()
21 #define MAX_EVENTS 256*4 macro56 unsigned events[MAX_EVENTS];123 enqueued += MAX_EVENTS; in enqueue_event()125 if (enqueued + 3 > MAX_EVENTS) { in enqueue_event()141 s->last = (s->last + 1) & (MAX_EVENTS-1); in enqueue_event()143 s->last = (s->last + 1) & (MAX_EVENTS-1); in enqueue_event()145 s->last = (s->last + 1) & (MAX_EVENTS-1); in enqueue_event()158 s->first = (s->first + 1) & (MAX_EVENTS - 1); in dequeue_event()174 else if (((s->first + 2) & (MAX_EVENTS - 1)) < s->last || in dequeue_event()175 (s->first & (MAX_EVENTS - 1)) > s->last) { /* if there still is an event */ in dequeue_event()
33 final private static int MAX_EVENTS = 1024; field in AndroidInput41 final private RingBuffer<TouchEvent> eventQueue = new RingBuffer<TouchEvent>(MAX_EVENTS);42 … final private RingBuffer<TouchEvent> eventPoolUnConsumed = new RingBuffer<TouchEvent>(MAX_EVENTS);43 final private RingBuffer<TouchEvent> eventPool = new RingBuffer<TouchEvent>(MAX_EVENTS);339 for (int i = 0; i < MAX_EVENTS; i++) { in initialize()