Home
last modified time | relevance | path

Searched refs:wordLength (Results 1 – 12 of 12) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DThaiBreakEngine.java110 int wordLength; in divideUpDictionaryRange() local
120 wordLength = 0; in divideUpDictionaryRange()
127 wordLength = words[wordsFound%THAI_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
163 wordLength = words[wordsFound%THAI_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
172 if (fIter.getIndex() < rangeEnd && wordLength < THAI_ROOT_COMBINE_THRESHOLD) { in divideUpDictionaryRange()
177 (wordLength == 0 || in divideUpDictionaryRange()
180 int remaining = rangeEnd - (current + wordLength); in divideUpDictionaryRange()
197 fIter.setIndex(current + wordLength + chars); in divideUpDictionaryRange()
206 if (wordLength <= 0) { in divideUpDictionaryRange()
211 wordLength += chars; in divideUpDictionaryRange()
[all …]
DBurmeseBreakEngine.java96 int wordLength; in divideUpDictionaryRange() local
106 wordLength = 0; in divideUpDictionaryRange()
113 wordLength = words[wordsFound%BURMESE_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
148 wordLength = words[wordsFound%BURMESE_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
157 if (fIter.getIndex() < rangeEnd && wordLength < BURMESE_ROOT_COMBINE_THRESHOLD) { in divideUpDictionaryRange()
162 (wordLength == 0 || in divideUpDictionaryRange()
165 int remaining = rangeEnd - (current + wordLength); in divideUpDictionaryRange()
178 fIter.setIndex(current + wordLength + chars); in divideUpDictionaryRange()
187 if (wordLength <= 0) { in divideUpDictionaryRange()
192 wordLength += chars; in divideUpDictionaryRange()
[all …]
DLaoBreakEngine.java99 int wordLength; in divideUpDictionaryRange() local
109 wordLength = 0; in divideUpDictionaryRange()
116 wordLength = words[wordsFound%LAO_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
151 wordLength = words[wordsFound%LAO_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
160 if (fIter.getIndex() < rangeEnd && wordLength < LAO_ROOT_COMBINE_THRESHOLD) { in divideUpDictionaryRange()
165 (wordLength == 0 || in divideUpDictionaryRange()
168 int remaining = rangeEnd - (current + wordLength); in divideUpDictionaryRange()
181 fIter.setIndex(current + wordLength + chars); in divideUpDictionaryRange()
190 if (wordLength <= 0) { in divideUpDictionaryRange()
195 wordLength += chars; in divideUpDictionaryRange()
[all …]
DKhmerBreakEngine.java99 int wordLength; in divideUpDictionaryRange() local
110 wordLength = 0; in divideUpDictionaryRange()
117 wordLength = words[wordsFound % KHMER_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
152 wordLength = words[wordsFound%KHMER_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
161 if (fIter.getIndex() < rangeEnd && wordLength < KHMER_ROOT_COMBINE_THRESHOLD) { in divideUpDictionaryRange()
166 (wordLength == 0 || in divideUpDictionaryRange()
169 int remaining = rangeEnd - (current + wordLength); in divideUpDictionaryRange()
182 fIter.setIndex(current + wordLength + chars); in divideUpDictionaryRange()
191 if (wordLength <= 0) { in divideUpDictionaryRange()
196 wordLength += chars; in divideUpDictionaryRange()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DThaiBreakEngine.java111 int wordLength; in divideUpDictionaryRange() local
121 wordLength = 0; in divideUpDictionaryRange()
128 wordLength = words[wordsFound%THAI_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
164 wordLength = words[wordsFound%THAI_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
173 if (fIter.getIndex() < rangeEnd && wordLength < THAI_ROOT_COMBINE_THRESHOLD) { in divideUpDictionaryRange()
178 (wordLength == 0 || in divideUpDictionaryRange()
181 int remaining = rangeEnd - (current + wordLength); in divideUpDictionaryRange()
198 fIter.setIndex(current + wordLength + chars); in divideUpDictionaryRange()
207 if (wordLength <= 0) { in divideUpDictionaryRange()
212 wordLength += chars; in divideUpDictionaryRange()
[all …]
DKhmerBreakEngine.java100 int wordLength; in divideUpDictionaryRange() local
111 wordLength = 0; in divideUpDictionaryRange()
118 wordLength = words[wordsFound % KHMER_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
153 wordLength = words[wordsFound%KHMER_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
162 if (fIter.getIndex() < rangeEnd && wordLength < KHMER_ROOT_COMBINE_THRESHOLD) { in divideUpDictionaryRange()
167 (wordLength == 0 || in divideUpDictionaryRange()
170 int remaining = rangeEnd - (current + wordLength); in divideUpDictionaryRange()
183 fIter.setIndex(current + wordLength + chars); in divideUpDictionaryRange()
192 if (wordLength <= 0) { in divideUpDictionaryRange()
197 wordLength += chars; in divideUpDictionaryRange()
[all …]
DBurmeseBreakEngine.java97 int wordLength; in divideUpDictionaryRange() local
107 wordLength = 0; in divideUpDictionaryRange()
114 wordLength = words[wordsFound%BURMESE_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
149 wordLength = words[wordsFound%BURMESE_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
158 if (fIter.getIndex() < rangeEnd && wordLength < BURMESE_ROOT_COMBINE_THRESHOLD) { in divideUpDictionaryRange()
163 (wordLength == 0 || in divideUpDictionaryRange()
166 int remaining = rangeEnd - (current + wordLength); in divideUpDictionaryRange()
179 fIter.setIndex(current + wordLength + chars); in divideUpDictionaryRange()
188 if (wordLength <= 0) { in divideUpDictionaryRange()
193 wordLength += chars; in divideUpDictionaryRange()
[all …]
DLaoBreakEngine.java100 int wordLength; in divideUpDictionaryRange() local
110 wordLength = 0; in divideUpDictionaryRange()
117 wordLength = words[wordsFound%LAO_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
152 wordLength = words[wordsFound%LAO_LOOKAHEAD].acceptMarked(fIter); in divideUpDictionaryRange()
161 if (fIter.getIndex() < rangeEnd && wordLength < LAO_ROOT_COMBINE_THRESHOLD) { in divideUpDictionaryRange()
166 (wordLength == 0 || in divideUpDictionaryRange()
169 int remaining = rangeEnd - (current + wordLength); in divideUpDictionaryRange()
182 fIter.setIndex(current + wordLength + chars); in divideUpDictionaryRange()
191 if (wordLength <= 0) { in divideUpDictionaryRange()
196 wordLength += chars; in divideUpDictionaryRange()
[all …]
/external/webrtc/modules/audio_coding/codecs/ilbc/
Dswap_bytes.c27 size_t wordLength, /* (i) number or uint16_t to swap */ in WebRtcIlbcfix_SwapBytes() argument
31 for (k = wordLength; k > 0; k--) { in WebRtcIlbcfix_SwapBytes()
Dswap_bytes.h30 size_t wordLength, /* (i) number or uint16_t to swap */
/external/brotli/java/org/brotli/dec/
DDecode.java968 int wordLength = s.copyLength; in doUseDictionary() local
969 if (wordLength > Dictionary.MAX_DICTIONARY_WORD_LENGTH) { in doUseDictionary()
972 int shift = Dictionary.sizeBits[wordLength]; in doUseDictionary()
976 int offset = Dictionary.offsets[wordLength]; in doUseDictionary()
980 offset += wordIdx * wordLength; in doUseDictionary()
986 offset, wordLength, transforms, transformIdx); in doUseDictionary()
/external/icu/icu4c/source/common/
Ddictbe.cpp1097 static inline uint32_t getKatakanaCost(int32_t wordLength){ in getKatakanaCost() argument
1101 return (wordLength > kMaxKatakanaLength) ? 8192 : katakanaCost[wordLength]; in getKatakanaCost()