Searched refs:read_cb_called (Results 1 – 8 of 8) sorted by relevance
/libuv/test/ |
H A D | test-tcp-close-after-read-timeout.c | 30 static int read_cb_called; variable 70 read_cb_called++; in on_client_read() 76 ASSERT_OK(read_cb_called); in on_client_timeout() 96 read_cb_called++; in on_connection_read() 172 ASSERT_OK(read_cb_called); in TEST_IMPL() 178 ASSERT_EQ(1, read_cb_called); in TEST_IMPL()
|
H A D | test-close-fd.c | 28 static unsigned int read_cb_called; variable 37 switch (++read_cb_called) { in read_cb() 75 ASSERT_EQ(1, read_cb_called); in TEST_IMPL() 79 ASSERT_EQ(2, read_cb_called); in TEST_IMPL()
|
H A D | test-tcp-read-stop-start.c | 27 static int read_cb_called = 0; variable 76 read_cb_called++; in on_read1() 85 read_cb_called++; in on_read2() 132 ASSERT_GE(read_cb_called, 2); in TEST_IMPL()
|
H A D | test-not-readable-nor-writable-on-read-error.c | 32 static int read_cb_called; variable 54 read_cb_called++; in read_cb() 98 ASSERT_EQ(1, read_cb_called); in TEST_IMPL()
|
H A D | test-readable-on-eof.c | 32 static int read_cb_called; variable 60 if (++read_cb_called == 3) { in read_cb() 104 ASSERT_EQ(3, read_cb_called); in TEST_IMPL()
|
H A D | test-tcp-write-to-half-open-connection.c | 42 static int read_cb_called; variable 86 read_cb_called++; in read_cb() 137 ASSERT_GT(read_cb_called, 0); in TEST_IMPL()
|
H A D | test-tcp-close-accept.c | 42 static unsigned int read_cb_called; variable 97 read_cb_called++; in read_cb() 188 ASSERT_EQ(1, read_cb_called); in TEST_IMPL()
|
H A D | test-ipc.c | 34 static int read_cb_called; variable 177 read_cb_called++; in on_read() 245 read_cb_called++; in on_read_listen_after_bound_twice() 247 if (read_cb_called == 1) { in on_read_listen_after_bound_twice() 258 } else if (read_cb_called == 2) { in on_read_listen_after_bound_twice() 383 read_cb_called++; in on_read_connection() 439 ASSERT_EQ(1, read_cb_called); in TEST_IMPL() 452 ASSERT_EQ(1, read_cb_called); in TEST_IMPL() 463 ASSERT_EQ(1, read_cb_called); in TEST_IMPL() 526 ASSERT_EQ(2, read_cb_called); in TEST_IMPL()
|
Completed in 11 milliseconds