Searched refs:LAO_LOOKAHEAD (Results 1 – 2 of 2) sorted by relevance
/external/chromium_org/third_party/icu/source/common/ |
D | dictbe.cpp | 429 #define LAO_LOOKAHEAD 3 macro 483 PossibleWord words[LAO_LOOKAHEAD]; in divideUpDictionaryRange() 492 int candidates = words[wordsFound%LAO_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange() 496 wordLength = words[wordsFound % LAO_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange() 507 … if (words[(wordsFound + 1) % LAO_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange() 510 words[wordsFound%LAO_LOOKAHEAD].markCurrent(); in divideUpDictionaryRange() 522 … if (words[(wordsFound + 2) % LAO_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) { in divideUpDictionaryRange() 523 words[wordsFound % LAO_LOOKAHEAD].markCurrent(); in divideUpDictionaryRange() 527 while (words[(wordsFound + 1) % LAO_LOOKAHEAD].backUp(text)); in divideUpDictionaryRange() 530 while (words[wordsFound % LAO_LOOKAHEAD].backUp(text)); in divideUpDictionaryRange() [all …]
|
/external/icu/icu4c/source/common/ |
D | dictbe.cpp | 432 #define LAO_LOOKAHEAD 3 macro 486 PossibleWord words[LAO_LOOKAHEAD]; in divideUpDictionaryRange() 495 int candidates = words[wordsFound%LAO_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange() 499 wordLength = words[wordsFound % LAO_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange() 510 … if (words[(wordsFound + 1) % LAO_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange() 513 words[wordsFound%LAO_LOOKAHEAD].markCurrent(); in divideUpDictionaryRange() 525 … if (words[(wordsFound + 2) % LAO_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) { in divideUpDictionaryRange() 526 words[wordsFound % LAO_LOOKAHEAD].markCurrent(); in divideUpDictionaryRange() 530 while (words[(wordsFound + 1) % LAO_LOOKAHEAD].backUp(text)); in divideUpDictionaryRange() 533 while (words[wordsFound % LAO_LOOKAHEAD].backUp(text)); in divideUpDictionaryRange() [all …]
|