/third_party/ltp/testcases/kernel/pty/ |
H A D | pty01.c | 157 if (ioctl(slavefd, TIOCGWINSZ, NULL) == 0) { in test1() 159 "invalid slave TIOCGWINSZ ioctl succeeded.. it should " in test1() 166 if (ioctl(masterfd, TIOCGWINSZ, NULL) == 0) { in test1() 168 "invalid master TIOCGWINSZ ioctl succeeded.. it should " in test1() 234 if (ioctl(slavefd, TIOCGWINSZ, NULL) == 0) { in test2() 236 "trying TIOCGWINSZ on slave fd should have failed, " in test2() 255 if (ioctl(masterfd, TIOCGWINSZ, NULL) == 0) { in test3() 257 "trying TIOCGWINSZ on master with no open slave " in test3()
|
H A D | ptem01.c | 161 if (ioctl(slavefd, TIOCGWINSZ, &wsz) != 0) { in test2() 162 tst_brkm(TFAIL, NULL, "TIOCGWINSZ"); in test2() 171 if (ioctl(masterfd, TIOCGWINSZ, &wsz) != 0) { in test2() 172 tst_brkm(TFAIL, NULL, "TIOCGWINSZ"); in test2() 185 if (ioctl(slavefd, TIOCGWINSZ, &wsz) != 0) { in test2() 186 tst_brkm(TFAIL, NULL, "TIOCGWINSZ"); in test2()
|
H A D | pty07.c | 94 SAFE_IOCTL(fd, TIOCGWINSZ, &wsize); in setup()
|
/third_party/python/Modules/ |
H A D | termios.c | 372 #if defined(TIOCGWINSZ) in termios_tcgetwinsize_impl() 378 r = ioctl(fd, TIOCGWINSZ, &w); in termios_tcgetwinsize_impl() 423 "requires termios.TIOCGWINSZ and/or termios.TIOCGSIZE"); in termios_tcgetwinsize_impl() 425 #endif /* defined(TIOCGWINSZ) */ in termios_tcgetwinsize_impl() 470 #if defined(TIOCGWINSZ) && defined(TIOCSWINSZ) in termios_tcsetwinsize_impl() 474 if (ioctl(fd, TIOCGWINSZ, &w) == -1) { in termios_tcsetwinsize_impl() 527 "requires termios.TIOCGWINSZ, termios.TIOCSWINSZ and/or termios.TIOCGSIZE, termios.TIOCSSIZE"); in termios_tcsetwinsize_impl() 529 #endif /* defined(TIOCGWINSZ) && defined(TIOCSWINSZ) */ in termios_tcsetwinsize_impl() 1066 #ifdef TIOCGWINSZ 1067 {"TIOCGWINSZ", TIOCGWINS [all...] |
/third_party/musl/src/termios/ |
H A D | tcgetwinsize.c | 7 return syscall(SYS_ioctl, fd, TIOCGWINSZ, wsz); in tcgetwinsize()
|
/third_party/musl/src/unistd/ |
H A D | isatty.c | 9 unsigned long r = syscall(SYS_ioctl, fd, TIOCGWINSZ, &wsz); in isatty()
|
/third_party/musl/porting/linux/user/src/stdio/ |
H A D | __stdout_write.c | 14 if (!(f->flags & F_SVB) && __syscall(SYS_ioctl, f->fd, TIOCGWINSZ, &wsz)) in __stdout_write()
|
H A D | __fdopen.c | 121 if (!(f->flags & F_NOWR) && !__syscall(SYS_ioctl, fd, TIOCGWINSZ, &wsz)) { in __fdopenx()
|
/third_party/musl/porting/liteos_a/kernel/src/stdio/ |
H A D | __stdout_write.c | 8 if (!(f->flags & F_SVB) && ioctl(f->fd, TIOCGWINSZ, &wsz)) in __stdout_write()
|
H A D | __fdopen.c | 50 if (!(f->flags & F_NOWR) && !ioctl(fd, TIOCGWINSZ, &wsz)) in __fdopen()
|
/third_party/musl/src/stdio/ |
H A D | __stdout_write.c | 14 if (!(f->flags & F_SVB) && __syscall(SYS_ioctl, f->fd, TIOCGWINSZ, &wsz)) in __stdout_write()
|
H A D | __fdopen.c | 121 if (!(f->flags & F_NOWR) && !__syscall(SYS_ioctl, fd, TIOCGWINSZ, &wsz)) { in __fdopenx()
|
/third_party/curl/src/ |
H A D | tool_cb_prg.c | 260 #elif defined(TIOCGWINSZ) in progressbarinit() 262 if(!ioctl(STDIN_FILENO, TIOCGWINSZ, &ts)) in progressbarinit()
|
/third_party/alsa-utils/alsamixer/ |
H A D | widget.c | 127 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &size) == 0) in window_size_changed()
|
/third_party/musl/porting/uniproton/kernel/include/bits/ |
H A D | ioctl.h | 29 #define TIOCGWINSZ 0x5413 macro
|
/third_party/musl/porting/liteos_m/kernel/include/bits/ |
H A D | ioctl.h | 29 #define TIOCGWINSZ 0x5413 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/ |
H A D | ioctl.h | 29 #define TIOCGWINSZ 0x5413 macro
|
/third_party/ninja/src/ |
H A D | line_printer.cc | 110 if ((ioctl(STDOUT_FILENO, TIOCGWINSZ, &size) == 0) && size.ws_col) { in Print()
|
/third_party/musl/arch/generic/bits/ |
H A D | ioctl.h | 29 #define TIOCGWINSZ 0x5413 macro
|
/third_party/musl/arch/mips64/bits/ |
H A D | ioctl.h | 34 #define TIOCGWINSZ _IOR('t', 104, struct winsize) macro
|
/third_party/musl/arch/mipsn32/bits/ |
H A D | ioctl.h | 34 #define TIOCGWINSZ _IOR('t', 104, struct winsize) macro
|
/third_party/musl/arch/powerpc64/bits/ |
H A D | ioctl.h | 39 #define TIOCGWINSZ _IOR('t', 104, char[8]) macro
|
/third_party/musl/arch/mips/bits/ |
H A D | ioctl.h | 34 #define TIOCGWINSZ _IOR('t', 104, struct winsize) macro
|
/third_party/musl/arch/powerpc/bits/ |
H A D | ioctl.h | 39 #define TIOCGWINSZ _IOR('t', 104, char[8]) macro
|
/third_party/musl/arch/sh/bits/ |
H A D | ioctl.h | 29 #define TIOCGWINSZ _IOR('t', 104, char[8]) macro
|