Home
last modified time | relevance | path

Searched refs:AnyOf (Results 1 – 25 of 41) sorted by relevance

12

/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
DAnyOf.java13 public class AnyOf<T> extends ShortcutCombination<T> { class
15 public AnyOf(Iterable<Matcher<? super T>> matchers) { in AnyOf() method in AnyOf
34 public static <T> AnyOf<T> anyOf(Iterable<Matcher<? super T>> matchers) { in anyOf()
35 return new AnyOf<>(matchers); in anyOf()
44 public static <T> AnyOf<T> anyOf(Matcher<? super T>... matchers) { in anyOf()
DCombinableMatcher.java35 return new CombinableMatcher<T>(new AnyOf<T>(templatedListWith(other))); in or()
/external/libchrome/sandbox/linux/bpf_dsl/
Dbpf_dsl.h135 SANDBOX_EXPORT BoolExpr AnyOf();
136 SANDBOX_EXPORT BoolExpr AnyOf(BoolExpr lhs, BoolExpr rhs);
138 SANDBOX_EXPORT BoolExpr AnyOf(BoolExpr first, Rest&&... rest);
261 using bpf_dsl::AnyOf;
314 elser_.ElseIf(AnyOf((arg_ == values)...), std::move(result))); in CasesImpl()
328 BoolExpr AnyOf(BoolExpr first, Rest&&... rest) { in AnyOf() function
329 return AnyOf(std::move(first), AnyOf(std::forward<Rest>(rest)...)); in AnyOf()
Dbpf_dsl.cc280 BoolExpr AnyOf() { in AnyOf() function
284 BoolExpr AnyOf(BoolExpr lhs, BoolExpr rhs) { in AnyOf() function
Dbpf_dsl_unittest.cc156 AnyOf(type == SOCK_STREAM, type == SOCK_DGRAM), in EvaluateSyscall()
201 return If(AnyOf(ruid == 0, euid == 0, suid == 0), Error(EPERM)) in EvaluateSyscall()
/external/libchrome/base/
Dgmock_unittest.cc13 using testing::AnyOf;
114 EXPECT_CALL(mock, ReturnSecond(_, AnyOf(Eq(4), Eq(5)))) in TEST()
128 EXPECT_CALL(mock, ReturnSecond(_, AnyOf(Eq(4), Eq(5)))) in TEST()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/
DMatchers.java73 …public static <T> org.hamcrest.core.AnyOf<T> anyOf(java.lang.Iterable<org.hamcrest.Matcher<? super… in anyOf()
74 return org.hamcrest.core.AnyOf.<T>anyOf(matchers); in anyOf()
82 public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<? super T>... matchers) { in anyOf()
83 return org.hamcrest.core.AnyOf.<T>anyOf(matchers); in anyOf()
91 …public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<T> first, org.hamcrest.Mat… in anyOf()
92 return org.hamcrest.core.AnyOf.<T>anyOf(first, second); in anyOf()
100 …public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<T> first, org.hamcrest.Mat… in anyOf()
101 return org.hamcrest.core.AnyOf.<T>anyOf(first, second, third); in anyOf()
109 …public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<T> first, org.hamcrest.Mat… in anyOf()
110 return org.hamcrest.core.AnyOf.<T>anyOf(first, second, third, fourth); in anyOf()
[all …]
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
DCoreMatchers.java31 …public static <T> org.hamcrest.core.AnyOf<T> anyOf(java.lang.Iterable<org.hamcrest.Matcher<? super… in anyOf()
32 return org.hamcrest.core.AnyOf.<T>anyOf(matchers); in anyOf()
41 public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<? super T>... matchers) { in anyOf()
42 return org.hamcrest.core.AnyOf.<T>anyOf(matchers); in anyOf()
/external/google-breakpad/src/testing/test/
Dgmock-matchers_test.cc79 using testing::AnyOf;
2107 m = AnyOf(Le(1), Ge(3)); in TEST()
2112 m = AnyOf(Lt(0), Eq(1), Eq(2)); in TEST()
2118 m = AnyOf(Lt(0), Eq(1), Eq(2), Eq(3)); in TEST()
2125 m = AnyOf(Le(0), Gt(10), 3, 5, 7); in TEST()
2135 AnyOfMatches(2, AnyOf(1, 2)); in TEST()
2136 AnyOfMatches(3, AnyOf(1, 2, 3)); in TEST()
2137 AnyOfMatches(4, AnyOf(1, 2, 3, 4)); in TEST()
2138 AnyOfMatches(5, AnyOf(1, 2, 3, 4, 5)); in TEST()
2139 AnyOfMatches(6, AnyOf(1, 2, 3, 4, 5, 6)); in TEST()
[all …]
Dgmock-generated-matchers_test.cc1104 EXPECT_THAT(0, testing::AnyOf(_, _, _, _, _, _, _, _, _, in TEST()
1105 testing::AnyOf(_, _, _, _, _, _, _, _, _, _))); in TEST()
1128 AnyOf(const T1& t1, const T2& t2) { return true; } in AnyOf() function
1131 EXPECT_THAT(42, testing::AnyOf( in TEST()
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc85 using testing::AnyOf;
2257 m = AnyOf(Le(1), Ge(3)); in TEST()
2262 m = AnyOf(Lt(0), Eq(1), Eq(2)); in TEST()
2268 m = AnyOf(Lt(0), Eq(1), Eq(2), Eq(3)); in TEST()
2275 m = AnyOf(Le(0), Gt(10), 3, 5, 7); in TEST()
2285 AnyOfMatches(2, AnyOf(1, 2)); in TEST()
2286 AnyOfMatches(3, AnyOf(1, 2, 3)); in TEST()
2287 AnyOfMatches(4, AnyOf(1, 2, 3, 4)); in TEST()
2288 AnyOfMatches(5, AnyOf(1, 2, 3, 4, 5)); in TEST()
2289 AnyOfMatches(6, AnyOf(1, 2, 3, 4, 5, 6)); in TEST()
[all …]
Dgmock-generated-matchers_test.cc1249 EXPECT_THAT(0, testing::AnyOf(_, _, _, _, _, _, _, _, _, in TEST()
1250 testing::AnyOf(_, _, _, _, _, _, _, _, _, _))); in TEST()
1273 AnyOf(const T1& t1, const T2& t2) { return true; } in AnyOf() function
1276 EXPECT_THAT(42, testing::AnyOf( in TEST()
/external/v8/testing/gmock/test/
Dgmock-matchers_test.cc85 using testing::AnyOf;
2253 m = AnyOf(Le(1), Ge(3)); in TEST()
2258 m = AnyOf(Lt(0), Eq(1), Eq(2)); in TEST()
2264 m = AnyOf(Lt(0), Eq(1), Eq(2), Eq(3)); in TEST()
2271 m = AnyOf(Le(0), Gt(10), 3, 5, 7); in TEST()
2281 AnyOfMatches(2, AnyOf(1, 2)); in TEST()
2282 AnyOfMatches(3, AnyOf(1, 2, 3)); in TEST()
2283 AnyOfMatches(4, AnyOf(1, 2, 3, 4)); in TEST()
2284 AnyOfMatches(5, AnyOf(1, 2, 3, 4, 5)); in TEST()
2285 AnyOfMatches(6, AnyOf(1, 2, 3, 4, 5, 6)); in TEST()
[all …]
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/text/
DIsBlankString.java10 import static org.hamcrest.core.AnyOf.anyOf;
DIsEmptyString.java8 import static org.hamcrest.core.AnyOf.anyOf;
/external/google-breakpad/src/testing/include/gmock/
Dgmock-generated-matchers.h1116 AnyOf(M1 m1, M2 m2) { in AnyOf() function
1124 AnyOf(M1 m1, M2 m2, M3 m3) { in AnyOf() function
1127 ::testing::AnyOf(m2, m3)); in AnyOf()
1132 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4) { in AnyOf() function
1134 ::testing::AnyOf(m1, m2), in AnyOf()
1135 ::testing::AnyOf(m3, m4)); in AnyOf()
1140 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5) { in AnyOf() function
1142 ::testing::AnyOf(m1, m2), in AnyOf()
1143 ::testing::AnyOf(m3, m4, m5)); in AnyOf()
1149 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6) { in AnyOf() function
[all …]
Dgmock-generated-matchers.h.pump275 // A set of metafunctions for computing the result type of AnyOf.
276 // AnyOf(m1, ..., mN) returns
279 // Although AnyOf isn't defined for one argument, AnyOfResult1 is defined
385 // AnyOf(m1, m2, ..., mk) matches any value that matches any of the given
386 // sub-matchers. AnyOf is called fully qualified to prevent ADL from firing.
397 AnyOf($for j, [[M$j m$j]]) {
399 $if m == 1 [[m1]] $else [[::testing::AnyOf($for k, [[m$k]])]],
400 $if m+1 == i [[m$i]] $else [[::testing::AnyOf($for t, [[m$t]])]]);
/external/v8/testing/gmock/include/gmock/
Dgmock-generated-matchers.h1085 AnyOf(M1 m1, M2 m2) { in AnyOf() function
1093 AnyOf(M1 m1, M2 m2, M3 m3) { in AnyOf() function
1096 ::testing::AnyOf(m2, m3)); in AnyOf()
1101 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4) { in AnyOf() function
1103 ::testing::AnyOf(m1, m2), in AnyOf()
1104 ::testing::AnyOf(m3, m4)); in AnyOf()
1109 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5) { in AnyOf() function
1111 ::testing::AnyOf(m1, m2), in AnyOf()
1112 ::testing::AnyOf(m3, m4, m5)); in AnyOf()
1118 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6) { in AnyOf() function
[all …]
Dgmock-generated-matchers.h.pump218 // A set of metafunctions for computing the result type of AnyOf.
219 // AnyOf(m1, ..., mN) returns
222 // Although AnyOf isn't defined for one argument, AnyOfResult1 is defined
352 // AnyOf(m1, m2, ..., mk) matches any value that matches any of the given
353 // sub-matchers. AnyOf is called fully qualified to prevent ADL from firing.
364 AnyOf($for j, [[M$j m$j]]) {
366 $if m == 1 [[m1]] $else [[::testing::AnyOf($for k, [[m$k]])]],
367 $if m+1 == i [[m$i]] $else [[::testing::AnyOf($for t, [[m$t]])]]);
/external/googletest/googlemock/include/gmock/
Dgmock-generated-matchers.h1085 AnyOf(M1 m1, M2 m2) { in AnyOf() function
1093 AnyOf(M1 m1, M2 m2, M3 m3) { in AnyOf() function
1096 ::testing::AnyOf(m2, m3)); in AnyOf()
1101 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4) { in AnyOf() function
1103 ::testing::AnyOf(m1, m2), in AnyOf()
1104 ::testing::AnyOf(m3, m4)); in AnyOf()
1109 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5) { in AnyOf() function
1111 ::testing::AnyOf(m1, m2), in AnyOf()
1112 ::testing::AnyOf(m3, m4, m5)); in AnyOf()
1118 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6) { in AnyOf() function
[all …]
Dgmock-generated-matchers.h.pump218 // A set of metafunctions for computing the result type of AnyOf.
219 // AnyOf(m1, ..., mN) returns
222 // Although AnyOf isn't defined for one argument, AnyOfResult1 is defined
352 // AnyOf(m1, m2, ..., mk) matches any value that matches any of the given
353 // sub-matchers. AnyOf is called fully qualified to prevent ADL from firing.
364 AnyOf($for j, [[M$j m$j]]) {
366 $if m == 1 [[m1]] $else [[::testing::AnyOf($for k, [[m$k]])]],
367 $if m+1 == i [[m$i]] $else [[::testing::AnyOf($for t, [[m$t]])]]);
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/
DAnyOfTest.java7 import static org.hamcrest.core.AnyOf.anyOf;
/external/googletest/googlemock/
DCHANGES10 and AnyOf() can accept an arbitrary number of matchers.
44 * AllOf() and AnyOf() can handle up-to 10 arguments now.
/external/v8/testing/gmock/
DCHANGES10 and AnyOf() can accept an arbitrary number of matchers.
44 * AllOf() and AnyOf() can handle up-to 10 arguments now.
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
Dsyscall_parameters_restrictions.cc141 AnyOf(flags == kAndroidCloneMask, flags == kObsoleteAndroidCloneMask, in RestrictCloneToThreadsAndEPERMFork()

12