Home
last modified time | relevance | path

Searched refs:CountMethod (Results 1 – 16 of 16) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeSetSpanner.java100 public enum CountMethod { enum in UnicodeSetSpanner
136 return countIn(sequence, CountMethod.MIN_ELEMENTS, SpanCondition.SIMPLE); in countIn()
150 public int countIn(CharSequence sequence, CountMethod countMethod) { in countIn()
169 … public int countIn(CharSequence sequence, CountMethod countMethod, SpanCondition spanCondition) { in countIn()
181 if (countMethod == CountMethod.WHOLE_SPAN) { in countIn()
205 return replaceFrom(sequence, "", CountMethod.WHOLE_SPAN, SpanCondition.SIMPLE); in deleteFrom()
220 return replaceFrom(sequence, "", CountMethod.WHOLE_SPAN, spanCondition); in deleteFrom()
236 return replaceFrom(sequence, replacement, CountMethod.MIN_ELEMENTS, SpanCondition.SIMPLE); in replaceFrom()
253 …public String replaceFrom(CharSequence sequence, CharSequence replacement, CountMethod countMethod… in replaceFrom()
273 …public String replaceFrom(CharSequence sequence, CharSequence replacement, CountMethod countMethod, in replaceFrom()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUnicodeSetSpanner.java89 public enum CountMethod { enum in UnicodeSetSpanner
119 return countIn(sequence, CountMethod.MIN_ELEMENTS, SpanCondition.SIMPLE); in countIn()
131 public int countIn(CharSequence sequence, CountMethod countMethod) { in countIn()
148 … public int countIn(CharSequence sequence, CountMethod countMethod, SpanCondition spanCondition) { in countIn()
160 if (countMethod == CountMethod.WHOLE_SPAN) { in countIn()
182 return replaceFrom(sequence, "", CountMethod.WHOLE_SPAN, SpanCondition.SIMPLE); in deleteFrom()
195 return replaceFrom(sequence, "", CountMethod.WHOLE_SPAN, spanCondition); in deleteFrom()
209 return replaceFrom(sequence, replacement, CountMethod.MIN_ELEMENTS, SpanCondition.SIMPLE); in replaceFrom()
224 …public String replaceFrom(CharSequence sequence, CharSequence replacement, CountMethod countMethod… in replaceFrom()
242 …public String replaceFrom(CharSequence sequence, CharSequence replacement, CountMethod countMethod, in replaceFrom()
[all …]
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_containers.cc79 typedef int (*CountMethod)(PyContainer* self); typedef
94 CountMethod count_fn;
975 (CountMethod)Count,
1036 (CountMethod)Count,
1088 (CountMethod)Count,
1162 (CountMethod)Count,
1210 (CountMethod)Count,
1262 (CountMethod)Count,
1332 (CountMethod)Count,
1390 (CountMethod)Count,
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetTest.java48 import com.ibm.icu.text.UnicodeSetSpanner.CountMethod;
2497 assertEquals("", "a??b??c", m.replaceFrom("a_._b_._c", "??", CountMethod.WHOLE_SPAN)); in TestReplaceAndDelete()
2498 …assertEquals("", "a??b??c", m.replaceFrom(m.trim("_._a_._b_._c_._"), "??", CountMethod.WHOLE_SPAN)… in TestReplaceAndDelete()
2500 … assertEquals("", "XYaXYbXYcXY", m.replaceFrom("_._a_._b_._c_._", "XY", CountMethod.WHOLE_SPAN)); in TestReplaceAndDelete()
2510 assertEquals("", "Xc acb", m.replaceFrom("ababc acb", "X", CountMethod.WHOLE_SPAN)); in TestReplaceAndDelete()
2511 …assertEquals("", "ababX", m.replaceFrom("ababc acb", "X", CountMethod.WHOLE_SPAN, SpanCondition.NO… in TestReplaceAndDelete()
2517 … checkCodePoints("x\u0308", "z\u0308", CountMethod.MIN_ELEMENTS, SpanCondition.SIMPLE, null, 1); in TestCodePoints()
2518 checkCodePoints("��", "��", CountMethod.MIN_ELEMENTS, SpanCondition.SIMPLE, null, 1); in TestCodePoints()
2519 checkCodePoints("��", "��", CountMethod.MIN_ELEMENTS, SpanCondition.SIMPLE, null, 1); in TestCodePoints()
2522 …private void checkCodePoints(String a, String b, CountMethod quantifier, SpanCondition spanConditi… in checkCodePoints()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUnicodeSetTest.java49 import android.icu.text.UnicodeSetSpanner.CountMethod;
2500 assertEquals("", "a??b??c", m.replaceFrom("a_._b_._c", "??", CountMethod.WHOLE_SPAN)); in TestReplaceAndDelete()
2501 …assertEquals("", "a??b??c", m.replaceFrom(m.trim("_._a_._b_._c_._"), "??", CountMethod.WHOLE_SPAN)… in TestReplaceAndDelete()
2503 … assertEquals("", "XYaXYbXYcXY", m.replaceFrom("_._a_._b_._c_._", "XY", CountMethod.WHOLE_SPAN)); in TestReplaceAndDelete()
2513 assertEquals("", "Xc acb", m.replaceFrom("ababc acb", "X", CountMethod.WHOLE_SPAN)); in TestReplaceAndDelete()
2514 …assertEquals("", "ababX", m.replaceFrom("ababc acb", "X", CountMethod.WHOLE_SPAN, SpanCondition.NO… in TestReplaceAndDelete()
2520 … checkCodePoints("x\u0308", "z\u0308", CountMethod.MIN_ELEMENTS, SpanCondition.SIMPLE, null, 1); in TestCodePoints()
2521 checkCodePoints("��", "��", CountMethod.MIN_ELEMENTS, SpanCondition.SIMPLE, null, 1); in TestCodePoints()
2522 checkCodePoints("��", "��", CountMethod.MIN_ELEMENTS, SpanCondition.SIMPLE, null, 1); in TestCodePoints()
2525 …private void checkCodePoints(String a, String b, CountMethod quantifier, SpanCondition spanConditi… in checkCodePoints()
[all …]
/external/icu/icu4j/
Dcoverage-exclusion.txt1034 …m/ibm/icu/text/UnicodeSetSpanner$CountMethod#valueOf:(Ljava/lang/String;)Lcom/ibm/icu/text/Unicode…
1035 com/ibm/icu/text/UnicodeSetSpanner$CountMethod#values:()[Lcom/ibm/icu/text/UnicodeSetSpanner$CountM…
/external/icu/icu4j/tools/build/
Dicu4j55.api3.gz
Dicu4j56.api3.gz12;ICU4J 56.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j57.api3.gz
Dicu4j54.api3.gz
Dicu4j59.api3.gz
Dicu4j58.api3.gz
Dicu4j61.api3.gz12;ICU4J 61.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j60.api3.gz
Dicu4j62.api3.gz
Dicu4j63.api3.gz