Lines Matching defs:statep

155 	uint8_t state_flags = statep->ls_flags;			\
156 if (++statep == state_info.end) \
157 statep = push_state_i(&state_info, statep); \
158 state = statep->type = (s); \
159 statep->ls_flags = state_flags; \
163 if (--statep == state_info.base) \
164 statep = pop_state_i(&state_info, statep); \
165 state = statep->type; \
172 statep->ls_start = Xsavepos(ws, wp); \
180 wp = Xrestpos(ws, wp, statep->ls_start); \
200 Lex_state states[STATE_BSIZE], *statep, *s2, *base;
211 statep = &states[1];
226 statep->nparen = 0;
251 statep->type = state;
252 statep->ls_flags = (cf & HEREDOC) ? LS_HEREDOC : 0;
266 statep->nparen++;
268 statep->nparen--;
269 else if (statep->nparen == 0 &&
271 c == (int)statep->ls_adelim.delimiter)) {
275 --statep->ls_adelim.num == 0)
330 if ((statep->ls_flags & LS_HEREDOC))
368 if ((statep->ls_flags & LS_HEREDOC))
400 /*statep->ls_flags &= ~LS_HEREDOC;*/
401 statep->nparen = 2;
448 statep->ls_flags &= ~LS_HEREDOC;
450 statep->ls_adelim.delimiter = ':';
451 statep->ls_adelim.num = 1;
452 statep->nparen = 0;
464 statep->ls_flags &= ~LS_HEREDOC;
466 statep->ls_adelim.delimiter = ':';
467 statep->ls_adelim.num = 2;
468 statep->nparen = 0;
483 statep->ls_flags &= ~LS_HEREDOC;
485 statep->ls_adelim.delimiter = '/';
486 statep->ls_adelim.num = 1;
487 statep->nparen = 0;
508 statep->ls_flags &= ~LS_HEREDOC;
557 statep->ls_bool = false;
558 s2 = statep;
563 statep->ls_bool = true;
597 statep->ls_bool = true;
598 if (!statep->ls_bool) {
614 } else if (!statep->ls_bool) {
623 if ((statep->ls_flags & LS_HEREDOC) ||
645 statep->nparen++;
647 statep->nparen--;
648 if (statep->nparen == 1) {
755 if (statep->ls_bool) {
776 if (statep->nparen > 0)
777 --statep->nparen;
808 ++statep->nparen;
833 statep->ls_bool = false;
880 state = statep->type = SHEREDELIM;
902 if (statep != &states[1])