/external/chromium_org/third_party/icu/source/common/ |
H A D | filterednormalizer2.cpp | 47 // Pass as input spanCondition the one that is likely to yield a non-zero 56 USetSpanCondition spanCondition, 60 int32_t spanLimit=set.span(src, prevSpanLimit, spanCondition); 62 if(spanCondition==USET_SPAN_NOT_CONTAINED) { 66 spanCondition=USET_SPAN_SIMPLE; 77 spanCondition=USET_SPAN_NOT_CONTAINED; 162 USetSpanCondition spanCondition=USET_SPAN_SIMPLE; local 164 int32_t spanLimit=set.span(s, prevSpanLimit, spanCondition); 165 if(spanCondition==USET_SPAN_NOT_CONTAINED) { 166 spanCondition 54 normalize(const UnicodeString &src, UnicodeString &dest, USetSpanCondition spanCondition, UErrorCode &errorCode) const argument 187 USetSpanCondition spanCondition=USET_SPAN_SIMPLE; local 213 USetSpanCondition spanCondition=USET_SPAN_SIMPLE; local [all...] |
H A D | bmpset.h | 44 * Span the initial substring for which each character c has spanCondition==contains(c). 45 * It must be s<limit and spanCondition==0 or 1. 48 const UChar *span(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const; 51 * Span the trailing substring for which each character c has spanCondition==contains(c). 52 * It must be s<limit and spanCondition==0 or 1. 55 const UChar *spanBack(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const; 58 * Span the initial substring for which each character c has spanCondition==contains(c). 59 * It must be length>0 and spanCondition==0 or 1. 62 const uint8_t *spanUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const; 65 * Span the trailing substring for which each character c has spanCondition [all...] |
H A D | bmpset.cpp | 299 BMPSet::span(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const { 302 if(spanCondition) { 388 BMPSet::spanBack(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const { 391 if(spanCondition) { 486 BMPSet::spanUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const { 491 if(spanCondition) { 509 if(spanCondition!=USET_SPAN_NOT_CONTAINED) { 510 spanCondition=USET_SPAN_CONTAINED; // Pin to 0/1 values. 532 if(asciiBytes[0x80]!=spanCondition) { 538 if(asciiBytes[0x80]!=spanCondition) { [all...] |
H A D | unisetspan.h | 75 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;
|
H A D | uniset.cpp | 2131 int32_t UnicodeSet::span(const UChar *s, int32_t length, USetSpanCondition spanCondition) const { 2133 return (int32_t)(bmpSet->span(s, s+length, spanCondition)-s); 2142 return stringSpan->span(s, length, spanCondition); 2144 uint32_t which= spanCondition==USET_SPAN_NOT_CONTAINED ? 2149 return strSpan.span(s, length, spanCondition); 2153 if(spanCondition!=USET_SPAN_NOT_CONTAINED) { 2154 spanCondition=USET_SPAN_CONTAINED; // Pin to 0/1 values. 2161 if(spanCondition!=contains(c)) { 2168 int32_t UnicodeSet::spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const { 2170 return (int32_t)(bmpSet->spanBack(s, s+length, spanCondition) [all...] |
H A D | unisetspan.cpp | 630 int32_t UnicodeSetStringSpan::span(const UChar *s, int32_t length, USetSpanCondition spanCondition) const { 631 if(spanCondition==USET_SPAN_NOT_CONTAINED) { 641 if(spanCondition==USET_SPAN_CONTAINED) { 648 if(spanCondition==USET_SPAN_CONTAINED) { 790 int32_t UnicodeSetStringSpan::spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const { 791 if(spanCondition==USET_SPAN_NOT_CONTAINED) { 802 if(spanCondition==USET_SPAN_CONTAINED) { 812 if(spanCondition==USET_SPAN_CONTAINED) { 952 int32_t UnicodeSetStringSpan::spanUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const { 953 if(spanCondition [all...] |
H A D | uset.cpp | 206 uset_span(const USet *set, const UChar *s, int32_t length, USetSpanCondition spanCondition) { argument 207 return ((UnicodeSet*) set)->UnicodeSet::span(s, length, spanCondition); 211 uset_spanBack(const USet *set, const UChar *s, int32_t length, USetSpanCondition spanCondition) { argument 212 return ((UnicodeSet*) set)->UnicodeSet::spanBack(s, length, spanCondition); 216 uset_spanUTF8(const USet *set, const char *s, int32_t length, USetSpanCondition spanCondition) { argument 217 return ((UnicodeSet*) set)->UnicodeSet::spanUTF8(s, length, spanCondition); 221 uset_spanBackUTF8(const USet *set, const char *s, int32_t length, USetSpanCondition spanCondition) { argument 222 return ((UnicodeSet*) set)->UnicodeSet::spanBackUTF8(s, length, spanCondition);
|
/external/icu4c/common/ |
H A D | filterednormalizer2.cpp | 49 // Pass as input spanCondition the one that is likely to yield a non-zero 58 USetSpanCondition spanCondition, 62 int32_t spanLimit=set.span(src, prevSpanLimit, spanCondition); 64 if(spanCondition==USET_SPAN_NOT_CONTAINED) { 68 spanCondition=USET_SPAN_SIMPLE; 79 spanCondition=USET_SPAN_NOT_CONTAINED; 179 USetSpanCondition spanCondition=USET_SPAN_SIMPLE; local 181 int32_t spanLimit=set.span(s, prevSpanLimit, spanCondition); 182 if(spanCondition==USET_SPAN_NOT_CONTAINED) { 183 spanCondition 56 normalize(const UnicodeString &src, UnicodeString &dest, USetSpanCondition spanCondition, UErrorCode &errorCode) const argument 204 USetSpanCondition spanCondition=USET_SPAN_SIMPLE; local 230 USetSpanCondition spanCondition=USET_SPAN_SIMPLE; local [all...] |
H A D | bmpset.h | 44 * Span the initial substring for which each character c has spanCondition==contains(c). 45 * It must be s<limit and spanCondition==0 or 1. 48 const UChar *span(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const; 51 * Span the trailing substring for which each character c has spanCondition==contains(c). 52 * It must be s<limit and spanCondition==0 or 1. 55 const UChar *spanBack(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const; 58 * Span the initial substring for which each character c has spanCondition==contains(c). 59 * It must be length>0 and spanCondition==0 or 1. 62 const uint8_t *spanUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const; 65 * Span the trailing substring for which each character c has spanCondition [all...] |
H A D | bmpset.cpp | 308 BMPSet::span(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const { 311 if(spanCondition) { 397 BMPSet::spanBack(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const { 400 if(spanCondition) { 495 BMPSet::spanUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const { 500 if(spanCondition) { 518 if(spanCondition!=USET_SPAN_NOT_CONTAINED) { 519 spanCondition=USET_SPAN_CONTAINED; // Pin to 0/1 values. 541 if(asciiBytes[0x80]!=spanCondition) { 547 if(asciiBytes[0x80]!=spanCondition) { [all...] |
H A D | unisetspan.h | 75 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;
|
H A D | uniset.cpp | 2133 int32_t UnicodeSet::span(const UChar *s, int32_t length, USetSpanCondition spanCondition) const { 2135 return (int32_t)(bmpSet->span(s, s+length, spanCondition)-s); 2144 return stringSpan->span(s, length, spanCondition); 2146 uint32_t which= spanCondition==USET_SPAN_NOT_CONTAINED ? 2151 return strSpan.span(s, length, spanCondition); 2155 if(spanCondition!=USET_SPAN_NOT_CONTAINED) { 2156 spanCondition=USET_SPAN_CONTAINED; // Pin to 0/1 values. 2163 if(spanCondition!=contains(c)) { 2170 int32_t UnicodeSet::spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const { 2172 return (int32_t)(bmpSet->spanBack(s, s+length, spanCondition) [all...] |
H A D | unisetspan.cpp | 632 int32_t UnicodeSetStringSpan::span(const UChar *s, int32_t length, USetSpanCondition spanCondition) const { 633 if(spanCondition==USET_SPAN_NOT_CONTAINED) { 643 if(spanCondition==USET_SPAN_CONTAINED) { 650 if(spanCondition==USET_SPAN_CONTAINED) { 792 int32_t UnicodeSetStringSpan::spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const { 793 if(spanCondition==USET_SPAN_NOT_CONTAINED) { 804 if(spanCondition==USET_SPAN_CONTAINED) { 814 if(spanCondition==USET_SPAN_CONTAINED) { 954 int32_t UnicodeSetStringSpan::spanUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const { 955 if(spanCondition [all...] |
H A D | uset.cpp | 201 uset_span(const USet *set, const UChar *s, int32_t length, USetSpanCondition spanCondition) { argument 202 return ((UnicodeSet*) set)->UnicodeSet::span(s, length, spanCondition); 206 uset_spanBack(const USet *set, const UChar *s, int32_t length, USetSpanCondition spanCondition) { argument 207 return ((UnicodeSet*) set)->UnicodeSet::spanBack(s, length, spanCondition); 211 uset_spanUTF8(const USet *set, const char *s, int32_t length, USetSpanCondition spanCondition) { argument 212 return ((UnicodeSet*) set)->UnicodeSet::spanUTF8(s, length, spanCondition); 216 uset_spanBackUTF8(const USet *set, const char *s, int32_t length, USetSpanCondition spanCondition) { argument 217 return ((UnicodeSet*) set)->UnicodeSet::spanBackUTF8(s, length, spanCondition);
|
/external/chromium_org/third_party/icu/source/common/unicode/ |
H A D | uniset.h | 856 * @param spanCondition specifies the containment condition 857 * @return the length of the initial substring according to the spanCondition; 858 * 0 if the start of the string does not fit the spanCondition 862 int32_t span(const UChar *s, int32_t length, USetSpanCondition spanCondition) const; 866 * Same as <code>start+span(s.getBuffer()+start, s.length()-start, spanCondition)</code> 870 * @param spanCondition specifies the containment condition 871 * @return the exclusive end of the substring according to the spanCondition; 872 * the substring s.tempSubStringBetween(start, end) fulfills the spanCondition 876 inline int32_t span(const UnicodeString &s, int32_t start, USetSpanCondition spanCondition) const; 889 * @param spanCondition specifie [all...] |
H A D | uset.h | 919 * @param spanCondition specifies the containment condition 920 * @return the length of the initial substring according to the spanCondition; 921 * 0 if the start of the string does not fit the spanCondition 926 uset_span(const USet *set, const UChar *s, int32_t length, USetSpanCondition spanCondition); 940 * @param spanCondition specifies the containment condition 941 * @return the start of the trailing substring according to the spanCondition; 942 * the string length if the end of the string does not fit the spanCondition 947 uset_spanBack(const USet *set, const UChar *s, int32_t length, USetSpanCondition spanCondition); 962 * @param spanCondition specifies the containment condition 963 * @return the length of the initial substring according to the spanCondition; [all...] |
H A D | normalizer2.h | 466 USetSpanCondition spanCondition,
|
/external/icu4c/common/unicode/ |
H A D | uniset.h | 861 * @param spanCondition specifies the containment condition 862 * @return the length of the initial substring according to the spanCondition; 863 * 0 if the start of the string does not fit the spanCondition 867 int32_t span(const UChar *s, int32_t length, USetSpanCondition spanCondition) const; 871 * Same as <code>start+span(s.getBuffer()+start, s.length()-start, spanCondition)</code> 875 * @param spanCondition specifies the containment condition 876 * @return the exclusive end of the substring according to the spanCondition; 877 * the substring s.tempSubStringBetween(start, end) fulfills the spanCondition 881 inline int32_t span(const UnicodeString &s, int32_t start, USetSpanCondition spanCondition) const; 894 * @param spanCondition specifie [all...] |
H A D | uset.h | 923 * @param spanCondition specifies the containment condition 924 * @return the length of the initial substring according to the spanCondition; 925 * 0 if the start of the string does not fit the spanCondition 930 uset_span(const USet *set, const UChar *s, int32_t length, USetSpanCondition spanCondition); 944 * @param spanCondition specifies the containment condition 945 * @return the start of the trailing substring according to the spanCondition; 946 * the string length if the end of the string does not fit the spanCondition 951 uset_spanBack(const USet *set, const UChar *s, int32_t length, USetSpanCondition spanCondition); 966 * @param spanCondition specifies the containment condition 967 * @return the length of the initial substring according to the spanCondition; [all...] |
H A D | normalizer2.h | 642 USetSpanCondition spanCondition,
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | usettest.cpp | 2422 USetSpanCondition spanCondition) { 2425 if(spanCondition!=USET_SPAN_NOT_CONTAINED) { 2426 spanCondition=USET_SPAN_CONTAINED; // Pin to 0/1 values. 2433 if(realSet.contains(c)!=spanCondition) { 2438 } else if(spanCondition==USET_SPAN_NOT_CONTAINED) { 2476 if(spanCondition==USET_SPAN_CONTAINED) { 2498 } else /* spanCondition==USET_SPAN_SIMPLE */ { 2520 USetSpanCondition spanCondition) { 2526 if(spanCondition!=USET_SPAN_NOT_CONTAINED) { 2527 spanCondition 2421 containsSpanUTF16(const UnicodeSetWithStrings &set, const UChar *s, int32_t length, USetSpanCondition spanCondition) argument 2519 containsSpanBackUTF16(const UnicodeSetWithStrings &set, const UChar *s, int32_t length, USetSpanCondition spanCondition) argument 2618 containsSpanUTF8(const UnicodeSetWithStrings &set, const char *s, int32_t length, USetSpanCondition spanCondition) argument 2727 containsSpanBackUTF8(const UnicodeSetWithStrings &set, const char *s, int32_t length, USetSpanCondition spanCondition) argument 2858 invertSpanCondition(USetSpanCondition spanCondition, USetSpanCondition contained) argument 2882 USetSpanCondition spanCondition, firstSpanCondition, contained; local [all...] |
/external/icu4c/test/intltest/ |
H A D | usettest.cpp | 2422 USetSpanCondition spanCondition) { 2425 if(spanCondition!=USET_SPAN_NOT_CONTAINED) { 2426 spanCondition=USET_SPAN_CONTAINED; // Pin to 0/1 values. 2433 if(realSet.contains(c)!=spanCondition) { 2438 } else if(spanCondition==USET_SPAN_NOT_CONTAINED) { 2476 if(spanCondition==USET_SPAN_CONTAINED) { 2498 } else /* spanCondition==USET_SPAN_SIMPLE */ { 2520 USetSpanCondition spanCondition) { 2526 if(spanCondition!=USET_SPAN_NOT_CONTAINED) { 2527 spanCondition 2421 containsSpanUTF16(const UnicodeSetWithStrings &set, const UChar *s, int32_t length, USetSpanCondition spanCondition) argument 2519 containsSpanBackUTF16(const UnicodeSetWithStrings &set, const UChar *s, int32_t length, USetSpanCondition spanCondition) argument 2618 containsSpanUTF8(const UnicodeSetWithStrings &set, const char *s, int32_t length, USetSpanCondition spanCondition) argument 2718 containsSpanBackUTF8(const UnicodeSetWithStrings &set, const char *s, int32_t length, USetSpanCondition spanCondition) argument 2840 invertSpanCondition(USetSpanCondition spanCondition, USetSpanCondition contained) argument 2864 USetSpanCondition spanCondition, firstSpanCondition, contained; local [all...] |