Lines Matching refs:state
188 AdvanceState state;
195 if (AdvanceOne(&state, *token_begin_))
203 while (token_end_ != end_ && AdvanceOne(&state, *token_end_))
224 bool AdvanceOne(AdvanceState* state, char_type c) {
225 if (state->in_quote) {
226 if (state->in_escape) {
227 state->in_escape = false;
229 state->in_escape = true;
230 } else if (c == state->quote_char) {
231 state->in_quote = false;
236 state->in_quote = IsQuote(state->quote_char = c);