Home
last modified time | relevance | path

Searched refs:winsize (Results 1 – 25 of 149) sorted by relevance

123456

/freebsd/contrib/wpa/src/tls/
H A Dlibtommath.c1879 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; in s_mp_exptmod() local
1885 winsize = 2; in s_mp_exptmod()
1887 winsize = 3; in s_mp_exptmod()
1889 winsize = 4; in s_mp_exptmod()
1891 winsize = 5; in s_mp_exptmod()
1893 winsize = 6; in s_mp_exptmod()
1895 winsize = 7; in s_mp_exptmod()
1897 winsize = 8; in s_mp_exptmod()
1901 if (winsize > 5) { in s_mp_exptmod()
1902 winsize = 5; in s_mp_exptmod()
[all …]
/freebsd/crypto/openssh/
H A Dprogressmeter.c291 struct winsize winsize; in setscreensize() local
293 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &winsize) != -1 && in setscreensize()
294 winsize.ws_col != 0) { in setscreensize()
295 if (winsize.ws_col > MAX_WINSIZE) in setscreensize()
298 win_size = winsize.ws_col; in setscreensize()
/freebsd/sbin/camcontrol/
H A Dprogress.c67 struct winsize winsize; in progress_init() local
74 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &winsize) != -1 && in progress_init()
75 winsize.ws_col != 0) { in progress_init()
76 prog->ttywidth = winsize.ws_col; in progress_init()
/freebsd/usr.sbin/ppp/
H A Ddeflate.c46 int winsize; member
447 o->data[0] = ((cfg->deflate.out.winsize - 8) << 4) + 8; in DeflateInitOptsOutput()
476 if (cfg->deflate.in.winsize == 0) { in DeflateSetOptsInput()
480 } else if (want != cfg->deflate.in.winsize) { in DeflateSetOptsInput()
481 o->data[0] = ((cfg->deflate.in.winsize - 8) << 4) + 8; in DeflateSetOptsInput()
495 state->winsize = (o->data[0] >> 4) + 8; in DeflateInitInput()
500 if (inflateInit2(&state->cx, -state->winsize) == Z_OK) in DeflateInitInput()
518 state->winsize = (o->data[0] >> 4) + 8; in DeflateInitOutput()
524 -state->winsize, 8, Z_DEFAULT_STRATEGY) == Z_OK) in DeflateInitOutput()
/freebsd/bin/stty/
H A Dextern.h34 void gprint(struct termios *, struct winsize *, int);
39 void print(struct termios *, struct winsize *, int, enum FMT);
H A Dstty.h41 struct winsize win; /* window info */
/freebsd/contrib/llvm-project/lldb/tools/driver/
H A DPlatform.cpp26 winsize *ws = va_arg(vl, winsize *); in ioctl()
H A DPlatform.h23 struct winsize { struct
/freebsd/lib/libdpv/
H A Ddialog_util.c66 static struct winsize *maxsize = NULL;
89 if ((maxsize = malloc(sizeof(struct winsize))) == NULL) in tty_maxsize_update()
91 memset((void *)maxsize, '\0', sizeof(struct winsize)); in tty_maxsize_update()
125 if ((maxsize = malloc(sizeof(struct winsize))) == NULL) in x11_maxsize_update()
127 memset((void *)maxsize, '\0', sizeof(struct winsize)); in x11_maxsize_update()
/freebsd/include/
H A Dtermios.h96 int tcgetwinsize(int, struct winsize *);
97 int tcsetwinsize(int, const struct winsize *);
/freebsd/lib/libutil/
H A Dpty.c48 struct winsize *winp) in openpty()
88 forkpty(int *amaster, char *name, struct termios *termp, struct winsize *winp) in forkpty()
H A Dlibutil.h86 struct winsize;
98 struct termios *_termp, struct winsize *_winp);
120 struct termios *_termp, struct winsize *_winp);
/freebsd/sys/sys/
H A Dttycom.h86 #define TIOCSWINSZ _IOW('t', 103, struct winsize) /* set window size */
87 #define TIOCGWINSZ _IOR('t', 104, struct winsize) /* get window size */
H A Dterminal.h201 struct winsize tm_winsize;
215 const struct winsize *size, int blank, const term_attr_t *attr);
216 void terminal_set_winsize(struct terminal *tm, const struct winsize *size);
H A D_winsize.h39 struct winsize { struct
H A Dtty.h111 struct winsize t_winsize; /* (t) Window size. */
207 void tty_set_winsize(struct tty *tp, const struct winsize *wsz);
/freebsd/lib/libc/gen/
H A Dtermios.c276 tcgetwinsize(int fd, struct winsize *w) in tcgetwinsize()
283 tcsetwinsize(int fd, const struct winsize *w) in tcsetwinsize()
/freebsd/contrib/nvi/ex/
H A Dscript.h17 struct winsize sh_win; /* Window size. */
/freebsd/sys/dev/vt/
H A Dvt_cpulogos.c155 struct winsize wsz; in vt_fini_logos()
212 struct winsize wsz; in vt_init_logos()
/freebsd/contrib/dialog/
H A Dttysize.c61 # define STRUCT_WINSIZE struct winsize
/freebsd/crypto/heimdal/appl/telnet/telnetd/
H A Dtermstat.c96 struct winsize ws; in clientstat()
/freebsd/crypto/heimdal/lib/roken/
H A Dget_window_size.c67 struct winsize ws; in get_window_size()
/freebsd/contrib/netbsd-tests/lib/libc/ttyio/
H A Dt_ttyio.c52 int openpty(int *, int *, char *, struct termios *, struct winsize *);
/freebsd/usr.bin/resizewin/
H A Dresizewin.c62 struct winsize w; in main()
/freebsd/contrib/tnftp/src/
H A Dutil.c933 struct winsize winsize; in setttywidth() local
936 if (ioctl(fileno(ttyout), TIOCGWINSZ, &winsize) != -1 && in setttywidth()
937 winsize.ws_col != 0) in setttywidth()
938 ttywidth = winsize.ws_col; in setttywidth()

123456