HomeSort by relevance Sort by last modified time
    Searched refs:anyOf (Results 1 - 25 of 185) sorted by null

1 2 3 4 5 6 7 8

  /external/hamcrest/src/org/hamcrest/core/
AnyOf.java 15 public class AnyOf<T> extends BaseMatcher<T> {
19 public AnyOf(Iterable<Matcher<? extends T>> matchers) {
40 public static <T> Matcher<T> anyOf(Matcher<? extends T>... matchers) {
41 return anyOf(Arrays.asList(matchers));
48 public static <T> Matcher<T> anyOf(Iterable<Matcher<? extends T>> matchers) {
49 return new AnyOf<T>(matchers);
  /external/junit/src/org/junit/internal/matchers/
CombinableMatcher.java 4 import static org.hamcrest.CoreMatchers.anyOf;
32 return new CombinableMatcher<T>(anyOf(matcher, fMatcher));
  /external/guava/guava-tests/test/com/google/common/base/
CharMatcherTest.java 21 import static com.google.common.base.CharMatcher.anyOf;
55 tester.testAllPublicInstanceMethods(CharMatcher.anyOf("abc"));
105 // We're testing the is(), isNot(), anyOf(), noneOf() and inRange() methods
118 doTestSetBits(anyOf(""));
119 doTestSetBits(anyOf("x"));
120 doTestSetBits(anyOf("xy"));
121 doTestSetBits(anyOf("CharMatcher"));
146 doTestEmpty(anyOf(""));
147 doTestEmpty(anyOf("x"));
148 doTestEmpty(anyOf("xy"))
    [all...]
BenchmarkHelpers.java 69 .or(CharMatcher.inRange('A', 'Z')).or(CharMatcher.anyOf("äöüßÄÖÜ")),
76 this(CharMatcher.anyOf(matchingChars), matchingChars);
  /external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
CharMatcherTest.java 21 import static com.google.common.base.CharMatcher.anyOf;
86 // We're testing the is(), isNot(), anyOf(), noneOf() and inRange() methods
98 doTestEmpty(anyOf(""));
99 doTestEmpty(anyOf("x"));
100 doTestEmpty(anyOf("xy"));
101 doTestEmpty(anyOf("CharMatcher"));
141 doTestNoMatches(anyOf(""), "abcd");
142 doTestNoMatches(anyOf("x"), "abcd");
143 doTestNoMatches(anyOf("xy"), "abcd");
144 doTestNoMatches(anyOf("CharMatcher"), "zxqy")
    [all...]
  /external/hamcrest/library/src/org/hamcrest/number/
OrderingComparisons.java 3 import static org.hamcrest.core.AnyOf.anyOf;
21 anyOf(greaterThan(value), equalTo(value)),
  /frameworks/base/core/java/android/annotation/
RequiresPermission.java 43 * {@literal @}RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
86 * {@link #allOf()} or {@link #anyOf()} instead.
88 * If specified, {@link #anyOf()} and {@link #allOf()} must both be null.
95 * If specified, {@link #anyOf()} and {@link #value()} must both be null.
104 String[] anyOf() default {};
  /frameworks/support/annotations/src/android/support/annotation/
RequiresPermission.java 41 * &#64;RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
82 * {@link #allOf()} or {@link #anyOf()} instead.
84 * If specified, {@link #anyOf()} and {@link #allOf()} must both be null.
91 * If specified, {@link #anyOf()} and {@link #value()} must both be null.
100 String[] anyOf() default {};
  /prebuilts/devtools/tools/lib/
hamcrest-core-1.3.jar 
  /prebuilts/tools/common/m2/repository/org/hamcrest/hamcrest-core/1.3/
hamcrest-core-1.3.jar 
  /packages/apps/Messaging/src/com/android/messaging/util/
EmailAddress.java 25 private static final CharMatcher ANY_WHITESPACE = CharMatcher.anyOf(
29 .or(CharMatcher.anyOf(" @,:<>"))
  /external/hamcrest/src/org/hamcrest/
CoreMatchers.java 86 public static <T> org.hamcrest.Matcher<T> anyOf(org.hamcrest.Matcher<? extends T>... matchers) {
87 return org.hamcrest.core.AnyOf.anyOf(matchers);
93 public static <T> org.hamcrest.Matcher<T> anyOf(java.lang.Iterable<org.hamcrest.Matcher<? extends T>> matchers) {
94 return org.hamcrest.core.AnyOf.anyOf(matchers);
  /packages/services/Car/car-support-lib/src/android/support/car/hardware/
CarSensorManager.java 203 @RequiresPermission(anyOf={Manifest.permission.ACCESS_FINE_LOCATION, Car.PERMISSION_SPEED,
  /external/droiddriver/src/io/appium/droiddriver/finders/
By.java 193 public static MatchFinder anyOf(final MatchFinder... finders) {
194 return new MatchFinder(Predicates.anyOf(getPredicates(finders)));
Predicates.java 127 public static <T> Predicate<T> anyOf(final Predicate<? super T>... components) {
141 return "anyOf(" + TextUtils.join(", ", components) + ")";
  /prebuilts/tools/common/m2/repository/org/hamcrest/hamcrest-core/1.1/
hamcrest-core-1.1.jar 
  /packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
CharMatcher.java 69 anyOf(BREAKING_WHITESPACE_CHARS + NON_BREAKING_WHITESPACE_CHARS)
81 anyOf(BREAKING_WHITESPACE_CHARS)
196 .or(anyOf("\u06dd\u070f\u1680\u17b4\u17b5\u180e"))
203 .or(anyOf("\ufeff\ufff9\ufffa\ufffb"));
238 anyOf(" \r\n\t\u3000\u00A0\u2007\u202F").precomputed();
435 public static CharMatcher anyOf(final CharSequence sequence) {
478 return anyOf(sequence).negate();
968 * CharMatcher.anyOf("ab").trimFrom("abacatbab")}</pre>
1002 * CharMatcher.anyOf("ab").trimLeadingFrom("abacatbab")}</pre>
    [all...]
StringUtil.java 217 * as {@code Splitter.on(CharMatcher.anyOf(delims))}.
532 * <li> {@code CharMatcher.anyOf(what).trimFrom(str)}
534 * <li> {@code CharMatcher.anyOf(what).trimLeadingFrom(str)}
536 * <li> {@code CharMatcher.anyOf(what).trimTrailingFrom(str)}
548 CharMatcher matcher = CharMatcher.anyOf(what);
701 * {@code CharMatcher.anyOf(oldchars).replaceFrom(str, newchar)}
705 return CharMatcher.anyOf(oldchars).replaceFrom(str, newchar);
713 * {@code CharMatcher.anyOf(oldchars).removeFrom(str)}
717 return CharMatcher.anyOf(oldchars).removeFrom(str);
722 = CharMatcher.anyOf("\u0091\u0092\u2018\u2019")
    [all...]
  /frameworks/base/location/java/android/location/
LocationManager.java 463 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
495 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
528 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
556 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
658 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
688 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
718 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
741 @RequiresPermission(anyOf = {ACCESS_COARSE_LOCATION, ACCESS_FINE_LOCATION})
    [all...]
  /external/hamcrest/library/src/org/hamcrest/
Matchers.java 86 public static <T> org.hamcrest.Matcher<T> anyOf(org.hamcrest.Matcher<? extends T>... matchers) {
87 return org.hamcrest.core.AnyOf.anyOf(matchers);
93 public static <T> org.hamcrest.Matcher<T> anyOf(java.lang.Iterable<org.hamcrest.Matcher<? extends T>> matchers) {
94 return org.hamcrest.core.AnyOf.anyOf(matchers);
  /external/guava/guava/src/com/google/common/net/
InternetDomainName.java 80 CharMatcher.anyOf(".\u3002\uFF0E\uFF61");
241 private static final CharMatcher DASH_MATCHER = CharMatcher.anyOf("-_");
  /prebuilts/tools/common/m2/repository/org/hamcrest/hamcrest-library/1.3/
hamcrest-library-1.3.jar 
  /packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
HtmlTree.java 53 private static final CharMatcher HTML_WHITESPACE = CharMatcher.anyOf(" \t\f\u200b\r\n");
743 text = CharMatcher.anyOf(HTML_SPACE_EQUIVALENTS).trimFrom(text);
746 text = CharMatcher.anyOf(HTML_SPACE_EQUIVALENTS).collapseFrom(text, ' ');
    [all...]
  /external/clang/include/clang/ASTMatchers/
ASTMatchers.h     [all...]
  /packages/services/Car/car-lib/src/android/car/hardware/
CarSensorManager.java 283 @RequiresPermission(anyOf={Manifest.permission.ACCESS_FINE_LOCATION, Car.PERMISSION_SPEED,

Completed in 811 milliseconds

1 2 3 4 5 6 7 8