Lines Matching refs:timer
71 evTimer * timer;
368 ctx->cur->u.timer.this == del) {
369 evPrintf(ctx, 8, "deferring delete of timer (executing)\n");
372 * clean up the timer.
400 evTimer *timer = id.opaque;
405 if (heap_element(ctx->timers, timer->index) != timer)
409 timer->mode |= EV_TMR_RATE;
411 timer->mode &= ~EV_TMR_RATE;
427 evTimer *timer = id.opaque;
431 if (heap_element(ctx->timers, timer->index) != timer)
451 old_due = timer->due;
453 timer->func = func;
454 timer->uap = uap;
455 timer->due = due;
456 timer->inter = inter;
460 result = heap_increased(ctx->timers, timer->index);
466 result = heap_decreased(ctx->timers, timer->index);
502 tt->timer = opaqueID->opaque;
524 evTimer *timer = opaqueID.opaque;
525 idle_timer *tt = timer->uap;
577 evTimer *timer;
579 timer = what;
580 timer->index = index;
620 (this->func)(opaqueCtx, this->uap, this->timer->due,
623 * Setting the interval to zero will cause the timer to
626 this->timer->inter = evConsTime(0, 0);
629 /* evDrop() will reschedule the timer. */
630 this->timer->inter = evSubTime(this->max_idle, idle);