Home
last modified time | relevance | path

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

/third_party/libuv/test/
Dtest-pipe-set-fchmod.c27 uv_pipe_t pipe_handle; in TEST_IMPL() local
36 r = uv_pipe_init(loop, &pipe_handle, 0); in TEST_IMPL()
39 r = uv_pipe_bind(&pipe_handle, TEST_PIPENAME); in TEST_IMPL()
44 r = uv_pipe_chmod(&pipe_handle, UV_READABLE); in TEST_IMPL()
57 r = uv_pipe_chmod(&pipe_handle, UV_WRITABLE); in TEST_IMPL()
66 r = uv_pipe_chmod(&pipe_handle, UV_WRITABLE | UV_READABLE); in TEST_IMPL()
81 r = uv_pipe_chmod(&pipe_handle, 12345678); in TEST_IMPL()
84 uv_close((uv_handle_t*)&pipe_handle, NULL); in TEST_IMPL()
85 r = uv_pipe_chmod(&pipe_handle, UV_WRITABLE | UV_READABLE); in TEST_IMPL()
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()
Dtest-close-fd.c52 uv_pipe_t pipe_handle; in TEST_IMPL() local
59 ASSERT(0 == uv_pipe_init(uv_default_loop(), &pipe_handle, 0)); in TEST_IMPL()
60 ASSERT(0 == uv_pipe_open(&pipe_handle, fd[0])); in TEST_IMPL()
73 ASSERT(0 == uv_read_start((uv_stream_t *) &pipe_handle, alloc_cb, read_cb)); in TEST_IMPL()
76 ASSERT(0 == uv_is_active((const uv_handle_t *) &pipe_handle)); in TEST_IMPL()
77 ASSERT(0 == uv_read_start((uv_stream_t *) &pipe_handle, alloc_cb, read_cb)); in TEST_IMPL()
80 ASSERT(0 != uv_is_closing((const uv_handle_t *) &pipe_handle)); in TEST_IMPL()
Dtest-pipe-set-non-blocking.c69 uv_pipe_t pipe_handle; in TEST_IMPL() local
80 ASSERT(0 == uv_pipe_init(uv_default_loop(), &pipe_handle, 0)); in TEST_IMPL()
82 ASSERT(0 == uv_pipe_open(&pipe_handle, fd[1])); in TEST_IMPL()
83 ASSERT(0 == 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()
103 ASSERT(0 == uv_write(&write_req, (uv_stream_t*) &pipe_handle, &buf, 1, write_cb)); in TEST_IMPL()
114 uv_close((uv_handle_t*) &pipe_handle, NULL); in TEST_IMPL()
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()
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()
Dtest-spawn.c1096 HANDLE pipe_handle; in TEST_IMPL() local
1114 pipe_handle = CreateNamedPipeA(name, in TEST_IMPL()
1122 ASSERT(pipe_handle != INVALID_HANDLE_VALUE); in TEST_IMPL()
1568 uv_pipe_t pipe_handle; in TEST_IMPL() local
1592 ASSERT(0 == uv_pipe_init(uv_default_loop(), &pipe_handle, 0)); in TEST_IMPL()
1593 ASSERT(0 == uv_pipe_open(&pipe_handle, fd[0])); in TEST_IMPL()
1597 ASSERT(0 == uv_read_start((uv_stream_t*) &pipe_handle, on_alloc, on_read_once)); in TEST_IMPL()
1612 uv_close((uv_handle_t*) &pipe_handle, close_cb); in TEST_IMPL()
/third_party/python/Lib/multiprocessing/
Dspawn.py92 def spawn_main(pipe_handle, parent_pid=None, tracker_fd=None): argument
107 new_handle = reduction.duplicate(pipe_handle,
114 fd = pipe_handle
115 parent_sentinel = os.dup(pipe_handle)
Dpopen_spawn_posix.py56 pipe_handle=child_r)
Dpopen_spawn_win32.py56 pipe_handle=rhandle)