Home
last modified time | relevance | path

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

1234

/third_party/typescript/src/server/
DscriptVersionCache.ts9 walk(rangeStart: number, rangeLength: number, walkFns: LineIndexWalker): void;
369 getText(rangeStart: number, rangeEnd: number) {
370 return this.index.getText(rangeStart, rangeEnd - rangeStart);
435 walk(rangeStart: number, rangeLength: number, walkFns: LineIndexWalker) {
436 this.root.walk(rangeStart, rangeLength, walkFns);
439 getText(rangeStart: number, rangeLength: number) {
441 if ((rangeLength > 0) && (rangeStart < this.root.charCount())) {
442 this.walk(rangeStart, rangeLength, {
457 …every(f: (ll: LineLeaf, s: number, len: number) => boolean, rangeStart: number, rangeEnd?: number)…
470 this.walk(rangeStart, rangeEnd - rangeStart, walkFns);
[all …]
/third_party/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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
/third_party/icu/icu4c/source/common/
Ddictbe.h102 int32_t rangeStart,
159 int32_t rangeStart,
215 int32_t rangeStart,
271 int32_t rangeStart,
327 int32_t rangeStart,
391 int32_t rangeStart,
Ddictbe.cpp60 int32_t rangeStart; in findBreaks() local
67 rangeStart = start; in findBreaks()
69 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks); in findBreaks()
228 int32_t rangeStart, in divideUpDictionaryRange() argument
231 utext_setNativeIndex(text, rangeStart); in divideUpDictionaryRange()
236 utext_setNativeIndex(text, rangeStart); in divideUpDictionaryRange()
246 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()
/third_party/skia/third_party/externals/icu/source/common/
Ddictbe.h102 int32_t rangeStart,
159 int32_t rangeStart,
215 int32_t rangeStart,
271 int32_t rangeStart,
327 int32_t rangeStart,
391 int32_t rangeStart,
Ddictbe.cpp60 int32_t rangeStart; in findBreaks() local
67 rangeStart = start; in findBreaks()
69 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks); in findBreaks()
228 int32_t rangeStart, in divideUpDictionaryRange() argument
231 utext_setNativeIndex(text, rangeStart); in divideUpDictionaryRange()
236 utext_setNativeIndex(text, rangeStart); in divideUpDictionaryRange()
246 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()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Ddictbe.h102 int32_t rangeStart,
159 int32_t rangeStart,
215 int32_t rangeStart,
271 int32_t rangeStart,
327 int32_t rangeStart,
391 int32_t rangeStart,
Ddictbe.cpp57 int32_t rangeStart; in findBreaks() local
64 rangeStart = start; in findBreaks()
66 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks); in findBreaks()
222 int32_t rangeStart, in divideUpDictionaryRange() argument
225 utext_setNativeIndex(text, rangeStart); in divideUpDictionaryRange()
230 utext_setNativeIndex(text, rangeStart); in divideUpDictionaryRange()
240 utext_setNativeIndex(text, rangeStart); in divideUpDictionaryRange()
461 int32_t rangeStart, in divideUpDictionaryRange() argument
464 if ((rangeEnd - rangeStart) < LAO_MIN_WORD_SPAN) { in divideUpDictionaryRange()
475 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()
/third_party/node/deps/icu-small/source/common/
Ddictbe.h105 int32_t rangeStart,
164 int32_t rangeStart,
222 int32_t rangeStart,
280 int32_t rangeStart,
338 int32_t rangeStart,
404 int32_t rangeStart,
Ddictbe.cpp62 int32_t rangeStart; in findBreaks() local
69 rangeStart = start; in findBreaks()
71 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks, status); in findBreaks()
230 int32_t rangeStart, in divideUpDictionaryRange() argument
235 utext_setNativeIndex(text, rangeStart); in divideUpDictionaryRange()
240 utext_setNativeIndex(text, rangeStart); in divideUpDictionaryRange()
249 utext_setNativeIndex(text, rangeStart); in divideUpDictionaryRange()
469 int32_t rangeStart, in divideUpDictionaryRange() argument
474 if ((rangeEnd - rangeStart) < LAO_MIN_WORD_SPAN) { in divideUpDictionaryRange()
484 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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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.java195 int rangeStart;
202 rangeStart = start;
205 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks);
227 int rangeStart,
/third_party/typescript/scripts/eslint/rules/
Dsimple-indent.ts52 const rangeStart = totalLen; constant
53 const rangeEnd = rangeStart + indentEnd;
56 … .replaceTextRange([rangeStart, rangeEnd], whitespace.replace(TAB_REGEX, " ".repeat(TAB_SIZE)));
/third_party/icu/icu4c/source/test/cintltst/
Dusettest.c300 int32_t rangeStart = -1, rangeEnd = -1, length; in expectContainment() local
355 if (rangeStart >= 0) { in expectContainment()
356 if (uset_containsRange(set, rangeStart, rangeEnd) == isIn) { in expectContainment()
359 rangeStart, rangeEnd); in expectContainment()
363 rangeStart, rangeEnd); in expectContainment()
366 rangeStart = rangeEnd = c; in expectContainment()
373 if (rangeStart >= 0) { in expectContainment()
374 if (uset_containsRange(set, rangeStart, rangeEnd) == isIn) { in expectContainment()
377 rangeStart, rangeEnd); in expectContainment()
381 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()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDictionaryBreakEngine.java194 int rangeStart;
201 rangeStart = start;
204 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks);
226 int rangeStart,
/third_party/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()
/third_party/flutter/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()
/third_party/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()
/third_party/flutter/skia/third_party/externals/icu/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()

1234