HomeSort by: relevance | last modified time | path
    Searched refs:uv_handle_t (Results 1 - 25 of 220) sorted by relevancy

1 2 3 4 5 6 7 8 9

  /src/external/mit/libuv/dist/test/
test-active.c 32 static void close_cb(uv_handle_t* handle) {
51 ASSERT_OK(uv_is_active((uv_handle_t*) &timer));
52 ASSERT_OK(uv_is_closing((uv_handle_t*) &timer));
57 ASSERT_EQ(1, uv_is_active((uv_handle_t*) &timer));
58 ASSERT_OK(uv_is_closing((uv_handle_t*) &timer));
63 ASSERT_OK(uv_is_active((uv_handle_t*) &timer));
64 ASSERT_OK(uv_is_closing((uv_handle_t*) &timer));
69 ASSERT_EQ(1, uv_is_active((uv_handle_t*) &timer));
70 ASSERT_OK(uv_is_closing((uv_handle_t*) &timer));
72 uv_close((uv_handle_t*) &timer, close_cb)
    [all...]
test-handle-fileno.c 63 r = uv_fileno((uv_handle_t*) &idle, &fd);
65 uv_close((uv_handle_t*) &idle, NULL);
69 r = uv_fileno((uv_handle_t*) &tcp, &fd);
73 r = uv_fileno((uv_handle_t*) &tcp, &fd);
75 uv_close((uv_handle_t*) &tcp, NULL);
76 r = uv_fileno((uv_handle_t*) &tcp, &fd);
81 r = uv_fileno((uv_handle_t*) &udp, &fd);
85 r = uv_fileno((uv_handle_t*) &udp, &fd);
87 uv_close((uv_handle_t*) &udp, NULL);
88 r = uv_fileno((uv_handle_t*) &udp, &fd)
    [all...]
test-poll-multiple-handles.c 37 static void close_cb(uv_handle_t* handle) {
89 uv_close((uv_handle_t*) &first_poll_handle, close_cb);
91 uv_unref((uv_handle_t*) &second_poll_handle);
94 uv_ref((uv_handle_t*) &second_poll_handle);
96 ASSERT(uv_is_active((uv_handle_t*) &second_poll_handle));
97 uv_close((uv_handle_t*) &second_poll_handle, close_cb);
test-socket-buffer-size.c 34 static void close_cb(uv_handle_t* handle) {
39 static void check_buffer_size(uv_handle_t* handle) {
63 check_buffer_size((uv_handle_t*) &tcp);
64 uv_close((uv_handle_t*) &tcp, close_cb);
68 check_buffer_size((uv_handle_t*) &udp);
69 uv_close((uv_handle_t*) &udp, close_cb);
test-pipe-server-close.c 37 static void pipe_close_cb(uv_handle_t* handle) {
38 ASSERT_NE(handle == (uv_handle_t*) &pipe_client ||
39 handle == (uv_handle_t*) &pipe_server, 0);
50 uv_close((uv_handle_t*) &pipe_client, pipe_close_cb);
51 uv_close((uv_handle_t*) &pipe_server, pipe_close_cb);
test-pipe-connect-prepare.c 44 static void close_cb(uv_handle_t* handle) {
53 uv_close((uv_handle_t*)&prepare_handle, close_cb);
54 uv_close((uv_handle_t*)&pipe_handle, close_cb);
test-tcp-close-after-read-timeout.c 36 static void on_client_alloc(uv_handle_t* handle,
44 static void on_close(uv_handle_t* handle);
58 static void on_client_alloc(uv_handle_t* handle,
78 uv_close((uv_handle_t*) &client, on_close);
79 uv_close((uv_handle_t*) &timer, on_close);
83 static void on_connection_alloc(uv_handle_t* handle,
97 uv_close((uv_handle_t*) stream, on_close);
114 static void on_close(uv_handle_t* handle) {
115 ASSERT_NE(handle == (uv_handle_t*) &client ||
116 handle == (uv_handle_t*) &connection |
    [all...]
test-walk-handles.c 33 static void walk_cb(uv_handle_t* handle, void* arg) {
36 if (handle == (uv_handle_t*)&timer) {
48 uv_close((uv_handle_t*)handle, NULL);
test-idle.c 36 static void close_cb(uv_handle_t* handle) {
44 uv_close((uv_handle_t*) &idle_handle, close_cb);
45 uv_close((uv_handle_t*) &check_handle, close_cb);
46 uv_close((uv_handle_t*) &timer_handle, close_cb);
118 uv_close((uv_handle_t*) &idle_handle, close_cb);
119 uv_close((uv_handle_t*) &check_handle, close_cb);
test-stdio-over-pipes.c 45 static void close_cb(uv_handle_t* handle) {
57 uv_close((uv_handle_t*)process, close_cb);
58 uv_close((uv_handle_t*)&in, close_cb);
59 uv_close((uv_handle_t*)&out, close_cb);
76 static void on_alloc(uv_handle_t* handle,
198 static void on_read_alloc(uv_handle_t* handle,
244 uv_unref((uv_handle_t*) &stdin_pipe1);
245 uv_unref((uv_handle_t*) &stdout_pipe1);
246 uv_unref((uv_handle_t*) &stdin_pipe2);
247 uv_unref((uv_handle_t*) &stdout_pipe2)
    [all...]
test-loop-handles.c 115 static void idle_2_close_cb(uv_handle_t* handle) {
119 ASSERT_PTR_EQ(handle, (uv_handle_t*)&idle_2_handle);
136 uv_close((uv_handle_t*)handle, idle_2_close_cb);
150 if (!idle_2_is_active && !uv_is_closing((uv_handle_t*)&idle_2_handle)) {
169 static void idle_1_close_cb(uv_handle_t* handle) {
179 static void prepare_1_close_cb(uv_handle_t* handle) {
182 ASSERT_PTR_EQ(handle, (uv_handle_t*)&prepare_1_handle);
188 static void check_close_cb(uv_handle_t* handle) {
191 ASSERT_PTR_EQ(handle, (uv_handle_t*)&check_handle);
197 static void prepare_2_close_cb(uv_handle_t* handle)
    [all...]
test-ref.c 42 static void close_cb(uv_handle_t* handle) {
49 uv_close((uv_handle_t*)handle, close_cb);
113 uv_unref((uv_handle_t*)&h);
124 uv_unref((uv_handle_t*)&h);
136 uv_unref((uv_handle_t*)&h);
148 uv_unref((uv_handle_t*)&h);
158 uv_unref((uv_handle_t*)h);
176 uv_unref((uv_handle_t*)&h);
188 uv_unref((uv_handle_t*)&h);
203 uv_unref((uv_handle_t*)&h)
    [all...]
test-close-fd.c 30 static void alloc_cb(uv_handle_t* handle, size_t size, uv_buf_t* buf) {
44 uv_close((uv_handle_t *) handle, NULL);
76 ASSERT_OK(uv_is_active((const uv_handle_t *) &pipe_handle));
80 ASSERT_NE(0, uv_is_closing((const uv_handle_t *) &pipe_handle));
test-close-order.c 34 static void close_cb(uv_handle_t* handle) {
45 uv_close((uv_handle_t*) handle, close_cb);
46 uv_close((uv_handle_t*) &timer_handle2, close_cb);
52 uv_close((uv_handle_t*) handle, close_cb);
test-shutdown-close.c 46 static void close_cb(uv_handle_t* handle) {
59 ASSERT_OK(uv_is_closing((uv_handle_t*) req->handle));
60 uv_close((uv_handle_t*) req->handle, close_cb);
61 ASSERT_EQ(1, uv_is_closing((uv_handle_t*) req->handle));
test-udp-bind.c 52 uv_close((uv_handle_t*) &h1, NULL);
53 uv_close((uv_handle_t*) &h2, NULL);
85 uv_close((uv_handle_t*) &h1, NULL);
86 uv_close((uv_handle_t*) &h2, NULL);
test-tcp-oob.c 39 static void alloc_cb(uv_handle_t* handle,
51 uv_close((uv_handle_t*) &server_handle, NULL);
52 uv_close((uv_handle_t*) &client_handle, NULL);
53 uv_close((uv_handle_t*) &peer_handle, NULL);
54 uv_close((uv_handle_t*) idle, NULL);
65 ASSERT_OK(uv_fileno((uv_handle_t*)handle, &fd));
92 ASSERT_OK(uv_fileno((uv_handle_t*) &client_handle, &fd));
test-connection-fail.c 39 static void on_close(uv_handle_t* handle) {
44 static void timer_close_cb(uv_handle_t* handle) {
61 uv_close((uv_handle_t*)&tcp, on_close);
64 uv_close((uv_handle_t*)handle, timer_close_cb);
74 uv_close((uv_handle_t*)req->handle, on_close);
test-signal-pending-on-close.c 46 static void close_cb(uv_handle_t *handle) {
55 uv_close((uv_handle_t *) &pipe_hdl, close_cb);
56 uv_close((uv_handle_t *) &signal_hdl, close_cb);
102 uv_unref((uv_handle_t*) &signal_hdl);
106 uv_close((uv_handle_t*) &signal_hdl, close_cb);
test-tcp-alloc-cb-fail.c 40 static void close_cb(uv_handle_t* handle) {
48 static void conn_alloc_cb(uv_handle_t* handle, size_t size, uv_buf_t* buf) {
59 uv_close((uv_handle_t*) &incoming, close_cb);
60 uv_close((uv_handle_t*) &client, close_cb);
61 uv_close((uv_handle_t*) &server, close_cb);
test-tcp-rst.c 33 static void close_cb(uv_handle_t* handle) {
34 ASSERT_PTR_EQ(handle, (uv_handle_t*) &tcp);
39 static void alloc_cb(uv_handle_t* handle, size_t size, uv_buf_t* buf) {
51 ASSERT_OK(uv_fileno((uv_handle_t*) t, &fd));
55 uv_close((uv_handle_t *) t, close_cb);
test-tcp-try-write-error.c 37 static void close_cb(uv_handle_t* handle) {
41 static void incoming_close_cb(uv_handle_t* handle) {
69 uv_close((uv_handle_t*) &incoming, incoming_close_cb);
70 uv_close((uv_handle_t*) tcp, close_cb);
100 uv_close((uv_handle_t*) &client, close_cb);
test-timer-again.c 37 static void close_cb(uv_handle_t* handle) {
60 uv_close((uv_handle_t*)handle, close_cb);
80 ASSERT_OK(uv_is_active((uv_handle_t*) handle));
81 uv_close((uv_handle_t*)handle, close_cb);
106 uv_unref((uv_handle_t*)&dummy);
  /src/external/mpl/bind/dist/lib/isc/
async_p.h 28 isc__async_close(uv_handle_t *handle);
  /src/external/mit/libuv/dist/src/win/
handle-inl.h 58 uv__want_endgame(loop, (uv_handle_t*)handle); \
69 uv__active_handle_add((uv_handle_t*) (handle)); \
79 uv__active_handle_rm((uv_handle_t*) (handle)); \
84 (handle)->close_cb((uv_handle_t*) (handle)); \
88 INLINE static void uv__want_endgame(uv_loop_t* loop, uv_handle_t* handle) {
99 uv_handle_t* handle;

Completed in 55 milliseconds

1 2 3 4 5 6 7 8 9