/dragonfly/usr.bin/window/ |
H A D | wwtty.c | 116 struct winsize winsize; in wwgetttysize() local 118 if (ioctl(d, TIOCGWINSZ, (char *)&winsize) < 0) { in wwgetttysize() 122 if (winsize.ws_row != 0) in wwgetttysize() 123 *r = winsize.ws_row; in wwgetttysize() 124 if (winsize.ws_col != 0) in wwgetttysize() 125 *c = winsize.ws_col; in wwgetttysize() 132 struct winsize winsize; in wwsetttysize() local 134 winsize.ws_row = r; in wwsetttysize() 135 winsize.ws_col = c; in wwsetttysize() 136 winsize.ws_xpixel = winsize.ws_ypixel = 0; in wwsetttysize() [all …]
|
/dragonfly/contrib/wpa_supplicant/src/tls/ |
H A D | libtommath.c | 1893 winsize = 2; in s_mp_exptmod() 1895 winsize = 3; in s_mp_exptmod() 1897 winsize = 4; in s_mp_exptmod() 1899 winsize = 5; in s_mp_exptmod() 1901 winsize = 6; in s_mp_exptmod() 1903 winsize = 7; in s_mp_exptmod() 1905 winsize = 8; in s_mp_exptmod() 1921 for (x = 1<<(winsize-1); x < (1 << winsize); x++) { in s_mp_exptmod() 2103 for (x = 1<<(winsize-1); x < (1 << winsize); x++) { in s_mp_exptmod() 3003 for (x = 1<<(winsize-1); x < (1 << winsize); x++) { in mp_exptmod_fast() [all …]
|
/dragonfly/crypto/openssh/ |
H A D | progressmeter.c | 285 struct winsize winsize; in setscreensize() local 287 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &winsize) != -1 && in setscreensize() 288 winsize.ws_col != 0) { in setscreensize() 289 if (winsize.ws_col > MAX_WINSIZE) in setscreensize() 292 win_size = winsize.ws_col; in setscreensize()
|
H A D | sshpty.c | 155 struct winsize w; in pty_change_window_size()
|
/dragonfly/usr.sbin/ppp/ |
H A D | deflate.c | 47 int winsize; member 448 o->data[0] = ((cfg->deflate.out.winsize - 8) << 4) + 8; in DeflateInitOptsOutput() 477 if (cfg->deflate.in.winsize == 0) { in DeflateSetOptsInput() 481 } else if (want != cfg->deflate.in.winsize) { in DeflateSetOptsInput() 482 o->data[0] = ((cfg->deflate.in.winsize - 8) << 4) + 8; in DeflateSetOptsInput() 496 state->winsize = (o->data[0] >> 4) + 8; in DeflateInitInput() 501 if (inflateInit2(&state->cx, -state->winsize) == Z_OK) in DeflateInitInput() 519 state->winsize = (o->data[0] >> 4) + 8; in DeflateInitOutput() 525 -state->winsize, 8, Z_DEFAULT_STRATEGY) == Z_OK) in DeflateInitOutput()
|
H A D | ccp.c | 198 prompt_Printf(arg->prompt, "incoming = %d, ", ccp->cfg.deflate.in.winsize); in ccp_ReportStatus() 199 prompt_Printf(arg->prompt, "outgoing = %d\n", ccp->cfg.deflate.out.winsize); in ccp_ReportStatus() 252 ccp->cfg.deflate.in.winsize = 0; in ccp_Init() 253 ccp->cfg.deflate.out.winsize = 15; in ccp_Init()
|
H A D | ccp.h | 72 int winsize; member
|
H A D | command.c | 1726 l->ccp.cfg.deflate.out.winsize = atoi(arg->argv[arg->argn]); in SetVariable() 1727 if (l->ccp.cfg.deflate.out.winsize < 8 || in SetVariable() 1728 l->ccp.cfg.deflate.out.winsize > 15) { in SetVariable() 1730 l->ccp.cfg.deflate.out.winsize); in SetVariable() 1731 l->ccp.cfg.deflate.out.winsize = 15; in SetVariable() 1734 l->ccp.cfg.deflate.in.winsize = atoi(arg->argv[arg->argn+1]); in SetVariable() 1735 if (l->ccp.cfg.deflate.in.winsize < 8 || in SetVariable() 1736 l->ccp.cfg.deflate.in.winsize > 15) { in SetVariable() 1738 l->ccp.cfg.deflate.in.winsize); in SetVariable() 1739 l->ccp.cfg.deflate.in.winsize = 15; in SetVariable() [all …]
|
/dragonfly/sys/sys/ |
H A D | ttycom.h | 53 struct winsize { struct 112 #define TIOCGWINSZ _IOR('t', 104, struct winsize) /* get window size */ 113 #define TIOCSWINSZ _IOW('t', 103, struct winsize) /* set window size */
|
/dragonfly/bin/stty/ |
H A D | extern.h | 37 void gprint (struct termios *, struct winsize *, int); 42 void print (struct termios *, struct winsize *, int, enum FMT);
|
H A D | stty.h | 45 struct winsize win; /* window info */
|
H A D | gfmt.c | 55 gprint(struct termios *tp, struct winsize *wp __unused, int ldisc __unused) in gprint()
|
H A D | print.c | 47 print(struct termios *tp, struct winsize *wp, int ldisc, enum FMT fmt) in print()
|
/dragonfly/lib/libutil/ |
H A D | libutil.h | 64 struct winsize; 76 struct termios *_termp, struct winsize *_winp); 90 struct termios *_termp, struct winsize *_winp);
|
H A D | pty.c | 48 struct winsize *winp) in openpty() 88 forkpty(int *amaster, char *name, struct termios *termp, struct winsize *winp) in forkpty()
|
/dragonfly/contrib/nvi2/ex/ |
H A D | script.h | 17 struct winsize sh_win; /* Window size. */
|
/dragonfly/libexec/telnetd/ |
H A D | termstat.c | 514 struct winsize ws; in clientstat() 596 struct winsize ws; in defer_terminit()
|
/dragonfly/usr.bin/vmstat/ |
H A D | vmstat.c | 278 struct winsize winsize; in main() local 290 winsize.ws_row = 0; in main() 291 ioctl(STDOUT_FILENO, TIOCGWINSZ, (char *)&winsize); in main() 292 if (winsize.ws_row > 0) in main() 293 winlines = winsize.ws_row; in main()
|
/dragonfly/contrib/dialog/ |
H A D | ttysize.c | 61 # define STRUCT_WINSIZE struct winsize
|
/dragonfly/bin/mined/ |
H A D | mined1.c | 1475 struct winsize winsize; in main() local 1484 if (ioctl(STD_OUT, TIOCGWINSZ, &winsize) == 0 && winsize.ws_row != 0) { in main() 1485 ymax = winsize.ws_row - 1; in main()
|
/dragonfly/contrib/tnftp/src/ |
H A D | util.c | 965 struct winsize winsize; in setttywidth() local 968 if (ioctl(fileno(ttyout), TIOCGWINSZ, &winsize) != -1 && in setttywidth() 969 winsize.ws_col != 0) in setttywidth() 970 ttywidth = winsize.ws_col; in setttywidth()
|
/dragonfly/usr.bin/tabs/ |
H A D | tabs.c | 229 struct winsize ws; in ttywidth()
|
/dragonfly/usr.bin/tset/ |
H A D | tset.c | 62 struct winsize win; in main()
|
/dragonfly/usr.bin/mail/ |
H A D | main.c | 319 struct winsize ws; in setscreensize()
|
/dragonfly/lib/libssh/openbsd-compat/ |
H A D | openbsd-compat.h | 229 int openpty(int *, int *, char *, struct termios *, struct winsize *);
|