Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DEdits.java591 int spanStart, spanLength; in findIndex() local
593 spanStart = srcIndex; in findIndex()
596 spanStart = destIndex; in findIndex()
599 if (i < spanStart) { in findIndex()
600 if (i >= (spanStart / 2)) { in findIndex()
605 spanStart = findSource ? srcIndex : destIndex; in findIndex()
606 if (i >= spanStart) { in findIndex()
618 if (i >= (spanStart - len)) { in findIndex()
619 int n = ((spanStart - i - 1) / spanLength) + 1; in findIndex()
638 } else if (i < (spanStart + spanLength)) { in findIndex()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DEdits.java578 int spanStart, spanLength; in findIndex() local
580 spanStart = srcIndex; in findIndex()
583 spanStart = destIndex; in findIndex()
586 if (i < spanStart) { in findIndex()
587 if (i >= (spanStart / 2)) { in findIndex()
592 spanStart = findSource ? srcIndex : destIndex; in findIndex()
593 if (i >= spanStart) { in findIndex()
605 if (i >= (spanStart - len)) { in findIndex()
606 int n = ((spanStart - i - 1) / spanLength) + 1; in findIndex()
625 } else if (i < (spanStart + spanLength)) { in findIndex()
[all …]
/external/icu/icu4c/source/common/
Dedits.cpp656 int32_t spanStart, spanLength; in findIndex() local
658 spanStart = srcIndex; in findIndex()
661 spanStart = destIndex; in findIndex()
664 if (i < spanStart) { in findIndex()
665 if (i >= (spanStart / 2)) { in findIndex()
671 spanStart = findSource ? srcIndex : destIndex; in findIndex()
672 if (i >= spanStart) { in findIndex()
684 if (i >= (spanStart - len)) { in findIndex()
685 int32_t n = ((spanStart - i - 1) / spanLength) + 1; in findIndex()
704 } else if (i < (spanStart + spanLength)) { in findIndex()
[all …]
/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()
128 SkOpSpan* spanStart = start->starter(end); in bridgeXor() local
129 if (!spanStart->done()) { in bridgeXor()
DSkOpSegment.cpp168 const SkOpSpan* spanStart = start->starter(end); in addCurveTo() local
169 FAIL_IF(spanStart->alreadyAdded()); in addCurveTo()
170 const_cast<SkOpSpan*>(spanStart)->markAdded(); in addCurveTo()
894 SkOpSpan* spanStart = start->starter(end); in markAndChaseWinding() local
896 bool success = markWinding(spanStart, winding); in markAndChaseWinding()
900 while ((other = other->nextChase(&start, &step, &spanStart, &last))) { in markAndChaseWinding()
904 if (spanStart->windSum() != SK_MinS32) { in markAndChaseWinding()
909 (void) other->markWinding(spanStart, winding); in markAndChaseWinding()
919 SkOpSpan* spanStart = start->starter(end); in markAndChaseWinding() local
921 bool success = markWinding(spanStart, winding, oppWinding); in markAndChaseWinding()
[all …]
DSkPathOpsOp.cpp165 SkOpSpan* spanStart = start->starter(end); in bridgeOp() local
166 if (!spanStart->done()) { in bridgeOp()
170 current->markDone(spanStart); in bridgeOp()
DSkPathOpsTSect.cpp985 bool spanStart, oppStart; in intersects() local
986 int hullResult = span->hullsIntersect(oppSpan, &spanStart, &oppStart); in intersects()
991 if (spanStart) { in intersects()
/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()
128 SkOpSpan* spanStart = start->starter(end); in bridgeXor() local
129 if (!spanStart->done()) { in bridgeXor()
DSkOpSegment.cpp168 const SkOpSpan* spanStart = start->starter(end); in addCurveTo() local
169 FAIL_IF(spanStart->alreadyAdded()); in addCurveTo()
170 const_cast<SkOpSpan*>(spanStart)->markAdded(); in addCurveTo()
894 SkOpSpan* spanStart = start->starter(end); in markAndChaseWinding() local
896 bool success = markWinding(spanStart, winding); in markAndChaseWinding()
900 while ((other = other->nextChase(&start, &step, &spanStart, &last))) { in markAndChaseWinding()
904 if (spanStart->windSum() != SK_MinS32) { in markAndChaseWinding()
909 (void) other->markWinding(spanStart, winding); in markAndChaseWinding()
919 SkOpSpan* spanStart = start->starter(end); in markAndChaseWinding() local
921 bool success = markWinding(spanStart, winding, oppWinding); in markAndChaseWinding()
[all …]
DSkPathOpsOp.cpp165 SkOpSpan* spanStart = start->starter(end); in bridgeOp() local
166 if (!spanStart->done()) { in bridgeOp()
170 current->markDone(spanStart); in bridgeOp()
DSkPathOpsTSect.cpp986 bool spanStart, oppStart; in intersects() local
987 int hullResult = span->hullsIntersect(oppSpan, &spanStart, &oppStart); in intersects()
992 if (spanStart) { in intersects()
/external/setupdesign/main/src/com/google/android/setupdesign/span/
DSpanHelper.java31 final int spanStart = spannable.getSpanStart(oldSpan); in replaceSpan() local
35 spannable.setSpan(newSpan, spanStart, spanEnd, 0); in replaceSpan()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DSpannedToHtmlConverter.java109 int spanStart = spanned.getSpanStart(span); in findSpanTransitions() local
113 SpanInfo spanInfo = new SpanInfo(spanStart, spanEnd, openingTag, closingTag); in findSpanTransitions()
114 getOrCreate(spanTransitions, spanStart).spansAdded.add(spanInfo); in findSpanTransitions()
/external/setupdesign/main/src/com/google/android/setupdesign/accessibility/
DLinkAccessibilityHelper.java262 final int spanStart = spannedText.getSpanStart(span); in getBoundsForSpan() local
264 final float xStart = layout.getPrimaryHorizontal(spanStart); in getBoundsForSpan()
266 final int lineStart = layout.getLineForOffset(spanStart); in getBoundsForSpan()
/external/starlark-go/starlark/
Dprofile.go133 thread.frameAt(0).spanStart = nanotime()
146 thread.proftime += time.Duration(nanotime() - thread.frameAt(0).spanStart)
Deval.go180 spanStart int64 // start time of current profiler span member
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/truth/
DSpannedSubject.java665 int spanStart = spanned.getSpanStart(span); in getSpanAsString() local
668 spanStart, spanEnd, span.getClass(), spanned.toString().substring(spanStart, spanEnd)); in getSpanAsString()
/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.cpp2645 int32_t spanStart=containsSpanBackUTF16(set, s, matchStart, in containsSpanBackUTF16() local
2647 if(spanStart<minSpanStart) { in containsSpanBackUTF16()
2648 minSpanStart=spanStart; in containsSpanBackUTF16()
2846 int32_t spanStart=containsSpanBackUTF8(set, s, matchStart, in containsSpanBackUTF8() local
2848 if(spanStart<minSpanStart) { in containsSpanBackUTF8()
2849 minSpanStart=spanStart; in containsSpanBackUTF8()