Lines Matching refs:timers
20 /* ev_timers.c - implement timers for the eventlib
218 if (heap_insert(ctx->timers, id) < 0)
226 printf("timers after evSetTimer:\n");
227 (void) heap_for_each(ctx->timers, print_timer, (void *)ctx);
250 if (heap_element(ctx->timers, del->index) != del)
253 if (heap_delete(ctx->timers, del->index) < 0)
258 printf("timers after evClearTimer:\n");
259 (void) heap_for_each(ctx->timers, print_timer, (void *)ctx);
277 if (heap_element(ctx->timers, timer->index) != timer)
303 if (heap_element(ctx->timers, timer->index) != timer)
332 result = heap_increased(ctx->timers, timer->index);
338 result = heap_decreased(ctx->timers, timer->index);
343 printf("timers after evResetTimer:\n");
344 (void) heap_for_each(ctx->timers, print_timer, (void *)ctx);
432 (void) heap_for_each(ctx->timers, free_timer, NULL);
433 (void) heap_free(ctx->timers);