Lines Matching refs:timers
18 /* ev_timers.c - implement timers for the eventlib
211 if (heap_insert(ctx->timers, id) < 0)
219 evPrintf(ctx, 7, "timers after evSetTimer:\n");
220 (void) heap_for_each(ctx->timers, print_timer, (void *)ctx);
243 if (heap_element(ctx->timers, del->index) != del)
246 if (heap_delete(ctx->timers, del->index) < 0)
251 evPrintf(ctx, 7, "timers after evClearTimer:\n");
252 (void) heap_for_each(ctx->timers, print_timer, (void *)ctx);
270 if (heap_element(ctx->timers, timer->index) != timer)
296 if (heap_element(ctx->timers, timer->index) != timer)
325 result = heap_increased(ctx->timers, timer->index);
331 result = heap_decreased(ctx->timers, timer->index);
336 evPrintf(ctx, 7, "timers after evResetTimer:\n");
337 (void) heap_for_each(ctx->timers, print_timer, (void *)ctx);
425 (void) heap_for_each(ctx->timers, free_timer, NULL);
426 (void) heap_free(ctx->timers);