Home
last modified time | relevance | path

Searched refs:wstr (Results 1 – 10 of 10) sorted by relevance

/titanic_50/usr/src/lib/libadm/common/
H A Dputtext.c50 wchar_t *wstr, *wp; in puttext() local
66 wstr = (wchar_t *)malloc(sizeof (wchar_t) * (len + 1)); in puttext()
67 if (wstr == NULL) in puttext()
70 ret = mbstowcs(wstr, (const char *)str, len + 1); in puttext()
72 free(wstr); in puttext()
76 wp = wstr; in puttext()
305 free(wstr); in puttext()
/titanic_50/usr/src/lib/libc/port/stdio/
H A Dwscanf.c72 swscanf(const wchar_t *wstr, const wchar_t *fmt, ...) in swscanf() argument
78 ret = vswscanf(wstr, fmt, ap); in swscanf()
125 _swscanf_c89(const wchar_t *wstr, const wchar_t *fmt, ...) in _swscanf_c89() argument
131 ret = _vswscanf_c89(wstr, fmt, ap); in _swscanf_c89()
H A Dvwscanf.c96 _vswscanf_c89(const wchar_t *wstr, const wchar_t *fmt, va_list ap) in _vswscanf_c89() argument
98 vswscanf(const wchar_t *wstr, const wchar_t *fmt, va_list ap) in _vswscanf_c89()
112 clen = wcstombs(NULL, wstr, 0); in _vswscanf_c89()
120 wlen = wcstombs(tmp_buf, wstr, clen + 1); in _vswscanf_c89()
/titanic_50/usr/src/lib/libpkg/common/
H A Dlogerr.c45 char *wstr = pkg_gt("WARNING:"); in logerr() local
52 strncmp(fmt, wstr, strlen(wstr)) && in logerr()
/titanic_50/usr/src/lib/libcurses/screen/
H A Dwinwstr.c39 winwstr(WINDOW *win, wchar_t *wstr) in winwstr() argument
74 *wstr++ = wc; in winwstr()
77 *wstr = (wchar_t)0; in winwstr()
H A Dwinnwstr.c44 winnwstr(WINDOW *win, wchar_t *wstr, int ncols) in winnwstr() argument
80 *wstr++ = wc; in winnwstr()
92 *wstr = (wchar_t)0; in winnwstr()
H A Dllib-lcurses1177 int winnwstr(WINDOW *win, wchar_t *wstr, int ncols);
1204 int winwstr(WINDOW *win, wchar_t *wstr);
/titanic_50/usr/src/lib/libc/port/print/
H A Ddoprnt.c1809 wchar_t *wstr; in _wndoprnt() local
1817 wstr = (wchar_t *)lmalloc(bpsize); in _wndoprnt()
1818 if (wstr == NULL) { in _wndoprnt()
1822 nwc = mbstowcs(wstr, cbp, MAXINT); in _wndoprnt()
1824 bp = wstr; in _wndoprnt()
1825 p = wstr + nwc; in _wndoprnt()
1828 wchar_t *wstr; in _wndoprnt() local
1837 wstr = (wchar_t *)lmalloc(bpsize); in _wndoprnt()
1838 if (wstr == NULL) { in _wndoprnt()
1842 nwc = mbstowcs(wstr, cbp, nwc); in _wndoprnt()
[all …]
/titanic_50/usr/src/cmd/mandoc/
H A Dterm.c619 term_setwidth(struct termp *p, const char *wstr) in term_setwidth() argument
627 if (NULL != wstr) { in term_setwidth()
628 switch (*wstr) { in term_setwidth()
631 wstr++; in term_setwidth()
635 wstr++; in term_setwidth()
640 if (a2roffsu(wstr, &su, SCALE_MAX)) in term_setwidth()
/titanic_50/usr/src/cmd/audio/audioctl/
H A Daudioctl.c604 set_device_control(device_t *d, cinfo_t *cinfop, char *wstr, int vopt) in set_device_control() argument
608 int wlen = strlen(wstr); in set_device_control()
621 cval.value = (strncmp(_("on"), wstr, wlen) == 0) ? 1 : 0; in set_device_control()
625 cval.value = atoi(wstr); in set_device_control()
629 lstr = wstr; in set_device_control()
630 rstr = strchr(wstr, ':'); in set_device_control()
654 if (strncmp(wstr, str, wlen) == 0) { in set_device_control()
673 cinfop->ci.extname, wstr); in set_device_control()