Home
last modified time | relevance | path

Searched refs:mbtowc (Results 1 – 25 of 109) sorted by relevance

12345

/titanic_41/usr/src/lib/libgen/common/
H A Dgmatch.c40 n = mbtowc(&cl, p, MB_LEN_MAX); \
55 n = mbtowc(&cl, s, MB_LEN_MAX); in gmatch()
63 n = mbtowc(&cl, p, MB_LEN_MAX); in gmatch()
151 n = mbtowc(&cl, s, MB_LEN_MAX); in gmatch()
/titanic_41/usr/src/cmd/bnu/
H A Dgetprm.c61 while ((width = mbtowc(&ch, s, MB_CUR_MAX)) &&
73 while ((width = mbtowc(&ch, s, MB_CUR_MAX)) && ch) {
85 width = mbtowc(&ch, s+1, MB_CUR_MAX);
98 width = mbtowc(&ch, s+1, MB_CUR_MAX);
169 width = mbtowc(&ch, s, MB_CUR_MAX);
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dmbtowc.c44 mbtowc(pwc, s, n) in mbtowc() function
122 return (mbtowc((wchar_t *)0, s, n));
128 val = mbtowc((wchar_t *)0, s, n);
/titanic_41/usr/src/lib/libbc/inc/include/
H A Dstdlib.h41 #define mblen(s, n) mbtowc((wchar_t *)0, s, n)
62 extern int mbtowc(/* wchar_t *pwc, const char *s, size_t n */);
/titanic_41/usr/src/lib/libbc/inc/5include/
H A Dstdlib.h72 extern int mbtowc(/* wchar_t *pwc, const char *s, size_t n */);
76 #define mblen(s, n) mbtowc((wchar_t *)0, s, n)
/titanic_41/usr/src/cmd/sh/
H A Dstring.c69 if((n = mbtowc(&f, (char *)c, MULTI_BYTE_MAX)) <= 0)
73 if((n = mbtowc(&e, (char *)s, MULTI_BYTE_MAX)) <= 0)
H A Dservice.c329 if ((len = mbtowc(&wc, (char *)current, in trim()
347 if ((len = mbtowc(&wc, (char *)current, in trim()
379 if ((len = mbtowc(&wc, (char *)current,
406 if ((len = mbtowc(&wc, (char *)current,
532 if ((length = mbtowc(&wc, (char *)s,
544 if ((length = mbtowc(&wc, (char *)s,
H A Dexpand.c84 if ((len = mbtowc(&wc, (char *)cs, MB_LEN_MAX)) <= 0) { in expand()
237 if ((len = mbtowc(&wc, (char *)s1, MB_LEN_MAX)) <= 0) { in addg()
H A Dprint.c258 if ((n = mbtowc(&wc, (const char *)s, MB_LEN_MAX)) <= 0) { in prs_cntl()
301 if ((n = mbtowc(&wc, (const char *)s, MB_LEN_MAX)) <= 0) { in prs_cntl()
H A Dargs.c128 if ((len = mbtowc(&wc, (char *)cp, MB_LEN_MAX)) <= 0) { in options()
168 if ((len = mbtowc(&wc, (char *)cp, MB_LEN_MAX)) <= 0) { in options()
H A Dmacro.c299 if ((length = mbtowc(&wc, (char *)v, MB_LEN_MAX)) <= 0)
357 if ((len = mbtowc(&wc, (char *)argp, MB_LEN_MAX)) <= 0)
366 if ((len = mbtowc(&wc, (char *)argp, MB_LEN_MAX)) <= 0)
H A Decho.c83 if ((len = mbtowc(&wc, (char *)cp, in echo()
/titanic_41/usr/src/cmd/csh/
H A Dsh.tchar.c152 if ((j = mbtowc(&wc, pmb, MB_CUR_MAX)) <= 0) { in mbstotcs()
162 if ((j = mbtowc(&wc, pmb, MB_CUR_MAX)) <= 0) { in mbstotcs()
528 if ((j = mbtowc(&wc, (char *)s, b_len)) <= 0) { in read_()
552 if ((j = mbtowc(&wc, (char *)s, b_len)) <= 0) { in read_()
578 if ((j = mbtowc(&wc, (char *)s, delta)) <= 0) in read_()
599 if (mbtowc(&wc, (char *)s, delta) > 0) { in read_()
615 if ((j = mbtowc(&wc, (char *)s, b_len)) <= 0) { in read_()
/titanic_41/usr/src/cmd/vi/port/
H A Dex_subr.c576 length = mbtowc(&wchar, (char *)lim, MULTI_BYTE_MAX); in qcolumn()
593 length = mbtowc(&wchar, (char *)gp, MULTI_BYTE_MAX); in qcolumn()
622 length = mbtowc(&wchar, (char *)lim, MULTI_BYTE_MAX); in nqcolumn()
633 length = mbtowc(&wchar, (char *)gp, MULTI_BYTE_MAX); in nqcolumn()
859 length = mbtowc(&wchar, (char *)cp, MULTI_BYTE_MAX);
1148 length = mbtowc(&wchar, (char *)cursor, MULTI_BYTE_MAX);
1164 length = mbtowc(&wchar, (char *)ccursor, MULTI_BYTE_MAX);
H A Dprintf.c88 length2 = mbtowc(&wfcode, (char *)fmt, MB_LEN_MAX); in viprintf()
395 length = mbtowc(&wchar, (char *)s, MB_LEN_MAX); in _p_emit()
H A Dex_voper.c1018 if ((length = mbtowc(&wchar, (char *)wcursor, in find()
1041 length = mbtowc(&wchar, (char *)wcursor, in word()
1139 (void) mbtowc(&z, (char *)wc, MB_LEN_MAX); in wordof()
1161 length = mbtowc(&c, (char *)wc, MULTI_BYTE_MAX); in wordch()
1214 (void) mbtowc(&z, (char *)wcursor, MB_CUR_MAX); in blank()
/titanic_41/usr/src/lib/libast/common/comp/
H A Dwc.c36 mbtowc(wchar_t* t, const char* s, size_t n) in mbtowc() function
52 return mbtowc(t, s, n); in mbrtowc()
/titanic_41/usr/src/lib/libxcurses/src/libc/mse/
H A Drestart.c49 return mbtowc(wc, mb, n); in mbrtowc()
/titanic_41/usr/src/cmd/dumpcs/
H A Ddumpcs.c222 (void) mbtowc(&wc, (char *) codestr,
229 if ((mbl = mbtowc(&wc, (char *) codestr,
/titanic_41/usr/src/lib/libc/port/locale/
H A Dmbtowc.c54 mbtowc(wchar_t *_RESTRICT_KYWD pwc, const char *_RESTRICT_KYWD s, size_t n) in mbtowc() function
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dglob.c425 if ((len_s = mbtowc(&scc, s, MB_CUR_MAX)) <= 0) { in amatch()
432 if ((len_p = mbtowc(&c, p, MB_CUR_MAX)) <= 0) { in amatch()
446 if ((len_p = mbtowc(&cc, p, MB_CUR_MAX)) <= 0) { in amatch()
457 if ((len_p = mbtowc(&lc2, p, in amatch()
/titanic_41/usr/src/cmd/egrep/
H A Degrep.y309 if((length = mbtowc(&lc, input, MB_LEN_MAX)) == -1) in nextch()
881 length = mbtowc(&wchar, p, MB_LEN_MAX); in execute()
892 length = mbtowc(&wchar, lastptr, MB_LEN_MAX); in execute()
1156 length = mbtowc(&c, p, MB_LEN_MAX); in genrange()
1159 length = mbtowc(&c, p, MB_LEN_MAX); in genrange()
1299 mbtowc(&minmax1[i], multic, MB_LEN_MAX); in maxmin()
1302 mbtowc(&minmax2[i], multic, MB_LEN_MAX); in maxmin()
1306 mbtowc(&minmax3[i], multic, MB_LEN_MAX); in maxmin()
/titanic_41/usr/src/lib/libc/port/i18n/
H A Dwsprintf.c78 if ((retcode = mbtowc(wstring, p2, MB_CUR_MAX)) == -1) { in wsprintf()
/titanic_41/usr/src/lib/libxcurses2/src/libc/wide/
H A Dwio_get.c89 wio->_size = mbtowc(&wc, (char *)wio->_mb, wio->_next + 1); in m_wio_get()
/titanic_41/usr/src/cmd/echo/
H A Decho.c58 if ((b_len = mbtowc(&wc, cp, MB_CUR_MAX)) <= 0) { in main()

12345