Home | History | Annotate | Download | only in common

Lines Matching refs:THAI_LOOKAHEAD

187 #define THAI_LOOKAHEAD 3
250 PossibleWord words[THAI_LOOKAHEAD];
259 int candidates = words[wordsFound%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd);
263 wordLength = words[wordsFound % THAI_LOOKAHEAD].acceptMarked(text);
274 if (words[(wordsFound + 1) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) {
277 words[wordsFound%THAI_LOOKAHEAD].markCurrent();
289 if (words[(wordsFound + 2) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) {
290 words[wordsFound % THAI_LOOKAHEAD].markCurrent();
294 while (words[(wordsFound + 1) % THAI_LOOKAHEAD].backUp(text));
297 while (words[wordsFound % THAI_LOOKAHEAD].backUp(text));
299 wordLength = words[wordsFound % THAI_LOOKAHEAD].acceptMarked(text);
312 if (words[wordsFound % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) <= 0
314 || words[wordsFound%THAI_LOOKAHEAD].longestPrefix() < THAI_PREFIX_COMBINE_THRESHOLD)) {
335 int candidates = words[(wordsFound + 1) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd);
370 if (words[wordsFound%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) <= 0