| /src/external/mit/libuv/dist/test/ |
| test-tty.c | 434 int master_fd, slave_fd, r; local 441 r = openpty(&master_fd, &slave_fd, NULL, NULL, &w); 446 ASSERT_OK(uv_tty_init(&loop, &master_tty, master_fd, 0)); 455 /* The master_fd of a pty should never be reopened. 460 ASSERT_OK(close(master_fd));
|
| test-tty.c | 434 int master_fd, slave_fd, r; local 441 r = openpty(&master_fd, &slave_fd, NULL, NULL, &w); 446 ASSERT_OK(uv_tty_init(&loop, &master_tty, master_fd, 0)); 455 /* The master_fd of a pty should never be reopened. 460 ASSERT_OK(close(master_fd));
|
| /src/crypto/external/bsd/heimdal/dist/lib/kadm5/ |
| ipropd_slave.c | 707 int master_fd; local 817 master_fd = -1; 865 master_fd = connect_to_master (context, master, port_str); 866 if (master_fd < 0) 879 ret = krb5_sendauth (context, &auth_context, &master_fd, 891 ret = ihave(context, auth_context, master_fd, 910 if (master_fd >= FD_SETSIZE) 914 max_fd = max(restarter_fd, master_fd); 918 FD_SET(master_fd, &readset); 946 if (!FD_ISSET(master_fd, &readset) [all...] |
| ipropd_slave.c | 707 int master_fd; local 817 master_fd = -1; 865 master_fd = connect_to_master (context, master, port_str); 866 if (master_fd < 0) 879 ret = krb5_sendauth (context, &auth_context, &master_fd, 891 ret = ihave(context, auth_context, master_fd, 910 if (master_fd >= FD_SETSIZE) 914 max_fd = max(restarter_fd, master_fd); 918 FD_SET(master_fd, &readset); 946 if (!FD_ISSET(master_fd, &readset) [all...] |
| /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| sanitizer_mac.cpp | 276 fd_t master_fd = kInvalidFd; local 280 internal_close(master_fd); 287 master_fd = posix_openpt(O_RDWR); 288 if (master_fd == kInvalidFd) return kInvalidFd; 290 int res = grantpt(master_fd) || unlockpt(master_fd); 295 res = ioctl(master_fd, TIOCPTYGNAME, slave_pty_name); 337 tcgetattr(master_fd, &termflags); 340 tcsetattr(master_fd, TCSANOW, &termflags); 342 // On success, do not close master_fd on scope exit [all...] |
| sanitizer_mac.cpp | 276 fd_t master_fd = kInvalidFd; local 280 internal_close(master_fd); 287 master_fd = posix_openpt(O_RDWR); 288 if (master_fd == kInvalidFd) return kInvalidFd; 290 int res = grantpt(master_fd) || unlockpt(master_fd); 295 res = ioctl(master_fd, TIOCPTYGNAME, slave_pty_name); 337 tcgetattr(master_fd, &termflags); 340 tcsetattr(master_fd, TCSANOW, &termflags); 342 // On success, do not close master_fd on scope exit [all...] |