Home
last modified time | relevance | path

Searched refs:endIndex (Results 1 - 25 of 125) sorted by relevance

12345

/third_party/skia/src/pathops/
H A DSkLineParameters.h32 int endIndex = 1; in cubicEndPoints() local
33 cubicEndPoints(pts, 0, endIndex); in cubicEndPoints()
38 cubicEndPoints(pts, 0, ++endIndex); in cubicEndPoints()
39 SkASSERT(endIndex == 2); in cubicEndPoints()
44 cubicEndPoints(pts, 0, ++endIndex); // line in cubicEndPoints()
45 SkASSERT(endIndex == 3); in cubicEndPoints()
55 if (NotAlmostEqualUlps(pts[0].fY, pts[++endIndex].fY)) { in cubicEndPoints()
56 if (pts[0].fY > pts[endIndex].fY) { in cubicEndPoints()
61 if (endIndex == 3) { in cubicEndPoints()
64 SkASSERT(endIndex in cubicEndPoints()
[all...]
H A DSkPathOpsQuad.cpp185 bool SkDQuad::isLinear(int startIndex, int endIndex) const { in isLinear()
187 lineParameters.quadEndPoints(*this, startIndex, endIndex); in isLinear()
294 void SkDQuad::align(int endIndex, SkDPoint* dstPt) const { in align() argument
295 if (fPts[endIndex].fX == fPts[1].fX) { in align()
296 dstPt->fX = fPts[endIndex].fX; in align()
298 if (fPts[endIndex].fY == fPts[1].fY) { in align()
299 dstPt->fY = fPts[endIndex].fY; in align()
H A DSkPathOpsConic.h62 void align(int endIndex, SkDPoint* dstPt) const { in align()
63 fPts.align(endIndex, dstPt); in align()
79 bool isLinear(int startIndex, int endIndex) const { in isLinear()
80 return fPts.isLinear(startIndex, endIndex); in isLinear()
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
H A DClassTable.java182 int endIndex; in writeClassTable()
184 for (endIndex = startIndex; endIndex < classTable.length; endIndex += 1) { in writeClassTable()
185 if (classTable[endIndex].getGlyphID() != nextID || in writeClassTable()
186 classTable[endIndex].getClassID() != classID) { in writeClassTable()
200 startIndex = endIndex; in writeClassTable()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DNioByteString.java97 public ByteString substring(int beginIndex, int endIndex) { in substring() argument
99 ByteBuffer slice = slice(beginIndex, endIndex); in substring()
278 * @param endIndex the end index of the slice (exclusive).
281 private ByteBuffer slice(int beginIndex, int endIndex) { in slice() argument
282 if (beginIndex < buffer.position() || endIndex > buffer.limit() || beginIndex > endIndex) { in slice()
284 String.format("Invalid indices [%d, %d]", beginIndex, endIndex)); in slice()
289 slice.limit(endIndex - buffer.position()); in slice()
H A DByteString.java314 * Return the substring from {@code beginIndex}, inclusive, to {@code endIndex}, exclusive.
317 * @param endIndex the last character is the one before this index
319 * @throws IndexOutOfBoundsException if {@code beginIndex < 0}, {@code endIndex > size()}, or
320 * {@code beginIndex > endIndex}.
322 public abstract ByteString substring(int beginIndex, int endIndex); in substring() argument
1256 * @param endIndex the end index of the range (exclusive)
1261 static int checkRange(int startIndex, int endIndex, int size) { in checkRange() argument
1262 final int length = endIndex - startIndex; in checkRange()
1263 if ((startIndex | endIndex | length | (size - endIndex)) < in checkRange()
1342 substring(int beginIndex, int endIndex) substring() argument
[all...]
/third_party/icu/icu4c/source/i18n/
H A Dufieldpositer.cpp44 int32_t *beginIndex, int32_t *endIndex) in ufieldpositer_next()
53 if (endIndex) { in ufieldpositer_next()
54 *endIndex = fp.getEndIndex(); in ufieldpositer_next()
43 ufieldpositer_next(UFieldPositionIterator *fpositer, int32_t *beginIndex, int32_t *endIndex) ufieldpositer_next() argument
H A Dscientificnumberformatter.cpp41 int32_t endIndex, in copyAsSuperscript()
47 for (int32_t i = beginIndex; i < endIndex;) { in copyAsSuperscript()
153 int32_t endIndex = fp.getEndIndex(); in format() local
171 copyFromOffset = endIndex; in format()
38 copyAsSuperscript( const UnicodeString &s, int32_t beginIndex, int32_t endIndex, UnicodeString &result, UErrorCode &status) copyAsSuperscript() argument
/third_party/node/deps/icu-small/source/i18n/
H A Dufieldpositer.cpp44 int32_t *beginIndex, int32_t *endIndex) in ufieldpositer_next()
53 if (endIndex) { in ufieldpositer_next()
54 *endIndex = fp.getEndIndex(); in ufieldpositer_next()
43 ufieldpositer_next(UFieldPositionIterator *fpositer, int32_t *beginIndex, int32_t *endIndex) ufieldpositer_next() argument
H A Dscientificnumberformatter.cpp41 int32_t endIndex, in copyAsSuperscript()
47 for (int32_t i = beginIndex; i < endIndex;) { in copyAsSuperscript()
153 int32_t endIndex = fp.getEndIndex(); in format() local
171 copyFromOffset = endIndex; in format()
38 copyAsSuperscript( const UnicodeString &s, int32_t beginIndex, int32_t endIndex, UnicodeString &result, UErrorCode &status) copyAsSuperscript() argument
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dufieldpositer.cpp44 int32_t *beginIndex, int32_t *endIndex) in ufieldpositer_next()
53 if (endIndex) { in ufieldpositer_next()
54 *endIndex = fp.getEndIndex(); in ufieldpositer_next()
43 ufieldpositer_next(UFieldPositionIterator *fpositer, int32_t *beginIndex, int32_t *endIndex) ufieldpositer_next() argument
H A Dscientificnumberformatter.cpp41 int32_t endIndex, in copyAsSuperscript()
47 for (int32_t i = beginIndex; i < endIndex;) { in copyAsSuperscript()
153 int32_t endIndex = fp.getEndIndex(); in format() local
171 copyFromOffset = endIndex; in format()
38 copyAsSuperscript( const UnicodeString &s, int32_t beginIndex, int32_t endIndex, UnicodeString &result, UErrorCode &status) copyAsSuperscript() argument
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
H A DSearchIterator.java152 int endIndex() { in endIndex() method in SearchIterator.Search
190 || position > search_.endIndex()) { in setIndex()
193 search_.beginIndex() + " and " + search_.endIndex()); in setIndex()
406 int endIdx = search_.endIndex(); in next()
455 index = search_.endIndex(); // m_search_->textLength in ICU4C in previous()
583 int endIdx = search_.endIndex(); in last()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DSearchIterator.java149 int endIndex() { in endIndex() method in SearchIterator.Search
185 || position > search_.endIndex()) { in setIndex()
188 search_.beginIndex() + " and " + search_.endIndex()); in setIndex()
391 int endIdx = search_.endIndex(); in next()
439 index = search_.endIndex(); // m_search_->textLength in ICU4C in previous()
561 int endIdx = search_.endIndex(); in last()
/third_party/icu/icu4c/source/test/cintltst/
H A Dunumberformattertst.c117 assertIntEquals("Field position should be correct", 15, ufpos.endIndex); in TestSkeletonFormatToFields()
139 actual.field = ufieldpositer_next(ufpositer, &actual.beginIndex, &actual.endIndex); in TestSkeletonFormatToFields()
152 if (expected.endIndex != actual.endIndex) { in TestSkeletonFormatToFields()
154 "FAIL: iteration %d; expected endIndex %d; got %d\n", in TestSkeletonFormatToFields()
156 expected.endIndex, in TestSkeletonFormatToFields()
157 actual.endIndex); in TestSkeletonFormatToFields()
160 actual.field = ufieldpositer_next(ufpositer, &actual.beginIndex, &actual.endIndex); in TestSkeletonFormatToFields()
166 actual.endIndex = 0; in TestSkeletonFormatToFields()
171 assertIntEquals("Grouping separator end index", expected.endIndex, actua in TestSkeletonFormatToFields()
[all...]
H A Dulistfmttest.c292 int32_t beginIndex, endIndex; in TestUList21871_A() local
293 ucfpos_getIndexes(fpos, &beginIndex, &endIndex, &status); in TestUList21871_A()
296 assertIntEquals("TEST endIndex", 1, endIndex); in TestUList21871_A()
340 int32_t beginIndex, endIndex; in TestUList21871_B() local
341 ucfpos_getIndexes(fpos, &beginIndex, &endIndex, &status); in TestUList21871_B()
344 assertIntEquals("TEST endIndex", 6, endIndex); in TestUList21871_B()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DStringRange.java266 private static void add(int endIndex, int startOffset, int[] starts, int[] ends, StringBuilder builder, Collection<String> output) { in add() argument
267 int start = starts[endIndex+startOffset]; in add()
268 int end = ends[endIndex]; in add()
272 boolean last = endIndex == ends.length - 1; in add()
279 add(endIndex+1, startOffset, starts, ends, builder, output); in add()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DStringRange.java273 private static void add(int endIndex, int startOffset, int[] starts, int[] ends, StringBuilder builder, Collection<String> output) { in add() argument
274 int start = starts[endIndex+startOffset]; in add()
275 int end = ends[endIndex]; in add()
279 boolean last = endIndex == ends.length - 1; in add()
286 add(endIndex+1, startOffset, starts, ends, builder, output); in add()
/third_party/glslang/glslang/MachineIndependent/
H A DparseConst.cpp133 int endIndex = index + size; in visitConstantUnion() local
138 for (int i = index; i < endIndex; i++) { in visitConstantUnion()
182 for (int i = index; i < endIndex; i++) { in visitConstantUnion()
/third_party/icu/icu4c/source/samples/citer/
H A Dciter.cpp87 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) { in TestUChariter()
88 u_fprintf(out, "startIndex() or endIndex() failed\n"); in TestUChariter()
146 int32_t i = iter.endIndex(); in TestStringiter()
151 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) { in TestStringiter()
152 u_fprintf(out, "startIndex() or endIndex() failed\n"); in TestStringiter()
/third_party/icu/icu4c/source/test/intltest/
H A Dtstnrapi.cpp92 copy.endIndex()!=iter.endIndex() in TestNormalizerAPI()
117 if(copy.endIndex()!=s.length()-1) { in TestNormalizerAPI()
/third_party/skia/third_party/externals/icu/source/samples/citer/
H A Dciter.cpp87 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) { in TestUChariter()
88 u_fprintf(out, "startIndex() or endIndex() failed\n"); in TestUChariter()
146 int32_t i = iter.endIndex(); in TestStringiter()
151 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) { in TestStringiter()
152 u_fprintf(out, "startIndex() or endIndex() failed\n"); in TestStringiter()
/third_party/protobuf/js/experimental/runtime/kernel/
H A Dbuffer_decoder.js92 endIndex() {
304 startIndex + length <= this.endIndex(),
305 `Current end: ${this.endIndex()}, subBufferDecoder start: ${
H A Dtag.js82 bufferDecoder.cursor(), bufferDecoder.endIndex());
90 bufferDecoder.cursor(), bufferDecoder.endIndex());
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/
H A DReadableFontData.java573 * @param endIndex the position to read the first end value from
582 int endIndex, in searchUShort()
597 int locationEnd = this.readUShort(endIndex + location * endOffset); in searchUShort()
618 * @param endIndex the position to read the first end value from
627 int endIndex, in searchULong()
642 int locationEnd = this.readULongAsInt(endIndex + location * endOffset); in searchULong()
580 searchUShort(int startIndex, int startOffset, int endIndex, int endOffset, int length, int key) searchUShort() argument
625 searchULong(int startIndex, int startOffset, int endIndex, int endOffset, int length, int key) searchULong() argument

Completed in 19 milliseconds

12345