Home
last modified time | relevance | path

Searched refs:close_cb_called (Results 1 – 25 of 64) sorted by relevance

123

/third_party/libuv/test/
Dtest-tcp-close-reset.c40 static int close_cb_called; variable
100 ASSERT(close_cb_called == 0); in write_cb()
112 close_cb_called++; in close_cb()
197 ASSERT(close_cb_called == 0); in TEST_IMPL()
204 ASSERT(close_cb_called == 1); in TEST_IMPL()
224 ASSERT(close_cb_called == 0); in TEST_IMPL()
231 ASSERT(close_cb_called == 0); in TEST_IMPL()
251 ASSERT(close_cb_called == 0); in TEST_IMPL()
258 ASSERT(close_cb_called == 1); in TEST_IMPL()
278 ASSERT(close_cb_called == 0); in TEST_IMPL()
[all …]
Dtest-fs-poll.c51 static int close_cb_called; variable
74 close_cb_called++; in close_cb()
165 ASSERT(close_cb_called == 1); in TEST_IMPL()
193 ASSERT(close_cb_called == 1); in TEST_IMPL()
211 while (close_cb_called == 0) in TEST_IMPL()
213 ASSERT(close_cb_called == 1); in TEST_IMPL()
237 while (close_cb_called == 0) in TEST_IMPL()
239 ASSERT(close_cb_called == 1); in TEST_IMPL()
263 while (close_cb_called == 0) in TEST_IMPL()
265 ASSERT(close_cb_called == 1); in TEST_IMPL()
[all …]
Dtest-close-order.c27 static int close_cb_called; variable
36 close_cb_called++; in close_cb()
44 ASSERT(close_cb_called == 0); in check_cb()
69 ASSERT(close_cb_called == 0); in TEST_IMPL()
75 ASSERT(close_cb_called == 3); in TEST_IMPL()
Dtest-pipe-bind-error.c35 static int close_cb_called = 0; variable
40 close_cb_called++; in close_cb()
68 ASSERT(close_cb_called == 2); in TEST_IMPL()
89 ASSERT(close_cb_called == 1); in TEST_IMPL()
111 ASSERT(close_cb_called == 1); in TEST_IMPL()
135 ASSERT(close_cb_called == 1); in TEST_IMPL()
Dtest-tcp-bind6-error.c28 static int close_cb_called = 0; variable
33 close_cb_called++; in close_cb()
67 ASSERT(close_cb_called == 2); in TEST_IMPL()
93 ASSERT(close_cb_called == 1); in TEST_IMPL()
121 ASSERT(close_cb_called == 1); in TEST_IMPL()
152 ASSERT(close_cb_called == 1); in TEST_IMPL()
Dtest-tcp-close.c34 static int close_cb_called; variable
61 ASSERT(close_cb_called == 0); in write_cb()
70 close_cb_called++; in close_cb()
124 ASSERT(close_cb_called == 0); in TEST_IMPL()
132 ASSERT(close_cb_called == 1); in TEST_IMPL()
Dtest-tcp-bind-error.c29 static int close_cb_called = 0; variable
34 close_cb_called++; in close_cb()
73 ASSERT(close_cb_called == 1); in TEST_IMPL()
106 ASSERT(close_cb_called == 2); in TEST_IMPL()
131 ASSERT(close_cb_called == 1); in TEST_IMPL()
154 ASSERT(close_cb_called == 1); in TEST_IMPL()
179 ASSERT(close_cb_called == 1); in TEST_IMPL()
207 ASSERT(close_cb_called == 1); in TEST_IMPL()
295 ASSERT(close_cb_called == 1); in TEST_IMPL()
Dtest-pipe-connect-error.c35 static int close_cb_called = 0; variable
41 close_cb_called++; in close_cb()
70 ASSERT(close_cb_called == 1); in TEST_IMPL()
90 ASSERT(close_cb_called == 1); in TEST_IMPL()
Dtest-udp-dgram-too-big.c39 static int close_cb_called; variable
44 close_cb_called++; in close_cb()
81 ASSERT(close_cb_called == 0); in TEST_IMPL()
87 ASSERT(close_cb_called == 1); in TEST_IMPL()
Dtest-poll-multiple-handles.c34 static int close_cb_called = 0; variable
38 close_cb_called++; in close_cb()
88 ASSERT(close_cb_called == 1); in TEST_IMPL()
95 ASSERT(close_cb_called == 2); in TEST_IMPL()
Dtest-udp-multicast-ttl.c36 static int close_cb_called; variable
41 close_cb_called++; in close_cb()
83 ASSERT(close_cb_called == 0); in TEST_IMPL()
90 ASSERT(close_cb_called == 1); in TEST_IMPL()
Dtest-udp-multicast-interface6.c36 static int close_cb_called; variable
41 close_cb_called++; in close_cb()
97 ASSERT(close_cb_called == 0); in TEST_IMPL()
104 ASSERT(close_cb_called == 1); in TEST_IMPL()
Dtest-udp-multicast-interface.c36 static int close_cb_called; variable
41 close_cb_called++; in close_cb()
90 ASSERT(close_cb_called == 0); in TEST_IMPL()
97 ASSERT(close_cb_called == 1); in TEST_IMPL()
Dtest-fs-event.c58 static int close_cb_called; variable
122 close_cb_called++; in close_cb()
453 ASSERT(close_cb_called == 2); in TEST_IMPL()
506 close_cb_called += 1; in TEST_IMPL()
514 ASSERT(close_cb_called == 3); in TEST_IMPL()
563 ASSERT(close_cb_called == 1); in TEST_IMPL()
609 ASSERT(close_cb_called == 2); in TEST_IMPL()
736 ASSERT(close_cb_called == 0); in TEST_IMPL()
742 ASSERT(close_cb_called == 1); in TEST_IMPL()
806 ASSERT(close_cb_called == 1); in TEST_IMPL()
[all …]
Dtest-shutdown-close.c36 static int close_cb_called = 0; variable
47 close_cb_called++; in close_cb()
85 ASSERT(close_cb_called == 1); in TEST_IMPL()
104 ASSERT(close_cb_called == 1); in TEST_IMPL()
Dtest-tcp-try-write-error.c33 static int close_cb_called; variable
38 close_cb_called++; in close_cb()
45 close_cb_called++; in incoming_close_cb()
104 ASSERT(close_cb_called == 3); in TEST_IMPL()
Dtest-tcp-connect6-error.c29 static int close_cb_called = 0; variable
40 close_cb_called++; in close_cb()
67 ASSERT(close_cb_called == 1); in TEST_IMPL()
Dtest-tcp-connect-error.c29 static int close_cb_called = 0; variable
42 close_cb_called++; in close_cb()
69 ASSERT(close_cb_called == 1); in TEST_IMPL()
Dtest-signal-pending-on-close.c34 static int close_cb_called; variable
47 close_cb_called++; in close_cb()
93 ASSERT(2 == close_cb_called); in TEST_IMPL()
113 ASSERT(1 == close_cb_called); in TEST_IMPL()
Dtest-poll-close.c36 static int close_cb_called = 0; variable
40 close_cb_called++; in close_cb()
69 ASSERT(close_cb_called == NUM_SOCKETS); in TEST_IMPL()
Dtest-pipe-connect-prepare.c36 static int close_cb_called = 0; variable
46 close_cb_called++; in close_cb()
78 ASSERT(close_cb_called == 2); in TEST_IMPL()
Dtest-udp-sendmmsg-error.c34 static int close_cb_called; variable
40 close_cb_called++; in close_cb()
68 ASSERT_EQ(1, close_cb_called); in TEST_IMPL()
Dtest-socket-buffer-size.c31 static int close_cb_called; variable
35 close_cb_called++; in close_cb()
73 ASSERT(close_cb_called == 2); in TEST_IMPL()
Dtest-active.c29 static int close_cb_called = 0; variable
34 close_cb_called++; in close_cb()
80 ASSERT(close_cb_called == 1); in TEST_IMPL()
Dtest-tcp-connect-error-after-write.c31 static int close_cb_called; variable
35 close_cb_called++; in close_cb()
94 ASSERT(close_cb_called == 1); in TEST_IMPL()

123