/libuv/src/win/ |
H A D | async.c | 43 uv__handle_init(loop, (uv_handle_t*) handle, UV_ASYNC); in uv_async_init() 59 uv__want_endgame(loop, (uv_handle_t*) handle); in uv__async_close() 94 uv__want_endgame(loop, (uv_handle_t*)handle); in uv__process_async_wakeup_req()
|
H A D | handle.c | 61 int uv_is_active(const uv_handle_t* handle) { in uv_is_active() 67 void uv_close(uv_handle_t* handle, uv_close_cb cb) { in uv_close() 151 int uv_is_closing(const uv_handle_t* handle) { in uv_is_closing()
|
/libuv/test/ |
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-tcp-close-while-connecting.c | 35 static void close_cb(uv_handle_t* handle) { in close_cb() 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-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-callback-stack.c | 48 static void alloc_cb(uv_handle_t* handle, size_t size, uv_buf_t* buf) { in alloc_cb() 55 static void close_cb(uv_handle_t* handle) { in close_cb() 83 uv_close((uv_handle_t*)tcp, close_cb); in read_cb() 121 uv_close((uv_handle_t*)handle, close_cb); in timer_cb()
|
H A D | test-fork.c | 42 uv_close((uv_handle_t*) timer, NULL); in timer_cb() 61 uv_close((uv_handle_t*) poll, NULL); in socket_cb() 206 uv_close((uv_handle_t*)&poll_handle, NULL); in TEST_IMPL() 242 uv_close((uv_handle_t*)handle, NULL); in fork_signal_to_child_cb() 279 uv_unref((uv_handle_t*)&signal_handle); in TEST_IMPL() 339 uv_unref((uv_handle_t*)&signal_handle); /* so the loop can exit; in TEST_IMPL() 381 static void empty_close_cb(uv_handle_t* h){} in empty_close_cb() 399 uv_close((uv_handle_t*)&signal_handle, &empty_close_cb); in TEST_IMPL() 409 uv_close((uv_handle_t*)&signal_handle, &empty_close_cb); in TEST_IMPL() 460 uv_close((uv_handle_t*)timer, NULL); in timer_cb_touch() [all …]
|
H A D | test-multiple-listen.c | 34 static void close_cb(uv_handle_t* handle) { in close_cb() 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() 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-getsockname.c | 46 static void alloc(uv_handle_t* handle, size_t suggested_size, uv_buf_t* buf) { in alloc() 52 static void on_close(uv_handle_t* peer) { in on_close() 54 uv_close((uv_handle_t*)&tcpServer, NULL); in on_close() 59 uv_close((uv_handle_t*) req->handle, on_close); in after_shutdown() 166 uv_close((uv_handle_t*)&tcp, NULL); in on_connect() 262 uv_close((uv_handle_t*) &udp, NULL); in udp_recv() 263 uv_close((uv_handle_t*) handle, NULL); in udp_recv()
|
H A D | test-udp-multicast-join.c | 45 static void alloc_cb(uv_handle_t* handle, in alloc_cb() 56 static void close_cb(uv_handle_t* handle) { in close_cb() 70 uv_close((uv_handle_t*) req->handle, close_cb); in sv_send_cb() 118 uv_close((uv_handle_t*) &server, close_cb); in cl_recv_cb()
|
H A D | test-not-readable-nor-writable-on-read-error.c | 41 static void alloc_cb(uv_handle_t* handle, in alloc_cb() 49 static void close_cb(uv_handle_t* handle) { in close_cb() 60 uv_close((uv_handle_t*) handle, close_cb); in read_cb()
|
H A D | test-tcp-write-fail.c | 43 r = uv_fileno((uv_handle_t*)sock, &fd); in close_socket() 54 static void close_cb(uv_handle_t* handle) { in close_cb() 67 uv_close((uv_handle_t*)(req->handle), close_cb); in write_cb()
|
H A D | test-tcp-connect6-error.c | 39 static void close_cb(uv_handle_t* handle) { in close_cb() 66 uv_close((uv_handle_t*)&server, close_cb); in TEST_IMPL() 124 uv_close((uv_handle_t*) &server, NULL); in TEST_IMPL()
|
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-readable-on-eof.c | 41 static void alloc_cb(uv_handle_t* handle, in alloc_cb() 49 static void close_cb(uv_handle_t* handle) { in close_cb() 61 uv_close((uv_handle_t*) handle, close_cb); in read_cb()
|
H A D | test-watcher-cross-stop.c | 42 static void alloc_cb(uv_handle_t* handle, size_t size, uv_buf_t* buf) { in alloc_cb() 62 static void close_cb(uv_handle_t* handle) { in close_cb() 101 uv_close((uv_handle_t*) &sockets[i], close_cb); in TEST_IMPL()
|
H A D | test-udp-ipv6.c | 65 static void alloc_cb(uv_handle_t* handle, in alloc_cb() 75 static void close_cb(uv_handle_t* handle) { in close_cb() 139 uv_close((uv_handle_t*)&server, close_cb); in timeout_cb() 140 uv_close((uv_handle_t*)&client, close_cb); in timeout_cb() 141 uv_close((uv_handle_t*)&timeout, close_cb); in timeout_cb()
|
H A D | test-pipe-connect-multiple.c | 122 uv_close((uv_handle_t*)conn, NULL); in connection_cb2() 125 uv_close((uv_handle_t*)&server_handle, NULL); in connection_cb2() 133 uv_close((uv_handle_t*)&server_handle, NULL); in connect_cb2() 167 uv_close((uv_handle_t*)&clients[i].pipe_handle, NULL); in TEST_IMPL()
|
H A D | test-pipe-sendmsg.c | 60 static void close_cb(uv_handle_t* handle) { in close_cb() 65 static void alloc_cb(uv_handle_t* handle, size_t size, uv_buf_t* buf) { in alloc_cb() 98 uv_close((uv_handle_t*) p, close_cb); in read_cb() 100 uv_close((uv_handle_t*) &incoming[i], close_cb); in read_cb()
|
H A D | test-udp-multicast-join6.c | 56 static void alloc_cb(uv_handle_t* handle, in alloc_cb() 67 static void close_cb(uv_handle_t* handle) { in close_cb() 81 uv_close((uv_handle_t*) req->handle, close_cb); in sv_send_cb() 129 uv_close((uv_handle_t*) &server, close_cb); in cl_recv_cb()
|
H A D | test-udp-send-and-recv.c | 44 static void alloc_cb(uv_handle_t* handle, in alloc_cb() 55 static void close_cb(uv_handle_t* handle) { in close_cb() 86 uv_close((uv_handle_t*) handle, close_cb); in cl_recv_cb() 109 uv_close((uv_handle_t*) req->handle, close_cb); in sv_send_cb()
|
H A D | benchmark-pump.c | 44 static void buf_alloc(uv_handle_t* handle, size_t size, uv_buf_t* buf); 113 uv_close((uv_handle_t*) &tcp_write_handles[i], NULL); in show_stats() 115 uv_close((uv_handle_t*) &pipe_write_handles[i], NULL); in show_stats() 142 static void read_sockets_close_cb(uv_handle_t* handle) { in read_sockets_close_cb() 151 uv_close((uv_handle_t*)server, NULL); in read_sockets_close_cb() 179 uv_close((uv_handle_t*)stream, read_sockets_close_cb); in read_cb() 353 static void buf_alloc(uv_handle_t* handle, size_t size, uv_buf_t* buf) { in buf_alloc()
|
/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()
|
/libuv/docs/code/pipe-echo-server/ |
H A D | main.c | 25 void alloc_buffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) { in alloc_buffer() 48 uv_close((uv_handle_t*) client, NULL); in echo_read() 66 uv_close((uv_handle_t*) client, NULL); in on_new_connection()
|