Lines Matching refs:timers
20 /* ev_timers.c - implement timers for the eventlib
213 if (heap_insert(ctx->timers, id) < 0)
221 evPrintf(ctx, 7, "timers after evSetTimer:\n");
222 (void) heap_for_each(ctx->timers, print_timer, (void *)ctx);
245 if (heap_element(ctx->timers, del->index) != del)
248 if (heap_delete(ctx->timers, del->index) < 0)
253 evPrintf(ctx, 7, "timers after evClearTimer:\n");
254 (void) heap_for_each(ctx->timers, print_timer, (void *)ctx);
272 if (heap_element(ctx->timers, timer->index) != timer)
298 if (heap_element(ctx->timers, timer->index) != timer)
327 result = heap_increased(ctx->timers, timer->index);
333 result = heap_decreased(ctx->timers, timer->index);
338 evPrintf(ctx, 7, "timers after evResetTimer:\n");
339 (void) heap_for_each(ctx->timers, print_timer, (void *)ctx);
427 (void) heap_for_each(ctx->timers, free_timer, NULL);
428 (void) heap_free(ctx->timers);