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
68 rangeEnd = current; in findBreaks()
70 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks); in findBreaks()
113 int32_t candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd );
134 int32_t PossibleWord::candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd ) { in candidates() argument
139 …count = dict->matches(text, rangeEnd-start, UPRV_LENGTHOF(cuLengths), cuLengths, cpLengths, NULL, … in candidates()
228 int32_t rangeEnd, in divideUpDictionaryRange() argument
232 if (utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
247 while (U_SUCCESS(status) && (current = (int32_t)utext_getNativeIndex(text)) < rangeEnd) { in divideUpDictionaryRange()
252 … int32_t candidates = words[wordsFound%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange()
[all …]
Ddictbe.h128 int32_t rangeEnd,
185 int32_t rangeEnd,
241 int32_t rangeEnd,
297 int32_t rangeEnd,
353 int32_t rangeEnd,
417 int32_t rangeEnd,
Drbbi_cache.cpp138 int32_t rangeEnd = endPos; in populateDictionary() local
155 … while((current = (int32_t)UTEXT_GETNATIVEINDEX(text)) < rangeEnd && (category & 0x4000) == 0) { in populateDictionary()
160 if (current >= rangeEnd) { in populateDictionary()
171 … foundBreakCount += lbe->findBreaks(text, rangeStart, rangeEnd, fBI->fBreakType, *fBreaks); in populateDictionary()
/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 …]
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 …]
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 …]
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()
203 int rangeEnd;
210 rangeEnd = current;
214 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks);
237 int rangeEnd,
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.java440 int rangeEnd = 0; in dumpCharCategories() local
460 rangeEnd = char32; in dumpCharCategories()
469 if (rangeEnd != rangeStart) { in dumpCharCategories()
470 catStrings[lastCat] += "-" + Integer.toHexString(rangeEnd); in dumpCharCategories()
474 rangeStart = rangeEnd = char32; in dumpCharCategories()
478 if (rangeEnd != rangeStart) { in dumpCharCategories()
479 catStrings[lastCat] += "-" + Integer.toHexString(rangeEnd); in dumpCharCategories()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
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 …]
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 …]
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()
202 int rangeEnd;
209 rangeEnd = current;
213 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks);
236 int rangeEnd,
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.java439 int rangeEnd = 0; in dumpCharCategories() local
459 rangeEnd = char32; in dumpCharCategories()
468 if (rangeEnd != rangeStart) { in dumpCharCategories()
469 catStrings[lastCat] += "-" + Integer.toHexString(rangeEnd); in dumpCharCategories()
473 rangeStart = rangeEnd = char32; in dumpCharCategories()
477 if (rangeEnd != rangeStart) { in dumpCharCategories()
478 catStrings[lastCat] += "-" + Integer.toHexString(rangeEnd); in dumpCharCategories()
/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/skqp/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/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/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/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

12