Searched refs:timer_heap (Results 1 – 5 of 5) sorted by relevance
29 static struct heap *timer_heap(const uv_loop_t* loop) { in timer_heap() function31 return (struct heap*) loop->timer_heap; in timer_heap()33 return (struct heap*) &loop->timer_heap; in timer_heap()89 heap_insert(timer_heap(handle->loop), in uv_timer_start()102 heap_remove(timer_heap(handle->loop), in uv_timer_stop()147 heap_node = heap_min(timer_heap(loop)); in uv__next_timeout()168 heap_node = heap_min(timer_heap(loop)); in uv__run_timers()
229 struct heap* timer_heap; in uv_loop_init() local264 loop->timer_heap = timer_heap = uv__malloc(sizeof(*timer_heap)); in uv_loop_init()265 if (timer_heap == NULL) { in uv_loop_init()270 heap_init(timer_heap); in uv_loop_init()309 uv__free(timer_heap); in uv_loop_init()310 loop->timer_heap = NULL; in uv_loop_init()366 uv__free(loop->timer_heap); in uv__loop_close()367 loop->timer_heap = NULL; in uv__loop_close()
49 heap_init((struct heap*) &loop->timer_heap); in uv_loop_init()
245 } timer_heap; \
337 void* timer_heap; \