Home
last modified time | relevance | path

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

123

/external/icu/icu4c/source/common/
Ddictbe.cpp58 int32_t rangeEnd; in findBreaks() local
65 rangeEnd = current; in findBreaks()
66 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks); in findBreaks()
108 int32_t candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd );
129 int32_t PossibleWord::candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd ) { in candidates() argument
134 …count = dict->matches(text, rangeEnd-start, UPRV_LENGTHOF(cuLengths), cuLengths, cpLengths, NULL, … in candidates()
223 int32_t rangeEnd, in divideUpDictionaryRange() argument
227 if (utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
242 while (U_SUCCESS(status) && (current = (int32_t)utext_getNativeIndex(text)) < rangeEnd) { in divideUpDictionaryRange()
247 … int32_t candidates = words[wordsFound%THAI_LOOKAHEAD].candidates(text, fDictionary, rangeEnd); in divideUpDictionaryRange()
[all …]
Ddictbe.h103 int32_t rangeEnd,
160 int32_t rangeEnd,
216 int32_t rangeEnd,
272 int32_t rangeEnd,
328 int32_t rangeEnd,
392 int32_t rangeEnd,
Dcharacterproperties.cpp219 UChar32 rangeEnd = incl->getRangeEnd(i); in initIntPropInclusion() local
220 for (UChar32 c = incl->getRangeStart(i); c <= rangeEnd; ++c) { in initIntPropInclusion()
276 UChar32 rangeEnd = inclusions->getRangeEnd(i); in makeSet() local
277 for (UChar32 c = inclusions->getRangeStart(i); c <= rangeEnd; ++c) { in makeSet()
311 UChar32 rangeEnd = inclusions->getRangeEnd(i); in makeMap() local
312 for (UChar32 c = inclusions->getRangeStart(i); c <= rangeEnd; ++c) { in makeMap()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
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 …]
DBurmeseBreakEngine.java88 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
92 if ((rangeEnd - rangeStart) < BURMESE_MIN_WORD) { in divideUpDictionaryRange()
105 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange()
109 … int candidates = words[wordsFound%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
121 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
124 … if (words[(wordsFound+1)%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
132 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
139 … if (words[(wordsFound+2)%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
157 if (fIter.getIndex() < rangeEnd && wordLength < BURMESE_ROOT_COMBINE_THRESHOLD) { in divideUpDictionaryRange()
161 … if (words[wordsFound%BURMESE_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 …]
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 …]
DDictionaryBreakEngine.java40 public int candidates(CharacterIterator fIter, DictionaryMatcher dict, int rangeEnd) { in candidates() argument
44 prefix = dict.matches(fIter, rangeEnd - start, lengths, count, lengths.length); in candidates()
195 int rangeEnd;
202 rangeEnd = current;
204 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks);
227 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()
/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 …]
DBurmeseBreakEngine.java89 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
93 if ((rangeEnd - rangeStart) < BURMESE_MIN_WORD) { in divideUpDictionaryRange()
106 while ((current = fIter.getIndex()) < rangeEnd) { in divideUpDictionaryRange()
110 … int candidates = words[wordsFound%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd); in divideUpDictionaryRange()
122 if (fIter.getIndex() < rangeEnd) { in divideUpDictionaryRange()
125 … if (words[(wordsFound+1)%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
133 if (fIter.getIndex() >= rangeEnd) { in divideUpDictionaryRange()
140 … if (words[(wordsFound+2)%BURMESE_LOOKAHEAD].candidates(fIter, fDictionary, rangeEnd) > 0) { in divideUpDictionaryRange()
158 if (fIter.getIndex() < rangeEnd && wordLength < BURMESE_ROOT_COMBINE_THRESHOLD) { in divideUpDictionaryRange()
162 … if (words[wordsFound%BURMESE_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 …]
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.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()
196 int rangeEnd;
203 rangeEnd = current;
205 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks);
228 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()
/external/cldr/tools/java/org/unicode/cldr/util/
DPluralRanges.java171 public void add(Count rangeStart, Count rangeEnd, Count result) { in add() argument
175 if (rangeEnd == null) { in add()
180 explicit[rangeEnd.ordinal()] = true; in add()
181 matrix.setIfNew(rs, rangeEnd, result); in add()
184 } else if (rangeEnd == null) { in add()
191 explicit[rangeEnd.ordinal()] = true; in add()
192 matrix.setIfNew(rangeStart, rangeEnd, result); in add()
/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/icu/android_icu4j/src/main/java/android/icu/lang/
DCharacterProperties.java39 int rangeEnd = inclusions.getRangeEnd(i); in makeSet() local
40 for (int c = inclusions.getRangeStart(i); c <= rangeEnd; ++c) { in makeSet()
70 int rangeEnd = inclusions.getRangeEnd(i); in makeMap() local
71 for (int c = inclusions.getRangeStart(i); c <= rangeEnd; ++c) { in makeMap()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DCharacterProperties.java38 int rangeEnd = inclusions.getRangeEnd(i); in makeSet() local
39 for (int c = inclusions.getRangeStart(i); c <= rangeEnd; ++c) { in makeSet()
69 int rangeEnd = inclusions.getRangeEnd(i); in makeMap() local
70 for (int c = inclusions.getRangeStart(i); c <= rangeEnd; ++c) { in makeMap()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRBBIDataWrapper.java464 int rangeEnd = 0; in dumpCharCategories() local
484 rangeEnd = char32; in dumpCharCategories()
493 if (rangeEnd != rangeStart) { in dumpCharCategories()
494 catStrings[lastCat] += "-" + Integer.toHexString(rangeEnd); in dumpCharCategories()
498 rangeStart = rangeEnd = char32; in dumpCharCategories()
502 if (rangeEnd != rangeStart) { in dumpCharCategories()
503 catStrings[lastCat] += "-" + Integer.toHexString(rangeEnd); in dumpCharCategories()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DRBBIDataWrapper.java468 int rangeEnd = 0; in dumpCharCategories() local
488 rangeEnd = char32; in dumpCharCategories()
497 if (rangeEnd != rangeStart) { in dumpCharCategories()
498 catStrings[lastCat] += "-" + Integer.toHexString(rangeEnd); in dumpCharCategories()
502 rangeStart = rangeEnd = char32; in dumpCharCategories()
506 if (rangeEnd != rangeStart) { in dumpCharCategories()
507 catStrings[lastCat] += "-" + Integer.toHexString(rangeEnd); in dumpCharCategories()
/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()
141 int SkIntersections::mostOutside(double rangeStart, double rangeEnd, const SkDPoint& origin) const { in mostOutside() argument
144 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()
141 int SkIntersections::mostOutside(double rangeStart, double rangeEnd, const SkDPoint& origin) const { in mostOutside() argument
144 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()

123