/libuv/test/ |
H A D | test-tcp-close-reset.c | 45 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 D | test-tcp-close.c | 33 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 D | test-tcp-connect-error-after-write.c | 30 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 D | test-tcp-write-in-a-row.c | 35 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 D | test-tcp-writealot.c | 42 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 D | test-not-readable-nor-writable-on-read-error.c | 33 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 D | test-tcp-write-fail.c | 32 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 D | test-readable-on-eof.c | 33 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 D | test-tcp-shutdown-after-write.c | 35 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 D | test-tcp-open.c | 35 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 D | benchmark-tcp-write-batch.c | 44 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 D | test-tcp-write-to-half-open-connection.c | 41 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 D | test-callback-stack.c | 42 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 D | test-tcp-close-accept.c | 41 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 D | test-ref.c | 37 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()
|