Lines Matching refs:mbstate
916 mbstate_t mbstate;
940 memset(&mbstate, 0, sizeof(mbstate));
966 cnt = wcrtomb(mbs + o, wc, &mbstate);
981 if (!mbsinit(&mbstate)) {
982 ntfs_log_debug("Eeek. mbstate not in initial state!\n");
1035 mbstate_t mbstate;
1053 memset(&mbstate, 0, sizeof(mbstate));
1054 ins_len = mbsrtowcs(NULL, (const char **)&s, 0, &mbstate);
1070 if ((s != ins) || !mbsinit(&mbstate)) {
1084 memset(&mbstate, 0, sizeof(mbstate));
1101 cnt = mbrtowc(&wc, ins + i, ins_size - i, &mbstate);
1125 if (!mbsinit(&mbstate)) {
1126 ntfs_log_trace("Eeek. mbstate not in initial state!\n");