Home
last modified time | relevance | path

Searched refs:pipe_handle (Results 1 – 7 of 7) sorted by relevance

/libuv/test/
H A Dtest-pipe-pending-instances.c34 uv_pipe_t pipe_handle; in TEST_IMPL() local
39 r = uv_pipe_init(loop, &pipe_handle, 0); in TEST_IMPL()
42 uv_pipe_pending_instances(&pipe_handle, 8); in TEST_IMPL()
44 r = uv_pipe_bind(&pipe_handle, TEST_PIPENAME); in TEST_IMPL()
47 uv_pipe_pending_instances(&pipe_handle, 16); in TEST_IMPL()
49 r = uv_listen((uv_stream_t*)&pipe_handle, 128, connection_cb); in TEST_IMPL()
52 uv_close((uv_handle_t*)&pipe_handle, NULL); in TEST_IMPL()
H A Dtest-pipe-set-fchmod.c28 uv_pipe_t pipe_handle; in TEST_IMPL() local
37 r = uv_pipe_init(loop, &pipe_handle, 0); in TEST_IMPL()
40 r = uv_pipe_bind(&pipe_handle, TEST_PIPENAME); in TEST_IMPL()
45 r = uv_pipe_chmod(&pipe_handle, UV_READABLE); in TEST_IMPL()
59 r = uv_pipe_chmod(&pipe_handle, UV_WRITABLE); in TEST_IMPL()
68 r = uv_pipe_chmod(&pipe_handle, UV_WRITABLE | UV_READABLE); in TEST_IMPL()
83 r = uv_pipe_chmod(&pipe_handle, 12345678); in TEST_IMPL()
86 uv_close((uv_handle_t*)&pipe_handle, NULL); in TEST_IMPL()
87 r = uv_pipe_chmod(&pipe_handle, UV_WRITABLE | UV_READABLE); in TEST_IMPL()
H A Dtest-close-fd.c52 uv_pipe_t pipe_handle; in TEST_IMPL() local
59 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pipe_handle, 0)); in TEST_IMPL()
60 ASSERT_OK(uv_pipe_open(&pipe_handle, fd[0])); in TEST_IMPL()
73 ASSERT_OK(uv_read_start((uv_stream_t *) &pipe_handle, alloc_cb, read_cb)); in TEST_IMPL()
76 ASSERT_OK(uv_is_active((const uv_handle_t *) &pipe_handle)); in TEST_IMPL()
77 ASSERT_OK(uv_read_start((uv_stream_t *) &pipe_handle, alloc_cb, read_cb)); in TEST_IMPL()
80 ASSERT_NE(0, uv_is_closing((const uv_handle_t *) &pipe_handle)); in TEST_IMPL()
H A Dtest-pipe-set-non-blocking.c69 uv_pipe_t pipe_handle; in TEST_IMPL() local
80 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pipe_handle, 0)); in TEST_IMPL()
82 ASSERT_OK(uv_pipe_open(&pipe_handle, fd[1])); in TEST_IMPL()
83 ASSERT_OK(uv_stream_set_blocking((uv_stream_t*) &pipe_handle, 1)); in TEST_IMPL()
100 n = uv_try_write((uv_stream_t*) &pipe_handle, &buf, 1); in TEST_IMPL()
104 (uv_stream_t*) &pipe_handle, in TEST_IMPL()
117 uv_close((uv_handle_t*) &pipe_handle, NULL); in TEST_IMPL()
H A Dtest-pipe-connect-prepare.c39 static uv_pipe_t pipe_handle; variable
54 uv_close((uv_handle_t*)&pipe_handle, close_cb); in connect_cb()
60 uv_pipe_connect(&conn_req, &pipe_handle, BAD_PIPENAME, connect_cb); in prepare_cb()
67 r = uv_pipe_init(uv_default_loop(), &pipe_handle, 0); in TEST_IMPL()
H A Dtest-pipe-connect-multiple.c35 uv_pipe_t pipe_handle; member
92 r = uv_pipe_init(loop, &clients[i].pipe_handle, 0); in TEST_IMPL()
95 &clients[i].pipe_handle, in TEST_IMPL()
158 r = uv_pipe_init(loop, &clients[i].pipe_handle, 0); in TEST_IMPL()
161 &clients[i].pipe_handle, in TEST_IMPL()
167 uv_close((uv_handle_t*)&clients[i].pipe_handle, NULL); in TEST_IMPL()
H A Dtest-spawn.c1099 HANDLE pipe_handle; in TEST_IMPL() local
1117 pipe_handle = CreateNamedPipeA(name, in TEST_IMPL()
1125 ASSERT_PTR_NE(pipe_handle, INVALID_HANDLE_VALUE); in TEST_IMPL()
1739 uv_pipe_t pipe_handle; in TEST_IMPL() local
1763 ASSERT_OK(uv_pipe_init(uv_default_loop(), &pipe_handle, 0)); in TEST_IMPL()
1764 ASSERT_OK(uv_pipe_open(&pipe_handle, fd[0])); in TEST_IMPL()
1768 ASSERT_OK(uv_read_start((uv_stream_t*) &pipe_handle, in TEST_IMPL()
1782 uv_close((uv_handle_t*) &pipe_handle, close_cb); in TEST_IMPL()

Completed in 27 milliseconds