/libuv/test/ |
H A D | test-tcp-close-reset.c | 46 static int close_cb_called; variable 123 ASSERT_OK(close_cb_called); in write_cb() 135 close_cb_called++; in close_cb() 220 ASSERT_OK(close_cb_called); in TEST_IMPL() 227 ASSERT_EQ(1, close_cb_called); in TEST_IMPL() 247 ASSERT_OK(close_cb_called); in TEST_IMPL() 254 ASSERT_OK(close_cb_called); in TEST_IMPL() 274 ASSERT_OK(close_cb_called); in TEST_IMPL() 301 ASSERT_OK(close_cb_called); in TEST_IMPL() 308 ASSERT_OK(close_cb_called); in TEST_IMPL() [all …]
|
H A D | test-close-order.c | 27 static int close_cb_called; variable 36 close_cb_called++; in close_cb() 44 ASSERT_OK(close_cb_called); in check_cb() 69 ASSERT_OK(close_cb_called); in TEST_IMPL() 75 ASSERT_EQ(3, close_cb_called); in TEST_IMPL()
|
H A D | test-fs-poll.c | 51 static int close_cb_called; variable 74 close_cb_called++; in close_cb() 165 ASSERT_EQ(1, close_cb_called); in TEST_IMPL() 193 ASSERT_EQ(1, close_cb_called); in TEST_IMPL() 211 while (close_cb_called == 0) in TEST_IMPL() 213 ASSERT_EQ(1, close_cb_called); in TEST_IMPL() 235 while (close_cb_called == 0) in TEST_IMPL() 237 ASSERT_EQ(1, close_cb_called); in TEST_IMPL() 259 while (close_cb_called == 0) in TEST_IMPL() 261 ASSERT_EQ(1, close_cb_called); in TEST_IMPL() [all …]
|
H A D | test-pipe-bind-error.c | 35 static int close_cb_called = 0; variable 41 close_cb_called++; in close_cb() 69 ASSERT_EQ(2, close_cb_called); in TEST_IMPL() 90 ASSERT_EQ(1, close_cb_called); in TEST_IMPL() 112 ASSERT_EQ(1, close_cb_called); in TEST_IMPL() 136 ASSERT_EQ(1, close_cb_called); in TEST_IMPL() 211 ASSERT_EQ(1, close_cb_called); in TEST_IMPL()
|
H A D | test-idle.c | 33 static int close_cb_called = 0; variable 37 close_cb_called++; in close_cb() 95 ASSERT_EQ(3, close_cb_called); in TEST_IMPL() 117 ASSERT_OK(close_cb_called); in TEST_IMPL() 121 ASSERT_EQ(2, close_cb_called); in TEST_IMPL()
|
H A D | test-udp-dgram-too-big.c | 39 static int close_cb_called; variable 44 close_cb_called++; in close_cb() 81 ASSERT_OK(close_cb_called); in TEST_IMPL() 87 ASSERT_EQ(1, close_cb_called); in TEST_IMPL()
|
H A D | test-pipe-connect-error.c | 35 static int close_cb_called = 0; variable 41 close_cb_called++; in close_cb() 72 ASSERT_EQ(1, close_cb_called); in TEST_IMPL() 92 ASSERT_EQ(1, close_cb_called); in TEST_IMPL()
|
H A D | test-poll-multiple-handles.c | 34 static int close_cb_called = 0; variable 38 close_cb_called++; in close_cb() 93 ASSERT_EQ(1, close_cb_called); in TEST_IMPL() 100 ASSERT_EQ(2, close_cb_called); in TEST_IMPL()
|
H A D | test-udp-multicast-ttl.c | 36 static int close_cb_called; variable 41 close_cb_called++; in close_cb() 83 ASSERT_OK(close_cb_called); in TEST_IMPL() 90 ASSERT_EQ(1, close_cb_called); in TEST_IMPL()
|
H A D | test-tcp-bind6-error.c | 28 static int close_cb_called = 0; variable 33 close_cb_called++; in close_cb() 67 ASSERT_EQ(2, close_cb_called); in TEST_IMPL() 93 ASSERT_EQ(1, close_cb_called); in TEST_IMPL() 121 ASSERT_EQ(1, close_cb_called); in TEST_IMPL() 152 ASSERT_EQ(1, close_cb_called); in TEST_IMPL()
|
H A D | test-tcp-close.c | 34 static int close_cb_called; variable 61 ASSERT_OK(close_cb_called); in write_cb() 70 close_cb_called++; in close_cb() 124 ASSERT_OK(close_cb_called); in TEST_IMPL() 132 ASSERT_EQ(1, close_cb_called); in TEST_IMPL()
|
H A D | test-udp-multicast-interface.c | 36 static int close_cb_called; variable 41 close_cb_called++; in close_cb() 90 ASSERT_OK(close_cb_called); in TEST_IMPL() 97 ASSERT_EQ(1, close_cb_called); in TEST_IMPL()
|
H A D | test-udp-multicast-interface6.c | 36 static int close_cb_called; variable 41 close_cb_called++; in close_cb() 97 ASSERT_OK(close_cb_called); in TEST_IMPL() 104 ASSERT_EQ(1, close_cb_called); in TEST_IMPL()
|
H A D | test-shutdown-close.c | 36 static int close_cb_called = 0; variable 47 close_cb_called++; in close_cb() 85 ASSERT_EQ(1, close_cb_called); in TEST_IMPL() 104 ASSERT_EQ(1, close_cb_called); in TEST_IMPL()
|
H A D | test-tcp-bind-error.c | 29 static int close_cb_called = 0; variable 34 close_cb_called++; in close_cb() 73 ASSERT_EQ(1, close_cb_called); in TEST_IMPL() 106 ASSERT_EQ(2, close_cb_called); in TEST_IMPL() 131 ASSERT_EQ(1, close_cb_called); in TEST_IMPL() 154 ASSERT_EQ(1, close_cb_called); in TEST_IMPL() 179 ASSERT_EQ(1, close_cb_called); in TEST_IMPL() 207 ASSERT_EQ(1, close_cb_called); in TEST_IMPL() 295 ASSERT_EQ(1, close_cb_called); in TEST_IMPL()
|
H A D | test-tcp-connect-error.c | 29 static int close_cb_called = 0; variable 42 close_cb_called++; in close_cb() 69 ASSERT_EQ(1, close_cb_called); in TEST_IMPL()
|
H A D | test-tcp-try-write-error.c | 33 static int close_cb_called; variable 38 close_cb_called++; in close_cb() 45 close_cb_called++; in incoming_close_cb() 104 ASSERT_EQ(3, close_cb_called); in TEST_IMPL()
|
H A D | test-poll-close.c | 36 static int close_cb_called = 0; variable 40 close_cb_called++; in close_cb() 69 ASSERT_EQ(close_cb_called, NUM_SOCKETS); in TEST_IMPL()
|
H A D | test-signal-pending-on-close.c | 34 static int close_cb_called; variable 47 close_cb_called++; in close_cb() 91 ASSERT_EQ(2, close_cb_called); in TEST_IMPL() 110 ASSERT_EQ(1, close_cb_called); in TEST_IMPL()
|
H A D | test-pipe-connect-prepare.c | 36 static int close_cb_called = 0; variable 46 close_cb_called++; in close_cb() 78 ASSERT_EQ(2, close_cb_called); in TEST_IMPL()
|
H A D | test-udp-sendmmsg-error.c | 34 static int close_cb_called; variable 40 close_cb_called++; in close_cb() 68 ASSERT_EQ(1, close_cb_called); in TEST_IMPL()
|
H A D | test-socket-buffer-size.c | 31 static int close_cb_called; variable 35 close_cb_called++; in close_cb() 73 ASSERT_EQ(2, close_cb_called); in TEST_IMPL()
|
H A D | test-active.c | 29 static int close_cb_called = 0; variable 34 close_cb_called++; in close_cb() 80 ASSERT_EQ(1, close_cb_called); in TEST_IMPL()
|
H A D | test-tcp-connect-error-after-write.c | 31 static int close_cb_called; variable 35 close_cb_called++; in close_cb() 93 ASSERT_EQ(1, close_cb_called); in TEST_IMPL()
|
H A D | test-poll-closesocket.c | 31 static int close_cb_called = 0; variable 35 close_cb_called++; in close_cb() 87 ASSERT_EQ(1, close_cb_called); in TEST_IMPL()
|