Lines Matching refs:ev
85 evContext ev;
165 ctx->ev = lev;
178 if (ctx->sock > evHighestFD(ctx->ev)) {
323 if (evWrite(ctx->ev, ctx->sock, iov, iovp - iov,
330 if (evTimeRW(ctx->ev, ctx->wrID, ctx->tiID) < 0) {
355 (void)evCancelConn(ctx->ev, ctx->coID);
362 (void)evCancelRW(ctx->ev, ctx->wrID);
404 conn_done(evContext ev, void *uap, int fd,
412 UNUSED(ev);
467 if (evSelectFD(ctx->ev, ctx->sock, EV_READ, readable, ctx,
481 (void)evDeselectFD(ctx->ev, ctx->rdID);
486 readable(evContext ev, void *uap, int fd, int evmask) {
493 UNUSED(ev);
576 if (evSetIdleTimer(ctx->ev, timer, ctx, ctx->timeout, &ctx->tiID) < 0){
589 if (evClearIdleTimer(ctx->ev, ctx->tiID) < 0) {
602 evTouchIdleTimer(ctx->ev, ctx->tiID);
606 timer(evContext ev, void *uap, struct timespec due, struct timespec itv) {
610 UNUSED(ev);