Lines Matching defs:mbs
143 SFMBDCL(mbs)
161 SFMBCLR(&mbs);
179 if((flags&SFFMT_LONG) && (n = (int)SFMBLEN(form,&mbs)) <= 0)
203 SFMBDCL(mbs)
205 SFMBCLR(&mbs);
218 if((n = mbrtowc(&fwc, form, ac->endf-form, &mbs)) > 1 &&
228 #define SFgetwc(sc,wc,fmt,ac,mbs) _sfgetwc(sc,wc,fmt,ac,(Void_t*)(mbs))
230 #define SFgetwc(sc,wc,fmt,ac,mbs) _sfgetwc(sc,wc,fmt,ac,NIL(Void_t*))
234 static int _sfgetwc(Scan_t* sc, wchar_t* wc, int fmt, Accept_t* ac, Void_t *mbs)
236 static int _sfgetwc(sc, wc, fmt, ac, mbs)
241 Void_t* mbs; /* multibyte parsing state */
258 if(!mbs) sc->f->endb = sc->endd; /* stop cc's "unused mbs" warning */
266 if(mbrtowc(wc, b, n, (mbstate_t*)mbs) == (size_t)(-1))
329 SFMBDCL(mbs)
396 SCinit(&scd,0); SFMBCLR(&mbs);
397 v = SFgetwc(&scd, &wc, '1', &acc, &mbs);
724 SFMBSET(ft->mbs, &fmbs);
726 { fm->form = (char*)form; SFMBCPY(&fm->mbs,&fmbs);
734 form = ft->form; SFMBCLR(ft->mbs);
992 { SFungetc(f,inp); SCinit(&scd,0); SFMBCLR(&mbs);
994 { if(SFgetwc(&scd,&wc,fmt,&acc,&mbs) == 0)
1066 { SFMBCPY(&fmbs,&fm->mbs);