Lines Matching refs:mbs_len

50 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
339 assert(0 < mbs_len && mbs_len <= MB_LEN_MAX); in add_charmap_impl_to()
364 (void) memcpy(m->cm_tombs, mbs, mbs_len); in add_charmap_impl_to()
365 m->cm_tombs_len = mbs_len; in add_charmap_impl_to()
372 int mbs_len = *mbs++; in add_charmap() local
373 assert(0 < mbs_len && mbs_len <= MB_LEN_MAX); in add_charmap()
374 add_charmap_impl(sym, mbs, mbs_len, 1); in add_charmap()
389 int mbs_len; in add_charmap_range() local
396 mbs_len = *mbs++; in add_charmap_range()
397 assert(0 < mbs_len && mbs_len <= MB_LEN_MAX); in add_charmap_range()
398 (void) memcpy(tmbs, mbs, mbs_len); in add_charmap_range()
399 mb_last = tmbs + mbs_len - 1; in add_charmap_range()
422 add_charmap_impl(nn, tmbs, mbs_len, 1); in add_charmap_range()
508 int mbs_len; in cm_iconv() local
520 mbs_len = MB_LEN_MAX; in cm_iconv()
521 if (mbs_len > *ileft) in cm_iconv()
522 mbs_len = *ileft; in cm_iconv()
523 cm = find_mbs(*iptr, mbs_len); in cm_iconv()
525 if (mbs_len < MB_LEN_MAX && in cm_iconv()
526 find_mbs_partial(*iptr, mbs_len)) { in cm_iconv()