Home
last modified time | relevance | path

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

/libuv/test/
H A Dtest-tcp-close-reset.c45 static int write_cb_called; variable
125 write_cb_called++; in write_cb()
219 ASSERT_OK(write_cb_called); in TEST_IMPL()
226 ASSERT_EQ(4, write_cb_called); in TEST_IMPL()
246 ASSERT_OK(write_cb_called); in TEST_IMPL()
253 ASSERT_EQ(4, write_cb_called); in TEST_IMPL()
273 ASSERT_OK(write_cb_called); in TEST_IMPL()
280 ASSERT_EQ(4, write_cb_called); in TEST_IMPL()
300 ASSERT_OK(write_cb_called); in TEST_IMPL()
307 ASSERT_EQ(4, write_cb_called); in TEST_IMPL()
[all …]
H A Dtest-tcp-close.c33 static int write_cb_called; variable
63 write_cb_called++; in write_cb()
123 ASSERT_OK(write_cb_called); in TEST_IMPL()
129 printf("%d of %d write reqs seen\n", write_cb_called, NUM_WRITE_REQS); in TEST_IMPL()
131 ASSERT_EQ(write_cb_called, NUM_WRITE_REQS); in TEST_IMPL()
H A Dtest-tcp-connect-error-after-write.c30 static int write_cb_called; variable
48 write_cb_called++; in write_cb()
92 ASSERT_EQ(1, write_cb_called); in TEST_IMPL()
H A Dtest-tcp-write-in-a-row.c35 static int write_cb_called; variable
50 write_cb_called++; in write_cb()
52 if (write_cb_called == 2) { in write_cb()
138 ASSERT_EQ(2, write_cb_called); in TEST_IMPL()
H A Dtest-tcp-writealot.c42 static int write_cb_called = 0; variable
80 ASSERT_EQ(write_cb_called, WRITES); in shutdown_cb()
109 write_cb_called++; in write_cb()
175 ASSERT_EQ(write_cb_called, WRITES); in TEST_IMPL()
H A Dtest-not-readable-nor-writable-on-read-error.c33 static int write_cb_called; variable
37 write_cb_called++; in write_cb()
99 ASSERT_EQ(1, write_cb_called); in TEST_IMPL()
H A Dtest-tcp-write-fail.c32 static int write_cb_called = 0; variable
65 write_cb_called++; in write_cb()
110 ASSERT_EQ(1, write_cb_called); in TEST_IMPL()
H A Dtest-readable-on-eof.c33 static int write_cb_called; variable
37 write_cb_called++; in write_cb()
105 ASSERT_EQ(1, write_cb_called); in TEST_IMPL()
H A Dtest-tcp-shutdown-after-write.c35 static int write_cb_called; variable
93 write_cb_called++; in write_cb()
131 ASSERT_EQ(1, write_cb_called); in TEST_IMPL()
H A 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_EQ(1, write_cb_called); in TEST_IMPL()
367 ASSERT_EQ(1, write_cb_called); in TEST_IMPL()
402 ASSERT_GT(write_cb_called, 0); in TEST_IMPL()
H A Dbenchmark-tcp-write-batch.c44 static int write_cb_called = 0; variable
76 write_cb_called++; in write_cb()
134 ASSERT_EQ(write_cb_called, NUM_WRITE_REQS); in BENCHMARK_IMPL()
H A Dtest-tcp-write-to-half-open-connection.c41 static int write_cb_called; variable
101 write_cb_called++; in write_cb()
136 ASSERT_GT(write_cb_called, 0); in TEST_IMPL()
H A Dtest-callback-stack.c42 static int write_cb_called = 0; variable
144 write_cb_called++; in write_cb()
197 ASSERT_NE(write_cb_called == 1 && "write_cb must be called exactly once", in TEST_IMPL()
H A Dtest-tcp-close-accept.c41 static unsigned int write_cb_called; variable
51 write_cb_called++; in write_cb()
187 ASSERT_EQ(ARRAY_SIZE(tcp_outgoing), write_cb_called); in TEST_IMPL()
H A Dtest-ref.c37 static int write_cb_called; variable
80 write_cb_called++; in write_cb()
290 ASSERT_EQ(1, write_cb_called); in TEST_IMPL()
392 ASSERT_EQ(1, write_cb_called); in TEST_IMPL()

Completed in 25 milliseconds