/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl17.c | 67 int parent_pipe[2]; variable 108 if (pipe(parent_pipe) < 0) { in setup() 181 close(parent_pipe[0]); in do_child1() 213 close(parent_pipe[0]); in do_child2() 251 close(parent_pipe[0]); in do_child3() 352 if (write(parent_pipe[1], &arg, sizeof(arg)) != sizeof(arg)) { in parent_free() 362 if (read(parent_pipe[0], &arg, sizeof(arg)) != sizeof(arg)) { in parent_wait() 443 &parent_pipe[0], &parent_pipe[1], in main() 448 &parent_pipe[0], &parent_pipe[1], in main() 453 &parent_pipe[0], &parent_pipe[1], in main() [all …]
|
D | fcntl20.c | 54 int parent_pipe[2]; variable 97 SAFE_PIPE(NULL, parent_pipe); in setup() 129 close(parent_pipe[1]); in do_child() 231 if (write(parent_pipe[1], l, sizeof(*l)) != sizeof(*l)) { in parent_put() 255 if (read(parent_pipe[0], l, sizeof(*l)) != sizeof(*l)) { in child_get() 287 maybe_run_child(&do_child, "ddddd", &parent_pipe[0], &parent_pipe[1], in main() 301 (av[0], "ddddd", parent_pipe[0], parent_pipe[1], in main() 316 (void)close(parent_pipe[0]); in main()
|
D | fcntl19.c | 58 int parent_pipe[2]; variable 95 SAFE_PIPE(cleanup, parent_pipe); in setup() 132 close(parent_pipe[1]); in do_child() 232 if (write(parent_pipe[1], l, sizeof(*l)) != sizeof(*l)) { in parent_put() 256 if (read(parent_pipe[0], l, sizeof(*l)) != sizeof(*l)) { in child_get() 288 maybe_run_child(&do_child, "ddddd", &parent_pipe[0], &parent_pipe[1], in main() 302 (av[0], "ddddd", parent_pipe[0], parent_pipe[1], in main() 317 (void)close(parent_pipe[0]); in main()
|
D | fcntl11.c | 54 int parent_pipe[2]; variable 95 SAFE_PIPE(cleanup, parent_pipe); in setup() 118 close(parent_pipe[1]); in do_child() 206 SAFE_WRITE(cleanup, 1, parent_pipe[1], l, sizeof(*l)); in parent_put() 221 SAFE_READ(NULL, 1, parent_pipe[0], l, sizeof(*l)); in child_get() 249 maybe_run_child(&do_child, "ddddd", &parent_pipe[0], in main() 250 &parent_pipe[1], &child_pipe[0], &child_pipe[1], &fd); in main() 262 if (self_exec(av[0], "ddddd", parent_pipe[0], in main() 263 parent_pipe[1], child_pipe[0], in main() 273 SAFE_CLOSE(cleanup, parent_pipe[0]); in main()
|
D | fcntl21.c | 53 int parent_pipe[2]; variable 93 pipe(parent_pipe); in setup() 136 close(parent_pipe[1]); in do_child() 239 if (write(parent_pipe[1], l, sizeof(*l)) != sizeof(*l)) { in parent_put() 263 if (read(parent_pipe[0], l, sizeof(*l)) != sizeof(*l)) { in child_get() 295 maybe_run_child(&do_child, "ddddd", &parent_pipe[0], &parent_pipe[1], in main() 309 (av[0], "ddddd", parent_pipe[0], parent_pipe[1], in main() 323 (void)close(parent_pipe[0]); in main()
|
/third_party/libuv/src/win/ |
D | process-stdio.c | 234 uv_pipe_t* parent_pipe = (uv_pipe_t*) fdopt.data.stream; in uv__stdio_create() local 244 parent_pipe, in uv__stdio_create()
|
D | pipe.c | 386 uv_pipe_t* parent_pipe, HANDLE* child_pipe_ptr, unsigned int flags) { in uv__create_stdio_pipe_pair() argument 413 if (flags & UV_NONBLOCK_PIPE || parent_pipe->ipc) { in uv__create_stdio_pipe_pair() 424 (ULONG_PTR) parent_pipe, in uv__create_stdio_pipe_pair() 430 uv__pipe_connection_init(parent_pipe); in uv__create_stdio_pipe_pair() 431 parent_pipe->handle = server_pipe; in uv__create_stdio_pipe_pair() 436 parent_pipe->flags |= UV_HANDLE_WRITABLE; in uv__create_stdio_pipe_pair() 438 parent_pipe->flags |= UV_HANDLE_READABLE; in uv__create_stdio_pipe_pair()
|
D | internal.h | 119 uv_pipe_t* parent_pipe, HANDLE* child_pipe_ptr, unsigned int flags);
|