Home
last modified time | relevance | path

Searched refs:rangeEnd (Results 1 – 25 of 44) sorted by relevance

12

/external/icu/icu4c/source/common/
Ddictbe.cpp61 int32_t rangeEnd; in findBreaks() local
81 rangeEnd = (int32_t)utext_getNativeIndex(text); in findBreaks()
89 rangeEnd = current; in findBreaks()
92 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks); in findBreaks()
135 int32_t candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd );
156 int32_t PossibleWord::candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd ) { in candidates() argument
161 …count = dict->matches(text, rangeEnd-start, UPRV_LENGTHOF(cuLengths), cuLengths, cpLengths, NULL, … in candidates()
250 int32_t rangeEnd, in divideUpDictionaryRange() argument
254 if (utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
269 while (U_SUCCESS(status) && (current = (int32_t)utext_getNativeIndex(text)) < rangeEnd) { in divideUpDictionaryRange()
[all …]
Ddictbe.h130 int32_t rangeEnd,
187 int32_t rangeEnd,
243 int32_t rangeEnd,
299 int32_t rangeEnd,
355 int32_t rangeEnd,
419 int32_t rangeEnd,
/external/icu/android_icu4j/src/main/java/android/icu/text/
DThaiBreakEngine.java104 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
107 if ((rangeEnd - rangeStart) < THAI_MIN_WORD_SPAN) { in divideUpDictionaryRange()
120 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange()
124 … int candidates = words[wordsFound%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
135 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
139 … if (words[(wordsFound+1)%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
147 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
154 … if (words[(wordsFound+2)%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
173 if (fIter.getIndex() < rangeEnd && wordLength < THAI_ROOT_COMBINE_THRESHOLD) { in divideUpDictionaryRange()
177 … if (words[wordsFound%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) <= 0 && in divideUpDictionaryRange()
[all …]
DLaoBreakEngine.java92 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
96 if ((rangeEnd - rangeStart) < LAO_MIN_WORD) { in divideUpDictionaryRange()
109 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange()
113 … int candidates = words[wordsFound%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
125 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
128 … if (words[(wordsFound+1)%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
136 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
143 … if (words[(wordsFound+2)%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
161 if (fIter.getIndex() < rangeEnd && wordLength < LAO_ROOT_COMBINE_THRESHOLD) { in divideUpDictionaryRange()
165 if (words[wordsFound%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) <= 0 && in divideUpDictionaryRange()
[all …]
DBurmeseBreakEngine.java93 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
97 if ((rangeEnd - rangeStart) < BURMESE_MIN_WORD) { in divideUpDictionaryRange()
110 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange()
114 … int candidates = words[wordsFound%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
126 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
129 … if (words[(wordsFound+1)%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
137 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
144 … if (words[(wordsFound+2)%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
162 if (fIter.getIndex() < rangeEnd && wordLength < BURMESE_ROOT_COMBINE_THRESHOLD) { in divideUpDictionaryRange()
166 … if (words[wordsFound%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) <= 0 && in divideUpDictionaryRange()
[all …]
DKhmerBreakEngine.java93 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
96 if ((rangeEnd - rangeStart) < KHMER_MIN_WORD_SPAN) { in divideUpDictionaryRange()
110 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange()
114 … int candidates = words[wordsFound % KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
126 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
129 … if (words[(wordsFound+1)%KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
137 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
144 … if (words[(wordsFound+2)%KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
162 if (fIter.getIndex() < rangeEnd && wordLength < KHMER_ROOT_COMBINE_THRESHOLD) { in divideUpDictionaryRange()
166 … if (words[wordsFound%KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) <= 0 && in divideUpDictionaryRange()
[all …]
DDictionaryBreakEngine.java42 public int candidates(CharacterIterator fIter, DictionaryMatcher dict, int rangeEnd) { in candidates() argument
46 prefix = dict.matches(fIter, rangeEnd - start, lengths, count, lengths.length); in candidates()
187 int rangeEnd; in findBreaks() local
197 rangeEnd = start + 1; in findBreaks()
204 rangeEnd = current; in findBreaks()
207 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks); in findBreaks()
230 int rangeEnd, in divideUpDictionaryRange() argument
DPluralRanges.java203 public void add(StandardPlural rangeStart, StandardPlural rangeEnd, in add() argument
211 if (rangeEnd == null) { in add()
216 explicit[rangeEnd.ordinal()] = true; in add()
217 matrix.setIfNew(rs, rangeEnd, result); in add()
220 } else if (rangeEnd == null) { in add()
227 explicit[rangeEnd.ordinal()] = true; in add()
228 matrix.setIfNew(rangeStart, rangeEnd, result); in add()
DRBBIDataWrapper.java453 int rangeEnd = 0; in dumpCharCategories() local
473 rangeEnd = char32; in dumpCharCategories()
482 if (rangeEnd != rangeStart) { in dumpCharCategories()
483 catStrings[lastCat] += "-" + Integer.toHexString(rangeEnd); in dumpCharCategories()
487 rangeStart = rangeEnd = char32; in dumpCharCategories()
491 if (rangeEnd != rangeStart) { in dumpCharCategories()
492 catStrings[lastCat] += "-" + Integer.toHexString(rangeEnd); in dumpCharCategories()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DKhmerBreakEngine.java92 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
95 if ((rangeEnd - rangeStart) < KHMER_MIN_WORD_SPAN) { in divideUpDictionaryRange()
109 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange()
113 … int candidates = words[wordsFound % KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
125 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
128 … if (words[(wordsFound+1)%KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
136 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
143 … if (words[(wordsFound+2)%KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
161 if (fIter.getIndex() < rangeEnd && wordLength < KHMER_ROOT_COMBINE_THRESHOLD) { in divideUpDictionaryRange()
165 … if (words[wordsFound%KHMER_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) <= 0 && in divideUpDictionaryRange()
[all …]
DLaoBreakEngine.java91 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
95 if ((rangeEnd - rangeStart) < LAO_MIN_WORD) { in divideUpDictionaryRange()
108 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange()
112 … int candidates = words[wordsFound%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
124 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
127 … if (words[(wordsFound+1)%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
135 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
142 … if (words[(wordsFound+2)%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
160 if (fIter.getIndex() < rangeEnd && wordLength < LAO_ROOT_COMBINE_THRESHOLD) { in divideUpDictionaryRange()
164 if (words[wordsFound%LAO_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) <= 0 && in divideUpDictionaryRange()
[all …]
DBurmeseBreakEngine.java92 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
96 if ((rangeEnd - rangeStart) < BURMESE_MIN_WORD) { in divideUpDictionaryRange()
109 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange()
113 … int candidates = words[wordsFound%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
125 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
128 … if (words[(wordsFound+1)%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
136 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
143 … if (words[(wordsFound+2)%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
161 if (fIter.getIndex() < rangeEnd && wordLength < BURMESE_ROOT_COMBINE_THRESHOLD) { in divideUpDictionaryRange()
165 … if (words[wordsFound%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) <= 0 && in divideUpDictionaryRange()
[all …]
DThaiBreakEngine.java103 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
106 if ((rangeEnd - rangeStart) < THAI_MIN_WORD_SPAN) { in divideUpDictionaryRange()
119 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange()
123 … int candidates = words[wordsFound%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
134 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
138 … if (words[(wordsFound+1)%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
146 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
153 … if (words[(wordsFound+2)%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
172 if (fIter.getIndex() < rangeEnd && wordLength < THAI_ROOT_COMBINE_THRESHOLD) { in divideUpDictionaryRange()
176 … if (words[wordsFound%THAI_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) <= 0 && in divideUpDictionaryRange()
[all …]
DDictionaryBreakEngine.java41 public int candidates(CharacterIterator fIter, DictionaryMatcher dict, int rangeEnd) { in candidates() argument
45 prefix = dict.matches(fIter, rangeEnd - start, lengths, count, lengths.length); in candidates()
186 int rangeEnd; in findBreaks() local
196 rangeEnd = start + 1; in findBreaks()
203 rangeEnd = current; in findBreaks()
206 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks); in findBreaks()
229 int rangeEnd, in divideUpDictionaryRange() argument
DPluralRanges.java201 public void add(StandardPlural rangeStart, StandardPlural rangeEnd, in add() argument
209 if (rangeEnd == null) { in add()
214 explicit[rangeEnd.ordinal()] = true; in add()
215 matrix.setIfNew(rs, rangeEnd, result); in add()
218 } else if (rangeEnd == null) { in add()
225 explicit[rangeEnd.ordinal()] = true; in add()
226 matrix.setIfNew(rangeStart, rangeEnd, result); in add()
DRBBIDataWrapper.java452 int rangeEnd = 0; in dumpCharCategories() local
472 rangeEnd = char32; in dumpCharCategories()
481 if (rangeEnd != rangeStart) { in dumpCharCategories()
482 catStrings[lastCat] += "-" + Integer.toHexString(rangeEnd); in dumpCharCategories()
486 rangeStart = rangeEnd = char32; in dumpCharCategories()
490 if (rangeEnd != rangeStart) { in dumpCharCategories()
491 catStrings[lastCat] += "-" + Integer.toHexString(rangeEnd); in dumpCharCategories()
DRuleBasedBreakIterator.java460 int rangeEnd = endPos; in checkDictionary() local
483 rangeEnd = fText.getIndex(); in checkDictionary()
526 while((current = fText.getIndex()) < rangeEnd && (category & 0x4000) == 0) { in checkDictionary()
531 if (current >= rangeEnd) { in checkDictionary()
543 … foundBreakCount += lbe.findBreaks(fText, rangeStart, rangeEnd, false, fBreakType, breaks); in checkDictionary()
/external/icu/icu4c/source/test/cintltst/
Dusettest.c261 int32_t rangeStart = -1, rangeEnd = -1, length; in expectContainment() local
313 if (c == rangeEnd+1) { in expectContainment()
314 rangeEnd = c; in expectContainment()
317 if (uset_containsRange(set, rangeStart, rangeEnd) == isIn) { in expectContainment()
320 rangeStart, rangeEnd); in expectContainment()
324 rangeStart, rangeEnd); in expectContainment()
327 rangeStart = rangeEnd = c; in expectContainment()
335 if (uset_containsRange(set, rangeStart, rangeEnd) == isIn) { in expectContainment()
338 rangeStart, rangeEnd); in expectContainment()
342 rangeStart, rangeEnd); in expectContainment()
Dsprpdata.c58 uint32_t rangeStart=0,rangeEnd =0; in strprepProfileLineFn() local
65 u_parseCodePointRange(fields[0][0], &rangeStart,&rangeEnd, pErrorCode); in strprepProfileLineFn()
68 compareFlagsForRange(data, rangeStart,rangeEnd,USPREP_UNASSIGNED); in strprepProfileLineFn()
72 u_parseCodePointRange(fields[0][0], &rangeStart,&rangeEnd, pErrorCode); in strprepProfileLineFn()
75 compareFlagsForRange(data, rangeStart,rangeEnd,USPREP_PROHIBITED); in strprepProfileLineFn()
/external/skia/src/pathops/
DSkIntersections.cpp10 int SkIntersections::closestTo(double rangeStart, double rangeEnd, const SkDPoint& testPt, in closestTo() argument
15 if (!between(rangeStart, fT[0][index], rangeEnd)) { in closestTo()
132 int SkIntersections::mostOutside(double rangeStart, double rangeEnd, const SkDPoint& origin) const { in mostOutside() argument
135 if (!between(rangeStart, fT[0][index], rangeEnd)) { in mostOutside()
/external/icu/icu4c/source/tools/gensprep/
Dgensprep.c350 uint32_t rangeStart=0,rangeEnd =0; in strprepProfileLineFn() local
379 u_parseCodePointRange(s, &rangeStart,&rangeEnd, pErrorCode); in strprepProfileLineFn()
386 storeRange(rangeStart,rangeEnd,USPREP_UNASSIGNED, pErrorCode); in strprepProfileLineFn()
390 u_parseCodePointRange(s, &rangeStart,&rangeEnd, pErrorCode); in strprepProfileLineFn()
397 storeRange(rangeStart,rangeEnd,USPREP_PROHIBITED, pErrorCode); in strprepProfileLineFn()
/external/icu/icu4c/source/test/intltest/
Dtestidn.cpp154 uint32_t rangeStart=0,rangeEnd =0; in strprepProfileLineFn() local
173 u_parseCodePointRange(s, &rangeStart,&rangeEnd, pErrorCode); in strprepProfileLineFn()
176 compareFlagsForRange(rangeStart,rangeEnd,USPREP_UNASSIGNED); in strprepProfileLineFn()
180 u_parseCodePointRange(s, &rangeStart,&rangeEnd, pErrorCode); in strprepProfileLineFn()
183 compareFlagsForRange(rangeStart,rangeEnd,USPREP_PROHIBITED); in strprepProfileLineFn()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2.java901 endOfRange = rangeEnd(nextStart, limitCP, val); in next()
912 endOfRange = rangeEnd(endOfRange+1, limitCP, val); in next()
1011 int rangeEnd(int start, int limitp, int val) { in rangeEnd() method in Trie2
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2.java899 endOfRange = rangeEnd(nextStart, limitCP, val); in next()
910 endOfRange = rangeEnd(endOfRange+1, limitCP, val); in next()
1009 int rangeEnd(int start, int limitp, int val) { in rangeEnd() method in Trie2
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DAnnotatedBytes.java300 int rangeEnd = keys[i+1]; in writeAnnotations() local
318 String left = Hex.dump(data, rangeStart, rangeEnd - rangeStart, rangeStart, hexCols, 6); in writeAnnotations()

12