/src/libexec/telnetd/ |
termstat.c | 512 struct winsize ws; local in function:clientstat 529 ws.ws_col = parm1; 530 ws.ws_row = parm2; 531 (void) ioctl(pty, TIOCSWINSZ, (char *)&ws); 594 struct winsize ws; local in function:defer_terminit 596 memset((char *)&ws, 0, sizeof(ws)); 597 ws.ws_col = def_col; 598 ws.ws_row = def_row; 599 (void) ioctl(pty, TIOCSWINSZ, (char *)&ws); [all...] |
sys_term.c | 437 struct winsize ws; local in function:getptyslave 472 memset((char *)&ws, 0, sizeof(ws)); 473 ws.ws_col = def_col; 474 ws.ws_row = def_row; 475 (void)ioctl(t, TIOCSWINSZ, (char *)&ws);
|
/src/sys/dev/rcons/ |
rcons_kern.c | 184 struct winsize *ws; local in function:rcons_ttyinit 190 ws = &tp->t_winsize; 191 ws->ws_row = rc->rc_maxrow; 192 ws->ws_col = rc->rc_maxcol; 193 ws->ws_xpixel = rc->rc_width; 194 ws->ws_ypixel = rc->rc_height;
|
/src/lib/libcurses/ |
ins_wch.c | 92 wchar_t ws[] = L" "; local in function:wins_wch 128 if (wins_nwstr(win, ws, min(win->maxx - x,
|
get_wch.c | 442 wchar_t inp, ws[2]; local in function:wget_wch 471 ws[0] = *ch, ws[1] = L'\0'; 472 setcchar(&wc, ws, win->wattr, 0, NULL); 563 ws[ 0 ] = inp, ws[ 1 ] = L'\0'; 564 setcchar( &wc, ws, win->wattr, 0, NULL );
|
ins_wstr.c | 139 wchar_t ws[] = L" "; local in function:wins_nwstr 200 cw = wcwidth(ws[0]); 262 cw = wcwidth(ws[0]); 270 *lstr = *ws;
|
/src/lib/libc/gen/ |
fstab.c | 92 static const char ws[] = " \t\n"; local in function:fstabscan 128 _fs_fstab.fs_spec = nextfld(&lp, ws); 131 _fs_fstab.fs_file = nextfld(&lp, ws); 132 _fs_fstab.fs_vfstype = nextfld(&lp, ws); 133 _fs_fstab.fs_mntops = nextfld(&lp, ws); 138 if ((cp = nextfld(&lp, ws)) != NULL) { 140 if ((cp = nextfld(&lp, ws)) != NULL)
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
sanitizer_bitvector_test.cc | 172 uptr ws = SANITIZER_WORDSIZE; local in function:TEST 174 TestBitVector<TwoLevelBitVector<> >(ws * ws); 175 TestBitVector<TwoLevelBitVector<2> >(ws * ws * 2); 176 TestBitVector<TwoLevelBitVector<3> >(ws * ws * 3);
|
/src/usr.bin/tabs/ |
tabs.c | 90 struct winsize ws; local in function:main 217 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) == 0) 218 cols = ws.ws_col;
|
/src/usr.sbin/iteconfig/ |
iteconfig.c | 83 struct winsize ws; local in function:main 179 xioctl(fd, TIOCGWINSZ, &ws); 182 printf("tty size: rows %d cols %d\n", ws.ws_row, ws.ws_col); 187 printcmap(cm, ws.ws_col);
|
/src/sys/compat/ultrix/ |
ultrix_ioctl.c | 521 struct winsize ws; local in function:ultrix_sys_ioctl 524 error = ultrix_do_ioctl(SCARG(&ap, fd), TIOCGWINSZ, &ws, l); 531 ws.ws_row = ss.ts_row; 532 ws.ws_col = ss.ts_col; 534 return ultrix_do_ioctl(SCARG(&ap, fd), TIOCSWINSZ, &ws, l); 538 struct winsize ws; local in function:ultrix_sys_ioctl 541 error = ultrix_do_ioctl(SCARG(&ap, fd), TIOCGWINSZ, &ws, l); 546 ss.ts_row = ws.ws_row; 547 ss.ts_col = ws.ws_col;
|
/src/usr.bin/progress/ |
progress.c | 85 int ws, gzipstat, cmdstat; local in function:main 257 deadpid = wait(&ws); 264 ws = WIFSIGNALED(ws) ? WTERMSIG(ws) : WEXITSTATUS(ws); 270 cmdstat = ws; 275 gzipstat = ws;
|
/src/usr.bin/telnet/ |
sys_bsd.c | 442 struct winsize ws; local in function:TerminalWindowSize 444 if (ioctl(fileno(stdin), TIOCGWINSZ, (char *)&ws) >= 0) { 445 *rows = ws.ws_row; 446 *cols = ws.ws_col;
|
/src/usr.bin/mail/ |
main.c | 106 struct winsize ws; local in function:setscreensize 110 if (ioctl(1, TIOCGWINSZ, &ws) < 0) 111 ws.ws_col = ws.ws_row = 0; 120 else if (ws.ws_row != 0) 121 screenheight = ws.ws_row; 124 if ((realscreenheight = ws.ws_row) == 0) 126 if ((screenwidth = ws.ws_col) == 0)
|
/src/games/tetris/ |
screen.c | 165 struct winsize ws; local in function:scr_set 186 if (ioctl(0, TIOCGWINSZ, &ws) == 0) { 187 Rows = ws.ws_row; 188 Cols = ws.ws_col;
|
/src/sys/kern/ |
core_elf32.c | 119 struct writesegs_state ws; local in function:ELFNAMEEND 225 ws.secoff = notestart + notesize; 226 ws.psections = psections; 227 ws.npsections = npsections - 1; 228 ws.p = l->l_proc; 230 (l->l_proc, ELFNAMEEND(coredump_getseghdrs), &ws), ENOSYS, error); 233 if (ws.npsections != 0) { 240 ws.psections->p_type = PT_NOTE; 241 ws.psections->p_offset = notestart; 242 ws.psections->p_vaddr = 0 306 struct writesegs_state *ws = us->cookie; local in function:ELFNAMEEND [all...] |
/src/usr.bin/infocmp/ |
infocmp.c | 650 struct winsize ws; local in function:main 657 else if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) == 0) 658 cols = ws.ws_col;
|
/src/usr.sbin/quotarestore/ |
quotarestore.c | 45 static const char ws[] = " \t\r\n"; variable in typeref:typename:const char[] 297 return ch != '\0' && strchr(ws, ch) != NULL; 418 for (s = strtok_r(buf, ws, &x); 420 s = strtok_r(NULL, ws, &x)) {
|
/src/sys/arch/atari/dev/ |
ite_et.c | 403 struct winsize ws; local in function:iteet_ioctl 418 ws.ws_row = ip->rows; 419 ws.ws_col = ip->cols; 420 ws.ws_xpixel = view->display.width; 421 ws.ws_ypixel = view->display.height; 428 (void *)&ws, 0, l);
|
/src/usr.sbin/wsmoused/ |
selection.c | 400 struct winsize ws; local in function:open_tty 411 if (ioctl(Selmouse.sm_ttyfd, TIOCGWINSZ, &ws) < 0) { 418 Selmouse.sm_max_y = ws.ws_row - 1; 419 Selmouse.sm_max_x = ws.ws_col - 1;
|
/src/usr.sbin/crash/ |
crash.c | 349 struct winsize ws; local in function:main 492 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) != -1) { 493 db_max_width = ws.ws_col;
|
/src/tests/usr.bin/xlint/lint1/ |
init.c | 144 const int *ws; member in struct:init_pointer_in_struct::cs_ws 171 const int ws[10]; member in struct:init_array_in_struct::cs_ws
|
/src/sbin/routed/ |
output.c | 72 } ws; variable in typeref:struct:__anon7854488c0108 333 naddr_ntoa(ws.to.sin_addr.s_addr)); 338 if (ws.a != 0 && ws.a->type == RIP_AUTH_MD5) 339 end_md5_auth(wb,ws.a); 340 if (output(wb->type, &ws.to, ws.ifp, wb->buf, 342 && ws.ifp != 0) 343 if_sick(ws.ifp); 344 ws.npackets++ [all...] |
/src/sys/compat/sunos/ |
sunos_ioctl.c | 474 struct winsize ws; local in function:sunos_sys_ioctl 477 if ((error = (*ctl)(fp, TIOCGWINSZ, &ws)) != 0) 483 ws.ws_row = ss.ts_row; 484 ws.ws_col = ss.ts_col; 486 error = (*ctl)(fp, TIOCSWINSZ, &ws); 491 struct winsize ws; local in function:sunos_sys_ioctl 494 if ((error = (*ctl)(fp, TIOCGWINSZ, &ws)) != 0) 498 ss.ts_row = ws.ws_row; 499 ss.ts_col = ws.ws_col;
|
/src/sys/compat/sunos32/ |
sunos32_ioctl.c | 518 struct winsize ws; local in function:sunos32_sys_ioctl 521 error = sunos32_do_ioctl(SCARG(&bsd_ua, fd), TIOCGWINSZ, &ws, 530 ws.ws_row = ss.ts_row; 531 ws.ws_col = ss.ts_col; 533 return sunos32_do_ioctl(SCARG(&bsd_ua, fd), TIOCSWINSZ, &ws, l); 537 struct winsize ws; local in function:sunos32_sys_ioctl 540 error = sunos32_do_ioctl(SCARG(&bsd_ua, fd), TIOCGWINSZ, &ws, 546 ss.ts_row = ws.ws_row; 547 ss.ts_col = ws.ws_col;
|