Searched refs:pipe_handle (Results 1 – 7 of 7) sorted by relevance
/libuv/test/ |
H A D | test-pipe-pending-instances.c | 34 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 D | test-pipe-set-fchmod.c | 28 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 D | test-close-fd.c | 52 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 D | test-pipe-set-non-blocking.c | 69 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 D | test-pipe-connect-prepare.c | 39 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 D | test-pipe-connect-multiple.c | 35 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 D | test-spawn.c | 1099 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