Home
last modified time | relevance | path

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

/external/icu/icu4c/source/tools/genrb/
Dparse.cpp64 #define MAX_LOOKAHEAD 3 macro
111 struct Lookahead lookahead[MAX_LOOKAHEAD + 1];
158 for (i = 0; i < MAX_LOOKAHEAD; i++) in initLookahead()
174 for (i = 0; i <= MAX_LOOKAHEAD; i++) in cleanupLookahead()
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()
226 if (lookaheadCount >= MAX_LOOKAHEAD) in peekToken()
1984 for (i = 0; i < MAX_LOOKAHEAD + 1; i++) in parse()