Home
last modified time | relevance | path

Searched refs:rangeStart (Results 1 – 25 of 40) sorted by relevance

12

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DPropsVectors.java67 private int findRow(int rangeStart) { in findRow() argument
74 if (rangeStart >= v[index]) { in findRow()
75 if (rangeStart < v[index + 1]) { in findRow()
80 if (rangeStart < v[index + 1]) { in findRow()
85 if (rangeStart < v[index + 1]) { in findRow()
88 } else if ((rangeStart - v[index + 1]) < 10) { in findRow()
94 } while (rangeStart >= v[index + 1]); in findRow()
99 } else if (rangeStart < v[1]) { in findRow()
112 if (rangeStart < v[index]) { in findRow()
114 } else if (rangeStart < v[index + 1]) { in findRow()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DPropsVectors.java65 private int findRow(int rangeStart) { in findRow() argument
72 if (rangeStart >= v[index]) { in findRow()
73 if (rangeStart < v[index + 1]) { in findRow()
78 if (rangeStart < v[index + 1]) { in findRow()
83 if (rangeStart < v[index + 1]) { in findRow()
86 } else if ((rangeStart - v[index + 1]) < 10) { in findRow()
92 } while (rangeStart >= v[index + 1]); in findRow()
97 } else if (rangeStart < v[1]) { in findRow()
110 if (rangeStart < v[index]) { in findRow()
112 } else if (rangeStart < v[index + 1]) { in findRow()
/external/icu/icu4c/source/common/
Ddictbe.h127 int32_t rangeStart,
184 int32_t rangeStart,
240 int32_t rangeStart,
296 int32_t rangeStart,
352 int32_t rangeStart,
416 int32_t rangeStart,
Ddictbe.cpp60 int32_t rangeStart; in findBreaks() local
67 rangeStart = start; in findBreaks()
70 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks); in findBreaks()
227 int32_t rangeStart, in divideUpDictionaryRange() argument
230 utext_setNativeIndex(text, rangeStart); in divideUpDictionaryRange()
235 utext_setNativeIndex(text, rangeStart); in divideUpDictionaryRange()
245 utext_setNativeIndex(text, rangeStart); in divideUpDictionaryRange()
466 int32_t rangeStart, in divideUpDictionaryRange() argument
469 if ((rangeEnd - rangeStart) < LAO_MIN_WORD_SPAN) { in divideUpDictionaryRange()
480 utext_setNativeIndex(text, rangeStart); in divideUpDictionaryRange()
[all …]
Dpropsvec.cpp95 _findRow(UPropsVectors *pv, UChar32 rangeStart) { in _findRow() argument
105 if(rangeStart>=(UChar32)row[0]) { in _findRow()
106 if(rangeStart<(UChar32)row[1]) { in _findRow()
109 } else if(rangeStart<(UChar32)(row+=columns)[1]) { in _findRow()
113 } else if(rangeStart<(UChar32)(row+=columns)[1]) { in _findRow()
117 } else if((rangeStart-(UChar32)row[1])<10) { in _findRow()
123 } while(rangeStart>=(UChar32)row[1]); in _findRow()
127 } else if(rangeStart<(UChar32)pv->v[1]) { in _findRow()
138 if(rangeStart<(UChar32)row[0]) { in _findRow()
140 } else if(rangeStart<(UChar32)row[1]) { in _findRow()
/external/icu/icu4c/source/test/cintltst/
Dusettest.c261 int32_t rangeStart = -1, rangeEnd = -1, length; in expectContainment() local
316 if (rangeStart >= 0) { 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()
334 if (rangeStart >= 0) { 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/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralRanges.java201 public void add(StandardPlural rangeStart, StandardPlural rangeEnd, in add() argument
207 if (rangeStart == null) { in add()
219 explicit[rangeStart.ordinal()] = true; in add()
221 matrix.setIfNew(rangeStart, re, result); in add()
224 explicit[rangeStart.ordinal()] = true; in add()
226 matrix.setIfNew(rangeStart, rangeEnd, result); in add()
DDictionaryBreakEngine.java201 int rangeStart;
208 rangeStart = start;
213 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks);
235 int rangeStart,
DRBBIDataWrapper.java438 int rangeStart = 0; in dumpCharCategories() local
467 catStrings[lastCat] += " " + Integer.toHexString(rangeStart); in dumpCharCategories()
468 if (rangeEnd != rangeStart) { in dumpCharCategories()
473 rangeStart = rangeEnd = char32; in dumpCharCategories()
476 catStrings[lastCat] += " " + Integer.toHexString(rangeStart); in dumpCharCategories()
477 if (rangeEnd != rangeStart) { in dumpCharCategories()
DLaoBreakEngine.java91 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
95 if ((rangeEnd - rangeStart) < LAO_MIN_WORD) { in divideUpDictionaryRange()
107 fIter.setIndex(rangeStart); in divideUpDictionaryRange()
DBurmeseBreakEngine.java92 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
96 if ((rangeEnd - rangeStart) < BURMESE_MIN_WORD) { in divideUpDictionaryRange()
108 fIter.setIndex(rangeStart); in divideUpDictionaryRange()
DKhmerBreakEngine.java92 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
95 if ((rangeEnd - rangeStart) < KHMER_MIN_WORD_SPAN) { in divideUpDictionaryRange()
107 fIter.setIndex(rangeStart); in divideUpDictionaryRange()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralRanges.java203 public void add(StandardPlural rangeStart, StandardPlural rangeEnd, in add() argument
209 if (rangeStart == null) { in add()
221 explicit[rangeStart.ordinal()] = true; in add()
223 matrix.setIfNew(rangeStart, re, result); in add()
226 explicit[rangeStart.ordinal()] = true; in add()
228 matrix.setIfNew(rangeStart, rangeEnd, result); in add()
DDictionaryBreakEngine.java202 int rangeStart;
209 rangeStart = start;
214 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks);
236 int rangeStart,
DRBBIDataWrapper.java439 int rangeStart = 0; in dumpCharCategories() local
468 catStrings[lastCat] += " " + Integer.toHexString(rangeStart); in dumpCharCategories()
469 if (rangeEnd != rangeStart) { in dumpCharCategories()
474 rangeStart = rangeEnd = char32; in dumpCharCategories()
477 catStrings[lastCat] += " " + Integer.toHexString(rangeStart); in dumpCharCategories()
478 if (rangeEnd != rangeStart) { in dumpCharCategories()
DKhmerBreakEngine.java93 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
96 if ((rangeEnd - rangeStart) < KHMER_MIN_WORD_SPAN) { in divideUpDictionaryRange()
108 fIter.setIndex(rangeStart); in divideUpDictionaryRange()
DLaoBreakEngine.java92 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
96 if ((rangeEnd - rangeStart) < LAO_MIN_WORD) { in divideUpDictionaryRange()
108 fIter.setIndex(rangeStart); in divideUpDictionaryRange()
DBurmeseBreakEngine.java93 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
97 if ((rangeEnd - rangeStart) < BURMESE_MIN_WORD) { in divideUpDictionaryRange()
109 fIter.setIndex(rangeStart); in divideUpDictionaryRange()
DThaiBreakEngine.java104 public int divideUpDictionaryRange(CharacterIterator fIter, int rangeStart, int rangeEnd, in divideUpDictionaryRange() argument
107 if ((rangeEnd - rangeStart) < THAI_MIN_WORD_SPAN) { in divideUpDictionaryRange()
118 fIter.setIndex(rangeStart); in divideUpDictionaryRange()
/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/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DAnnotatedBytes.java299 int rangeStart = keys[i]; in writeAnnotations() local
318 String left = Hex.dump(data, rangeStart, rangeEnd - rangeStart, rangeStart, hexCols, 6); in writeAnnotations()

12