Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/sntp/libevent/test/
H A 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()
105 for (i = 0; i < NEVENT; i++) { in main()
115 i, called, NEVENT); in main()
117 if (i == 1 && called >= NEVENT) { in main()
/freebsd/contrib/libevent/test/
H A 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()
105 for (i = 0; i < NEVENT; i++) { in main()
115 i, called, NEVENT); in main()
117 if (i == 1 && called >= NEVENT) { in main()
/freebsd/contrib/pf/libevent/
H A Dkqueue.c62 #define NEVENT 64 macro
114 kqueueop->changes = malloc(NEVENT * sizeof(struct kevent)); in kq_init()
119 kqueueop->events = malloc(NEVENT * sizeof(struct kevent)); in kq_init()
125 kqueueop->nevents = NEVENT; in kq_init()
137 kqueueop->changes, 1, kqueueop->events, NEVENT, NULL) != 1 || in kq_init()
/freebsd/contrib/ntp/sntp/libevent/
H A Dkqueue.c75 #define NEVENT 64 macro
141 kqueueop->changes = mm_calloc(NEVENT, sizeof(struct kevent)); in kq_init()
144 kqueueop->events = mm_calloc(NEVENT, sizeof(struct kevent)); in kq_init()
147 kqueueop->events_size = kqueueop->changes_size = NEVENT; in kq_init()
160 kqueueop->changes, 1, kqueueop->events, NEVENT, NULL) != 1 || in kq_init()
H A Ddevpoll.c82 #define NEVENT 32000 macro
123 int dpfd, nfiles = NEVENT; in devpoll_init()
H A 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()
/freebsd/contrib/libevent/
H A Dkqueue.c75 #define NEVENT 64 macro
141 kqueueop->changes = mm_calloc(NEVENT, sizeof(struct kevent)); in kq_init()
144 kqueueop->events = mm_calloc(NEVENT, sizeof(struct kevent)); in kq_init()
147 kqueueop->events_size = kqueueop->changes_size = NEVENT; in kq_init()
160 kqueueop->changes, 1, kqueueop->events, NEVENT, NULL) != 1 || in kq_init()
H A Ddevpoll.c82 #define NEVENT 32000 macro
123 int dpfd, nfiles = NEVENT; in devpoll_init()
H A 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()
/freebsd/usr.sbin/dconschat/
H A Ddconschat.c879 #define NEVENT 5 macro
883 struct kevent elist[NEVENT], *e; in dconschat_proc_socket()
887 n = kevent(dc->kq, NULL, 0, elist, NEVENT, &dc->to); in dconschat_proc_socket()