Home
last modified time | relevance | path

Searched refs:mbs_len (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/iconv/
H A Dcharmap.c50 static void add_charmap_impl_fr(char *sym, char *mbs, int mbs_len, int nodups);
51 static void add_charmap_impl_to(char *sym, char *mbs, int mbs_len, int nodups);
263 add_charmap_impl(char *sym, char *mbs, int mbs_len, int nodups) in add_charmap_impl() argument
277 add_charmap_impl_fr(sym, mbs, mbs_len, nodups); in add_charmap_impl()
280 add_charmap_impl_to(sym, mbs, mbs_len, nodups); in add_charmap_impl()
289 add_charmap_impl_fr(char *sym, char *mbs, int mbs_len, int nodups) in add_charmap_impl_fr() argument
300 assert(0 < mbs_len && mbs_len <= MB_LEN_MAX); in add_charmap_impl_fr()
301 (void) memcpy(n->cm_frmbs, mbs, mbs_len); in add_charmap_impl_fr()
302 n->cm_frmbs_len = mbs_len; in add_charmap_impl_fr()
334 add_charmap_impl_to(char *sym, char *mbs, int mbs_len, int nodups) in add_charmap_impl_to() argument
[all …]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dgetwin.c164 size_t mbs_len; in putwin() local
167 mbs_len = columns * _M_CCHAR_MAX * MB_LEN_MAX * sizeof (*mbs) + 1; in putwin()
168 if ((mbs = (char *) malloc((size_t) mbs_len)) == (char *) 0) in putwin()
179 (void) __m_cc_mbs(&w->_bg, mbs, (int)mbs_len); in putwin()
185 x = put_cc(w, y, x, mbs, (int)mbs_len, fp); in putwin()
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dgetwin.c173 int y, x, mbs_len; local
179 mbs_len = columns * M_CCHAR_MAX * MB_LEN_MAX * sizeof *mbs + 1;
180 if ((mbs = (char *) malloc((size_t) mbs_len)) == (char *) 0)
193 (void) __m_cc_mbs(&w->_bg, mbs, mbs_len);
199 x = put_cc(w, y, x, mbs, mbs_len, fp);