Home
last modified time | relevance | path

Searched refs:slave_name (Results 1 – 13 of 13) sorted by relevance

/external/chromium-trace/catapult/common/lab/
Dhardware.py58 for slave_name, slave_data in slaves:
63 'hostname': slave_name,
82 if 'product name' not in row and slave_name.startswith('slave'):
/external/python/cpython3/Lib/
Dpty.py30 master_fd, slave_name = _open_terminal()
31 slave_fd = slave_open(slave_name)
44 slave_name = os.ttyname(slave_fd)
46 return master_fd, slave_name
/external/python/cpython2/Lib/
Dpty.py29 master_fd, slave_name = _open_terminal()
30 slave_fd = slave_open(slave_name)
43 slave_name = os.ttyname(slave_fd)
45 return master_fd, slave_name
/external/kernel-headers/original/uapi/linux/
Dif_eql.h45 char slave_name[16]; member
50 char slave_name[16]; member
Dif_bonding.h117 char slave_name[IFNAMSIZ]; member
/external/python/cpython2/Lib/test/
Dtest_pty.py84 master_fd, slave_name = pty.master_open()
86 (master_fd, slave_name))
87 debug("Calling slave_open(%r)" % (slave_name,))
88 slave_fd = pty.slave_open(slave_name)
/external/python/cpython3/Lib/test/
Dtest_pty.py93 master_fd, slave_name = pty.master_open()
95 (master_fd, slave_name))
96 debug("Calling slave_open(%r)" % (slave_name,))
97 slave_fd = pty.slave_open(slave_name)
/external/rust/crates/nix/test/
Dtest_pty.rs39 let slave_name = unsafe { ptsname(&master_fd) }.unwrap() ; in test_ptsname_equivalence() localVariable
41 assert_eq!(slave_name, slave_name_r); in test_ptsname_equivalence()
111 let slave_name = unsafe { ptsname(&master) }.expect("ptsname failed"); in open_ptty_pair() localVariable
114 let slave_fd = open(Path::new(&slave_name), OFlag::O_RDWR, stat::Mode::empty()).unwrap(); in open_ptty_pair()
/external/iproute2/include/uapi/linux/
Dif_bonding.h106 char slave_name[IFNAMSIZ]; member
/external/ppp/pppd/
Dsys-linux.c2612 get_pty(master_fdp, slave_fdp, slave_name, uid) in get_pty() argument
2615 char *slave_name;
2665 strlcpy(slave_name, pty_name, 16);
Dsys-solaris.c2742 get_pty(master_fdp, slave_fdp, slave_name, uid) in get_pty() argument
2745 char *slave_name;
2780 strlcpy(slave_name, pty_name, MAXPATHLEN);
/external/python/cpython2/Modules/
Dposixmodule.c3952 char * slave_name; in posix_openpty() local
3965 slave_name = _getpty(&master_fd, O_RDWR, 0666, 0); in posix_openpty()
3966 if (slave_name == NULL) in posix_openpty()
3969 slave_fd = open(slave_name, O_RDWR); in posix_openpty()
3988 slave_name = ptsname(master_fd); /* get name of slave */ in posix_openpty()
3989 if (slave_name == NULL) in posix_openpty()
3991 slave_fd = open(slave_name, O_RDWR | O_NOCTTY); /* open slave */ in posix_openpty()
/external/python/cpython3/Modules/
Dposixmodule.c7103 char * slave_name; in os_openpty_impl() local
7122 slave_name = _getpty(&master_fd, O_RDWR, 0666, 0); in os_openpty_impl()
7123 if (slave_name == NULL) in os_openpty_impl()
7128 slave_fd = _Py_open(slave_name, O_RDWR); in os_openpty_impl()
7153 slave_name = ptsname(master_fd); /* get name of slave */ in os_openpty_impl()
7154 if (slave_name == NULL) in os_openpty_impl()
7157 slave_fd = _Py_open(slave_name, O_RDWR | O_NOCTTY); /* open slave */ in os_openpty_impl()