Searched refs:countIn (Results 1 - 10 of 10) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DUnicodeSetSpanner.java98 * Options for replaceFrom and countIn to control how to treat each matched span.
142 public int countIn(CharSequence sequence) { method in class:UnicodeSetSpanner
143 return countIn(sequence, CountMethod.MIN_ELEMENTS, SpanCondition.SIMPLE);
158 public int countIn(CharSequence sequence, CountMethod countMethod) { method in class:UnicodeSetSpanner
159 return countIn(sequence, countMethod, SpanCondition.SIMPLE);
178 public int countIn(CharSequence sequence, CountMethod countMethod, SpanCondition spanCondition) { method in class:UnicodeSetSpanner
/external/guava/guava-tests/benchmark/com/google/common/base/
H A DWhitespaceMatcherBenchmark.java73 @Benchmark public int countIn(int reps) { method in class:WhitespaceMatcherBenchmark
78 result += matcher.countIn(teststring);
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
H A DCharMatcherTest.java134 assertEquals(0, matcher.countIn(""));
218 assertEquals(0, matcher.countIn(s));
237 assertEquals(s.length(), matcher.countIn(s));
303 assertEquals(1, matcher.countIn(s));
321 assertSame(0, matcher.countIn(s));
337 assertEquals(1, matcher.countIn(s));
353 assertEquals(1, matcher.countIn(s));
/external/guava/guava-tests/test/com/google/common/base/
H A DCharMatcherTest.java197 assertEquals(0, matcher.countIn(""));
287 assertEquals(0, matcher.countIn(s));
306 assertEquals(s.length(), matcher.countIn(s));
372 assertEquals(1, matcher.countIn(s));
390 assertSame(0, matcher.countIn(s));
406 assertEquals(1, matcher.countIn(s));
422 assertEquals(1, matcher.countIn(s));
/external/guava/guava/src/com/google/common/base/
H A DCharMatcher.java309 @Override public int countIn(CharSequence sequence) {
390 @Override public int countIn(CharSequence sequence) {
650 @Override public int countIn(CharSequence sequence) { method in class:CharMatcher.NegatedMatcher
651 return sequence.length() - original.countIn(sequence);
1038 public int countIn(CharSequence sequence) { method in class:CharMatcher
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
H A DCharMatcher.java307 @Override public int countIn(CharSequence sequence) {
388 @Override public int countIn(CharSequence sequence) {
616 @Override public int countIn(CharSequence sequence) { method in class:CharMatcher.NegatedMatcher
617 return sequence.length() - original.countIn(sequence);
881 public int countIn(CharSequence sequence) { method in class:CharMatcher
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
H A DUnicodeSetTest.java2482 assertEquals("new UnicodeSetSpanner(\"[{" + a + "}]\").countIn(\"" + ab + "\")",
2502 final String message = "countIn " + countMethod + ", " + spanCondition;
2507 return spanCondition != SpanCondition.SIMPLE ? m.countIn(ab, countMethod, spanCondition)
2508 : countMethod != CountMethod.MIN_ELEMENTS ? m.countIn(ab, countMethod)
2509 : m.countIn(ab);
/external/vogar/lib/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/annotations/ ...
/external/owasp/sanitizer/distrib/lib/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/lib/guava-libraries/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...

Completed in 540 milliseconds