Searched refs:tcp_client (Results 1 – 10 of 10) sorted by relevance
/third_party/libuv/test/ |
D | test-tcp-close-reset.c | 36 static uv_tcp_t tcp_client; variable 102 ASSERT((uv_tcp_t*)stream == &tcp_client); in read_cb2() 110 uv_read_start((uv_stream_t*) &tcp_client, alloc_cb, read_cb2); in connect_cb() 111 do_write(&tcp_client); in connect_cb() 113 do_close(&tcp_client); in connect_cb() 120 ASSERT(req->handle == (uv_stream_t*)&tcp_client); in write_cb() 127 ASSERT(handle == (uv_handle_t*) &tcp_client); in close_cb() 136 ASSERT(req->handle == (uv_stream_t*) &tcp_client); in shutdown_cb() 183 static void do_connect(uv_loop_t* loop, uv_tcp_t* tcp_client) { in do_connect() argument 189 r = uv_tcp_init(loop, tcp_client); in do_connect() [all …]
|
D | test-readable-on-eof.c | 26 static uv_tcp_t tcp_client; variable 65 r = uv_read_start((uv_stream_t*) &tcp_client, alloc_cb, read_cb); in read_cb() 77 read_cb((uv_stream_t*) &tcp_client, UV_EOF, NULL); in connect_cb() 82 (uv_stream_t*) &tcp_client, in connect_cb() 94 ASSERT_EQ(uv_tcp_init(&loop, &tcp_client), 0); in TEST_IMPL() 97 &tcp_client, in TEST_IMPL()
|
D | benchmark-tcp-write-batch.c | 38 static uv_tcp_t tcp_client; variable 58 ASSERT(req->handle == (uv_stream_t*)&tcp_client); in connect_cb() 81 ASSERT(req->handle == (uv_stream_t*)&tcp_client); in shutdown_cb() 92 ASSERT(handle == (uv_handle_t*)&tcp_client); in close_cb() 117 r = uv_tcp_init(loop, &tcp_client); in BENCHMARK_IMPL() 121 &tcp_client, in BENCHMARK_IMPL()
|
D | test-not-readable-nor-writable-on-read-error.c | 26 static uv_tcp_t tcp_client; variable 70 r = uv_read_start((uv_stream_t*) &tcp_client, alloc_cb, read_cb); in connect_cb() 76 (uv_stream_t*) &tcp_client, in connect_cb() 88 ASSERT(0 == uv_tcp_init(&loop, &tcp_client)); in TEST_IMPL() 91 &tcp_client, in TEST_IMPL()
|
D | test-tcp-write-after-connect.c | 28 uv_tcp_t tcp_client; variable 54 ASSERT(0 == uv_tcp_init(&loop, &tcp_client)); in TEST_IMPL() 57 &tcp_client, in TEST_IMPL() 63 (uv_stream_t *)&tcp_client, in TEST_IMPL()
|
D | test-tcp-write-to-half-open-connection.c | 36 static uv_tcp_t tcp_client; variable 95 uv_close((uv_handle_t*)&tcp_client, NULL); in connect_cb() 124 r = uv_tcp_init(loop, &tcp_client); in TEST_IMPL() 128 &tcp_client, in TEST_IMPL()
|
/third_party/python/Lib/test/test_asyncio/ |
D | functional.py | 69 def tcp_client(self, client_prog, member in FunctionalTestCaseMixin 92 return self.tcp_client(*args, family=socket.AF_UNIX, **kwargs)
|
D | test_server.py | 57 with self.tcp_client(lambda sock: client(sock, addr)):
|
D | test_sslproto.py | 577 with self.tcp_client(lambda sock: client(sock, addr),
|
/third_party/grpc/ |
D | BUILD.gn | 1141 "${GRPC_DIR}/src/core/lib/iomgr/tcp_client.cc", 1142 "${GRPC_DIR}/src/core/lib/iomgr/tcp_client.h",
|