Home
last modified time | relevance | path

Searched refs:anyOf (Results 1 – 21 of 21) sorted by relevance

/external/guava/guava-tests/test/com/google/common/base/
DCharMatcherTest.java21 import static com.google.common.base.CharMatcher.anyOf;
55 tester.testAllPublicInstanceMethods(CharMatcher.anyOf("abc")); in testStaticNullPointers()
118 doTestSetBits(anyOf("")); in testSetBits()
119 doTestSetBits(anyOf("x")); in testSetBits()
120 doTestSetBits(anyOf("xy")); in testSetBits()
121 doTestSetBits(anyOf("CharMatcher")); in testSetBits()
146 doTestEmpty(anyOf("")); in testEmpty()
147 doTestEmpty(anyOf("x")); in testEmpty()
148 doTestEmpty(anyOf("xy")); in testEmpty()
149 doTestEmpty(anyOf("CharMatcher")); in testEmpty()
[all …]
DBenchmarkHelpers.java69 .or(CharMatcher.inRange('A', 'Z')).or(CharMatcher.anyOf("äöüßÄÖÜ")),
76 this(CharMatcher.anyOf(matchingChars), matchingChars); in SampleMatcherConfig()
DSplitterTest.java166 .trimResults(CharMatcher.anyOf("afro").or(CharMatcher.WHITESPACE)) in testCharacterSplitWithTrim()
292 .trimResults(CharMatcher.anyOf("afro").or(CharMatcher.WHITESPACE)) in testStringSplitWithTrim()
445 .trimResults(CharMatcher.anyOf("afro").or(CharMatcher.WHITESPACE)) in testPatternSplitWithTrim()
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DCharMatcherTest.java21 import static com.google.common.base.CharMatcher.anyOf;
98 doTestEmpty(anyOf("")); in testEmpty()
99 doTestEmpty(anyOf("x")); in testEmpty()
100 doTestEmpty(anyOf("xy")); in testEmpty()
101 doTestEmpty(anyOf("CharMatcher")); in testEmpty()
141 doTestNoMatches(anyOf(""), "abcd"); in testNoMatches()
142 doTestNoMatches(anyOf("x"), "abcd"); in testNoMatches()
143 doTestNoMatches(anyOf("xy"), "abcd"); in testNoMatches()
144 doTestNoMatches(anyOf("CharMatcher"), "zxqy"); in testNoMatches()
171 doTestAllMatches(anyOf("x"), "xxxx"); in testAllMatches()
[all …]
DSplitterTest.java163 .trimResults(CharMatcher.anyOf("afro").or(CharMatcher.WHITESPACE)) in testCharacterSplitWithTrim()
289 .trimResults(CharMatcher.anyOf("afro").or(CharMatcher.WHITESPACE)) in testStringSplitWithTrim()
/external/hamcrest/src/org/hamcrest/core/
DAnyOf.java40 public static <T> Matcher<T> anyOf(Matcher<? extends T>... matchers) { in anyOf() method in AnyOf
41 return anyOf(Arrays.asList(matchers)); in anyOf()
48 public static <T> Matcher<T> anyOf(Iterable<Matcher<? extends T>> matchers) { in anyOf() method in AnyOf
/external/hamcrest/src/org/hamcrest/
DCoreMatchers.java86 public static <T> org.hamcrest.Matcher<T> anyOf(org.hamcrest.Matcher<? extends T>... matchers) { in anyOf() method in CoreMatchers
87 return org.hamcrest.core.AnyOf.anyOf(matchers); in anyOf()
93 …public static <T> org.hamcrest.Matcher<T> anyOf(java.lang.Iterable<org.hamcrest.Matcher<? extends … in anyOf() method in CoreMatchers
94 return org.hamcrest.core.AnyOf.anyOf(matchers); in anyOf()
/external/junit/src/org/junit/internal/matchers/
DCombinableMatcher.java4 import static org.hamcrest.CoreMatchers.anyOf;
32 return new CombinableMatcher<T>(anyOf(matcher, fMatcher)); in or()
/external/hamcrest/library/src/org/hamcrest/number/
DOrderingComparisons.java3 import static org.hamcrest.core.AnyOf.anyOf;
21 anyOf(greaterThan(value), equalTo(value)), in greaterThanOrEqualTo()
/external/droiddriver/src/io/appium/droiddriver/finders/
DBy.java193 public static MatchFinder anyOf(final MatchFinder... finders) { in anyOf() method in By
194 return new MatchFinder(Predicates.anyOf(getPredicates(finders))); in anyOf()
DPredicates.java127 public static <T> Predicate<T> anyOf(final Predicate<? super T>... components) {
/external/hamcrest/library/src/org/hamcrest/
DMatchers.java86 public static <T> org.hamcrest.Matcher<T> anyOf(org.hamcrest.Matcher<? extends T>... matchers) { in anyOf() method in Matchers
87 return org.hamcrest.core.AnyOf.anyOf(matchers); in anyOf()
93 …public static <T> org.hamcrest.Matcher<T> anyOf(java.lang.Iterable<org.hamcrest.Matcher<? extends … in anyOf() method in Matchers
94 return org.hamcrest.core.AnyOf.anyOf(matchers); in anyOf()
/external/guava/guava/src/com/google/common/net/
DInternetDomainName.java80 CharMatcher.anyOf(".\u3002\uFF0E\uFF61");
241 private static final CharMatcher DASH_MATCHER = CharMatcher.anyOf("-_");
DMediaType.java98 private static final CharMatcher LINEAR_WHITE_SPACE = CharMatcher.anyOf(" \t\r\n");
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1754 const internal::VariadicOperatorMatcherFunc<2, UINT_MAX> anyOf = { variable
1927 return Matcher<CXXRecordDecl>(anyOf(Base, isDerivedFrom(Base)))
2435 anyOf(hasType(InnerMatcher), hasType(pointsTo(InnerMatcher))))
2443 anyOf(hasType(InnerMatcher), hasType(pointsTo(InnerMatcher))))
3234 return anyOf(hasLHS(InnerMatcher), hasRHS(InnerMatcher)); in hasEitherOperand()
3714 auto IsInstantiation = decl(anyOf(cxxRecordDecl(isTemplateInstantiation()), in AST_MATCHER_FUNCTION()
3716 return decl(anyOf(IsInstantiation, hasAncestor(IsInstantiation))); in AST_MATCHER_FUNCTION()
3735 hasAncestor(decl(anyOf(cxxRecordDecl(isTemplateInstantiation()), in AST_MATCHER_FUNCTION()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp468 anyOf(hasName("Y"), allOf(isDerivedFrom("X"), hasName("Z")))); in TEST()
476 recordDecl(anyOf(hasName("X"), hasName("Y"), hasName("Z"), hasName("U"))); in TEST()
481 recordDecl(anyOf(hasName("X"), hasName("Y"), hasName("Z"), hasName("U"), in TEST()
490 StatementMatcher MixedTypes = stmt(anyOf(ifStmt(), binaryOperator())); in TEST()
497 cxxCatchStmt(anyOf(hasDescendant(varDecl()), isCatchAll())))); in TEST()
574 anyOf( in TEST()
576 anyOf( in TEST()
583 anyOf( in TEST()
708 decl(anyOf(hasDescendant(RD), hasDescendant(VD))))); in TEST()
1000 StatementMatcher matcher = anyOf( in TEST()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DCharMatcher.java467 public static CharMatcher anyOf(final CharSequence sequence) {
510 return anyOf(sequence).negate();
/external/guava/guava/src/com/google/common/base/
DCharMatcher.java482 public static CharMatcher anyOf(final CharSequence sequence) {
539 return anyOf(sequence).negate();
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp100 REGISTER_MATCHER(anyOf); in RegistryMaps()
/external/guava/guava-gwt/src-super/com/google/common/io/super/com/google/common/io/
DBaseEncoding.java763 this.separatorChars = CharMatcher.anyOf(separator).precomputed();
/external/guava/guava/src/com/google/common/io/
DBaseEncoding.java820 this.separatorChars = CharMatcher.anyOf(separator).precomputed();