/prebuilts/gdb/darwin-x86/lib/python2.7/ |
pty.py | 22 """openpty() -> (master_fd, slave_fd) 29 master_fd, slave_name = _open_terminal() 31 return master_fd, slave_fd 34 """master_open() -> (master_fd, slave_name) 39 master_fd, slave_fd = os.openpty() 45 return master_fd, slave_name 50 """Open pty master and return (master_fd, tty_name). 58 tty_name, master_fd = sgi._getpty(os.O_RDWR, 0666, 0) 61 return master_fd, tty_name 91 """fork() -> (pid, master_fd) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
pty.py | 22 """openpty() -> (master_fd, slave_fd) 29 master_fd, slave_name = _open_terminal() 31 return master_fd, slave_fd 34 """master_open() -> (master_fd, slave_name) 39 master_fd, slave_fd = os.openpty() 45 return master_fd, slave_name 50 """Open pty master and return (master_fd, tty_name). 58 tty_name, master_fd = sgi._getpty(os.O_RDWR, 0666, 0) 61 return master_fd, tty_name 91 """fork() -> (pid, master_fd) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
pty.py | 22 """openpty() -> (master_fd, slave_fd) 29 master_fd, slave_name = _open_terminal() 31 return master_fd, slave_fd 34 """master_open() -> (master_fd, slave_name) 39 master_fd, slave_fd = os.openpty() 45 return master_fd, slave_name 50 """Open pty master and return (master_fd, tty_name). 58 tty_name, master_fd = sgi._getpty(os.O_RDWR, 0666, 0) 61 return master_fd, tty_name 91 """fork() -> (pid, master_fd) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
pty.py | 22 """openpty() -> (master_fd, slave_fd) 29 master_fd, slave_name = _open_terminal() 31 return master_fd, slave_fd 34 """master_open() -> (master_fd, slave_name) 39 master_fd, slave_fd = os.openpty() 45 return master_fd, slave_name 50 """Open pty master and return (master_fd, tty_name). 58 tty_name, master_fd = sgi._getpty(os.O_RDWR, 0666, 0) 61 return master_fd, tty_name 91 """fork() -> (pid, master_fd) [all...] |
/external/selinux/policycoreutils/restorecond/ |
restorecond.c | 66 static int master_fd = -1; variable 81 watch_list_free(master_fd); 82 close(master_fd); 118 close(master_fd); 202 master_fd = inotify_init(); 203 if (master_fd < 0) 214 return server(master_fd, user_watch_file); 216 return server(master_fd, user_watch_file); 221 read_config(master_fd, watch_file); 228 while (watch(master_fd, watch_file) == 0) [all...] |
user.c | 237 int server(int master_fd, const char *watch_file) { 248 read_config(master_fd, watch_file); 254 GIOChannel *c = g_io_channel_unix_new(master_fd);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_pty.py | 70 master_fd, slave_name = pty.master_open() 71 debug("Got master_fd '%d', slave_name '%s'" % 72 (master_fd, slave_name)) 87 orig_flags = fcntl.fcntl(master_fd, fcntl.F_GETFL) 88 fcntl.fcntl(master_fd, fcntl.F_SETFL, orig_flags | os.O_NONBLOCK) 90 s1 = os.read(master_fd, 1024) 96 fcntl.fcntl(master_fd, fcntl.F_SETFL, orig_flags) 100 s1 = os.read(master_fd, 1024) 107 s2 = os.read(master_fd, 1024) 111 os.close(master_fd) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_pty.py | 70 master_fd, slave_name = pty.master_open() 71 debug("Got master_fd '%d', slave_name '%s'" % 72 (master_fd, slave_name)) 87 orig_flags = fcntl.fcntl(master_fd, fcntl.F_GETFL) 88 fcntl.fcntl(master_fd, fcntl.F_SETFL, orig_flags | os.O_NONBLOCK) 90 s1 = os.read(master_fd, 1024) 96 fcntl.fcntl(master_fd, fcntl.F_SETFL, orig_flags) 100 s1 = os.read(master_fd, 1024) 107 s2 = os.read(master_fd, 1024) 111 os.close(master_fd) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_pty.py | 70 master_fd, slave_name = pty.master_open() 71 debug("Got master_fd '%d', slave_name '%s'" % 72 (master_fd, slave_name)) 87 orig_flags = fcntl.fcntl(master_fd, fcntl.F_GETFL) 88 fcntl.fcntl(master_fd, fcntl.F_SETFL, orig_flags | os.O_NONBLOCK) 90 s1 = os.read(master_fd, 1024) 96 fcntl.fcntl(master_fd, fcntl.F_SETFL, orig_flags) 100 s1 = os.read(master_fd, 1024) 107 s2 = os.read(master_fd, 1024) 111 os.close(master_fd) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_pty.py | 70 master_fd, slave_name = pty.master_open() 71 debug("Got master_fd '%d', slave_name '%s'" % 72 (master_fd, slave_name)) 87 orig_flags = fcntl.fcntl(master_fd, fcntl.F_GETFL) 88 fcntl.fcntl(master_fd, fcntl.F_SETFL, orig_flags | os.O_NONBLOCK) 90 s1 = os.read(master_fd, 1024) 96 fcntl.fcntl(master_fd, fcntl.F_SETFL, orig_flags) 100 s1 = os.read(master_fd, 1024) 107 s2 = os.read(master_fd, 1024) 111 os.close(master_fd) [all...] |
/external/toybox/toys/pending/ |
telnetd.c | 310 int pty_fd, new_fd, c = 0, w, master_fd = 0; local 317 master_fd = listen_socket(); 318 fcntl(master_fd, F_SETFD, FD_CLOEXEC); 319 if (master_fd > TT.gmax_fd) TT.gmax_fd = master_fd; 322 pty_fd = new_session(master_fd); //master_fd = 0 344 if (!inetd_m) FD_SET(master_fd, &rd); 363 if (!inetd_m && FD_ISSET(master_fd, &rd)) { //accept new connection 364 new_fd = accept(master_fd, NULL, NULL) [all...] |
/external/ppp/pppd/ |
sys-linux.c | 181 static int master_fd = -1; /* pty for old-style demand mode, master */ variable 377 if (master_fd >= 0) 378 close(master_fd); 700 int master_fd; local 705 master_fd = open("/dev/ppp", O_RDWR); 706 if (master_fd < 0) 708 if (ioctl(master_fd, PPPIOCATTACH, &ifnum) < 0) { 710 close(master_fd); 717 modify_flags(master_fd, 0, SC_MULTILINK); 718 close(master_fd); [all...] |
/prebuilts/python/linux-x86/2.7.5/bin/ |
python | |
python2 | |
python2.7 | |