Lines Matching refs:mbs
144 SFMBDCL(mbs)
163 SFMBCLR(&mbs);
181 if((flags&SFFMT_LONG) && (n = (int)SFMBLEN(form,&mbs)) <= 0)
205 SFMBDCL(mbs)
207 SFMBCLR(&mbs);
220 if((n = mbrtowc(&fwc, form, ac->endf-form, &mbs)) > 1 &&
230 #define SFgetwc(sc,wc,fmt,ac,mbs) _sfgetwc(sc,wc,fmt,ac,(Void_t*)(mbs))
232 #define SFgetwc(sc,wc,fmt,ac,mbs) _sfgetwc(sc,wc,fmt,ac,NIL(Void_t*))
236 static int _sfgetwc(Scan_t* sc, wchar_t* wc, int fmt, Accept_t* ac, Void_t *mbs)
238 static int _sfgetwc(sc, wc, fmt, ac, mbs)
243 Void_t* mbs; /* multibyte parsing state */
260 if(!mbs) sc->f->endb = sc->endd; /* stop cc's "unused mbs" warning */
268 if(mbrtowc(wc, b, n, (mbstate_t*)mbs) == (size_t)(-1))
331 SFMBDCL(mbs)
398 SCinit(&scd,0); SFMBCLR(&mbs);
399 v = SFgetwc(&scd, &wc, '1', &acc, &mbs);
727 SFMBSET(ft->mbs, &fmbs);
729 { fm->form = (char*)form; SFMBCPY(&fm->mbs,&fmbs);
737 form = ft->form; SFMBCLR(ft->mbs);
995 { SFungetc(f,inp); SCinit(&scd,0); SFMBCLR(&mbs);
997 { if(SFgetwc(&scd,&wc,fmt,&acc,&mbs) == 0)
1069 { SFMBCPY(&fmbs,&fm->mbs);