/external/rust/crates/nix/test/sys/ |
D | test_termios.rs | 6 use nix::pty::openpty; 24 let pty = openpty(None, None).expect("openpty failed"); in test_tcgetattr_pty() localVariable 25 assert!(termios::tcgetattr(pty.slave).is_ok()); in test_tcgetattr_pty() 26 close(pty.master).expect("closing the master failed"); in test_tcgetattr_pty() 27 close(pty.slave).expect("closing the slave failed"); in test_tcgetattr_pty() 53 let pty = openpty(None, None).expect("openpty failed"); in test_output_flags() localVariable 54 assert!(pty.master > 0); in test_output_flags() 55 assert!(pty.slave > 0); in test_output_flags() 56 let termios = tcgetattr(pty.slave).expect("tcgetattr failed"); in test_output_flags() 57 close(pty.master).unwrap(); in test_output_flags() [all …]
|
/external/rust/crates/nix/test/ |
D | test_pty.rs | 9 use nix::pty::*; 168 let pty = openpty(None, None).unwrap(); in test_openpty() localVariable 169 assert!(pty.master > 0); in test_openpty() 170 assert!(pty.slave > 0); in test_openpty() 175 write(pty.master, string.as_bytes()).unwrap(); in test_openpty() 176 crate::read_exact(pty.slave, &mut buf); in test_openpty() 183 crate::read_exact(pty.master, &mut buf); in test_openpty() 189 write(pty.slave, string2.as_bytes()).unwrap(); in test_openpty() 190 crate::read_exact(pty.master, &mut buf); in test_openpty() 194 close(pty.master).unwrap(); in test_openpty() [all …]
|
D | test_ptymaster_drop.rs | 4 use nix::pty::*;
|
/external/python/cpython2/Lib/test/ |
D | test_pty.py | 8 import pty 84 master_fd, slave_name = pty.master_open() 88 slave_fd = pty.slave_open(slave_name) 130 pid, master_fd = pty.fork() 131 if pid == pty.CHILD: 217 self.orig_stdin_fileno = pty.STDIN_FILENO 218 self.orig_stdout_fileno = pty.STDOUT_FILENO 219 self.orig_pty_select = pty.select 225 pty.STDIN_FILENO = self.orig_stdin_fileno 226 pty.STDOUT_FILENO = self.orig_stdout_fileno [all …]
|
D | test_ioctl.py | 24 import pty 26 pty = None variable 69 if not pty: 71 mfd, sfd = pty.openpty()
|
/external/python/cpython3/Lib/test/ |
D | test_pty.py | 7 import pty 93 master_fd, slave_name = pty.master_open() 97 slave_fd = pty.slave_open(slave_name) 143 pid, master_fd = pty.fork() 144 if pid == pty.CHILD: 231 self.orig_stdin_fileno = pty.STDIN_FILENO 232 self.orig_stdout_fileno = pty.STDOUT_FILENO 233 self.orig_pty_select = pty.select 240 pty.STDIN_FILENO = self.orig_stdin_fileno 241 pty.STDOUT_FILENO = self.orig_stdout_fileno [all …]
|
D | test_ioctl.py | 24 import pty 26 pty = None variable 69 if not pty: 71 mfd, sfd = pty.openpty()
|
/external/rust/crates/clang-sys/src/ |
D | link.rs | 25 fn $name:ident($($pname:ident: $pty:ty), *) $(-> $ret:ty)* 43 fn $name:ident($($pname:ident: $pty:ty), *) $(-> $ret:ty)* 45 link!(@LOAD: #[cfg(feature = "runtime")] fn $name($($pname: $pty), *) $(-> $ret)*); 51 pub fn $name:ident($($pname:ident: $pty:ty), *) $(-> $ret:ty)*; 80 pub $name: Option<unsafe extern fn($($pname: $pty), *) $(-> $ret)*>, 156 pub unsafe fn $name($($pname: $pty), *) $(-> $ret)* { 177 $(link!(@LOAD: $(#[cfg($cfg)])* fn $name($($pname: $pty), *) $(-> $ret)*);)+ 266 pub fn $name:ident($($pname:ident: $pty:ty), *) $(-> $ret:ty)*; 272 pub fn $name($($pname: $pty), *) $(-> $ret)*;
|
/external/python/cpython3/Doc/library/ |
D | pty.rst | 1 :mod:`pty` --- Pseudo-terminal utilities 4 .. module:: pty 11 **Source code:** :source:`Lib/pty.py` 15 The :mod:`pty` module defines operations for handling the pseudo-terminal 23 The :mod:`pty` module defines the following functions: 47 spawned behind the pty will eventually terminate, and when it does *spawn* 77 .. audit-event:: pty.spawn argv pty.spawn 94 import pty 117 pty.spawn(shell, read)
|
D | unix.rst | 21 pty.rst
|
/external/llvm-project/lldb/third_party/Python/module/ptyprocess-0.6.0/ |
D | README.rst | 1 Launch a subprocess in a pseudo terminal (pty), and interact with both the 2 process and its pty. 8 (pty) is the answer.
|
/external/python/cpython2/Doc/library/ |
D | pty.rst | 2 :mod:`pty` --- Pseudo-terminal utilities 5 .. module:: pty 12 The :mod:`pty` module defines operations for handling the pseudo-terminal 20 The :mod:`pty` module defines the following functions:
|
D | unix.rst | 23 pty.rst
|
/external/ltp/travis/ |
D | alpine.sh | 33 testcases/kernel/pty/pty01.c \ 34 testcases/kernel/pty/pty02.c \ 35 testcases/kernel/pty/ptem01.c \
|
/external/openssh/regress/unittests/authopt/testdata/ |
D | mktestdata.sh | 22 -Opermit-pty -Opermit-user-rc -Opermit-X11-forwarding 27 sign no_pty.cert -Ono-pty 33 sign only_pty.cert -Oclear -Opermit-pty
|
/external/libwebsockets/test-apps/ |
D | test-sshd.c | 410 ssh_ops_pty_req(void *_priv, struct lws_ssh_pty *pty) in ssh_ops_pty_req() argument 413 uint8_t *p = (uint8_t *)pty->modes, opc; in ssh_ops_pty_req() 416 lwsl_notice("%s: pty term %s, modes_len %d\n", __func__, pty->term, in ssh_ops_pty_req() 417 pty->modes_len); in ssh_ops_pty_req() 419 ssh_cgi_env_add(priv, "TERM", pty->term); in ssh_ops_pty_req() 421 while (p < (uint8_t *)pty->modes + pty->modes_len) { in ssh_ops_pty_req()
|
/external/python/cpython2/Demo/scripts/ |
D | script.py | 11 import pty 40 pty.spawn(shell, read)
|
/external/python/parse_type/tasks/ |
D | __init__.py | 67 run_settings = dict(echo=True, pty=False, shell=which("cmd")) 70 namespace.configure({"run": dict(echo=True, pty=True)})
|
/external/libabigail/tests/data/test-fedabipkgdiff/ |
D | vte291-0.39.1-1.fc22.x86_64--vte291-0.39.90-1.fc22.x86_64-report-0.txt | 15 ================ changes of 'gnome-pty-helper'=============== 25 ================ end of changes of 'gnome-pty-helper'===============
|
/external/autotest/client/cros/bluetooth/ |
D | output_recorder.py | 15 import pty 79 self._main, self._node = pty.openpty()
|
/external/ltp/scenario_groups/ |
D | vts | 25 pty
|
D | default | 12 pty
|
/external/llvm-project/lldb/third_party/Python/module/pexpect-4.6/pexpect/ |
D | pty_spawn.py | 4 import pty 191 self.STDIN_FILENO = pty.STDIN_FILENO 192 self.STDOUT_FILENO = pty.STDOUT_FILENO 193 self.STDERR_FILENO = pty.STDERR_FILENO
|
/external/ltp/testcases/kernel/ |
D | Makefile | 52 pty \
|
/external/llvm-project/lldb/third_party/Python/module/ptyprocess-0.6.0/ptyprocess/ |
D | _fork_pty.py | 6 from pty import (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO, CHILD)
|