Lines Matching defs:state
112 mbstate_t state; /* if in_shift: current shift state */
142 assert (mbsinit (&iter->state));
147 &iter->state);
153 /* Whether to set iter->in_shift = false and reset iter->state
161 /* Whether to set iter->in_shift = false and reset iter->state
175 /* When in the initial state, we can go back treating ASCII
177 if (mbsinit (&iter->state))
194 memcpy (&new_iter->state, &old_iter->state, sizeof (mbstate_t));
196 memset (&new_iter->state, 0, sizeof (mbstate_t));
205 (iter).in_shift = false, memset (&(iter).state, '\0', sizeof (mbstate_t)), \