Searched refs:c2pwrite (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Lib/ |
D | subprocess.py | 385 c2pread, c2pwrite, 393 c2pread, c2pwrite, 505 c2pread, c2pwrite = None, None 526 c2pwrite = _subprocess.GetStdHandle(_subprocess.STD_OUTPUT_HANDLE) 527 if c2pwrite is None: 528 _, c2pwrite = _subprocess.CreatePipe(None, 0) 530 c2pread, c2pwrite = _subprocess.CreatePipe(None, 0) 532 c2pwrite = msvcrt.get_osfhandle(stdout) 535 c2pwrite = msvcrt.get_osfhandle(stdout.fileno()) 536 c2pwrite = self._make_inheritable(c2pwrite) [all …]
|
D | popen2.py | 53 c2pread, c2pwrite = os.pipe() 60 os.dup2(c2pwrite, 1) 66 os.close(c2pwrite) 123 c2pread, c2pwrite = os.pipe() 128 os.dup2(c2pwrite, 1) 129 os.dup2(c2pwrite, 2) 133 os.close(c2pwrite)
|
/external/python/cpython3/Lib/ |
D | subprocess.py | 824 c2pread, c2pwrite, 951 c2pread, c2pwrite, 969 to_close.append(c2pwrite) 1205 c2pread, c2pwrite, argument 1214 if c2pwrite != -1: 1215 stack.callback(c2pwrite.Close) 1221 if c2pwrite != -1 and c2pread != -1 and c2pwrite != devnull_fd: 1222 stack.callback(os.close, c2pwrite) 1244 c2pread, c2pwrite = -1, -1 1266 c2pwrite = _winapi.GetStdHandle(_winapi.STD_OUTPUT_HANDLE) [all …]
|
/external/python/cpython3/Modules/ |
D | _posixsubprocess.c | 437 int c2pread, int c2pwrite, in child_exec() argument 469 if (c2pwrite == 0) { in child_exec() 470 POSIX_CALL(c2pwrite = dup(c2pwrite)); in child_exec() 472 if (_Py_set_inheritable_async_safe(c2pwrite, 0, NULL) < 0) { in child_exec() 494 if (c2pwrite == 1) { in child_exec() 495 if (_Py_set_inheritable_async_safe(c2pwrite, 1, NULL) < 0) in child_exec() 498 else if (c2pwrite != -1) in child_exec() 499 POSIX_CALL(dup2(c2pwrite, 1)); /* stdout */ in child_exec() 622 int p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite; in subprocess_fork_exec() local 643 &p2cread, &p2cwrite, &c2pread, &c2pwrite, in subprocess_fork_exec() [all …]
|
/external/python/cpython2/Demo/tkinter/guido/ |
D | ShellWindow.py | 109 c2pread, c2pwrite = os.pipe() 120 if os.dup(c2pwrite) <> 1: 122 if os.dup(c2pwrite) <> 2: 131 os.close(c2pwrite)
|
/external/python/cpython2/Lib/test/ |
D | test_subprocess.py | 892 c2pread, c2pwrite, argument 900 c2pread, c2pwrite,
|