Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBurmeseBreakEngine.java20 private static final byte BURMESE_LOOKAHEAD = 3; field in BurmeseBreakEngine
96 PossibleWord words[] = new PossibleWord[BURMESE_LOOKAHEAD]; in divideUpDictionaryRange()
97 for (int i = 0; i < BURMESE_LOOKAHEAD; i++) { in divideUpDictionaryRange()
107 … int candidates = words[wordsFound%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
111 wordLength = words[wordsFound%BURMESE_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
122 … if (words[(wordsFound+1)%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
125 words[wordsFound%BURMESE_LOOKAHEAD].markCurrent(); in divideUpDictionaryRange()
137 … if (words[(wordsFound+2)%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
138 words[wordsFound%BURMESE_LOOKAHEAD].markCurrent(); in divideUpDictionaryRange()
142 } while (words[(wordsFound+1)%BURMESE_LOOKAHEAD].backUp(fIter)); in divideUpDictionaryRange()
[all …]
/external/icu/icu4c/source/common/
Ddictbe.cpp639 static const int32_t BURMESE_LOOKAHEAD = 3; variable
691 PossibleWord words[BURMESE_LOOKAHEAD]; in divideUpDictionaryRange()
700 … int32_t candidates = words[wordsFound%BURMESE_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange()
704 cuWordLength = words[wordsFound % BURMESE_LOOKAHEAD].acceptMarked(text); in divideUpDictionaryRange()
705 cpWordLength = words[wordsFound % BURMESE_LOOKAHEAD].markedCPLength(); in divideUpDictionaryRange()
716 … if (words[(wordsFound + 1) % BURMESE_LOOKAHEAD].candidates(text, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
719 words[wordsFound%BURMESE_LOOKAHEAD].markCurrent(); in divideUpDictionaryRange()
731 … if (words[(wordsFound + 2) % BURMESE_LOOKAHEAD].candidates(text, fDictionary, rangeEnd)) { in divideUpDictionaryRange()
732 words[wordsFound % BURMESE_LOOKAHEAD].markCurrent(); in divideUpDictionaryRange()
736 while (words[(wordsFound + 1) % BURMESE_LOOKAHEAD].backUp(text)); in divideUpDictionaryRange()
[all …]