Lines Matching refs:loop
29 void uv__loop_watcher_endgame(uv_loop_t* loop, uv_handle_t* handle) { in uv__loop_watcher_endgame() argument
39 int uv_##name##_init(uv_loop_t* loop, uv_##name##_t* handle) { \
40 uv__handle_init(loop, (uv_handle_t*) handle, UV_##NAME); \
47 uv_loop_t* loop = handle->loop; \
58 old_head = loop->name##_handles; \
67 loop->name##_handles = handle; \
77 uv_loop_t* loop = handle->loop; \
85 if (loop->name##_handles == handle) { \
86 loop->name##_handles = handle->name##_next; \
90 if (loop->next_##name##_handle == handle) { \
91 loop->next_##name##_handle = handle->name##_next; \
107 void uv__##name##_invoke(uv_loop_t* loop) { \
110 (loop)->next_##name##_handle = (loop)->name##_handles; \
112 while ((loop)->next_##name##_handle != NULL) { \
113 handle = (loop)->next_##name##_handle; \
114 (loop)->next_##name##_handle = handle->name##_next; \