Lines Matching defs:eventmask
44 static evFile *FindFD(const evContext_p *ctx, int fd, int eventmask);
49 int eventmask,
60 ctx, fd, eventmask, func, uap);
61 if (eventmask == 0 || (eventmask & ~EV_MASK_ALL) != 0)
96 * if any of the eventmask bits we want to set are already captured.
100 if (id != NULL && FindFD(ctx, fd, eventmask) != NULL)
108 id->eventmask = eventmask;
139 if (eventmask & EV_READ)
141 if (eventmask & EV_WRITE)
143 if (eventmask & EV_EXCEPT)
162 int mode, eventmask;
171 del->fd, del->eventmask);
221 eventmask = 0;
223 cur != NULL && eventmask != EV_MASK_ALL;
226 eventmask |= cur->eventmask;
229 if (!(eventmask & EV_READ)) {
236 if (!(eventmask & EV_WRITE)) {
243 if (!(eventmask & EV_EXCEPT)) {
270 FindFD(const evContext_p *ctx, int fd, int eventmask) {
274 if (id->fd == fd && (id->eventmask & eventmask) != 0)