Home
last modified time | relevance | path

Searched refs:read_cb_called (Results 1 – 8 of 8) sorted by relevance

/third_party/libuv/test/
Dtest-close-fd.c28 static unsigned int read_cb_called; variable
37 switch (++read_cb_called) { in read_cb()
47 ASSERT(!(read_cb_called > 2)); in read_cb()
75 ASSERT(1 == read_cb_called); in TEST_IMPL()
79 ASSERT(2 == read_cb_called); in TEST_IMPL()
Dtest-tcp-close-after-read-timeout.c30 static int read_cb_called; variable
70 read_cb_called++; in on_client_read()
76 ASSERT_EQ(read_cb_called, 0); in on_client_timeout()
96 read_cb_called++; in on_connection_read()
172 ASSERT_EQ(read_cb_called, 0); in TEST_IMPL()
178 ASSERT_EQ(read_cb_called, 1); in TEST_IMPL()
Dtest-tcp-read-stop-start.c27 static int read_cb_called = 0; variable
76 read_cb_called++; in on_read1()
85 read_cb_called++; in on_read2()
132 ASSERT(read_cb_called >= 2); in TEST_IMPL()
Dtest-not-readable-nor-writable-on-read-error.c32 static int read_cb_called; variable
54 read_cb_called++; in read_cb()
98 ASSERT(read_cb_called == 1); in TEST_IMPL()
Dtest-readable-on-eof.c32 static int read_cb_called; variable
60 if (++read_cb_called == 3) { in read_cb()
105 ASSERT_EQ(read_cb_called, 3); in TEST_IMPL()
Dtest-ipc.c34 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(read_cb_called, 1); in TEST_IMPL()
452 ASSERT_EQ(read_cb_called, 1); in TEST_IMPL()
463 ASSERT_EQ(read_cb_called, 1); in TEST_IMPL()
526 ASSERT_EQ(read_cb_called, 2); in TEST_IMPL()
Dtest-tcp-write-to-half-open-connection.c42 static int read_cb_called; variable
86 read_cb_called++; in read_cb()
137 ASSERT(read_cb_called > 0); in TEST_IMPL()
Dtest-tcp-close-accept.c42 static unsigned int read_cb_called; variable
97 read_cb_called++; in read_cb()
188 ASSERT(1 == read_cb_called); in TEST_IMPL()