Searched defs:mbs (Results 1 - 25 of 57) sorted by relevance

123

/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dkey_name.c56 static char mbs[MB_LEN_MAX+1]; local
66 if ((len = wcstombs(mbs, ws, MB_LEN_MAX)) == (size_t) -1)
69 mbs[len] = '\0';
72 __m_trace("key_name returned %p = \"%s\".", mbs, mbs);
74 return mbs;
H A Dgetwin.c48 get_cc(w, mbs, fp)
50 char *mbs;
60 if (fscanf(fp, "%[^\n]%n ", mbs, &n) < 1)
66 if (mvwaddstr(w, y, x, mbs) == ERR)
78 char *mbs; local
91 if ((mbs = (char *) malloc((size_t) (LINE_MAX+1))) == (char *) 0)
109 by = fscanf( fp, "BG=%hx,%hd,%[^\n] ", &w->_bg._at, &w->_bg._co, mbs);
113 while (get_cc(w, mbs, fp))
119 free(mbs);
125 free(mbs);
174 char *mbs; local
[all...]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwinnstr.c53 winnstr(WINDOW *w, char *mbs, int n) argument
64 (void) __m_cc_mbs(&w->_line[y][x], mbs, n);
78 return ((int)strlen(mbs));
H A Dkey_name.c57 static char mbs[MB_LEN_MAX + 1]; local
64 if ((len = wcstombs(mbs, ws, MB_LEN_MAX)) == (size_t) -1)
67 mbs[len] = '\0';
69 return (mbs);
H A Dwinsnstr.c52 winsnstr(WINDOW *w, const char *mbs, int n) argument
71 for (; *mbs != '\0' && 0 < n; n -= i, mbs += i) {
72 if ((i = __m_mbs_cc(mbs, w->_bg._at, w->_fg._co, &cc))
H A Dinsnstr.c52 insnstr(const char *mbs, int n) argument
56 code = winsnstr(stdscr, mbs, n);
64 mvinsnstr(int y, int x, const char *mbs, int n) argument
69 code = winsnstr(stdscr, mbs, n);
77 mvwinsnstr(WINDOW *w, int y, int x, const char *mbs, int n) argument
82 code = winsnstr(w, mbs, n);
90 insstr(const char *mbs) argument
94 code = winsnstr(stdscr, mbs, -1);
102 mvinsstr(int y, int x, const char *mbs) argument
107 code = winsnstr(stdscr, mbs,
115 mvwinsstr(WINDOW *w, int y, int x, const char *mbs) argument
128 winsstr(WINDOW *w, const char *mbs) argument
[all...]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dmblen.c40 mbstate_t mbs = { 0 }; local
47 rval = mbrtowc_l(NULL, s, n, &mbs, loc);
H A Dmbrlen.c39 static mbstate_t mbs; local
42 ps = &mbs;
H A Dwcrtomb.c41 static mbstate_t mbs; local
44 ps = &mbs;
H A Dwctob.c41 mbstate_t mbs = initial; local
44 if (c == WEOF || wcrtomb_l(buf, c, &mbs, loc) != 1)
H A Dwctomb.c39 mbstate_t mbs = { 0 }; local
46 if ((rval = wcrtomb_l(s, wchar, &mbs, loc)) == (size_t)-1)
H A Dmbftowc.c41 mbstate_t mbs; local
55 (void) memset(&mbs, 0, sizeof (mbs));
56 cons = mbrtowc(wc, start, s - start, &mbs);
H A Dungetwc.c57 char mbs[MB_LEN_MAX]; local
72 n = wctomb(mbs, (wchar_t)wc);
91 p = (unsigned char *)(mbs + n - 1);
H A Dbtowc.c40 mbstate_t mbs = initial; local
52 if (mbrtowc_l(&wc, &cc, 1, &mbs, loc) > 1)
H A Dwcsrtombs.c42 static mbstate_t mbs; local
45 ps = &mbs;
H A Dwcstombs.c42 mbstate_t mbs; local
45 mbs = initial;
47 return (loc->ctype->lc_wcsnrtombs(s, &pwcsp, ULONG_MAX, n, &mbs));
H A Dmbstowcs.c42 mbstate_t mbs = { 0 }; local
46 return (loc->ctype->lc_mbsnrtowcs(pwcs, &sp, ULONG_MAX, n, &mbs));
H A Dmbsrtowcs.c42 static mbstate_t mbs; local
45 ps = &mbs;
H A Dmbtowc.c41 mbstate_t mbs = { 0 }; local
48 rval = mbrtowc_l(pwc, s, n, &mbs, loc);
H A Dmbrtowc.c39 static mbstate_t mbs; local
42 ps = &mbs;
57 static mbstate_t mbs; local
60 ps = &mbs;
H A Dwcsnrtombs.c43 static mbstate_t mbs; local
46 ps = &mbs;
H A Dmbsnrtowcs.c42 static mbstate_t mbs; local
45 ps = &mbs;
H A Dwcsftime.c65 mbstate_t mbs; local
78 mbs = initial;
80 sflen = wcsrtombs(NULL, &formatp, 0, &mbs);
85 mbs = initial;
86 (void) wcsrtombs(sformat, &formatp, sflen + 1, &mbs);
104 mbs = initial;
105 n = mbsrtowcs(wcs, &dstp, maxsize, &mbs);
/illumos-gate/usr/src/cmd/make/bin/
H A Dmacro.cc116 register char *mbs, *tmp_mbs_buffer = NULL; local
129 mbs = tmp_mbs_buffer = getmem((length + 1) * MB_LEN_MAX);
130 (void) wcstombs(mbs,
134 mbs = mbs_buffer;
135 WCSTOMBS(mbs, value.buffer.start);
137 length = 2 + strlen(p->name->string_mb) + strlen(mbs);
146 mbs);
/illumos-gate/usr/src/test/libc-tests/tests/stdio/
H A Dtest_mbrtowc.c25 static mbstate_t mbs; variable
34 sz = mbrtowc(&wc, in, insz, &mbs);
40 if (mbsinit(&mbs) == (insz && outsz == (size_t)-2))
45 memset(&mbs, 0, sizeof (mbs));

Completed in 95 milliseconds

123