Home
last modified time | relevance | path

Searched refs:TIOCGWINSZ (Results 1 – 25 of 92) sorted by relevance

1234

/external/ltp/testcases/kernel/pty/
Dpty01.c160 if (ioctl(slavefd, TIOCGWINSZ, NULL) == 0) { in test1()
169 if (ioctl(masterfd, TIOCGWINSZ, NULL) == 0) { in test1()
237 if (ioctl(slavefd, TIOCGWINSZ, NULL) == 0) { in test2()
258 if (ioctl(masterfd, TIOCGWINSZ, NULL) == 0) { in test3()
Dptem01.c164 if (ioctl(slavefd, TIOCGWINSZ, &wsz) != 0) { in test2()
174 if (ioctl(masterfd, TIOCGWINSZ, &wsz) != 0) { in test2()
188 if (ioctl(slavefd, TIOCGWINSZ, &wsz) != 0) { in test2()
/external/squashfs-tools/squashfs-tools/
Dprogressbar.c59 if(ioctl(1, TIOCGWINSZ, &winsize) == -1) { in sigwinch_handler()
185 if(ioctl(1, TIOCGWINSZ, &winsize) == -1) { in progress_thrd()
/external/e2fsprogs/misc/
Dblkid.c101 #ifdef TIOCGWINSZ in get_terminal_width()
113 #ifdef TIOCGWINSZ in get_terminal_width()
114 if (ioctl (0, TIOCGWINSZ, &w_win) == 0) { in get_terminal_width()
/external/curl/src/
Dtool_cb_prg.c241 #elif defined(TIOCGWINSZ) in progressbarinit()
243 if(!ioctl(STDIN_FILENO, TIOCGWINSZ, &ts)) in progressbarinit()
/external/llvm-project/lldb/tools/driver/
DPlatform.cpp22 case (TIOCGWINSZ): { in ioctl()
DPlatform.h38 #define TIOCGWINSZ 0x5413 macro
/external/e2fsprogs/ext2ed/
Dwin.c195 ioctl(1, TIOCGWINSZ, &ws); in redraw_all()
201 if (ioctl(1, TIOCGWINSZ, &ws) == 0) { in redraw_all()
/external/kernel-headers/original/uapi/asm-generic/
Dioctls.h38 #define TIOCGWINSZ 0x5413 macro
/external/rmi4utils/f54test/
Ddisplay.cpp53 ioctl(STDOUT_FILENO, TIOCGWINSZ, &winsz); in GetWindowSize()
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/FreeBSD/
Dcapsicum.cpp15 unsigned long ncmds[] = {TIOCGETA, TIOCGWINSZ, FIODTYPE}; in test_cap_ioctls()
/external/llvm-project/lldb/source/Interpreter/
Dembedded_interpreter.py67 hw = struct.unpack('hh', fcntl.ioctl(fd, termios.TIOCGWINSZ, '1234'))
/external/flac/src/flac/
Dutils.c189 #elif defined TIOCGWINSZ in get_console_width()
191 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &w) != -1) in get_console_width()
/external/python/cpython2/Modules/
Dtermios.c764 #ifdef TIOCGWINSZ
765 {"TIOCGWINSZ", TIOCGWINSZ},
/external/strace/
Dterm.c192 case TIOCGWINSZ: in term_ioctl()
/external/openssh/
Dprogressmeter.c287 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &winsize) != -1 && in setscreensize()
/external/selinux/libselinux/utils/
Davcstat.c83 ret = ioctl(fileno(stdout), TIOCGWINSZ, &ws); in set_window_rows()
/external/python/cpython2/Lib/plat-irix5/
DIOCTL.py195 TIOCGWINSZ = _IOR(ord('t'), 104, struct_winsize) variable
/external/python/cpython2/Lib/plat-irix6/
DIOCTL.py195 TIOCGWINSZ = _IOR(ord('t'), 104, struct_winsize) variable
/external/python/cpython3/Modules/
Dtermios.c840 #ifdef TIOCGWINSZ
841 {"TIOCGWINSZ", TIOCGWINSZ},
/external/toybox/toys/pending/
Dstty.c189 if (ioctl(TT.fd, TIOCGWINSZ, &ws)) perror_exit("TIOCGWINSZ %s", TT.F); in show_size()
255 if (ioctl(TT.fd, TIOCGWINSZ, &ws)) perror_exit("TIOCGWINSZ %s", TT.F); in set_size()
/external/toybox/lib/
Dtty.c30 if (isatty(i) && !ioctl(i, TIOCGWINSZ, &ws)) { in terminal_size()
/external/llvm-project/lldb/third_party/Python/module/ptyprocess-0.6.0/ptyprocess/
Dptyprocess.py777 TIOCGWINSZ = getattr(termios, 'TIOCGWINSZ', 1074295912)
779 x = fcntl.ioctl(self.fd, TIOCGWINSZ, s)
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_solaris.cpp168 unsigned IOCTL_TIOCGWINSZ = TIOCGWINSZ;
/external/llvm-project/lldb/packages/Python/lldbsuite/test/
Dtest_result.py44 cr = struct.unpack('hh', fcntl.ioctl(fd, termios.TIOCGWINSZ,

1234