Home
last modified time | relevance | path

Searched refs:ws (Results 1 – 25 of 114) sorted by relevance

12345

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Doutput.c71 } ws; variable
357 naddr_ntoa(ws.to.sin_addr.s_addr)); in supply_write()
362 if (ws.a != NULL && ws.a->type == RIP_AUTH_MD5) in supply_write()
363 end_md5_auth(wb, ws.a); in supply_write()
364 if (output(wb->type, &ws.to, ws.ifp, wb->buf, in supply_write()
365 ((char *)wb->n - (char *)wb->buf)) < 0 && ws.ifp != NULL) in supply_write()
366 if_sick(ws.ifp, _B_FALSE); in supply_write()
367 ws.npackets++; in supply_write()
371 clr_ws_buf(wb, ws.a); in supply_write()
390 if (ag->ag_seqno < update_seqno && (ws.state & WS_ST_FLASH)) in supply_out()
[all …]
/titanic_41/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dlex.l35 ws [ \t]+
46 {ws} ; /* ignore whitespace */
50 ^{ws}*break {return (BREAK);}
51 ^{ws}*cont {return (CONT);}
52 ^{ws}*echo {return (ECHO_OUT);}
53 ^{ws}*event {return (EVENT);}
54 ^{ws}*delete {return (DELETE);}
55 ^{ws}*dis {return (DIS);}
56 ^{ws}*getmaps {return (GETMAPS);}
57 ^{ws}*help {return (HELP);}
[all …]
/titanic_41/usr/src/lib/libcurses/screen/
H A Ddupwin.c108 chtype *ws, *we, *ns, *ne, wc; in dupwin() local
111 ws = *wincp; in dupwin()
112 we = ws + ncolsav - 1; in dupwin()
114 for (; ws <= we; ++ws) in dupwin()
115 if (!ISCBIT(*ws)) in dupwin()
117 for (; we >= ws; --we) in dupwin()
120 if (we >= ws) { in dupwin()
125 ns = *newcp + (ws - *wincp); in dupwin()
127 (void) memcpy((char *)ns, (char *)ws, in dupwin()
133 for (ws = *newcp; ws < ns; ++ws) in dupwin()
[all …]
H A D_addwstr.c40 addwstr(wchar_t *ws) in addwstr() argument
42 return (waddwstr(stdscr, ws)); in addwstr()
H A D_getwstr.c40 getwstr(wchar_t *ws) in getwstr() argument
42 return (wgetwstr(stdscr, ws)); in getwstr()
H A D_inswstr.c40 inswstr(wchar_t *ws) in inswstr() argument
42 return (winswstr(stdscr, ws)); in inswstr()
H A D_inwstr.c40 inwstr(wchar_t *ws) in inwstr() argument
42 return (winwstr(stdscr, ws)); in inwstr()
H A Dcurses.ed940 #define addnwstr(ws, n) waddnwstr(stdscr, ws, n)
944 #define addwstr(ws) waddwstr(stdscr, ws)
946 #define getnwstr(ws, n) wgetnwstr(stdscr, ws, n)
948 #define getwstr(ws) wgetwstr(stdscr, ws)
949 #define innwstr(ws, n) winnwstr(stdscr, ws, n)
950 #define insnwstr(ws, n) winsnwstr(stdscr, ws, n)
952 #define inswstr(ws) winswstr(stdscr, ws)
956 #define inwstr(ws) winwstr(stdscr, ws)
1076 #define mvaddnwstr(y, x, ws, n) \
1077 mvwaddnwstr(stdscr, y, x, ws, n)
[all …]
H A D_getnwstr.c40 getnwstr(wchar_t *ws, int n) in getnwstr() argument
42 return (wgetnwstr(stdscr, ws, n)); in getnwstr()
/titanic_41/usr/src/lib/libc/port/locale/
H A Dfgetws.c48 _fgetws_impl(wchar_t *_RESTRICT_KYWD ws, int n, FILE *_RESTRICT_KYWD fp, in _fgetws_impl() argument
65 wsp = ws; in _fgetws_impl()
74 if (wsp == ws) { in _fgetws_impl()
88 return (ws); in _fgetws_impl()
92 fgetws(wchar_t *_RESTRICT_KYWD ws, int n, FILE *_RESTRICT_KYWD fp) in fgetws() argument
94 return (_fgetws_impl(ws, n, fp, 0)); in fgetws()
98 __fgetws_xpg5(wchar_t *ws, int n, FILE *fp) in __fgetws_xpg5() argument
100 return (_fgetws_impl(ws, n, fp, 1)); in __fgetws_xpg5()
104 getws(wchar_t *ws) in getws() argument
112 wsp = ws; in getws()
[all …]
H A Dfputws.c39 _fputws_impl(const wchar_t *_RESTRICT_KYWD ws, FILE *_RESTRICT_KYWD fp, in _fputws_impl() argument
54 nchars = wcslen(ws); in _fputws_impl()
66 if ((n = wctomb(ptr, *ws)) < 0) { in _fputws_impl()
72 ws++; in _fputws_impl()
89 fputws(const wchar_t *_RESTRICT_KYWD ws, FILE *_RESTRICT_KYWD fp) in fputws() argument
91 return (_fputws_impl(ws, fp, 0)); in fputws()
95 __fputws_xpg5(const wchar_t *ws, FILE *fp) in __fputws_xpg5() argument
97 return (_fputws_impl(ws, fp, 1)); in __fputws_xpg5()
/titanic_41/usr/src/tools/onbld/Scm/
H A DBackup.py211 def __init__(self, backup, ws): argument
212 self.ws = ws
220 outgoing = self.ws.findoutgoing(parent)
221 nodes = self.ws.repo.changelog.nodesbetween(outgoing)[0]
228 parent = self.ws.parent()
231 self.ws.ui.warn('Workspace has no parent, committed changes will '
235 out = self.ws.findoutgoing(parent)
239 cg = self.ws.repo.changegroup(out, 'bundle')
269 self.ws.repo.addchangegroup(bundle, 'strip',
299 outnodes = set(self._outgoing_nodes(self.ws.parent()))
[all …]
/titanic_41/usr/src/lib/libast/common/port/
H A Dastwinsize.c76 struct winsize ws; in astwinsize() local
78 if (!ttctl(fd, TIOCGWINSZ, &ws) && ws.ws_col > 0 && ws.ws_row > 0) in astwinsize()
80 if (rows) *rows = ws.ws_row; in astwinsize()
81 if (cols) *cols = ws.ws_col; in astwinsize()
98 struct winsize ws; in astwinsize()
100 if (!ttctl(fd, JWINSIZE, &ws) && ws.bytesx > 0 && ws.bytesy > 0) in astwinsize()
102 if (rows) *rows = ws.bytesy; in astwinsize()
103 if (cols) *cols = ws.bytesx; in astwinsize()
/titanic_41/usr/src/cmd/lp/lib/lp/
H A Dgetlist.c58 char * ws, in getlist() argument
62 getlist (str, ws, hardsep) in getlist()
64 *ws; in getlist()
90 len = strlen(ws) + strlen(hardsep) + 1;
99 strcat (sep, ws);
113 copy += strspn(copy, ws);
123 while (--p != copy && strchr(ws, *p))
136 p += strspn(p, ws);
142 p += strspn(p, ws);
173 p += strspn(p, ws);
[all …]
/titanic_41/usr/src/cmd/mdb/common/modules/stmf/
H A Dstmf.c141 mdb_walk_state_t ws = {NULL, }; in stmf_ilports() local
155 if (stmf_ilport_walk_i(&ws) == WALK_ERR) in stmf_ilports()
158 dump_ilport((stmf_i_local_port_t *)ws.walk_addr, verbose); in stmf_ilports()
160 while (stmf_ilport_walk_s(&ws) == WALK_NEXT) in stmf_ilports()
161 dump_ilport((stmf_i_local_port_t *)ws.walk_addr, verbose); in stmf_ilports()
163 stmf_ilport_walk_f(&ws); in stmf_ilports()
501 mdb_walk_state_t ws = {NULL, }; in find_lport_by_wwn() local
503 while ((siport = next_stmf_port(&ws)) != NULL) { in find_lport_by_wwn()
642 mdb_walk_state_t ws = {walk_fct_irp_cb, &cbdata, addr}; in fct_irps() local
664 fct_irp_walk_i(&ws); in fct_irps()
[all …]
/titanic_41/usr/src/lib/libxcurses/h/
H A Dm_invari.h78 #define M_WUNVARIANTSTR(ws) m_wunvariantstr(ws) argument
89 #define M_WUNVARIANTSTR(ws) (ws) argument
/titanic_41/usr/src/ucblib/libtermcap/
H A Dtermcap.c394 struct winsize ws; in tngetsize() local
397 if (ioctl(1, TIOCGWINSZ, (char *)&ws) < 0) in tngetsize()
399 if (ws.ws_row == 0 || ws.ws_col == 0 || in tngetsize()
400 ws.ws_row > 999 || ws.ws_col > 999) in tngetsize()
412 bp = appendsmalldec(bp, ws.ws_row); in tngetsize()
417 bp = appendsmalldec(bp, ws.ws_col); in tngetsize()
/titanic_41/usr/src/lib/libc/port/i18n/
H A Dwmemchr.c35 wmemchr(const wchar_t *ws, wchar_t wc, size_t n) in wmemchr() argument
39 if (*ws++ == wc) in wmemchr()
40 return ((wchar_t *)--ws); in wmemchr()
H A Dwmemset.c35 wmemset(wchar_t *ws, wchar_t wc, size_t n) in wmemset() argument
37 wchar_t *ows1 = ws; in wmemset()
41 *ws++ = wc; in wmemset()
/titanic_41/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dkey_name.c56 wchar_t *ws; in key_name() local
62 ws = (wchar_t *) wunctrl(&cc); in key_name()
64 if ((len = wcstombs(mbs, ws, MB_LEN_MAX)) == (size_t) -1) in key_name()
/titanic_41/usr/src/tools/onbld/hgext/
H A Dcdm.py131 def buildfilelist(ws, parent, files): argument
144 active = ws.active(parent=parent)
145 return [(ws.filepath(e.name), e) for e in sorted(active)]
179 def abort_if_dirty(ws): argument
183 if ws.modified():
185 if ws.merged():
187 if ws.branched():
189 if ws.mq_applied():
801 def run_checks(ws, cmds, *args, **opts): argument
808 if not ws.ui.configbool('cdm', name, True):
[all …]
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Davl.c295 mdb_walk_state_t ws; in avl_walk_mdb() local
298 ws.walk_addr = addr; in avl_walk_mdb()
299 ws.walk_callback = callback; in avl_walk_mdb()
300 ws.walk_cbdata = cbdata; in avl_walk_mdb()
302 avl_walk_init(&ws); in avl_walk_mdb()
303 while ((ret = avl_walk_step(&ws)) == WALK_NEXT) in avl_walk_mdb()
305 avl_walk_fini(&ws); in avl_walk_mdb()
/titanic_41/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dkey_name.c55 wchar_t *ws; in key_name() local
64 ws = (wchar_t *) wunctrl(&cc); in key_name()
66 if ((len = wcstombs(mbs, ws, MB_LEN_MAX)) == (size_t) -1) in key_name()
/titanic_41/usr/src/cmd/ssh/ssh/
H A Dssh.c849 struct winsize ws; local
888 if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) < 0)
889 memset(&ws, 0, sizeof(ws));
890 packet_put_int(ws.ws_row);
891 packet_put_int(ws.ws_col);
892 packet_put_int(ws.ws_xpixel);
893 packet_put_int(ws.ws_ypixel);
1058 struct winsize ws; local
1064 if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) < 0)
1065 memset(&ws, 0, sizeof(ws));
[all …]
/titanic_41/usr/src/lib/libast/common/misc/
H A Dmime.c445 Walk_t ws; in mimelist() local
447 ws.fp = fp; in mimelist()
448 ws.hit = 0; in mimelist()
449 ws.prefix = 0; in mimelist()
450 if (ws.pattern = pattern) in mimelist()
454 ws.prefix = pattern - ws.pattern; in mimelist()
455 else if (ent = find(mp, ws.pattern)) in mimelist()
457 ws.pattern = 0; in mimelist()
458 list(mp->cap, ent, &ws); in mimelist()
459 return ws.hit; in mimelist()
[all …]

12345