Home
last modified time | relevance | path

Searched refs:spanCondition (Results 1 – 9 of 9) sorted by relevance

/external/icu4c/common/
Dbmpset.cpp299 BMPSet::span(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const { in span()
302 if(spanCondition) { in span()
388 BMPSet::spanBack(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const { in spanBack()
391 if(spanCondition) { in spanBack()
486 BMPSet::spanUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const { in spanUTF8()
491 if(spanCondition) { in spanUTF8()
509 if(spanCondition!=USET_SPAN_NOT_CONTAINED) { in spanUTF8()
510 spanCondition=USET_SPAN_CONTAINED; // Pin to 0/1 values. in spanUTF8()
532 if(asciiBytes[0x80]!=spanCondition) { in spanUTF8()
538 if(asciiBytes[0x80]!=spanCondition) { in spanUTF8()
[all …]
Duniset.cpp1995 int32_t UnicodeSet::span(const UChar *s, int32_t length, USetSpanCondition spanCondition) const { in span()
1997 return (int32_t)(bmpSet->span(s, s+length, spanCondition)-s); in span()
2006 return stringSpan->span(s, length, spanCondition); in span()
2008 uint32_t which= spanCondition==USET_SPAN_NOT_CONTAINED ? in span()
2013 return strSpan.span(s, length, spanCondition); in span()
2017 if(spanCondition!=USET_SPAN_NOT_CONTAINED) { in span()
2018 spanCondition=USET_SPAN_CONTAINED; // Pin to 0/1 values. in span()
2025 if(spanCondition!=contains(c)) { in span()
2032 int32_t UnicodeSet::spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const… in spanBack()
2034 return (int32_t)(bmpSet->spanBack(s, s+length, spanCondition)-s); in spanBack()
[all …]
Dbmpset.h48 const UChar *span(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const;
55 … const UChar *spanBack(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const;
62 … const uint8_t *spanUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const;
69 int32_t spanBackUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const;
Dunisetspan.h75 int32_t span(const UChar *s, int32_t length, USetSpanCondition spanCondition) const;
77 int32_t spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const;
79 int32_t spanUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const;
81 int32_t spanBackUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const;
Dunisetspan.cpp630 int32_t UnicodeSetStringSpan::span(const UChar *s, int32_t length, USetSpanCondition spanCondition)… in span()
631 if(spanCondition==USET_SPAN_NOT_CONTAINED) { in span()
641 if(spanCondition==USET_SPAN_CONTAINED) { in span()
648 if(spanCondition==USET_SPAN_CONTAINED) { in span()
790 …odeSetStringSpan::spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const { in spanBack()
791 if(spanCondition==USET_SPAN_NOT_CONTAINED) { in spanBack()
802 if(spanCondition==USET_SPAN_CONTAINED) { in spanBack()
812 if(spanCondition==USET_SPAN_CONTAINED) { in spanBack()
952 …eSetStringSpan::spanUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const { in spanUTF8()
953 if(spanCondition==USET_SPAN_NOT_CONTAINED) { in spanUTF8()
[all …]
Duset.cpp194 uset_span(const USet *set, const UChar *s, int32_t length, USetSpanCondition spanCondition) { in uset_span() argument
195 return ((UnicodeSet*) set)->UnicodeSet::span(s, length, spanCondition); in uset_span()
199 uset_spanBack(const USet *set, const UChar *s, int32_t length, USetSpanCondition spanCondition) { in uset_spanBack() argument
200 return ((UnicodeSet*) set)->UnicodeSet::spanBack(s, length, spanCondition); in uset_spanBack()
204 uset_spanUTF8(const USet *set, const char *s, int32_t length, USetSpanCondition spanCondition) { in uset_spanUTF8() argument
205 return ((UnicodeSet*) set)->UnicodeSet::spanUTF8(s, length, spanCondition); in uset_spanUTF8()
209 uset_spanBackUTF8(const USet *set, const char *s, int32_t length, USetSpanCondition spanCondition) { in uset_spanBackUTF8() argument
210 return ((UnicodeSet*) set)->UnicodeSet::spanBackUTF8(s, length, spanCondition); in uset_spanBackUTF8()
/external/icu4c/test/intltest/
Dusettest.cpp2360 USetSpanCondition spanCondition) { in containsSpanUTF16() argument
2363 if(spanCondition!=USET_SPAN_NOT_CONTAINED) { in containsSpanUTF16()
2364 spanCondition=USET_SPAN_CONTAINED; // Pin to 0/1 values. in containsSpanUTF16()
2371 if(realSet.contains(c)!=spanCondition) { in containsSpanUTF16()
2376 } else if(spanCondition==USET_SPAN_NOT_CONTAINED) { in containsSpanUTF16()
2414 if(spanCondition==USET_SPAN_CONTAINED) { in containsSpanUTF16()
2458 USetSpanCondition spanCondition) { in containsSpanBackUTF16() argument
2464 if(spanCondition!=USET_SPAN_NOT_CONTAINED) { in containsSpanBackUTF16()
2465 spanCondition=USET_SPAN_CONTAINED; // Pin to 0/1 values. in containsSpanBackUTF16()
2472 if(realSet.contains(c)!=spanCondition) { in containsSpanBackUTF16()
[all …]
/external/icu4c/common/unicode/
Duset.h861 uset_span(const USet *set, const UChar *s, int32_t length, USetSpanCondition spanCondition);
882 uset_spanBack(const USet *set, const UChar *s, int32_t length, USetSpanCondition spanCondition);
904 uset_spanUTF8(const USet *set, const char *s, int32_t length, USetSpanCondition spanCondition);
925 uset_spanBackUTF8(const USet *set, const char *s, int32_t length, USetSpanCondition spanCondition);
Duniset.h778 int32_t span(const UChar *s, int32_t length, USetSpanCondition spanCondition) const;
797 int32_t spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const;
817 int32_t spanUTF8(const char *s, int32_t length, USetSpanCondition spanCondition) const;
836 int32_t spanBackUTF8(const char *s, int32_t length, USetSpanCondition spanCondition) const;