HomeSort by relevance Sort by last modified time
    Searched refs:KHMER_LOOKAHEAD (Results 1 - 7 of 7) sorted by null

  /external/icu/android_icu4j/src/main/java/android/icu/text/
KhmerBreakEngine.java 21 private static final byte KHMER_LOOKAHEAD = 3;
100 PossibleWord words[] = new PossibleWord[KHMER_LOOKAHEAD];
101 for (int i = 0; i < KHMER_LOOKAHEAD; i++) {
112 int candidates = words[wordsFound % KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd);
116 wordLength = words[wordsFound % KHMER_LOOKAHEAD].acceptMarked(fIter);
127 if (words[(wordsFound+1)%KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) {
130 words[wordsFound%KHMER_LOOKAHEAD].markCurrent();
142 if (words[(wordsFound+2)%KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) {
143 words[wordsFound%KHMER_LOOKAHEAD].markCurrent();
147 } while (words[(wordsFound+1)%KHMER_LOOKAHEAD].backUp(fIter))
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
KhmerBreakEngine.java 20 private static final byte KHMER_LOOKAHEAD = 3;
99 PossibleWord words[] = new PossibleWord[KHMER_LOOKAHEAD];
100 for (int i = 0; i < KHMER_LOOKAHEAD; i++) {
111 int candidates = words[wordsFound % KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd);
115 wordLength = words[wordsFound % KHMER_LOOKAHEAD].acceptMarked(fIter);
126 if (words[(wordsFound+1)%KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) {
129 words[wordsFound%KHMER_LOOKAHEAD].markCurrent();
141 if (words[(wordsFound+2)%KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) {
142 words[wordsFound%KHMER_LOOKAHEAD].markCurrent();
146 } while (words[(wordsFound+1)%KHMER_LOOKAHEAD].backUp(fIter))
    [all...]
  /external/icu/icu4c/source/common/
dictbe.cpp     [all...]
  /external/libgdx/backends/gdx-backend-moe/libs/
intel-moe-core.jar 
  /prebuilts/misc/common/icu4j/
icu4j.jar 
  /prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/53.1/
icu4j-53.1.jar 
  /prebuilts/tools/common/m2/repository/com/ibm/icu/icu4j/54.1.1/
icu4j-54.1.1.jar 

Completed in 74 milliseconds