Home
last modified time | relevance | path

Searched refs:shutdown_req (Results 1 – 25 of 25) sorted by relevance

/third_party/libuv/test/
Dtest-shutdown-close.c31 static uv_shutdown_t shutdown_req; variable
40 ASSERT(req == &shutdown_req); in shutdown_cb()
57 r = uv_shutdown(&shutdown_req, req->handle, shutdown_cb); in connect_cb()
Dblackhole-server.c30 uv_shutdown_t shutdown_req; member
83 r = uv_shutdown(&conn->shutdown_req, stream, shutdown_cb); in read_cb()
89 conn_rec* conn = container_of(req, conn_rec, shutdown_req); in shutdown_cb()
Dtest-shutdown-simultaneous.c29 static uv_shutdown_t shutdown_req; variable
45 ASSERT_PTR_EQ(req, &shutdown_req); in shutdown_cb()
68 uv_shutdown(&shutdown_req, (uv_stream_t*) &tcp, shutdown_cb); in read_cb()
Dtest-tcp-open.c39 static uv_shutdown_t shutdown_req; variable
105 ASSERT(req == &shutdown_req); in shutdown_cb()
179 r = uv_shutdown(&shutdown_req, (uv_stream_t*) &client, shutdown_cb); in timer_cb()
200 r = uv_shutdown(&shutdown_req, stream, shutdown_cb); in connect_cb()
354 ASSERT(0 == uv_shutdown(&shutdown_req, (uv_stream_t*) &client, shutdown_cb)); in TEST_IMPL()
Dtest-tcp-writealot.c49 static uv_shutdown_t shutdown_req; variable
68 ASSERT(req == &shutdown_req); in shutdown_cb()
138 r = uv_shutdown(&shutdown_req, stream, shutdown_cb); in connect_cb()
Dtest-shutdown-eof.c31 static uv_shutdown_t shutdown_req; variable
75 ASSERT(req == &shutdown_req); in shutdown_cb()
107 uv_shutdown(&shutdown_req, (uv_stream_t*) &tcp, shutdown_cb); in connect_cb()
Dtest-not-writable-after-shutdown.c25 static uv_shutdown_t shutdown_req; variable
39 r = uv_shutdown(&shutdown_req, req->handle, shutdown_cb); in connect_cb()
Dtest-ref.c30 static uv_shutdown_t shutdown_req; variable
72 ASSERT(req == &shutdown_req); in shutdown_cb()
79 uv_shutdown(&shutdown_req, req->handle, shutdown_cb); in write_cb()
97 uv_shutdown(&shutdown_req, req->handle, shutdown_cb); in connect_and_shutdown()
Dtest-tcp-close-reset.c33 static uv_shutdown_t shutdown_req; variable
66 ASSERT(0 == uv_shutdown(&shutdown_req, (uv_stream_t*) handle, shutdown_cb)); in do_close()
70 ASSERT(UV_ENOTCONN == uv_shutdown(&shutdown_req, (uv_stream_t*) handle, shutdown_cb)); in do_close()
Dtest-tcp-shutdown-after-write.c32 static uv_shutdown_t shutdown_req; variable
71 r = uv_shutdown(&shutdown_req, (uv_stream_t*)&conn, shutdown_cb); in timer_cb()
Dbenchmark-tcp-write-batch.c40 static uv_shutdown_t shutdown_req; variable
66 r = uv_shutdown(&shutdown_req, req->handle, shutdown_cb); in connect_cb()
Dtest-callback-stack.c37 static uv_shutdown_t shutdown_req; variable
99 if (uv_shutdown(&shutdown_req, (uv_stream_t*)tcp, shutdown_cb)) { in read_cb()
Dtest-ipc-heavy-traffic-deadlock-bug.c44 static uv_shutdown_t shutdown_req; variable
107 r = uv_shutdown(&shutdown_req, handle, shutdown_cb); in read_cb()
Dbenchmark-ping-pongs.c37 uv_shutdown_t shutdown_req; member
152 uv_shutdown(&pinger->shutdown_req, in pinger_read_cb()
Dtest-tcp-bind-error.c267 uv_shutdown_t shutdown_req; in TEST_IMPL() local
284 r = uv_shutdown(&shutdown_req, (uv_stream_t*) &server, NULL); in TEST_IMPL()
/third_party/libuv/src/unix/
Dstream.c82 stream->shutdown_req = NULL; in uv__stream_init()
457 if (stream->shutdown_req) { in uv__stream_destroy()
463 uv__req_unregister(stream->loop, stream->shutdown_req); in uv__stream_destroy()
464 stream->shutdown_req->cb(stream->shutdown_req, UV_ECANCELED); in uv__stream_destroy()
465 stream->shutdown_req = NULL; in uv__stream_destroy()
677 assert(stream->shutdown_req); in uv__drain()
679 req = stream->shutdown_req; in uv__drain()
680 stream->shutdown_req = NULL; in uv__drain()
1285 stream->shutdown_req = req; in uv_shutdown()
Dpipe.c35 handle->shutdown_req = NULL; in uv_pipe_init()
/third_party/libuv/src/win/
Dstream-inl.h39 handle->stream.conn.shutdown_req = NULL; in uv__stream_init()
Dtty.c2241 if (handle->stream.conn.shutdown_req != NULL &&
2273 handle->stream.conn.shutdown_req != NULL &&
2275 UNREGISTER_HANDLE_REQ(loop, handle, handle->stream.conn.shutdown_req);
2278 if (handle->stream.conn.shutdown_req->cb) {
2280 handle->stream.conn.shutdown_req->cb(handle->stream.conn.shutdown_req, UV_ECANCELED);
2282 handle->stream.conn.shutdown_req->cb(handle->stream.conn.shutdown_req, 0);
2286 handle->stream.conn.shutdown_req = NULL;
Dtcp.c214 handle->stream.conn.shutdown_req != NULL && in uv__tcp_endgame()
217 UNREGISTER_HANDLE_REQ(loop, handle, handle->stream.conn.shutdown_req); in uv__tcp_endgame()
226 if (handle->stream.conn.shutdown_req->cb) { in uv__tcp_endgame()
227 handle->stream.conn.shutdown_req->cb(handle->stream.conn.shutdown_req, in uv__tcp_endgame()
231 handle->stream.conn.shutdown_req = NULL; in uv__tcp_endgame()
1163 if (handle->stream.conn.shutdown_req != NULL) { in uv__process_tcp_write_req()
Dstream.c216 handle->stream.conn.shutdown_req = req; in uv_shutdown()
Dpipe.c591 handle->stream.conn.shutdown_req != NULL && in uv__pipe_endgame()
593 req = handle->stream.conn.shutdown_req; in uv__pipe_endgame()
596 handle->stream.conn.shutdown_req = NULL; in uv__pipe_endgame()
2097 if (handle->stream.conn.shutdown_req != NULL && in uv__process_pipe_write_req()
/third_party/libuv/include/uv/
Dunix.h288 uv_shutdown_t *shutdown_req; \
Dwin.h422 uv_shutdown_t* shutdown_req;
/third_party/libuv/
DChangeLog2091 * win, pipe: null-initialize stream->shutdown_req (Jameson Nash)