Searched refs:spanBack (Results 1 - 19 of 19) sorted by relevance

/external/chromium/third_party/icu/source/common/
H A Dbmpset.h55 const UChar *spanBack(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const;
H A Dunisetspan.h77 int32_t spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const;
117 // the lengths of span(), spanBack() etc. for each string.
H A Dunisetspan.cpp30 * for both increments (in span()) and decrements (in spanBack()).
318 spanLength=length16-spanSet.spanBack(s16, length16, USET_SPAN_CONTAINED);
790 int32_t UnicodeSetStringSpan::spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const { function in class:UnicodeSetStringSpan
794 int32_t pos=spanSet.spanBack(s, length, USET_SPAN_CONTAINED);
919 pos=spanSet.spanBack(s, oldPos, USET_SPAN_CONTAINED);
1385 pos=pSpanNotSet->spanBack(s, pos, USET_SPAN_NOT_CONTAINED);
H A Duniset.cpp2168 int32_t UnicodeSet::spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const {
2170 return (int32_t)(bmpSet->spanBack(s, s+length, spanCondition)-s);
2179 return stringSpan->spanBack(s, length, spanCondition);
2186 return strSpan.spanBack(s, length, spanCondition);
H A Dbmpset.cpp388 BMPSet::spanBack(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const { function in class:BMPSet
H A Duset.cpp212 return ((UnicodeSet*) set)->UnicodeSet::spanBack(s, length, spanCondition);
/external/icu4c/common/
H A Dbmpset.h55 const UChar *spanBack(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const;
H A Dunisetspan.h77 int32_t spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const;
117 // the lengths of span(), spanBack() etc. for each string.
H A Dunisetspan.cpp30 * for both increments (in span()) and decrements (in spanBack()).
318 spanLength=length16-spanSet.spanBack(s16, length16, USET_SPAN_CONTAINED);
790 int32_t UnicodeSetStringSpan::spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const { function in class:UnicodeSetStringSpan
794 int32_t pos=spanSet.spanBack(s, length, USET_SPAN_CONTAINED);
919 pos=spanSet.spanBack(s, oldPos, USET_SPAN_CONTAINED);
1385 pos=pSpanNotSet->spanBack(s, pos, USET_SPAN_NOT_CONTAINED);
H A Dfilterednormalizer2.cpp123 int32_t suffixStart=set.spanBack(first, INT32_MAX, USET_SPAN_SIMPLE);
H A Duniset.cpp2168 int32_t UnicodeSet::spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const {
2170 return (int32_t)(bmpSet->spanBack(s, s+length, spanCondition)-s);
2179 return stringSpan->spanBack(s, length, spanCondition);
2186 return strSpan.spanBack(s, length, spanCondition);
H A Dbmpset.cpp388 BMPSet::spanBack(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const { function in class:BMPSet
H A Duset.cpp212 return ((UnicodeSet*) set)->UnicodeSet::spanBack(s, length, spanCondition);
/external/icu4c/common/unicode/
H A Duniset.h895 int32_t spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const;
899 * Same as <code>spanBack(s.getBuffer(), limit, spanCondition)</code>
910 inline int32_t spanBack(const UnicodeString &s, int32_t limit, USetSpanCondition spanCondition) const;
1661 inline int32_t UnicodeSet::spanBack(const UnicodeString &s, int32_t limit, USetSpanCondition spanCondition) const { function in class:UnicodeSet
1668 return spanBack(s.getBuffer(), limit, spanCondition);
/external/chromium/third_party/icu/source/test/perf/unisetperf/
H A Dunisetperf.cpp266 if(testcase.set.spanBack(utf16, 1, USET_SPAN_CONTAINED)==0) {
274 if(testcase.set.spanBack(utf16, 2, USET_SPAN_CONTAINED)==0) {
296 * The last spanBack() must be not-contained to match the first span().
300 length=set.spanBack(s, length, (USetSpanCondition)tf);
392 * The last spanBack() must be not-contained to match the first span().
/external/icu4c/test/perf/unisetperf/
H A Dunisetperf.cpp266 if(testcase.set.spanBack(utf16, 1, USET_SPAN_CONTAINED)==0) {
274 if(testcase.set.spanBack(utf16, 2, USET_SPAN_CONTAINED)==0) {
296 * The last spanBack() must be not-contained to match the first span().
300 length=set.spanBack(s, length, (USetSpanCondition)tf);
392 * The last spanBack() must be not-contained to match the first span().
/external/icu4c/test/intltest/
H A Dusettest.cpp713 // span(UnicodeString) and spanBack(UnicodeString) convenience methods
730 if( ac.spanBack(longString, -5, USET_SPAN_CONTAINED)!=0 ||
731 ac.spanBack(longString, 0, USET_SPAN_CONTAINED)!=0 ||
732 ac.spanBack(longString, 5, USET_SPAN_CONTAINED)!=0 ||
733 ac.spanBack(longString, 10, USET_SPAN_CONTAINED)!=0 ||
734 ac.spanBack(longString, 15, USET_SPAN_CONTAINED)!=15 ||
735 ac.spanBack(longString, 20, USET_SPAN_CONTAINED)!=20 ||
736 ac.spanBack(longString, 25, USET_SPAN_CONTAINED)!=20 ||
737 ac.spanBack(longString, 30, USET_SPAN_CONTAINED)!=20 ||
738 ac.spanBack(longStrin
[all...]
/external/chromium/third_party/icu/public/common/unicode/
H A Duniset.h881 int32_t spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const;
/external/chromium/third_party/icu/source/test/intltest/
H A Dusettest.cpp2821 * When using spanBack() and comparing with span(), use a span condition for the first spanBack()
2846 "spanBack", "spanBack(LM)"
2892 // First span condition for span(), used to terminate the spanBack() iteration.
2895 // spanBack(): Its initial span condition is span()'s last span condition,
2974 // Note: Length<0 is tested only for the first spanBack().
2975 // If we wanted to keep length<0 for all spanBack()s, we would have to
2976 // temporarily modify the string by placing a NUL where the previous spanBack() stopped.
2977 length= isUTF16 ? realSet.spanBack((cons
[all...]

Completed in 154 milliseconds