Lines Matching refs:uv__loops
81 static uv_loop_t** uv__loops; variable
101 new_loops = uv__realloc(uv__loops, sizeof(uv_loop_t*) * new_capacity); in uv__loops_add()
104 uv__loops = new_loops; in uv__loops_add()
106 uv__loops[i] = NULL; in uv__loops_add()
109 uv__loops[uv__loops_size] = loop; in uv__loops_add()
129 if (uv__loops[loop_index] == loop) in uv__loops_remove()
136 uv__loops[loop_index] = uv__loops[uv__loops_size - 1]; in uv__loops_remove()
137 uv__loops[uv__loops_size - 1] = NULL; in uv__loops_remove()
142 uv__free(uv__loops); in uv__loops_remove()
143 uv__loops = NULL; in uv__loops_remove()
155 new_loops = uv__realloc(uv__loops, sizeof(uv_loop_t*) * smaller_capacity); in uv__loops_remove()
158 uv__loops = new_loops; in uv__loops_remove()
171 loop = uv__loops[i]; in uv__wake_all_loops()