Searched refs:THAI_LOOKAHEAD (Results 1 – 2 of 2) sorted by relevance
/external/chromium_org/third_party/icu/source/common/ |
D | dictbe.cpp | 192 #define THAI_LOOKAHEAD 3 macro 255 PossibleWord words[THAI_LOOKAHEAD]; in divideUpDictionaryRange() 264 int candidates = words[wordsFound%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange() 268 wordLength = words[wordsFound % THAI_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange() 279 … if (words[(wordsFound + 1) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange() 282 words[wordsFound%THAI_LOOKAHEAD].markCurrent(); in divideUpDictionaryRange() 294 … if (words[(wordsFound + 2) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) { in divideUpDictionaryRange() 295 words[wordsFound % THAI_LOOKAHEAD].markCurrent(); in divideUpDictionaryRange() 299 while (words[(wordsFound + 1) % THAI_LOOKAHEAD].backUp(text)); in divideUpDictionaryRange() 302 while (words[wordsFound % THAI_LOOKAHEAD].backUp(text)); in divideUpDictionaryRange() [all …]
|
/external/icu/icu4c/source/common/ |
D | dictbe.cpp | 195 #define THAI_LOOKAHEAD 3 macro 258 PossibleWord words[THAI_LOOKAHEAD]; in divideUpDictionaryRange() 267 int candidates = words[wordsFound%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange() 271 wordLength = words[wordsFound % THAI_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange() 282 … if (words[(wordsFound + 1) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange() 285 words[wordsFound%THAI_LOOKAHEAD].markCurrent(); in divideUpDictionaryRange() 297 … if (words[(wordsFound + 2) % THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) { in divideUpDictionaryRange() 298 words[wordsFound % THAI_LOOKAHEAD].markCurrent(); in divideUpDictionaryRange() 302 while (words[(wordsFound + 1) % THAI_LOOKAHEAD].backUp(text)); in divideUpDictionaryRange() 305 while (words[wordsFound % THAI_LOOKAHEAD].backUp(text)); in divideUpDictionaryRange() [all …]
|