Lines Matching defs:state
52 mbstate_t state;
70 mbstate_t state = wcd->state;
74 size_t count = wcrtomb(buf+bufcount,*inptr,&state);
113 wcd->state = state;
133 memset(&wcd->state,'\0',sizeof(mbstate_t));
136 if (!mbsinit(&wcd->state)) {
137 mbstate_t state = wcd->state;
139 size_t bufcount = wcrtomb(buf,(wchar_t)0,&state);
161 wcd->state = state;
209 mbstate_t state = wcd->state;
211 res = mbrtowc(&wc,buf,bufcount,&state);
225 /* Restoring the state is not needed because it is the initial
226 state anyway: For all known locale encodings, the multibyte
227 to wchar_t conversion doesn't have shift state, and we have
229 /* wcd->state = state; */
251 memset(&wcd->state,0,sizeof(mbstate_t));