Lines Matching refs:event_count
59 size_t event_count;
108 if (eloop.num_handles > eloop.reader_count + eloop.event_count + 8)
204 (eloop.event_count + 1) * sizeof(struct eloop_event));
208 tmp[eloop.event_count].eloop_data = eloop_data;
209 tmp[eloop.event_count].user_data = user_data;
210 tmp[eloop.event_count].handler = handler;
211 tmp[eloop.event_count].event = h;
212 eloop.event_count++;
224 if (eloop.events == NULL || eloop.event_count == 0 ||
228 for (i = 0; i < eloop.event_count; i++) {
232 if (i == eloop.event_count)
235 if (i != eloop.event_count - 1) {
237 (eloop.event_count - i - 1) *
240 eloop.event_count--;
465 eloop.event_count > 0)) {
474 for (i = 0; i < eloop.event_count; i++)
536 ret < WAIT_OBJECT_0 + eloop.event_count) {
540 ret = WaitForMultipleObjects(eloop.event_count,