Searched refs:old_mbc (Results 1 – 1 of 1) sorted by relevance
265 mb_copy (mbchar_t *new_mbc, const mbchar_t *old_mbc) in mb_copy() argument267 if (old_mbc->ptr == &old_mbc->buf[0]) in mb_copy()269 memcpy (&new_mbc->buf[0], &old_mbc->buf[0], old_mbc->bytes); in mb_copy()273 new_mbc->ptr = old_mbc->ptr; in mb_copy()274 new_mbc->bytes = old_mbc->bytes; in mb_copy()275 if ((new_mbc->wc_valid = old_mbc->wc_valid)) in mb_copy()276 new_mbc->wc = old_mbc->wc; in mb_copy()