Home
last modified time | relevance | path

Searched refs:lookaheadPosition (Results 1 – 1 of 1) sorted by relevance

/external/icu/icu4c/source/tools/genrb/
Dparse.cpp112 uint32_t lookaheadPosition; member
153 state->lookaheadPosition = 0; in initLookahead()
188 result = state->lookahead[state->lookaheadPosition].type; in getToken()
192 *tokenValue = &state->lookahead[state->lookaheadPosition].value; in getToken()
197 *linenumber = state->lookahead[state->lookaheadPosition].line; in getToken()
202 ustr_cpy(comment, &(state->lookahead[state->lookaheadPosition].comment), status); in getToken()
205 i = (state->lookaheadPosition + MAX_LOOKAHEAD) % (MAX_LOOKAHEAD + 1); in getToken()
206 state->lookaheadPosition = (state->lookaheadPosition + 1) % (MAX_LOOKAHEAD + 1); in getToken()
219 uint32_t i = (state->lookaheadPosition + lookaheadCount) % (MAX_LOOKAHEAD + 1); in peekToken()
243 ustr_cpy(comment, &(state->lookahead[state->lookaheadPosition].comment), status); in peekToken()