HomeSort by: relevance | last modified time | path
    Searched refs:uv_tcp_t (Results 1 - 25 of 87) sorted by relevancy

1 2 3 4

  /src/external/mit/libuv/dist/docs/code/cgi/
main.c 17 void invoke_cgi_script(uv_tcp_t *client) {
56 uv_tcp_t *client = (uv_tcp_t*) malloc(sizeof(uv_tcp_t));
69 uv_tcp_t server;
  /src/external/mit/libuv/dist/test/
test-connect-unspecified.c 31 uv_tcp_t socket4;
34 uv_tcp_t socket6;
test-delayed-accept.c 49 uv_tcp_t* server;
50 uv_tcp_t* accepted_handle = (uv_tcp_t*)malloc(sizeof *accepted_handle);
59 server = (uv_tcp_t*)timer_handle->data;
102 uv_tcp_t* server = (uv_tcp_t*)malloc(sizeof *server);
154 uv_tcp_t* client = (uv_tcp_t*)malloc(sizeof *client);
test-tcp-bind-error.c 49 uv_tcp_t conn;
82 uv_tcp_t server1, server2;
115 uv_tcp_t server;
140 uv_tcp_t server;
165 uv_tcp_t server;
190 uv_tcp_t server;
216 uv_tcp_t server;
233 uv_tcp_t server;
250 uv_tcp_t server;
264 uv_tcp_t server
    [all...]
test-tcp-close-accept.c 32 static uv_tcp_t tcp_server;
33 static uv_tcp_t tcp_outgoing[2];
34 static uv_tcp_t tcp_incoming[ARRAY_SIZE(tcp_outgoing)];
36 static uv_tcp_t tcp_check;
91 pending_incoming = (uv_tcp_t*) stream - &tcp_incoming[0];
119 uv_tcp_t* incoming;
145 uv_tcp_t* client;
test-tcp-create-socket-early.c 41 uv_tcp_t* handle;
60 static void tcp_listener(uv_loop_t* loop, uv_tcp_t* server) {
77 static void tcp_connector(uv_loop_t* loop, uv_tcp_t* client, uv_connect_t* req) {
97 uv_tcp_t client;
140 uv_tcp_t client;
186 uv_tcp_t client;
203 uv_tcp_t client, server;
test-tcp-alloc-cb-fail.c 29 static uv_tcp_t server;
30 static uv_tcp_t client;
31 static uv_tcp_t incoming;
test-tcp-try-write-error.c 29 static uv_tcp_t server;
30 static uv_tcp_t client;
31 static uv_tcp_t incoming;
test-tcp-write-fail.c 39 static void close_socket(uv_tcp_t* sock) {
83 close_socket((uv_tcp_t*)stream);
93 uv_tcp_t client;
test-tcp-close-reset.c 35 static uv_tcp_t tcp_server;
36 static uv_tcp_t tcp_client;
37 static uv_tcp_t tcp_accepted;
57 static void do_write(uv_tcp_t* handle) {
70 static void do_close(uv_tcp_t* handle) {
106 ASSERT_PTR_EQ((uv_tcp_t*)stream, &tcp_client);
149 ASSERT_PTR_EQ((uv_tcp_t*)stream, &tcp_accepted);
170 static void start_server(uv_loop_t* loop, uv_tcp_t* handle) {
187 static void do_connect(uv_loop_t* loop, uv_tcp_t* tcp_client) {
benchmark-sizes.c 31 fprintf(stderr, "uv_tcp_t: %u bytes\n", (unsigned int) sizeof(uv_tcp_t));
test-tcp-flags.c 31 uv_tcp_t handle;
test-multiple-listen.c 30 static uv_tcp_t server;
31 static uv_tcp_t client;
test-tcp-reuseport.c 35 uv_tcp_t handle;
59 static uv_tcp_t tcp_connect_handles[MAX_TCP_CLIENTS];
74 static uv_tcp_t thread_handle1;
75 static uv_tcp_t thread_handle2;
108 uv_tcp_t *client = malloc(sizeof(uv_tcp_t));
133 static void create_listener(uv_loop_t* loop, uv_tcp_t* handle) {
151 uv_tcp_t* handle;
test-tcp-bind6-error.c 39 uv_tcp_t server1, server2;
76 uv_tcp_t server;
104 uv_tcp_t server;
132 uv_tcp_t server;
161 uv_tcp_t server;
test-tcp-close.c 30 static uv_tcp_t tcp_handle;
79 static void start_server(uv_loop_t* loop, uv_tcp_t* handle) {
103 uv_tcp_t tcp_server;
test-tcp-oob.c 31 static uv_tcp_t server_handle;
32 static uv_tcp_t client_handle;
33 static uv_tcp_t peer_handle;
test-tcp-read-stop-start.c 25 static uv_tcp_t server;
26 static uv_tcp_t connection;
29 static uv_tcp_t client;
  /src/external/mit/libuv/dist/docs/code/tcp-echo-server/
main.c 62 uv_tcp_t *client = (uv_tcp_t*) malloc(sizeof(uv_tcp_t));
75 uv_tcp_t server;
  /src/external/mit/libuv/dist/src/win/
internal.h 75 int uv__tcp_listen(uv_tcp_t* handle, int backlog, uv_connection_cb cb);
76 int uv__tcp_accept(uv_tcp_t* server, uv_tcp_t* client);
77 int uv__tcp_read_start(uv_tcp_t* handle, uv_alloc_cb alloc_cb,
79 int uv__tcp_write(uv_loop_t* loop, uv_write_t* req, uv_tcp_t* handle,
81 int uv__tcp_try_write(uv_tcp_t* handle, const uv_buf_t bufs[],
84 void uv__process_tcp_read_req(uv_loop_t* loop, uv_tcp_t* handle, uv_req_t* req);
85 void uv__process_tcp_write_req(uv_loop_t* loop, uv_tcp_t* handle,
87 void uv__process_tcp_accept_req(uv_loop_t* loop, uv_tcp_t* handle,
89 void uv__process_tcp_connect_req(uv_loop_t* loop, uv_tcp_t* handle
    [all...]
  /src/external/mit/libuv/dist/docs/code/dns/
main.c 54 uv_tcp_t *socket = (uv_tcp_t*) malloc(sizeof(uv_tcp_t));
  /src/external/mit/libuv/dist/docs/code/multi-echo-server/
main.c 37 uv_tcp_t *client = (uv_tcp_t*) malloc(sizeof(uv_tcp_t));
102 uv_tcp_t server;
worker.c 68 uv_tcp_t *client = (uv_tcp_t*) malloc(sizeof(uv_tcp_t));
  /src/external/mit/libuv/dist/src/unix/
tcp.c 64 static int new_socket(uv_tcp_t* handle, int domain, unsigned int flags) {
85 static int maybe_new_socket(uv_tcp_t* handle, int domain, unsigned int flags) {
113 int uv_tcp_init_ex(uv_loop_t* loop, uv_tcp_t* tcp, unsigned int flags) {
146 int uv_tcp_init(uv_loop_t* loop, uv_tcp_t* tcp) {
151 int uv__tcp_bind(uv_tcp_t* tcp,
278 uv_tcp_t* handle,
352 int uv_tcp_open(uv_tcp_t* handle, uv_os_sock_t sock) {
368 int uv_tcp_getsockname(const uv_tcp_t* handle,
382 int uv_tcp_getpeername(const uv_tcp_t* handle,
396 int uv_tcp_close_reset(uv_tcp_t* handle, uv_close_cb close_cb)
    [all...]
  /src/external/mpl/bind/dist/tests/isc/
uv_wrap.h 62 /* uv_tcp_t */
64 __wrap_uv_tcp_open(uv_tcp_t *handle, uv_os_sock_t sock);
66 __wrap_uv_tcp_bind(uv_tcp_t *handle, const struct sockaddr *addr,
69 __wrap_uv_tcp_getsockname(const uv_tcp_t *handle, struct sockaddr *name,
72 __wrap_uv_tcp_getpeername(const uv_tcp_t *handle, struct sockaddr *name,
75 __wrap_uv_tcp_connect(uv_connect_t *req, uv_tcp_t *handle,
183 __wrap_uv_tcp_open(uv_tcp_t *handle, uv_os_sock_t sock) {
192 __wrap_uv_tcp_bind(uv_tcp_t *handle, const struct sockaddr *addr,
202 __wrap_uv_tcp_getsockname(const uv_tcp_t *handle, struct sockaddr *name,
212 __wrap_uv_tcp_getpeername(const uv_tcp_t *handle, struct sockaddr *name
    [all...]

Completed in 26 milliseconds

1 2 3 4