/external/icu/icu4c/source/common/unicode/ |
D | uniset.h | 903 int32_t spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const; 918 …inline int32_t spanBack(const UnicodeString &s, int32_t limit, USetSpanCondition spanCondition) co… 1679 inline int32_t UnicodeSet::spanBack(const UnicodeString &s, int32_t limit, USetSpanCondition spanCo… in spanBack() function 1686 return spanBack(s.getBuffer(), limit, spanCondition); in spanBack()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | UnicodeSetStringSpan.java | 165 - spanSet.spanBack(string, length16, SpanCondition.CONTAINED); in UnicodeSetStringSpan() 641 public synchronized int spanBack(CharSequence s, int length, SpanCondition spanCondition) { in spanBack() method in UnicodeSetStringSpan 645 int pos = spanSet.spanBack(s, length, SpanCondition.CONTAINED); in spanBack() 770 pos = spanSet.spanBack(s, oldPos, SpanCondition.CONTAINED); in spanBack() 894 pos = spanNotSet.spanBack(s, pos, SpanCondition.NOT_CONTAINED); in spanNotBack()
|
D | BMPSet.java | 236 public final int spanBack(CharSequence s, int limit, SpanCondition spanCondition) { in spanBack() method in BMPSet
|
/external/icu/icu4c/source/test/perf/unisetperf/ |
D | unisetperf.cpp | 265 if(testcase.set.spanBack(utf16, 1, USET_SPAN_CONTAINED)==0) { in SpanBackUTF16() 273 if(testcase.set.spanBack(utf16, 2, USET_SPAN_CONTAINED)==0) { in SpanBackUTF16() 299 length=set.spanBack(s, length, (USetSpanCondition)tf); in call()
|
/external/icu/icu4c/source/common/ |
D | bmpset.h | 55 … const UChar *spanBack(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const;
|
D | unisetspan.h | 77 int32_t spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const;
|
D | unisetspan.cpp | 320 spanLength=length16-spanSet.spanBack(s16, length16, USET_SPAN_CONTAINED); in UnicodeSetStringSpan() 792 int32_t UnicodeSetStringSpan::spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondit… in spanBack() function in UnicodeSetStringSpan 796 int32_t pos=spanSet.spanBack(s, length, USET_SPAN_CONTAINED); in spanBack() 921 pos=spanSet.spanBack(s, oldPos, USET_SPAN_CONTAINED); in spanBack() 1387 pos=pSpanNotSet->spanBack(s, pos, USET_SPAN_NOT_CONTAINED); in spanNotBack()
|
D | uniset.cpp | 2170 int32_t UnicodeSet::spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const… in spanBack() function in UnicodeSet 2172 return (int32_t)(bmpSet->spanBack(s, s+length, spanCondition)-s); in spanBack() 2181 return stringSpan->spanBack(s, length, spanCondition); in spanBack() 2188 return strSpan.spanBack(s, length, spanCondition); in spanBack()
|
D | filterednormalizer2.cpp | 125 int32_t suffixStart=set.spanBack(first, INT32_MAX, USET_SPAN_SIMPLE); in normalizeSecondAndAppend()
|
D | bmpset.cpp | 397 BMPSet::spanBack(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const { in spanBack() function in BMPSet
|
D | uset.cpp | 207 return ((UnicodeSet*) set)->UnicodeSet::spanBack(s, length, spanCondition); in uset_spanBack()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UnicodeSetStringSpanTest.java | 34 int pos = set.spanBack(string, 3, SpanCondition.SIMPLE); in TestSimpleStringSpan() 124 if ( set.spanBack(s16, 12, SpanCondition.CONTAINED) != 0 in TestSimpleStringSpanAndFreeze() 125 || set.spanBack(s16, 12, SpanCondition.SIMPLE) != 6 in TestSimpleStringSpanAndFreeze() 126 || set.spanBack(s16, 5, SpanCondition.SIMPLE) != 0) { in TestSimpleStringSpanAndFreeze() 528 length = realSet.spanBack(s, length, spanCondition); in getSpans()
|
D | UnicodeSetTest.java | 2628 …assertEquals("CharSequence spanBack", 0, new UnicodeSet("[a-cA]"). spanBack(new StringBuilder("abc… in TestCharSequenceArgs() 2629 …assertEquals("CharSequence spanBack", 0, new UnicodeSet("[a-cA]"). spanBack(new StringBuilder("abc… in TestCharSequenceArgs()
|
/external/icu/icu4c/source/test/intltest/ |
D | usettest.cpp | 728 if( ac.spanBack(longString, -5, USET_SPAN_CONTAINED)!=0 || in TestAPI() 729 ac.spanBack(longString, 0, USET_SPAN_CONTAINED)!=0 || in TestAPI() 730 ac.spanBack(longString, 5, USET_SPAN_CONTAINED)!=0 || in TestAPI() 731 ac.spanBack(longString, 10, USET_SPAN_CONTAINED)!=0 || in TestAPI() 732 ac.spanBack(longString, 15, USET_SPAN_CONTAINED)!=15 || in TestAPI() 733 ac.spanBack(longString, 20, USET_SPAN_CONTAINED)!=20 || in TestAPI() 734 ac.spanBack(longString, 25, USET_SPAN_CONTAINED)!=20 || in TestAPI() 735 ac.spanBack(longString, 30, USET_SPAN_CONTAINED)!=20 || in TestAPI() 736 ac.spanBack(longString, 35, USET_SPAN_CONTAINED)!=20 || in TestAPI() 737 ac.spanBack(longString, INT32_MAX, USET_SPAN_CONTAINED)!=20 in TestAPI() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | UnicodeSetSpanner.java | 438 startTrailContained = unicodeSet.spanBack(sequence, spanCondition); in trim()
|
D | FilteredNormalizer2.java | 271 int suffixStart=set.spanBack(first, 0x7fffffff, UnicodeSet.SpanCondition.SIMPLE); in normalizeSecondAndAppend()
|
D | UnicodeSet.java | 4086 public int spanBack(CharSequence s, SpanCondition spanCondition) { in spanBack() method 4087 return spanBack(s, s.length(), spanCondition); in spanBack() 4101 public int spanBack(CharSequence s, int fromIndex, SpanCondition spanCondition) { in spanBack() method 4110 return bmpSet.spanBack(s, fromIndex, spanCondition); in spanBack() 4113 return stringSpan.spanBack(s, fromIndex, spanCondition); in spanBack() 4120 return strSpan.spanBack(s, fromIndex, spanCondition); in spanBack()
|