Home
last modified time | relevance | path

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

123

/external/icu/icu4c/source/common/
Ddictbe.cpp61 int32_t rangeEnd; in findBreaks() local
68 rangeEnd = current; in findBreaks()
69 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks); in findBreaks()
111 int32_t candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd );
132 int32_t PossibleWord::candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd ) { in candidates() argument
137 …count = dict->matches(text, rangeEnd-start, UPRV_LENGTHOF(cuLengths), cuLengths, cpLengths, NULL, … in candidates()
229 int32_t rangeEnd, in divideUpDictionaryRange() argument
233 if (utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
248 while (U_SUCCESS(status) && (current = (int32_t)utext_getNativeIndex(text)) < rangeEnd) { in divideUpDictionaryRange()
253 … 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.cpp221 UChar32 rangeEnd = incl->getRangeEnd(i); in initIntPropInclusion() local
222 for (UChar32 c = incl->getRangeStart(i); c <= rangeEnd; ++c) { in initIntPropInclusion()
278 UChar32 rangeEnd = inclusions->getRangeEnd(i); in makeSet() local
279 for (UChar32 c = inclusions->getRangeStart(i); c <= rangeEnd; ++c) { in makeSet()
313 UChar32 rangeEnd = inclusions->getRangeEnd(i); in makeMap() local
314 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,
/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 …]
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 …]
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,
/external/icu/libicu/cts_headers/
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,
/external/llvm-project/mlir/tools/mlir-reduce/
DReductionTreeUtils.cpp64 int rangeEnd = 0; in getRanges() local
78 rangeEnd = index; in getRanges()
79 ranges.push_back(std::make_tuple(rangeStart, rangeEnd)); in getRanges()
147 int rangeEnd = std::get<1>(range); in createVariants() local
149 for (int x = rangeStart; x < rangeEnd; ++x) in createVariants()
153 transform(variantModule, rangeStart, rangeEnd); in createVariants()
/external/catch2/projects/SelfTest/IntrospectiveTests/
DGeneratorsImpl.tests.cpp180 const auto rangeEnd = 1.; variable
183 auto gen = range(rangeStart, rangeEnd, step);
185 while( (rangeEnd - expected) > step ) {
192 REQUIRE(gen.get() == Approx( rangeEnd ) );
197 const auto rangeEnd = 1.; variable
200 auto gen = range(rangeStart, rangeEnd, step);
202 while( (rangeEnd - expected) > step ) {
213 const auto rangeEnd = .9; variable
216 auto gen = range(rangeStart, rangeEnd, step);
218 while( (rangeEnd - expected) > step ) {
/external/cldr/tools/java/org/unicode/cldr/util/
DPluralRanges.java178 public void add(Count rangeStart, Count rangeEnd, Count result) { in add() argument
182 if (rangeEnd == null) { in add()
187 explicit[rangeEnd.ordinal()] = true; in add()
188 matrix.setIfNew(rs, rangeEnd, result); in add()
191 } else if (rangeEnd == null) { in add()
198 explicit[rangeEnd.ordinal()] = true; in add()
199 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.c59 uint32_t rangeStart=0,rangeEnd =0; in strprepProfileLineFn() local
66 u_parseCodePointRange(fields[0][0], &rangeStart,&rangeEnd, pErrorCode); in strprepProfileLineFn()
69 compareFlagsForRange(data, rangeStart,rangeEnd,USPREP_UNASSIGNED); in strprepProfileLineFn()
73 u_parseCodePointRange(fields[0][0], &rangeStart,&rangeEnd, pErrorCode); in strprepProfileLineFn()
76 compareFlagsForRange(data, rangeStart,rangeEnd,USPREP_PROHIBITED); in strprepProfileLineFn()
/external/okio/okio/src/commonMain/kotlin/okio/
DOptions.kt159 var rangeEnd = toIndex in <lambda>() variable
162 rangeEnd = i in <lambda>()
167 if (rangeStart + 1 == rangeEnd && in <lambda>()
181 toIndex = rangeEnd, in <lambda>()
186 rangeStart = rangeEnd in <lambda>()
/external/icu/android_icu4j/src/main/java/android/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/lang/
DCharacterProperties.java37 int rangeEnd = inclusions.getRangeEnd(i); in makeSet() local
38 for (int c = inclusions.getRangeStart(i); c <= rangeEnd; ++c) { in makeSet()
68 int rangeEnd = inclusions.getRangeEnd(i); in makeMap() local
69 for (int c = inclusions.getRangeStart(i); c <= rangeEnd; ++c) { in makeMap()
/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/tools/gensprep/
Dgensprep.c354 uint32_t rangeStart=0,rangeEnd =0; in strprepProfileLineFn() local
383 u_parseCodePointRange(s, &rangeStart,&rangeEnd, pErrorCode); in strprepProfileLineFn()
390 storeRange(rangeStart,rangeEnd,USPREP_UNASSIGNED, pErrorCode); in strprepProfileLineFn()
394 u_parseCodePointRange(s, &rangeStart,&rangeEnd, pErrorCode); in strprepProfileLineFn()
401 storeRange(rangeStart,rangeEnd,USPREP_PROHIBITED, pErrorCode); in strprepProfileLineFn()

123