/third_party/python/Lib/test/ |
D | test_pty.py | 9 import pty 79 tty.tcgetattr(pty.STDIN_FILENO) 113 stdin_dim = os.get_terminal_size(pty.STDIN_FILENO) 118 self.addCleanup(_set_term_winsz, pty.STDIN_FILENO, old_stdin_winsz) 132 mode = tty.tcgetattr(pty.STDIN_FILENO) 151 _set_term_winsz(pty.STDIN_FILENO, target_stdin_winsz) 155 new_stdin_winsz = _get_term_winsz(pty.STDIN_FILENO) 165 master_fd, slave_fd = pty.openpty(mode, new_stdin_winsz) 167 master_fd, slave_fd = pty.openpty() 216 pid, master_fd = pty.fork() [all …]
|
D | test_ioctl.py | 25 import pty 27 pty = None variable 70 if not pty: 72 mfd, sfd = pty.openpty()
|
D | test_readline.py | 308 pty = import_module('pty') 310 [master, slave] = pty.openpty()
|
D | test_builtin.py | 36 import pty, signal 38 pty = signal = None variable 1979 @unittest.skipUnless(pty, "the pty and signal modules must be available") 2001 pid, fd = pty.fork()
|
/third_party/python/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
|
/third_party/musl/src/misc/ |
D | pty.c | 28 int pty, err; in __ptsname_r() local 30 if ((err = __syscall(SYS_ioctl, fd, TIOCGPTN, &pty))) return -err; in __ptsname_r() 31 if (snprintf(buf, len, "/dev/pts/%d", pty) >= len) return ERANGE; in __ptsname_r()
|
/third_party/musl/porting/liteos_a/user/src/misc/ |
D | pty.c | 31 int pty, err; in __ptsname_r() local 33 if ((err = __syscall(SYS_ioctl, fd, TIOCGPTN, &pty))) return -err; in __ptsname_r() 34 if (snprintf(buf, len, "/dev/pts/%d", pty) >= len) return ERANGE; in __ptsname_r()
|
/third_party/node/test/pseudo-tty/ |
D | pseudo-tty.status | 5 # to fail with EINVAL on SmartOS when `fd` is a pty from python's pty module.
|
D | pty_helper.py | 3 import pty 51 parent_fd, child_fd = pty.openpty()
|
/third_party/libwebsockets/test-apps/ |
D | test-sshd.c | 415 ssh_ops_pty_req(void *_priv, struct lws_ssh_pty *pty) in ssh_ops_pty_req() argument 418 uint8_t *p = (uint8_t *)pty->modes, opc; in ssh_ops_pty_req() 421 lwsl_notice("%s: pty term %s, modes_len %d\n", __func__, pty->term, in ssh_ops_pty_req() 422 pty->modes_len); in ssh_ops_pty_req() 424 ssh_cgi_env_add(priv, "TERM", pty->term); in ssh_ops_pty_req() 426 while (p < (uint8_t *)pty->modes + pty->modes_len) { in ssh_ops_pty_req()
|
/third_party/ltp/testcases/kernel/mce-test/kvm/host/ |
D | host_run.sh | 247 -monitor pty -serial pty -pidfile $pid_file > $host_start 2>&1 & 259 -monitor pty -serial pty -pidfile $pid_file > $host_start 2>&1 &
|
/third_party/libwebsockets/plugins/ssh-base/ |
D | sshd.c | 1502 memcpy(pss->args.pty.term, pss->name, in lws_ssh_parse_plaintext() 1503 sizeof(pss->args.pty.term) - 1); in lws_ssh_parse_plaintext() 1507 pss->args.pty.width_ch = pss->len; in lws_ssh_parse_plaintext() 1511 pss->args.pty.height_ch = pss->len; in lws_ssh_parse_plaintext() 1515 pss->args.pty.width_px = pss->len; in lws_ssh_parse_plaintext() 1519 pss->args.pty.height_px = pss->len; in lws_ssh_parse_plaintext() 1524 pss->args.pty.modes = (char *)pss->last_alloc; in lws_ssh_parse_plaintext() 1526 pss->args.pty.modes_len = pss->npos; in lws_ssh_parse_plaintext() 1530 &pss->args.pty); in lws_ssh_parse_plaintext() 1531 ssh_free_set_NULL(pss->args.pty.modes); in lws_ssh_parse_plaintext() [all …]
|
/third_party/boost/libs/graph/example/ |
D | astar-cities.cpp | 47 , pty(_pty) in city_writer() 57 << static_cast< unsigned int >(pty * py) << "\", fontsize=\"11\"]"; in operator ()() 64 unsigned int ptx, pty; member in city_writer
|
/third_party/boost/libs/graph/test/ |
D | astar_search_test.cpp | 55 , pty(_pty) in city_writer() 65 << static_cast< unsigned int >(pty * py) << "\", fontsize=\"11\"]"; in operator ()() 72 unsigned int ptx, pty; member in city_writer
|
/third_party/ltp/scenario_groups/ |
D | default | 13 pty
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/tools/ |
D | go.sum | 3 github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= 9 github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
|
/third_party/ltp/testcases/kernel/ |
D | Makefile | 35 pty \
|
/third_party/typescript/tests/cases/docker/xterm.js/ |
D | Dockerfile | 1 # node-pty doesn't build on node 12 right now, so we lock to 10
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
D | test_src_functionalext_supplement_misc.gni | 31 "pty",
|
/third_party/libwebsockets/plugins/ssh-base/include/ |
D | lws-plugin-ssh.h | 279 int (*pty_req)(void *priv, struct lws_ssh_pty *pty);
|
D | lws-ssh.h | 491 struct lws_ssh_pty pty; member
|
/third_party/ltp/doc/ |
D | ltp-run-files.txt | 50 - pty
|
/third_party/littlefs/scripts/ |
D | test.py | 19 import pty 279 mpty, spty = pty.openpty() 676 mpty, spty = pty.openpty()
|
/third_party/skia/third_party/externals/tint/tools/src/ |
D | go.sum | 14 github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= 50 github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
|