Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DFilteredNormalizer2.java128 if(spanCondition==UnicodeSet.SpanCondition.NOT_CONTAINED) { in isNormalized()
134 spanCondition=UnicodeSet.SpanCondition.NOT_CONTAINED; in isNormalized()
151 if(spanCondition==UnicodeSet.SpanCondition.NOT_CONTAINED) { in quickCheck()
161 spanCondition=UnicodeSet.SpanCondition.NOT_CONTAINED; in quickCheck()
176 if(spanCondition==UnicodeSet.SpanCondition.NOT_CONTAINED) { in spanQuickCheckYes()
185 spanCondition=UnicodeSet.SpanCondition.NOT_CONTAINED; in spanQuickCheckYes()
234 if(spanCondition==UnicodeSet.SpanCondition.NOT_CONTAINED) { in normalize()
245 spanCondition=UnicodeSet.SpanCondition.NOT_CONTAINED; in normalize()
292 normalize(rest, first, UnicodeSet.SpanCondition.NOT_CONTAINED); in normalizeSecondAndAppend()
DUnicodeSetSpanner.java181 SpanCondition skipSpan = spanCondition == SpanCondition.NOT_CONTAINED ? SpanCondition.SIMPLE in countIn()
182 : SpanCondition.NOT_CONTAINED; in countIn()
289 SpanCondition copySpan = spanCondition == SpanCondition.NOT_CONTAINED ? SpanCondition.SIMPLE in replaceFrom()
290 : SpanCondition.NOT_CONTAINED; in replaceFrom()
DUnicodeSet.java2141 return span(s, SpanCondition.NOT_CONTAINED) == s.length(); in containsNone()
4010 …int which = spanCondition == SpanCondition.NOT_CONTAINED ? UnicodeSetStringSpan.FWD_UTF16_NOT_CONT… in span()
4047 …int which = spanCondition == SpanCondition.NOT_CONTAINED ? UnicodeSetStringSpan.FWD_UTF16_NOT_CONT… in spanAndCount()
4060 boolean spanContained = (spanCondition != SpanCondition.NOT_CONTAINED); in spanCodePointsAndCount()
4115 int which = (spanCondition == SpanCondition.NOT_CONTAINED) in spanBack()
4125 boolean spanContained = (spanCondition != SpanCondition.NOT_CONTAINED); in spanBack()
4747 NOT_CONTAINED, enumConstant
/external/icu/icu4c/source/common/
Dunisetspan.h43 NOT_CONTAINED = 1, enumerator
48 FWD_UTF16_NOT_CONTAINED = FWD | UTF16 | NOT_CONTAINED,
50 FWD_UTF8_NOT_CONTAINED = FWD | UTF8 | NOT_CONTAINED,
52 BACK_UTF16_NOT_CONTAINED= BACK | UTF16 | NOT_CONTAINED,
54 BACK_UTF8_NOT_CONTAINED = BACK | UTF8 | NOT_CONTAINED
Dunisetspan.cpp211 if(which&NOT_CONTAINED) { in UnicodeSetStringSpan()
348 if(which&NOT_CONTAINED) { in UnicodeSetStringSpan()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetStringSpanTest.java96 if ( set.span(s16.substring(0, 8), SpanCondition.NOT_CONTAINED) != 4 in TestSimpleStringSpanAndFreeze()
97 || set.span(s16.substring(0, 7), SpanCondition.NOT_CONTAINED) != 4 in TestSimpleStringSpanAndFreeze()
98 || set.span(s16.substring(0, 6), SpanCondition.NOT_CONTAINED) != 4 in TestSimpleStringSpanAndFreeze()
99 || set.span(s16.substring(0, 5), SpanCondition.NOT_CONTAINED) != 5 in TestSimpleStringSpanAndFreeze()
100 || set.span(s16.substring(0, 4), SpanCondition.NOT_CONTAINED) != 4 in TestSimpleStringSpanAndFreeze()
101 || set.span(s16.substring(0, 3), SpanCondition.NOT_CONTAINED) != 3) { in TestSimpleStringSpanAndFreeze()
178 if (spanCondition != SpanCondition.NOT_CONTAINED) { in containsSpanUTF16()
192 } else if (spanCondition == SpanCondition.NOT_CONTAINED) { in containsSpanUTF16()
277 if (spanCondition != SpanCondition.NOT_CONTAINED) { in containsSpanBackUTF16()
291 } else if (spanCondition == SpanCondition.NOT_CONTAINED) { in containsSpanBackUTF16()
[all …]
DUnicodeSetTest.java2448 … assertEquals("", "_.__.__.__._", m.deleteFrom("_._a_._b_._c_._", SpanCondition.NOT_CONTAINED)); in TestReplaceAndDelete()
2460 assertEquals("", "TQBF", m.deleteFrom("The Quick Brown Fox.", SpanCondition.NOT_CONTAINED)); in TestReplaceAndDelete()
2463 …tEquals("", "TheQuickBrownFox", m.deleteFrom("The Quick Brown Fox.", SpanCondition.NOT_CONTAINED)); in TestReplaceAndDelete()
2468 …"", "ababX", m.replaceFrom("ababc acb", "X", CountMethod.WHOLE_SPAN, SpanCondition.NOT_CONTAINED)); in TestReplaceAndDelete()
2498 checkCountIn(m, CountMethod.MIN_ELEMENTS, SpanCondition.NOT_CONTAINED, "acccb", 3); in TestCountIn()
2565 limit = us.span(longString, start, SpanCondition.NOT_CONTAINED); in checkSpan()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUnicodeSetStringSpan.java34 public static final int NOT_CONTAINED = 1; field in UnicodeSetStringSpan
39 public static final int FWD_UTF16_NOT_CONTAINED = FWD | /* UTF16 | */NOT_CONTAINED;
41 public static final int BACK_UTF16_NOT_CONTAINED = BACK | /* UTF16 | */NOT_CONTAINED;
92 if (0 != (which & NOT_CONTAINED)) { in UnicodeSetStringSpan()
173 if (0 != (which & NOT_CONTAINED)) { in UnicodeSetStringSpan()
364 if (spanCondition == SpanCondition.NOT_CONTAINED) { in span()
553 if (spanCondition == SpanCondition.NOT_CONTAINED) { in spanAndCount()
642 if (spanCondition == SpanCondition.NOT_CONTAINED) { in spanBack()
844 spanLimit = spanNotSet.span(s, pos, SpanCondition.NOT_CONTAINED); in spanNot()
846 spanLimit = spanNotSet.spanAndCount(s, pos, SpanCondition.NOT_CONTAINED, outCount); in spanNot()
[all …]
DBMPSet.java143 if (SpanCondition.NOT_CONTAINED != spanCondition) { in span()
239 if (SpanCondition.NOT_CONTAINED != spanCondition) { in spanBack()