Lines Matching refs:eventmask
42 static evFile *FindFD(const evContext_p *ctx, int fd, int eventmask);
47 int eventmask,
58 ctx, fd, eventmask, func, uap);
59 if (eventmask == 0 || (eventmask & ~EV_MASK_ALL) != 0)
94 * if any of the eventmask bits we want to set are already captured.
98 if (id != NULL && FindFD(ctx, fd, eventmask) != NULL)
106 id->eventmask = eventmask;
137 if (eventmask & EV_READ)
139 if (eventmask & EV_WRITE)
141 if (eventmask & EV_EXCEPT)
160 int mode, eventmask;
169 del->fd, del->eventmask);
219 eventmask = 0;
221 cur != NULL && eventmask != EV_MASK_ALL;
224 eventmask |= cur->eventmask;
227 if (!(eventmask & EV_READ)) {
234 if (!(eventmask & EV_WRITE)) {
241 if (!(eventmask & EV_EXCEPT)) {
268 FindFD(const evContext_p *ctx, int fd, int eventmask) {
272 if (id->fd == fd && (id->eventmask & eventmask) != 0)