Lines Matching refs:mbs
690 mbstate_t mbs; in wcsconv() local
698 memset(&mbs, 0, sizeof(mbs)); in wcsconv()
700 nbytes = wcsrtombs(nullptr, (const wchar_t**)&p, 0, &mbs); in wcsconv()
711 memset(&mbs, 0, sizeof(mbs)); in wcsconv()
713 clen = wcrtomb(buf, *p++, &mbs); in wcsconv()
724 memset(&mbs, 0, sizeof(mbs)); in wcsconv()
725 if ((nbytes = wcsrtombs(convbuf, (const wchar_t**)&p, nbytes, &mbs)) == (size_t)-1) { in wcsconv()
739 mbstate_t mbs = {}; in xfputwc() local
740 size_t len = wcrtomb(buf, wc, &mbs); in xfputwc()
765 mbstate_t mbs; in mbsconv() local
776 bzero(&mbs, sizeof(mbs)); in mbsconv()
778 nconv = mbrlen(p, MB_CUR_MAX, &mbs); in mbsconv()
796 bzero(&mbs, sizeof(mbs)); in mbsconv()
799 nconv = mbrtowc(wcp, p, insize, &mbs); in mbsconv()