/third_party/icu/icu4c/source/common/ |
D | filterednormalizer2.cpp | 62 USetSpanCondition spanCondition, in normalize() argument 66 int32_t spanLimit=set.span(src, prevSpanLimit, spanCondition); in normalize() 68 if(spanCondition==USET_SPAN_NOT_CONTAINED) { in normalize() 72 spanCondition=USET_SPAN_SIMPLE; in normalize() 83 spanCondition=USET_SPAN_NOT_CONTAINED; in normalize() 106 USetSpanCondition spanCondition, in normalizeUTF8() argument 109 int32_t spanLength = set.spanUTF8(src, length, spanCondition); in normalizeUTF8() 110 if (spanCondition == USET_SPAN_NOT_CONTAINED) { in normalizeUTF8() 119 spanCondition = USET_SPAN_SIMPLE; in normalizeUTF8() 129 spanCondition = USET_SPAN_NOT_CONTAINED; in normalizeUTF8() [all …]
|
D | bmpset.cpp | 323 BMPSet::span(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const { in span() 326 if(spanCondition) { in span() 412 BMPSet::spanBack(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const { in spanBack() 415 if(spanCondition) { in spanBack() 510 BMPSet::spanUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const { in spanUTF8() 515 if(spanCondition) { in spanUTF8() 533 if(spanCondition!=USET_SPAN_NOT_CONTAINED) { in spanUTF8() 534 spanCondition=USET_SPAN_CONTAINED; // Pin to 0/1 values. in spanUTF8() 556 if(containsFFFD!=spanCondition) { in spanUTF8() 562 if(containsFFFD!=spanCondition) { in spanUTF8() [all …]
|
D | bmpset.h | 51 const UChar *span(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const; 58 … const UChar *spanBack(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const; 65 … const uint8_t *spanUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const; 72 int32_t spanBackUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const;
|
D | uniset.cpp | 2196 int32_t UnicodeSet::span(const UChar *s, int32_t length, USetSpanCondition spanCondition) const { in span() 2198 return (int32_t)(bmpSet->span(s, s+length, spanCondition)-s); in span() 2207 return stringSpan->span(s, length, spanCondition); in span() 2209 uint32_t which= spanCondition==USET_SPAN_NOT_CONTAINED ? in span() 2214 return strSpan.span(s, length, spanCondition); in span() 2218 if(spanCondition!=USET_SPAN_NOT_CONTAINED) { in span() 2219 spanCondition=USET_SPAN_CONTAINED; // Pin to 0/1 values. in span() 2226 if(spanCondition!=contains(c)) { in span() 2233 int32_t UnicodeSet::spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const… in spanBack() 2235 return (int32_t)(bmpSet->spanBack(s, s+length, spanCondition)-s); in spanBack() [all …]
|
D | unisetspan.h | 77 int32_t span(const UChar *s, int32_t length, USetSpanCondition spanCondition) const; 79 int32_t spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const; 81 int32_t spanUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const; 83 int32_t spanBackUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const;
|
/third_party/node/deps/icu-small/source/common/ |
D | filterednormalizer2.cpp | 62 USetSpanCondition spanCondition, in normalize() argument 66 int32_t spanLimit=set.span(src, prevSpanLimit, spanCondition); in normalize() 68 if(spanCondition==USET_SPAN_NOT_CONTAINED) { in normalize() 72 spanCondition=USET_SPAN_SIMPLE; in normalize() 83 spanCondition=USET_SPAN_NOT_CONTAINED; in normalize() 106 USetSpanCondition spanCondition, in normalizeUTF8() argument 109 int32_t spanLength = set.spanUTF8(src, length, spanCondition); in normalizeUTF8() 110 if (spanCondition == USET_SPAN_NOT_CONTAINED) { in normalizeUTF8() 119 spanCondition = USET_SPAN_SIMPLE; in normalizeUTF8() 129 spanCondition = USET_SPAN_NOT_CONTAINED; in normalizeUTF8() [all …]
|
D | bmpset.cpp | 323 BMPSet::span(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const { in span() 326 if(spanCondition) { in span() 412 BMPSet::spanBack(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const { in spanBack() 415 if(spanCondition) { in spanBack() 510 BMPSet::spanUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const { in spanUTF8() 515 if(spanCondition) { in spanUTF8() 533 if(spanCondition!=USET_SPAN_NOT_CONTAINED) { in spanUTF8() 534 spanCondition=USET_SPAN_CONTAINED; // Pin to 0/1 values. in spanUTF8() 556 if(containsFFFD!=spanCondition) { in spanUTF8() 562 if(containsFFFD!=spanCondition) { in spanUTF8() [all …]
|
D | bmpset.h | 51 const UChar *span(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const; 58 … const UChar *spanBack(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const; 65 … const uint8_t *spanUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const; 72 int32_t spanBackUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const;
|
D | uniset.cpp | 2205 int32_t UnicodeSet::span(const UChar *s, int32_t length, USetSpanCondition spanCondition) const { in span() 2207 return (int32_t)(bmpSet->span(s, s+length, spanCondition)-s); in span() 2216 return stringSpan->span(s, length, spanCondition); in span() 2218 uint32_t which= spanCondition==USET_SPAN_NOT_CONTAINED ? in span() 2223 return strSpan.span(s, length, spanCondition); in span() 2227 if(spanCondition!=USET_SPAN_NOT_CONTAINED) { in span() 2228 spanCondition=USET_SPAN_CONTAINED; // Pin to 0/1 values. in span() 2235 if(spanCondition!=contains(c)) { in span() 2242 int32_t UnicodeSet::spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const… in spanBack() 2244 return (int32_t)(bmpSet->spanBack(s, s+length, spanCondition)-s); in spanBack() [all …]
|
D | unisetspan.h | 77 int32_t span(const UChar *s, int32_t length, USetSpanCondition spanCondition) const; 79 int32_t spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const; 81 int32_t spanUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const; 83 int32_t spanBackUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const;
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | filterednormalizer2.cpp | 62 USetSpanCondition spanCondition, in normalize() argument 66 int32_t spanLimit=set.span(src, prevSpanLimit, spanCondition); in normalize() 68 if(spanCondition==USET_SPAN_NOT_CONTAINED) { in normalize() 72 spanCondition=USET_SPAN_SIMPLE; in normalize() 83 spanCondition=USET_SPAN_NOT_CONTAINED; in normalize() 106 USetSpanCondition spanCondition, in normalizeUTF8() argument 109 int32_t spanLength = set.spanUTF8(src, length, spanCondition); in normalizeUTF8() 110 if (spanCondition == USET_SPAN_NOT_CONTAINED) { in normalizeUTF8() 119 spanCondition = USET_SPAN_SIMPLE; in normalizeUTF8() 129 spanCondition = USET_SPAN_NOT_CONTAINED; in normalizeUTF8() [all …]
|
D | bmpset.cpp | 323 BMPSet::span(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const { in span() 326 if(spanCondition) { in span() 412 BMPSet::spanBack(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const { in spanBack() 415 if(spanCondition) { in spanBack() 510 BMPSet::spanUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const { in spanUTF8() 515 if(spanCondition) { in spanUTF8() 533 if(spanCondition!=USET_SPAN_NOT_CONTAINED) { in spanUTF8() 534 spanCondition=USET_SPAN_CONTAINED; // Pin to 0/1 values. in spanUTF8() 556 if(containsFFFD!=spanCondition) { in spanUTF8() 562 if(containsFFFD!=spanCondition) { in spanUTF8() [all …]
|
D | bmpset.h | 51 const UChar *span(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const; 58 … const UChar *spanBack(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const; 65 … const uint8_t *spanUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const; 72 int32_t spanBackUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const;
|
D | uniset.cpp | 2196 int32_t UnicodeSet::span(const UChar *s, int32_t length, USetSpanCondition spanCondition) const { in span() 2198 return (int32_t)(bmpSet->span(s, s+length, spanCondition)-s); in span() 2207 return stringSpan->span(s, length, spanCondition); in span() 2209 uint32_t which= spanCondition==USET_SPAN_NOT_CONTAINED ? in span() 2214 return strSpan.span(s, length, spanCondition); in span() 2218 if(spanCondition!=USET_SPAN_NOT_CONTAINED) { in span() 2219 spanCondition=USET_SPAN_CONTAINED; // Pin to 0/1 values. in span() 2226 if(spanCondition!=contains(c)) { in span() 2233 int32_t UnicodeSet::spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const… in spanBack() 2235 return (int32_t)(bmpSet->spanBack(s, s+length, spanCondition)-s); in spanBack() [all …]
|
D | unisetspan.h | 77 int32_t span(const UChar *s, int32_t length, USetSpanCondition spanCondition) const; 79 int32_t spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const; 81 int32_t spanUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const; 83 int32_t spanBackUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const;
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | filterednormalizer2.cpp | 62 USetSpanCondition spanCondition, in normalize() argument 66 int32_t spanLimit=set.span(src, prevSpanLimit, spanCondition); in normalize() 68 if(spanCondition==USET_SPAN_NOT_CONTAINED) { in normalize() 72 spanCondition=USET_SPAN_SIMPLE; in normalize() 83 spanCondition=USET_SPAN_NOT_CONTAINED; in normalize() 106 USetSpanCondition spanCondition, in normalizeUTF8() argument 109 int32_t spanLength = set.spanUTF8(src, length, spanCondition); in normalizeUTF8() 110 if (spanCondition == USET_SPAN_NOT_CONTAINED) { in normalizeUTF8() 119 spanCondition = USET_SPAN_SIMPLE; in normalizeUTF8() 129 spanCondition = USET_SPAN_NOT_CONTAINED; in normalizeUTF8() [all …]
|
D | bmpset.cpp | 323 BMPSet::span(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const { in span() 326 if(spanCondition) { in span() 412 BMPSet::spanBack(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const { in spanBack() 415 if(spanCondition) { in spanBack() 510 BMPSet::spanUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const { in spanUTF8() 515 if(spanCondition) { in spanUTF8() 533 if(spanCondition!=USET_SPAN_NOT_CONTAINED) { in spanUTF8() 534 spanCondition=USET_SPAN_CONTAINED; // Pin to 0/1 values. in spanUTF8() 556 if(containsFFFD!=spanCondition) { in spanUTF8() 562 if(containsFFFD!=spanCondition) { in spanUTF8() [all …]
|
D | bmpset.h | 51 const UChar *span(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const; 58 … const UChar *spanBack(const UChar *s, const UChar *limit, USetSpanCondition spanCondition) const; 65 … const uint8_t *spanUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const; 72 int32_t spanBackUTF8(const uint8_t *s, int32_t length, USetSpanCondition spanCondition) const;
|
D | uniset.cpp | 2206 int32_t UnicodeSet::span(const UChar *s, int32_t length, USetSpanCondition spanCondition) const { in span() 2208 return (int32_t)(bmpSet->span(s, s+length, spanCondition)-s); in span() 2217 return stringSpan->span(s, length, spanCondition); in span() 2219 uint32_t which= spanCondition==USET_SPAN_NOT_CONTAINED ? in span() 2224 return strSpan.span(s, length, spanCondition); in span() 2228 if(spanCondition!=USET_SPAN_NOT_CONTAINED) { in span() 2229 spanCondition=USET_SPAN_CONTAINED; // Pin to 0/1 values. in span() 2236 if(spanCondition!=contains(c)) { in span() 2243 int32_t UnicodeSet::spanBack(const UChar *s, int32_t length, USetSpanCondition spanCondition) const… in spanBack() 2245 return (int32_t)(bmpSet->spanBack(s, s+length, spanCondition)-s); in spanBack() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | FilteredNormalizer2.java | 127 UnicodeSet.SpanCondition spanCondition=UnicodeSet.SpanCondition.SIMPLE; in isNormalized() local 129 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in isNormalized() 130 if(spanCondition==UnicodeSet.SpanCondition.NOT_CONTAINED) { in isNormalized() 131 spanCondition=UnicodeSet.SpanCondition.SIMPLE; in isNormalized() 136 spanCondition=UnicodeSet.SpanCondition.NOT_CONTAINED; in isNormalized() 150 UnicodeSet.SpanCondition spanCondition=UnicodeSet.SpanCondition.SIMPLE; in quickCheck() local 152 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in quickCheck() 153 if(spanCondition==UnicodeSet.SpanCondition.NOT_CONTAINED) { in quickCheck() 154 spanCondition=UnicodeSet.SpanCondition.SIMPLE; in quickCheck() 163 spanCondition=UnicodeSet.SpanCondition.NOT_CONTAINED; in quickCheck() [all …]
|
D | UnicodeSetSpanner.java | 169 … public int countIn(CharSequence sequence, CountMethod countMethod, SpanCondition spanCondition) { in countIn() argument 172 SpanCondition skipSpan = spanCondition == SpanCondition.NOT_CONTAINED ? SpanCondition.SIMPLE in countIn() 182 start = unicodeSet.span(sequence, endOfSpan, spanCondition); in countIn() 188 start = unicodeSet.spanAndCount(sequence, endOfSpan, spanCondition, spanCount); in countIn() 219 public String deleteFrom(CharSequence sequence, SpanCondition spanCondition) { in deleteFrom() argument 220 return replaceFrom(sequence, "", CountMethod.WHOLE_SPAN, spanCondition); in deleteFrom() 274 SpanCondition spanCondition) { in replaceFrom() argument 275 SpanCondition copySpan = spanCondition == SpanCondition.NOT_CONTAINED ? SpanCondition.SIMPLE in replaceFrom() 287 endModify = unicodeSet.span(sequence, endCopy, spanCondition); in replaceFrom() 292 endModify = unicodeSet.spanAndCount(sequence, endCopy, spanCondition, spanCount); in replaceFrom() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | FilteredNormalizer2.java | 118 UnicodeSet.SpanCondition spanCondition=UnicodeSet.SpanCondition.SIMPLE; in isNormalized() local 120 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in isNormalized() 121 if(spanCondition==UnicodeSet.SpanCondition.NOT_CONTAINED) { in isNormalized() 122 spanCondition=UnicodeSet.SpanCondition.SIMPLE; in isNormalized() 127 spanCondition=UnicodeSet.SpanCondition.NOT_CONTAINED; in isNormalized() 140 UnicodeSet.SpanCondition spanCondition=UnicodeSet.SpanCondition.SIMPLE; in quickCheck() local 142 int spanLimit=set.span(s, prevSpanLimit, spanCondition); in quickCheck() 143 if(spanCondition==UnicodeSet.SpanCondition.NOT_CONTAINED) { in quickCheck() 144 spanCondition=UnicodeSet.SpanCondition.SIMPLE; in quickCheck() 153 spanCondition=UnicodeSet.SpanCondition.NOT_CONTAINED; in quickCheck() [all …]
|
D | UnicodeSetSpanner.java | 148 … public int countIn(CharSequence sequence, CountMethod countMethod, SpanCondition spanCondition) { in countIn() argument 151 SpanCondition skipSpan = spanCondition == SpanCondition.NOT_CONTAINED ? SpanCondition.SIMPLE in countIn() 161 start = unicodeSet.span(sequence, endOfSpan, spanCondition); in countIn() 167 start = unicodeSet.spanAndCount(sequence, endOfSpan, spanCondition, spanCount); in countIn() 194 public String deleteFrom(CharSequence sequence, SpanCondition spanCondition) { in deleteFrom() argument 195 return replaceFrom(sequence, "", CountMethod.WHOLE_SPAN, spanCondition); in deleteFrom() 243 SpanCondition spanCondition) { in replaceFrom() argument 244 SpanCondition copySpan = spanCondition == SpanCondition.NOT_CONTAINED ? SpanCondition.SIMPLE in replaceFrom() 256 endModify = unicodeSet.span(sequence, endCopy, spanCondition); in replaceFrom() 261 endModify = unicodeSet.spanAndCount(sequence, endCopy, spanCondition, spanCount); in replaceFrom() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UnicodeSetStringSpanTest.java | 178 SpanCondition spanCondition) { in containsSpanUTF16() argument 183 if (spanCondition != SpanCondition.NOT_CONTAINED) { in containsSpanUTF16() 197 } else if (spanCondition == SpanCondition.NOT_CONTAINED) { in containsSpanUTF16() 231 if (spanCondition == SpanCondition.CONTAINED) { in containsSpanUTF16() 275 SpanCondition spanCondition) { in containsSpanBackUTF16() argument 282 if (spanCondition != SpanCondition.NOT_CONTAINED) { in containsSpanBackUTF16() 296 } else if (spanCondition == SpanCondition.NOT_CONTAINED) { in containsSpanBackUTF16() 329 if (spanCondition == SpanCondition.CONTAINED) { in containsSpanBackUTF16() 390 static SpanCondition invertSpanCondition(SpanCondition spanCondition, SpanCondition contained) { in invertSpanCondition() argument 391 return spanCondition == SpanCondition.NOT_CONTAINED ? contained in invertSpanCondition() [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/ |
D | UnicodeSetStringSpanTest.java | 181 SpanCondition spanCondition) { in containsSpanUTF16() argument 186 if (spanCondition != SpanCondition.NOT_CONTAINED) { in containsSpanUTF16() 200 } else if (spanCondition == SpanCondition.NOT_CONTAINED) { in containsSpanUTF16() 234 if (spanCondition == SpanCondition.CONTAINED) { in containsSpanUTF16() 278 SpanCondition spanCondition) { in containsSpanBackUTF16() argument 285 if (spanCondition != SpanCondition.NOT_CONTAINED) { in containsSpanBackUTF16() 299 } else if (spanCondition == SpanCondition.NOT_CONTAINED) { in containsSpanBackUTF16() 332 if (spanCondition == SpanCondition.CONTAINED) { in containsSpanBackUTF16() 393 static SpanCondition invertSpanCondition(SpanCondition spanCondition, SpanCondition contained) { in invertSpanCondition() argument 394 return spanCondition == SpanCondition.NOT_CONTAINED ? contained in invertSpanCondition() [all …]
|