/libuv/test/ |
H A D | test-fs-event.c | 145 uv_close((uv_handle_t*)handle, close_cb); in fs_event_cb_dir() 158 uv_close((uv_handle_t*)handle, close_cb); in fs_event_cb_del_dir() 190 uv_close((uv_handle_t*)handle, close_cb); in fs_event_del_dir() 361 uv_close((uv_handle_t*)handle, close_cb); in fs_event_cb_file() 377 uv_close((uv_handle_t*)handle, close_cb); in fs_event_cb_file_current_dir() 392 uv_close((uv_handle_t*)timer, NULL); in timer_cb_touch() 403 uv_close((uv_handle_t*)handle, NULL); in timer_cb_exact() 416 uv_close((uv_handle_t*) handle, NULL); in timer_cb_watch_twice() 824 uv_close((uv_handle_t*) &fs_event, NULL); in TEST_IMPL() 916 uv_close((uv_handle_t*)handle, close_cb); in timer_cb() [all …]
|
H A D | test-pipe-bind-error.c | 64 uv_close((uv_handle_t*)&server1, close_cb); in TEST_IMPL() 65 uv_close((uv_handle_t*)&server2, close_cb); in TEST_IMPL() 86 uv_close((uv_handle_t*)&server, close_cb); in TEST_IMPL() 108 uv_close((uv_handle_t*)&server, close_cb); in TEST_IMPL() 132 uv_close((uv_handle_t*)&server, close_cb); in TEST_IMPL() 146 uv_close((uv_handle_t*) &server, NULL); in TEST_IMPL() 162 uv_close((uv_handle_t*) connect_req->handle, close_cb); in connect_overlong_cb()
|
H A D | test-idle.c | 44 uv_close((uv_handle_t*) &idle_handle, close_cb); in timer_cb() 45 uv_close((uv_handle_t*) &check_handle, close_cb); in timer_cb() 46 uv_close((uv_handle_t*) &timer_handle, close_cb); in timer_cb() 118 uv_close((uv_handle_t*) &idle_handle, close_cb); in TEST_IMPL() 119 uv_close((uv_handle_t*) &check_handle, close_cb); in TEST_IMPL()
|
H A D | test-tcp-unexpected-read.c | 42 uv_close((uv_handle_t*) &check_handle, NULL); in timer_cb() 43 uv_close((uv_handle_t*) &timer_handle, NULL); in timer_cb() 44 uv_close((uv_handle_t*) &server_handle, NULL); in timer_cb() 45 uv_close((uv_handle_t*) &client_handle, NULL); in timer_cb() 46 uv_close((uv_handle_t*) &peer_handle, NULL); in timer_cb()
|
H A D | test-timer.c | 59 uv_close((uv_handle_t*)handle, once_close_cb); in once_cb() 82 uv_close((uv_handle_t*)handle, twice_close_cb); in twice_cb() 262 uv_close((uv_handle_t*) &timer, NULL); in TEST_IMPL() 273 uv_close((uv_handle_t*) &tiny_timer, NULL); in tiny_timer_cb() 274 uv_close((uv_handle_t*) &huge_timer1, NULL); in tiny_timer_cb() 275 uv_close((uv_handle_t*) &huge_timer2, NULL); in tiny_timer_cb() 307 uv_close((uv_handle_t*) &tiny_timer, NULL); in huge_repeat_cb() 308 uv_close((uv_handle_t*) &huge_timer1, NULL); in huge_repeat_cb() 344 uv_close((uv_handle_t*) &timer_handle, NULL); in TEST_IMPL() 356 uv_close((uv_handle_t *)&handle, NULL); in TEST_IMPL() [all …]
|
H A D | test-udp-bind.c | 52 uv_close((uv_handle_t*) &h1, NULL); in TEST_IMPL() 53 uv_close((uv_handle_t*) &h2, NULL); in TEST_IMPL() 85 uv_close((uv_handle_t*) &h1, NULL); in TEST_IMPL() 86 uv_close((uv_handle_t*) &h2, NULL); in TEST_IMPL()
|
H A D | test-tcp-bind-error.c | 40 uv_close((uv_handle_t*) req->handle, close_cb); in connect_cb() 101 uv_close((uv_handle_t*)&server1, close_cb); in TEST_IMPL() 102 uv_close((uv_handle_t*)&server2, close_cb); in TEST_IMPL() 127 uv_close((uv_handle_t*)&server, close_cb); in TEST_IMPL() 150 uv_close((uv_handle_t*)&server, close_cb); in TEST_IMPL() 175 uv_close((uv_handle_t*)&server, close_cb); in TEST_IMPL() 203 uv_close((uv_handle_t*)&server, close_cb); in TEST_IMPL() 291 uv_close((uv_handle_t*)&server, close_cb); in TEST_IMPL() 311 uv_close((uv_handle_t*) &tcp, NULL); in TEST_IMPL()
|
H A D | test-tcp-bind6-error.c | 62 uv_close((uv_handle_t*)&server1, close_cb); in TEST_IMPL() 63 uv_close((uv_handle_t*)&server2, close_cb); in TEST_IMPL() 89 uv_close((uv_handle_t*)&server, close_cb); in TEST_IMPL() 117 uv_close((uv_handle_t*)&server, close_cb); in TEST_IMPL() 148 uv_close((uv_handle_t*)&server, close_cb); in TEST_IMPL()
|
H A D | test-handle-fileno.c | 65 uv_close((uv_handle_t*) &idle, NULL); in TEST_IMPL() 75 uv_close((uv_handle_t*) &tcp, NULL); in TEST_IMPL() 87 uv_close((uv_handle_t*) &udp, NULL); in TEST_IMPL() 99 uv_close((uv_handle_t*) &pipe, NULL); in TEST_IMPL() 114 uv_close((uv_handle_t*) &tty, NULL); in TEST_IMPL()
|
H A D | test-close-order.c | 45 uv_close((uv_handle_t*) handle, close_cb); in check_cb() 46 uv_close((uv_handle_t*) &timer_handle2, close_cb); in check_cb() 52 uv_close((uv_handle_t*) handle, close_cb); in timer_cb()
|
H A D | test-loop-handles.c | 136 uv_close((uv_handle_t*)handle, idle_2_close_cb); in idle_2_cb() 223 uv_close((uv_handle_t*)&prepare_1_handle, prepare_1_close_cb); in check_cb() 224 uv_close((uv_handle_t*)&check_handle, check_close_cb); in check_cb() 225 uv_close((uv_handle_t*)&prepare_2_handle, prepare_2_close_cb); in check_cb() 228 uv_close((uv_handle_t*)&idle_1_handles[i], idle_1_close_cb); in check_cb() 234 uv_close((uv_handle_t*)&idle_2_handle, idle_2_close_cb); in check_cb()
|
H A D | test-ipc.c | 83 uv_close((uv_handle_t*)server, NULL); in on_connection() 96 uv_close((uv_handle_t*)process, NULL); in exit_cb() 206 uv_close((uv_handle_t*)&channel, NULL); in on_read() 270 uv_close((uv_handle_t*)&tcp_server, NULL); in on_read_listen_after_bound_twice() 271 uv_close((uv_handle_t*)&tcp_server2, NULL); in on_read_listen_after_bound_twice() 273 uv_close((uv_handle_t*)&channel, NULL); in on_read_listen_after_bound_twice() 345 uv_close((uv_handle_t*)tcp, NULL); in on_tcp_read() 346 uv_close((uv_handle_t*)&channel, NULL); in on_tcp_read() 551 uv_close((uv_handle_t*)&tcp_server, close_cb); in conn_notify_write_cb() 552 uv_close((uv_handle_t*)&channel, close_cb); in conn_notify_write_cb() [all …]
|
H A D | test-stdio-over-pipes.c | 57 uv_close((uv_handle_t*)process, close_cb); in exit_cb() 58 uv_close((uv_handle_t*)&in, close_cb); in exit_cb() 59 uv_close((uv_handle_t*)&out, close_cb); in exit_cb() 286 uv_close((uv_handle_t*)&stdin_pipe1, close_cb); in stdio_over_pipes_helper() 287 uv_close((uv_handle_t*)&stdout_pipe1, close_cb); in stdio_over_pipes_helper() 288 uv_close((uv_handle_t*)&stdin_pipe2, close_cb); in stdio_over_pipes_helper() 289 uv_close((uv_handle_t*)&stdout_pipe2, close_cb); in stdio_over_pipes_helper()
|
H A D | test-tcp-oob.c | 51 uv_close((uv_handle_t*) &server_handle, NULL); in idle_cb() 52 uv_close((uv_handle_t*) &client_handle, NULL); in idle_cb() 53 uv_close((uv_handle_t*) &peer_handle, NULL); in idle_cb() 54 uv_close((uv_handle_t*) idle, NULL); in idle_cb()
|
H A D | test-tty.c | 139 uv_close((uv_handle_t*) &tty_in, NULL); in TEST_IMPL() 140 uv_close((uv_handle_t*) &tty_out, NULL); in TEST_IMPL() 159 uv_close((uv_handle_t*) tty_in, NULL); in tty_raw_read() 256 uv_close((uv_handle_t*) &tty_out, NULL); in TEST_IMPL() 302 uv_close((uv_handle_t*) &tty_out, NULL); in TEST_IMPL() 384 uv_close((uv_handle_t*) &tty, NULL); in TEST_IMPL() 395 uv_close((uv_handle_t*) &tty_ro, NULL); in TEST_IMPL() 406 uv_close((uv_handle_t*) &tty_wo, NULL); in TEST_IMPL() 459 uv_close((uv_handle_t*) &slave_tty, NULL); in TEST_IMPL() 461 uv_close((uv_handle_t*) &master_tty, NULL); in TEST_IMPL()
|
H A D | test-timer-from-check.c | 74 uv_close((uv_handle_t*) &prepare_handle, NULL); in TEST_IMPL() 75 uv_close((uv_handle_t*) &check_handle, NULL); in TEST_IMPL() 76 uv_close((uv_handle_t*) &timer_handle, NULL); in TEST_IMPL()
|
H A D | test-signal.c | 108 uv_close((uv_handle_t*)handle, NULL); in signal_cb() 119 uv_close((uv_handle_t*)handle, NULL); in signal_cb_one_shot() 129 uv_close((uv_handle_t*)handle, NULL); in timer_cb() 267 uv_close((uv_handle_t*)&(sc[2]).handle, NULL); in TEST_IMPL() 281 uv_close((uv_handle_t*)&(sc[2]).handle, NULL); in TEST_IMPL() 296 uv_close((uv_handle_t*)&(sc[0]).handle, NULL); in TEST_IMPL() 297 uv_close((uv_handle_t*)&(sc[1]).handle, NULL); in TEST_IMPL() 312 uv_close((uv_handle_t*)&(sc[0]).handle, NULL); in TEST_IMPL() 313 uv_close((uv_handle_t*)&(sc[2]).handle, NULL); in TEST_IMPL()
|
H A D | test-pipe-getsockname.c | 76 uv_close((uv_handle_t*) &pipe_client, pipe_close_cb); in pipe_client_connect_cb() 77 uv_close((uv_handle_t*) &pipe_server, pipe_close_cb); in pipe_client_connect_cb() 105 uv_close((uv_handle_t*) &pipe_client, pipe_close_cb); in pipe_client_autobind_connect_cb() 106 uv_close((uv_handle_t*) &pipe_server, pipe_close_cb); in pipe_client_autobind_connect_cb() 249 uv_close((uv_handle_t*) &pipe_server, pipe_close_cb); in TEST_IMPL() 256 uv_close((uv_handle_t*) &pipe_client, pipe_close_cb); in TEST_IMPL() 293 uv_close((uv_handle_t*) &pipe_server, pipe_close_cb); in TEST_IMPL() 350 uv_close((uv_handle_t*)&pipe_client, pipe_close_cb); in TEST_IMPL()
|
H A D | test-fs-poll.c | 144 uv_close((uv_handle_t*)handle, close_cb); in poll_cb() 189 uv_close((uv_handle_t*) &poll_handle, close_cb); in TEST_IMPL() 210 uv_close((uv_handle_t*) &poll_handle, close_cb); in TEST_IMPL() 234 uv_close((uv_handle_t*) &poll_handle, close_cb); in TEST_IMPL() 258 uv_close((uv_handle_t*) &poll_handle, close_cb); in TEST_IMPL() 286 uv_close((uv_handle_t*) &poll_handle, close_cb); in TEST_IMPL()
|
H A D | test-tcp-create-socket-early.c | 36 uv_close((uv_handle_t*) req->handle, NULL); in on_connect() 55 uv_close((uv_handle_t*) server, NULL); in on_connection() 56 uv_close((uv_handle_t*) handle, (uv_close_cb)free); in on_connection() 130 uv_close((uv_handle_t*) &client, NULL); in TEST_IMPL() 177 uv_close((uv_handle_t*) &client, NULL); in TEST_IMPL()
|
H A D | benchmark-multi-accept.c | 135 uv_close((uv_handle_t*) ipc_pipe, NULL); in ipc_connection_cb() 142 uv_close((uv_handle_t*) &ctx->peer_handle, ipc_close_cb); in ipc_write_cb() 195 uv_close((uv_handle_t*) &ctx->ipc_pipe, NULL); in ipc_read_cb() 234 uv_close((uv_handle_t*) &ctx.server_handle, NULL); in send_listen_handles() 285 uv_close((uv_handle_t*) &ctx->server_handle, NULL); in sv_async_cb() 286 uv_close((uv_handle_t*) &ctx->async_handle, NULL); in sv_async_cb() 326 uv_close((uv_handle_t*) handle, (uv_close_cb) free); in sv_read_cb() 339 uv_close((uv_handle_t*) &ctx->client_handle, cl_close_cb); in cl_idle_cb() 350 uv_close((uv_handle_t*) &ctx->idle_handle, NULL); in cl_close_cb()
|
H A D | test-delayed-accept.c | 66 uv_close((uv_handle_t*)accepted_handle, close_cb); in do_accept() 70 uv_close((uv_handle_t*)server, close_cb); in do_accept() 74 uv_close((uv_handle_t*)timer_handle, close_cb); in do_accept() 130 uv_close((uv_handle_t*)tcp, close_cb); in read_cb()
|
H A D | test-queue-foreach-delete.c | 76 uv_close((uv_handle_t*)&(name)[2], NULL); \ 77 uv_close((uv_handle_t*)&(name)[1], NULL); \ 90 uv_close((uv_handle_t*)&(name)[0], NULL); \ 91 uv_close((uv_handle_t*)&(name)[1], NULL); \
|
H A D | test-connection-fail.c | 61 uv_close((uv_handle_t*)&tcp, on_close); in timer_cb() 64 uv_close((uv_handle_t*)handle, timer_close_cb); in timer_cb() 74 uv_close((uv_handle_t*)req->handle, on_close); in on_connect_with_close()
|
/libuv/docs/code/cgi/ |
H A D | main.c | 13 uv_close((uv_handle_t*) req->data, NULL); in cleanup_handles() 14 uv_close((uv_handle_t*) req, NULL); in cleanup_handles() 62 uv_close((uv_handle_t*) client, NULL); in on_new_connection()
|