Home
last modified time | relevance | path

Searched refs:NEVENT (Results 1 – 4 of 4) sorted by relevance

/external/libevent/test/
Dtest-time.c48 #define NEVENT 20000 macro
50 struct event *ev[NEVENT];
68 if (called < 10*NEVENT) { in time_cb()
70 j = rand_int(NEVENT); in time_cb()
73 if (tv.tv_usec % 2 || called < NEVENT) in time_cb()
100 for (i = 0; i < NEVENT; i++) { in main()
113 printf("%d, %d\n", called, NEVENT); in main()
114 return (called < NEVENT); in main()
/external/libevent/
Dkqueue.c70 #define NEVENT 64 macro
136 kqueueop->changes = mm_calloc(NEVENT, sizeof(struct kevent)); in kq_init()
139 kqueueop->events = mm_calloc(NEVENT, sizeof(struct kevent)); in kq_init()
142 kqueueop->events_size = kqueueop->changes_size = NEVENT; in kq_init()
155 kqueueop->changes, 1, kqueueop->events, NEVENT, NULL) != 1 || in kq_init()
Dwin32select.c179 #define NEVENT 32 macro
187 winop->num_fds_in_fd_sets = NEVENT; in win32_init()
188 size = FD_SET_ALLOC_SIZE(NEVENT); in win32_init()
Ddevpoll.c82 #define NEVENT 32000 macro
123 int dpfd, nfiles = NEVENT; in devpoll_init()