Home
last modified time | relevance | path

Searched refs:write_cb_called (Results 1 – 14 of 14) sorted by relevance

/third_party/libuv/test/
Dtest-tcp-close-reset.c45 static int write_cb_called; variable
121 write_cb_called++; in write_cb()
215 ASSERT(write_cb_called == 0); in TEST_IMPL()
222 ASSERT(write_cb_called == 4); in TEST_IMPL()
242 ASSERT(write_cb_called == 0); in TEST_IMPL()
249 ASSERT(write_cb_called == 4); in TEST_IMPL()
269 ASSERT(write_cb_called == 0); in TEST_IMPL()
276 ASSERT(write_cb_called == 4); in TEST_IMPL()
296 ASSERT(write_cb_called == 0); in TEST_IMPL()
303 ASSERT(write_cb_called == 4); in TEST_IMPL()
[all …]
Dtest-tcp-close.c33 static int write_cb_called; variable
63 write_cb_called++; in write_cb()
123 ASSERT(write_cb_called == 0); in TEST_IMPL()
129 printf("%d of %d write reqs seen\n", write_cb_called, NUM_WRITE_REQS); in TEST_IMPL()
131 ASSERT(write_cb_called == NUM_WRITE_REQS); in TEST_IMPL()
Dtest-tcp-writealot.c42 static int write_cb_called = 0; variable
80 ASSERT(write_cb_called == WRITES); in shutdown_cb()
109 write_cb_called++; in write_cb()
170 ASSERT(write_cb_called == WRITES); in TEST_IMPL()
Dtest-tcp-connect-error-after-write.c30 static int write_cb_called; variable
48 write_cb_called++; in write_cb()
93 ASSERT(write_cb_called == 1); in TEST_IMPL()
Dtest-not-readable-nor-writable-on-read-error.c33 static int write_cb_called; variable
37 write_cb_called++; in write_cb()
99 ASSERT(write_cb_called == 1); in TEST_IMPL()
Dtest-tcp-write-fail.c32 static int write_cb_called = 0; variable
65 write_cb_called++; in write_cb()
110 ASSERT(write_cb_called == 1); in TEST_IMPL()
Dtest-tcp-open.c35 static int write_cb_called = 0; variable
150 write_cb_called++; in write_cb()
171 write_cb_called++; in write1_cb()
277 ASSERT(write_cb_called == 1); in TEST_IMPL()
361 ASSERT(write_cb_called == 1); in TEST_IMPL()
396 ASSERT(write_cb_called > 0); in TEST_IMPL()
Dtest-readable-on-eof.c33 static int write_cb_called; variable
37 write_cb_called++; in write_cb()
106 ASSERT_EQ(write_cb_called, 1); in TEST_IMPL()
Dtest-tcp-shutdown-after-write.c35 static int write_cb_called; variable
93 write_cb_called++; in write_cb()
131 ASSERT(write_cb_called == 1); in TEST_IMPL()
Dbenchmark-tcp-write-batch.c44 static int write_cb_called = 0; variable
76 write_cb_called++; in write_cb()
134 ASSERT(write_cb_called == NUM_WRITE_REQS); in BENCHMARK_IMPL()
Dtest-callback-stack.c42 static int write_cb_called = 0; variable
144 write_cb_called++; in write_cb()
196 ASSERT(write_cb_called == 1 && "write_cb must be called exactly once"); in TEST_IMPL()
Dtest-tcp-write-to-half-open-connection.c41 static int write_cb_called; variable
101 write_cb_called++; in write_cb()
136 ASSERT(write_cb_called > 0); in TEST_IMPL()
Dtest-tcp-close-accept.c41 static unsigned int write_cb_called; variable
51 write_cb_called++; in write_cb()
187 ASSERT(ARRAY_SIZE(tcp_outgoing) == write_cb_called); in TEST_IMPL()
Dtest-ref.c37 static int write_cb_called; variable
80 write_cb_called++; in write_cb()
290 ASSERT(write_cb_called == 1); in TEST_IMPL()
392 ASSERT(write_cb_called == 1); in TEST_IMPL()