HomeSort by: relevance | last modified time | path
    Searched refs:ws (Results 1 - 25 of 62) sorted by relevancy

1 2 3

  /src/lib/libc/stdio/
fputws.c 45 fputws(const wchar_t * __restrict ws, FILE * __restrict fp)
48 _DIAGASSERT(ws != NULL);
53 while (*ws != '\0') {
54 if (__fputwc_unlock(*ws++, fp) == WEOF) {
fgetws.c 46 fgetws(wchar_t * __restrict ws, int n, FILE * __restrict fp)
52 _DIAGASSERT(ws != NULL);
62 wsp = ws;
68 if (wsp == ws) {
83 return ws;
  /src/usr.bin/resize/
resize.h 59 #define TTYSIZE_ROWS(ws) (ws).ws_row
60 #define TTYSIZE_COLS(ws) (ws).ws_col
61 #define SET_TTYSIZE(fd, ws) ioctl((fd), TIOCSWINSZ, &(ws))
81 #define setup_winsize(ws, row, col, xpixel, ypixel) \
82 (void)((ws).ws_row = row, \
83 (ws).ws_col = col, \
84 (ws).ws_xpixel = xpixel,
    [all...]
  /src/lib/libc/termios/
tcgetwinsize.c 45 tcgetwinsize(int fd, struct winsize *ws)
47 return ioctl(fd, TIOCGWINSZ, ws);
tcsetwinsize.c 45 tcsetwinsize(int fd, const struct winsize *ws)
47 return ioctl(fd, TIOCSWINSZ, 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/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/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/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/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/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/sys/arch/evbarm/stand/board/
smdk2800_ram_init.S 65 #define SMBCON_VAL(ws,st,tacs,tcoc,toch,tacc,tcah,sdw) \
66 ((ws) | (st) | \
  /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/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/lib/libc/locale/
iswctype_mb.c 211 wcswidth_l(const wchar_t * __restrict ws, size_t wn, locale_t loc)
217 _DIAGASSERT(ws != NULL);
221 while (wn > 0 && *ws != L'\0') {
222 x = _runetype_priv(rl, *ws);
226 ++ws, --wn;
232 wcswidth(const wchar_t * __restrict ws, size_t wn)
234 return wcswidth_l(ws, wn, _current_locale());
  /src/usr.bin/m4/
tokenizer.l 43 ws {delim}+
50 {ws} {/* just skip it */}
  /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/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/sys/arch/luna68k/conf/
files.luna68k 71 device ws: wskbddev,wsmousedev
72 attach ws at sio
73 file arch/luna68k/dev/lunaws.c ws
74 file arch/luna68k/dev/omkbdmap.c ws
  /src/lib/libcurses/
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 );
  /src/bin/ksh/
lex.c 112 XString ws; /* expandable output word */ local in function:yylex
125 Xinit(ws, wp, 64, ATEMP);
168 Xcheck(ws, wp);
173 if (is_wdvarname(Xstring(ws, wp), false))
181 Xcheck(ws, wp);
259 Xcheck(ws, wp);
275 Xsavepos(ws, wp);
287 wp = get_brace_var(&ws, wp);
308 Xcheck(ws, wp);
317 Xcheck(ws, wp)
1283 XString ws; local in function:arraysub
    [all...]
edit.c 98 struct winsize ws; local in function:check_sigwinch
101 if (procpid == kshpid && ioctl(tty_fd, TIOCGWINSZ, &ws) >= 0) {
105 * check COLUMNS/LINES before checking ws.ws_col/row,
110 if (ws.ws_col) {
111 x_cols = ws.ws_col < MIN_COLS ? MIN_COLS
112 : ws.ws_col;
115 setint(vp, (long) ws.ws_col);
117 if (ws.ws_row
119 setint(vp, (long) ws.ws_row);
  /src/bin/ps/
ps.c 207 struct winsize ws; local in function:main
218 if ((ioctl(STDOUT_FILENO, TIOCGWINSZ, (char *)&ws) == -1 &&
219 ioctl(STDERR_FILENO, TIOCGWINSZ, (char *)&ws) == -1 &&
220 ioctl(STDIN_FILENO, TIOCGWINSZ, (char *)&ws) == -1) ||
221 ws.ws_col == 0)
224 termwidth = ws.ws_col - 1;
272 prtheader = ws.ws_row > 5 ? ws.ws_row : 22;

Completed in 23 milliseconds

1 2 3