Home
last modified time | relevance | path

Searched refs:spanStart (Results 1 – 14 of 14) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DEdits.java545 int spanStart, spanLength; in findIndex() local
547 spanStart = srcIndex; in findIndex()
550 spanStart = destIndex; in findIndex()
553 if (i < spanStart) { in findIndex()
554 if (i >= (spanStart / 2)) { in findIndex()
559 spanStart = findSource ? srcIndex : destIndex; in findIndex()
560 if (i >= spanStart) { in findIndex()
572 if (i >= (spanStart - len)) { in findIndex()
573 int n = ((spanStart - i - 1) / spanLength) + 1; in findIndex()
592 } else if (i < (spanStart + spanLength)) { in findIndex()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DEdits.java535 int spanStart, spanLength; in findIndex() local
537 spanStart = srcIndex; in findIndex()
540 spanStart = destIndex; in findIndex()
543 if (i < spanStart) { in findIndex()
544 if (i >= (spanStart / 2)) { in findIndex()
549 spanStart = findSource ? srcIndex : destIndex; in findIndex()
550 if (i >= spanStart) { in findIndex()
562 if (i >= (spanStart - len)) { in findIndex()
563 int n = ((spanStart - i - 1) / spanLength) + 1; in findIndex()
582 } else if (i < (spanStart + spanLength)) { in findIndex()
[all …]
/external/icu/icu4c/source/common/
Dedits.cpp653 int32_t spanStart, spanLength; in findIndex() local
655 spanStart = srcIndex; in findIndex()
658 spanStart = destIndex; in findIndex()
661 if (i < spanStart) { in findIndex()
662 if (i >= (spanStart / 2)) { in findIndex()
668 spanStart = findSource ? srcIndex : destIndex; in findIndex()
669 if (i >= spanStart) { in findIndex()
681 if (i >= (spanStart - len)) { in findIndex()
682 int32_t n = ((spanStart - i - 1) / spanLength) + 1; in findIndex()
701 } else if (i < (spanStart + spanLength)) { in findIndex()
[all …]
/external/skia/src/pathops/
DSkPathOpsSimplify.cpp51 SkOpSpan* spanStart = start->starter(end); in bridgeWinding() local
52 if (!spanStart->done()) { in bridgeWinding()
56 current->markDone(spanStart); in bridgeWinding()
121 SkOpSpan* spanStart = start->starter(end); in bridgeXor() local
122 if (!spanStart->done()) { in bridgeXor()
126 current->markDone(spanStart); in bridgeXor()
DSkOpSegment.cpp861 SkOpSpan* spanStart = start->starter(end); in markAndChaseWinding() local
863 bool success = markWinding(spanStart, winding); in markAndChaseWinding()
866 while ((other = other->nextChase(&start, &step, &spanStart, &last))) { in markAndChaseWinding()
867 if (spanStart->windSum() != SK_MinS32) { in markAndChaseWinding()
872 (void) other->markWinding(spanStart, winding); in markAndChaseWinding()
882 SkOpSpan* spanStart = start->starter(end); in markAndChaseWinding() local
884 bool success = markWinding(spanStart, winding, oppWinding); in markAndChaseWinding()
887 while ((other = other->nextChase(&start, &step, &spanStart, &last))) { in markAndChaseWinding()
888 if (spanStart->windSum() != SK_MinS32) { in markAndChaseWinding()
890 if (spanStart->windSum() != winding || spanStart->oppSum() != oppWinding) { in markAndChaseWinding()
[all …]
DSkPathOpsOp.cpp147 SkOpSpan* spanStart = start->starter(end); in bridgeOp() local
148 if (!spanStart->done()) { in bridgeOp()
152 current->markDone(spanStart); in bridgeOp()
DSkPathOpsTSect.h1340 bool spanStart, oppStart; in intersects() local
1341 int hullResult = span->hullsIntersect(oppSpan, &spanStart, &oppStart); in intersects()
1346 if (spanStart) { in intersects()
/external/skqp/src/pathops/
DSkPathOpsSimplify.cpp51 SkOpSpan* spanStart = start->starter(end); in bridgeWinding() local
52 if (!spanStart->done()) { in bridgeWinding()
56 current->markDone(spanStart); in bridgeWinding()
121 SkOpSpan* spanStart = start->starter(end); in bridgeXor() local
122 if (!spanStart->done()) { in bridgeXor()
126 current->markDone(spanStart); in bridgeXor()
DSkOpSegment.cpp861 SkOpSpan* spanStart = start->starter(end); in markAndChaseWinding() local
863 bool success = markWinding(spanStart, winding); in markAndChaseWinding()
866 while ((other = other->nextChase(&start, &step, &spanStart, &last))) { in markAndChaseWinding()
867 if (spanStart->windSum() != SK_MinS32) { in markAndChaseWinding()
872 (void) other->markWinding(spanStart, winding); in markAndChaseWinding()
882 SkOpSpan* spanStart = start->starter(end); in markAndChaseWinding() local
884 bool success = markWinding(spanStart, winding, oppWinding); in markAndChaseWinding()
887 while ((other = other->nextChase(&start, &step, &spanStart, &last))) { in markAndChaseWinding()
888 if (spanStart->windSum() != SK_MinS32) { in markAndChaseWinding()
890 if (spanStart->windSum() != winding || spanStart->oppSum() != oppWinding) { in markAndChaseWinding()
[all …]
DSkPathOpsOp.cpp147 SkOpSpan* spanStart = start->starter(end); in bridgeOp() local
148 if (!spanStart->done()) { in bridgeOp()
152 current->markDone(spanStart); in bridgeOp()
DSkPathOpsTSect.h1340 bool spanStart, oppStart; in intersects() local
1341 int hullResult = span->hullsIntersect(oppSpan, &spanStart, &oppStart); in intersects()
1346 if (spanStart) { in intersects()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUnicodeSetStringSpanTest.java345 int spanStart = containsSpanBackUTF16(set, s, matchStart, in containsSpanBackUTF16() local
347 if (spanStart < minSpanStart) { in containsSpanBackUTF16()
348 minSpanStart = spanStart; in containsSpanBackUTF16()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetStringSpanTest.java342 int spanStart = containsSpanBackUTF16(set, s, matchStart, in containsSpanBackUTF16() local
344 if (spanStart < minSpanStart) { in containsSpanBackUTF16()
345 minSpanStart = spanStart; in containsSpanBackUTF16()
/external/icu/icu4c/source/test/intltest/
Dusettest.cpp2647 int32_t spanStart=containsSpanBackUTF16(set, s, matchStart, in containsSpanBackUTF16() local
2649 if(spanStart<minSpanStart) { in containsSpanBackUTF16()
2650 minSpanStart=spanStart; in containsSpanBackUTF16()
2848 int32_t spanStart=containsSpanBackUTF8(set, s, matchStart, in containsSpanBackUTF8() local
2850 if(spanStart<minSpanStart) { in containsSpanBackUTF8()
2851 minSpanStart=spanStart; in containsSpanBackUTF8()