/libuv/test/ |
H A D | test-idle.c | 36 static void close_cb(uv_handle_t* handle) { in close_cb() function 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-pipe-bind-error.c | 39 static void close_cb(uv_handle_t* handle) { in close_cb() function 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() 162 uv_close((uv_handle_t*) connect_req->handle, close_cb); in connect_overlong_cb()
|
H A D | test-close-order.c | 34 static void close_cb(uv_handle_t* handle) { in close_cb() function 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-tcp-bind6-error.c | 31 static void close_cb(uv_handle_t* handle) { in close_cb() function 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-fs-poll.c | 30 static void close_cb(uv_handle_t* handle); 73 static void close_cb(uv_handle_t* handle) { in close_cb() function 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-bind-error.c | 32 static void close_cb(uv_handle_t* handle) { in close_cb() function 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()
|
H A D | test-stdio-over-pipes.c | 45 static void close_cb(uv_handle_t* handle) { in close_cb() function 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-fs-event.c | 121 static void close_cb(uv_handle_t* handle) { in close_cb() function 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() 241 uv_close((uv_handle_t*) &timer, close_cb); in fs_event_cb_dir_multi_file() 242 uv_close((uv_handle_t*) handle, close_cb); in fs_event_cb_dir_multi_file() 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() 387 uv_close((uv_handle_t*)handle, close_cb); in timer_cb_file() 916 uv_close((uv_handle_t*)handle, close_cb); in timer_cb() [all …]
|
H A D | test-signal-pending-on-close.c | 46 static void close_cb(uv_handle_t *handle) { in close_cb() function 55 uv_close((uv_handle_t *) &pipe_hdl, close_cb); in write_cb() 56 uv_close((uv_handle_t *) &signal_hdl, close_cb); in write_cb() 106 uv_close((uv_handle_t*) &signal_hdl, close_cb); in TEST_IMPL()
|
H A D | test-delayed-accept.c | 39 static void close_cb(uv_handle_t* handle) { in close_cb() function 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-tcp-try-write.c | 41 static void close_cb(uv_handle_t* handle) { in close_cb() function 66 uv_close((uv_handle_t*) &client, close_cb); in connect_cb() 80 uv_close((uv_handle_t*) tcp, close_cb); in read_cb() 81 uv_close((uv_handle_t*) &server, close_cb); in read_cb()
|
H A D | test-tcp-alloc-cb-fail.c | 40 static void close_cb(uv_handle_t* handle) { in close_cb() function 59 uv_close((uv_handle_t*) &incoming, close_cb); in conn_read_cb() 60 uv_close((uv_handle_t*) &client, close_cb); in conn_read_cb() 61 uv_close((uv_handle_t*) &server, close_cb); in conn_read_cb()
|
H A D | test-pipe-connect-prepare.c | 44 static void close_cb(uv_handle_t* handle) { in close_cb() function 53 uv_close((uv_handle_t*)&prepare_handle, close_cb); in connect_cb() 54 uv_close((uv_handle_t*)&pipe_handle, close_cb); in connect_cb()
|
H A D | test-socket-buffer-size.c | 34 static void close_cb(uv_handle_t* handle) { in close_cb() function 64 uv_close((uv_handle_t*) &tcp, close_cb); in TEST_IMPL() 69 uv_close((uv_handle_t*) &udp, close_cb); in TEST_IMPL()
|
H A D | test-tcp-write-queue-order.c | 45 static void close_cb(uv_handle_t* handle) { in close_cb() function 50 uv_close((uv_handle_t*) &client, close_cb); in timer_cb() 51 uv_close((uv_handle_t*) &server, close_cb); in timer_cb() 52 uv_close((uv_handle_t*) &incoming, close_cb); in timer_cb()
|
H A D | test-tcp-close-accept.c | 45 static void close_cb(uv_handle_t* handle) { in close_cb() function 66 uv_close((uv_handle_t*) &tcp_incoming[pending_incoming], close_cb); in connect_cb() 67 uv_close((uv_handle_t*) &tcp_check, close_cb); in connect_cb() 102 uv_close((uv_handle_t*) &tcp_incoming[i], close_cb); in read_cb() 106 uv_close((uv_handle_t*) &tcp_server, close_cb); in read_cb()
|
H A D | test-tcp-write-in-a-row.c | 42 static void close_cb(uv_handle_t* handle) { in close_cb() function 54 uv_close((uv_handle_t*) &client, close_cb); in write_cb() 55 uv_close((uv_handle_t*) &incoming, close_cb); in write_cb() 56 uv_close((uv_handle_t*) &server, close_cb); in write_cb()
|
H A D | test-pipe-connect-error.c | 39 static void close_cb(uv_handle_t* handle) { in close_cb() function 47 uv_close((uv_handle_t*) connect_req->handle, close_cb); in connect_cb() 56 uv_close((uv_handle_t*) connect_req->handle, close_cb); in connect_cb_file()
|
H A D | test-poll-multiple-handles.c | 37 static void close_cb(uv_handle_t* handle) { in close_cb() function 89 uv_close((uv_handle_t*) &first_poll_handle, close_cb); in TEST_IMPL() 97 uv_close((uv_handle_t*) &second_poll_handle, close_cb); in TEST_IMPL()
|
H A D | test-tcp-close-while-connecting.c | 35 static void close_cb(uv_handle_t* handle) { in close_cb() function 54 uv_close((uv_handle_t*)handle, close_cb); in timer1_cb() 55 uv_close((uv_handle_t*)&tcp_handle, close_cb); in timer1_cb()
|
H A D | test-multiple-listen.c | 34 static void close_cb(uv_handle_t* handle) { in close_cb() function 42 uv_close((uv_handle_t*)&server, close_cb); in connection_cb() 71 uv_close((uv_handle_t*)&client, close_cb); in connect_cb()
|
H A D | test-async.c | 72 static void close_cb(uv_handle_t* handle) { in close_cb() function 88 uv_close((uv_handle_t*)&async, close_cb); in async_cb() 89 uv_close((uv_handle_t*)&prepare, close_cb); in async_cb()
|
H A D | test-tcp-connect-timeout.c | 37 static void close_cb(uv_handle_t* handle); 49 uv_close((uv_handle_t*)&conn, close_cb); in timer_cb() 50 uv_close((uv_handle_t*)&timer, close_cb); in timer_cb() 54 static void close_cb(uv_handle_t* handle) { in close_cb() function
|
H A D | test-udp-multicast-join.c | 55 static void close_cb(uv_handle_t* handle) { in close_cb() function 69 uv_close((uv_handle_t*) req->handle, close_cb); in sv_send_cb() 117 uv_close((uv_handle_t*) &server, close_cb); in cl_recv_cb() 132 uv_close((uv_handle_t*) &server, close_cb); in cl_recv_cb()
|
H A D | test-tcp-try-write-error.c | 37 static void close_cb(uv_handle_t* handle) { in close_cb() function 70 uv_close((uv_handle_t*) tcp, close_cb); in connection_cb() 100 uv_close((uv_handle_t*) &client, close_cb); in TEST_IMPL()
|