Searched refs:child_pipe (Results 1 – 6 of 6) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl20.c | 55 int child_pipe[2]; variable 98 SAFE_PIPE(NULL, child_pipe); in setup() 130 close(child_pipe[0]); in do_child() 239 if (read(child_pipe[0], l, sizeof(*l)) != sizeof(*l)) { in parent_get() 247 if (write(child_pipe[1], l, sizeof(*l)) != sizeof(*l)) { in child_put() 288 &child_pipe[0], &child_pipe[1], &fd); in main() 302 child_pipe[0], child_pipe[1], fd) < 0) { in main() 317 (void)close(child_pipe[1]); in main()
|
D | fcntl19.c | 59 int child_pipe[2]; variable 96 SAFE_PIPE(cleanup, child_pipe); in setup() 133 close(child_pipe[0]); in do_child() 240 if (read(child_pipe[0], l, sizeof(*l)) != sizeof(*l)) { in parent_get() 248 if (write(child_pipe[1], l, sizeof(*l)) != sizeof(*l)) { in child_put() 289 &child_pipe[0], &child_pipe[1], &fd); in main() 303 child_pipe[0], child_pipe[1], fd) < 0) { in main() 318 (void)close(child_pipe[1]); in main()
|
D | fcntl11.c | 55 int child_pipe[2]; variable 96 SAFE_PIPE(cleanup, child_pipe); in setup() 119 close(child_pipe[0]); in do_child() 211 SAFE_READ(cleanup, 1, child_pipe[0], l, sizeof(*l)); in parent_get() 216 SAFE_WRITE(NULL, 1, child_pipe[1], l, sizeof(*l)); in child_put() 250 &parent_pipe[1], &child_pipe[0], &child_pipe[1], &fd); in main() 263 parent_pipe[1], child_pipe[0], in main() 264 child_pipe[1], fd) < 0) in main() 274 SAFE_CLOSE(cleanup, child_pipe[1]); in main()
|
D | fcntl21.c | 54 int child_pipe[2]; variable 94 pipe(child_pipe); in setup() 137 close(child_pipe[0]); in do_child() 247 if (read(child_pipe[0], l, sizeof(*l)) != sizeof(*l)) { in parent_get() 255 if (write(child_pipe[1], l, sizeof(*l)) != sizeof(*l)) { in child_put() 296 &child_pipe[0], &child_pipe[1], &fd); in main() 310 child_pipe[0], child_pipe[1], fd) < 0) { in main() 324 (void)close(child_pipe[1]); in main()
|
/third_party/ninja/src/ |
D | subprocess-win32.cc | 76 HANDLE child_pipe = SetupPipe(set->ioport_); in Start() local 96 startup_info.hStdOutput = child_pipe; in Start() 97 startup_info.hStdError = child_pipe; in Start() 118 if (child_pipe) in Start() 119 CloseHandle(child_pipe); in Start() 145 if (child_pipe) in Start() 146 CloseHandle(child_pipe); in Start()
|
/third_party/libuv/src/win/ |
D | process-stdio.c | 235 HANDLE child_pipe = INVALID_HANDLE_VALUE; in uv__stdio_create() local 245 &child_pipe, in uv__stdio_create() 250 CHILD_STDIO_HANDLE(buffer, i) = child_pipe; in uv__stdio_create()
|