Home | History | Annotate | Download | only in common

Lines Matching defs:THAI_LOOKAHEAD

193 #define THAI_LOOKAHEAD 3
256 PossibleWord words[THAI_LOOKAHEAD];
265 int candidates = words[wordsFound%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd);
269 wordLength = words[wordsFound%THAI_LOOKAHEAD].acceptMarked(text);
281 if (words[(wordsFound+1)%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) {
284 words[wordsFound%THAI_LOOKAHEAD].markCurrent();
296 if (words[(wordsFound+2)%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) {
297 words[wordsFound%THAI_LOOKAHEAD].markCurrent();
301 while (words[(wordsFound+1)%THAI_LOOKAHEAD].backUp(text));
304 while (words[wordsFound%THAI_LOOKAHEAD].backUp(text));
306 wordLength = words[wordsFound%THAI_LOOKAHEAD].acceptMarked(text);
319 if (words[wordsFound%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) <= 0
321 || words[wordsFound%THAI_LOOKAHEAD].longestPrefix() < THAI_PREFIX_COMBINE_THRESHOLD)) {
342 int candidates = words[(wordsFound+1)%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd);
377 if (words[wordsFound%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) <= 0