/third_party/libuv/test/ |
D | test-pipe-set-fchmod.c | 27 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()
|
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()
|
D | test-close-fd.c | 52 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()
|
D | test-pipe-set-non-blocking.c | 69 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()
|
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()
|
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()
|
D | test-spawn.c | 1096 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/ |
D | spawn.py | 92 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)
|
D | popen_spawn_posix.py | 56 pipe_handle=child_r)
|
D | popen_spawn_win32.py | 56 pipe_handle=rhandle)
|