/external/python/cpython2/Lib/test/ |
test_pty.py | 8 import pty 66 # Marginal testing of pty suite. Cannot do extensive 'do or fail' testing 67 # because pty code is not too portable. 84 master_fd, slave_name = pty.master_open() 88 slave_fd = pty.slave_open(slave_name) 129 debug("calling pty.fork()") 130 pid, master_fd = pty.fork() 131 if pid == pty.CHILD: 137 # After pty.fork(), the child should already be a session leader. 147 # Have pty, but not setsid() [all...] |
test_ioctl.py | 24 import pty 26 pty = None variable 69 if not pty: 70 raise unittest.SkipTest('pty module required') 71 mfd, sfd = pty.openpty()
|
/external/python/cpython3/Lib/test/ |
test_pty.py | 7 import pty 64 # Marginal testing of pty suite. Cannot do extensive 'do or fail' testing 65 # because pty code is not too portable. 82 master_fd, slave_name = pty.master_open() 86 slave_fd = pty.slave_open(slave_name) 129 debug("calling pty.fork()") 130 pid, master_fd = pty.fork() 131 if pid == pty.CHILD: 137 # After pty.fork(), the child should already be a session leader. 147 # Have pty, but not setsid() [all...] |
test_ioctl.py | 24 import pty 26 pty = None variable 69 if not pty: 70 raise unittest.SkipTest('pty module required') 71 mfd, sfd = pty.openpty()
|
test_readline.py | 283 pty = import_module('pty') 285 [master, slave] = pty.openpty()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/ |
script.py | 11 import pty
40 pty.spawn(shell, read)
|
/external/python/cpython2/Demo/scripts/ |
script.py | 11 import pty 40 pty.spawn(shell, read)
|
/external/compiler-rt/test/msan/Linux/ |
forkpty.cc | 3 #include <pty.h>
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_ioctl.py | 24 import pty
26 pty = None
variable 69 if not pty:
70 raise unittest.SkipTest('pty module required')
71 mfd, sfd = pty.openpty()
|
test_pty.py | 8 import pty
47 # Marginal testing of pty suite. Cannot do extensive 'do or fail' testing
48 # because pty code is not too portable.
68 master_fd, slave_name = pty.master_open()
72 slave_fd = pty.slave_open(slave_name)
113 debug("calling pty.fork()")
114 pid, master_fd = pty.fork()
115 if pid == pty.CHILD:
121 # After pty.fork(), the child should already be a session leader.
131 # Have pty, but not setsid()? [all...] |
/external/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
getpass.cc | 8 #include <pty.h>
|
/bionic/tests/ |
pty_test.cpp | 17 #include <pty.h> 30 TEST(pty, openpty) { 54 TEST(pty, forkpty) { 106 TEST(pty, bug_28979140) { 108 // pass data through a raw pty, but missing necessary memory barriers. 116 // 1. Open raw pty.
|
/external/ltp/testcases/kernel/ |
Makefile | 52 pty \
|
/external/autotest/client/cros/bluetooth/ |
output_recorder.py | 11 import pty 36 terminal is created through pty.openpty(). This forces the 75 self._master, self._slave = pty.openpty()
|
/external/u-boot/test/py/ |
u_boot_spawn.py | 8 import pty 50 (self.pid, self.fd) = pty.fork()
|
/external/ltp/testcases/cve/ |
cve-2014-0196.c | 37 #include <pty.h> 64 tst_brk(TBROK | TERRNO, "pty creation failed");
|
/external/u-boot/scripts/kconfig/ |
confdata.c | 1124 int i, cnt, pby, pty, ptm; /* pby: probability of bool = y local 1125 * pty: probability of tristate = y 1129 pby = 50; pty = ptm = 33; /* can't go as the default in switch-case 1153 pby = p[0]; ptm = pby/2; pty = pby-ptm; 1156 pty = p[0]; ptm = p[1]; pby = pty + ptm; 1159 pby = p[0]; pty = p[1]; ptm = p[2]; 1163 if( pty+ptm > 100 ) { 1195 if (cnt < pty) 1197 else if (cnt < (pty+ptm) [all...] |
/external/u-boot/tools/patman/ |
cros_subprocess.py | 19 import pty 29 PIPE_PTY = -3 # Pipe output through a pty 77 stdout_pty = pty.openpty() 80 stderr_pty = pty.openpty() 87 # If we're on a PTY, we passed the slave half of the PTY to the subprocess. 190 # We will get an error on read if the pty is closed 205 # We will get an error on read if the pty is closed
|
/bionic/libc/bionic/ |
pty.cpp | 31 #include <pty.h>
|
/external/openssh/openbsd-compat/ |
bsd-openpty.c | 58 # include <pty.h> 79 * pty's automagically when needed 139 /* AIX-style pty code. */ 164 snprintf(ptbuf, sizeof(ptbuf), "/dev/pty/%03d", i); 178 /* BSD-style pty code. */ 189 snprintf(ptbuf, sizeof(ptbuf), "/dev/pty%c%c",
|
/external/toybox/lib/ |
portability.h | 180 #include <pty.h>
|
/external/autotest/client/site_tests/cellular_GobiRecoverFromDesync/ |
cellular_GobiRecoverFromDesync.py | 10 import pty 181 # have udevadm output to a pty so it will line buffer 182 (master, slave) = pty.openpty()
|
/external/v8/tools/dev/ |
gm.py | 24 import pty 162 master, slave = pty.openpty() 245 # the "pty" module and GDB presence, so skip it on non-Linux.
|
/external/ltp/testcases/kernel/security/tomoyo/ |
include.h | 31 #include <pty.h>
|
/external/openssh/ |
sshpty.c | 42 # include <pty.h> 57 * Allocates and opens a pty. Returns 0 if no pty could be allocated, or 58 * nonzero if a pty was successfully allocated. On success, open file 59 * descriptors for the pty and tty sides and the name of the tty side are 183 /* Changes the window size associated with the pty. */
|