Home
last modified time | relevance | path

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

12

/external/libchrome/sandbox/linux/bpf_dsl/
Dbpf_dsl.h135 SANDBOX_EXPORT BoolExpr AnyOf();
136 SANDBOX_EXPORT BoolExpr AnyOf(const BoolExpr& lhs, const BoolExpr& rhs);
138 SANDBOX_EXPORT BoolExpr AnyOf(const BoolExpr& first, const Rest&... rest);
261 using bpf_dsl::AnyOf;
314 return Caser<T>(arg_, elser_.ElseIf(AnyOf((arg_ == values)...), result)); in CasesImpl()
328 BoolExpr AnyOf(const BoolExpr& first, const Rest&... rest) { in AnyOf() function
329 return AnyOf(first, AnyOf(rest...)); in AnyOf()
Dbpf_dsl.cc288 BoolExpr AnyOf() { in AnyOf() function
292 BoolExpr AnyOf(const BoolExpr& lhs, const 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/hamcrest/src/org/hamcrest/core/
DAnyOf.java15 public class AnyOf<T> extends BaseMatcher<T> { class
19 public AnyOf(Iterable<Matcher<? extends T>> matchers) { in AnyOf() method in AnyOf
49 return new AnyOf<T>(matchers); in anyOf()
/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/v8/test/unittests/compiler/
Dnode-properties-unittest.cc10 using testing::AnyOf;
118 EXPECT_THAT(result[0], AnyOf(if_value1, if_value2)); in TEST_F()
119 EXPECT_THAT(result[1], AnyOf(if_value1, if_value2)); in TEST_F()
Dscheduler-unittest.cc22 using testing::AnyOf;
256 EXPECT_THAT(B->rpo_number(), AnyOf(1, 2)); in TEST_F()
257 EXPECT_THAT(C->rpo_number(), AnyOf(1, 2)); in TEST_F()
/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()
Dgmock_link_test.h131 using testing::AnyOf;
653 Matcher<int> m = AnyOf(_, Eq(1)); in TEST()
/external/gmock/test/
Dgmock-matchers_test.cc84 using testing::AnyOf;
2198 m = AnyOf(Le(1), Ge(3)); in TEST()
2203 m = AnyOf(Lt(0), Eq(1), Eq(2)); in TEST()
2209 m = AnyOf(Lt(0), Eq(1), Eq(2), Eq(3)); in TEST()
2216 m = AnyOf(Le(0), Gt(10), 3, 5, 7); in TEST()
2226 AnyOfMatches(2, AnyOf(1, 2)); in TEST()
2227 AnyOfMatches(3, AnyOf(1, 2, 3)); in TEST()
2228 AnyOfMatches(4, AnyOf(1, 2, 3, 4)); in TEST()
2229 AnyOfMatches(5, AnyOf(1, 2, 3, 4, 5)); in TEST()
2230 AnyOfMatches(6, AnyOf(1, 2, 3, 4, 5, 6)); in TEST()
[all …]
Dgmock-generated-matchers_test.cc1252 EXPECT_THAT(0, testing::AnyOf(_, _, _, _, _, _, _, _, _, in TEST()
1253 testing::AnyOf(_, _, _, _, _, _, _, _, _, _))); in TEST()
1276 AnyOf(const T1& t1, const T2& t2) { return true; } in AnyOf() function
1279 EXPECT_THAT(42, testing::AnyOf( in TEST()
Dgmock_link_test.h131 using testing::AnyOf;
653 Matcher<int> m = AnyOf(_, Eq(1)); in TEST()
/external/hamcrest/src/org/hamcrest/
DCoreMatchers.java87 return org.hamcrest.core.AnyOf.anyOf(matchers); in anyOf()
94 return org.hamcrest.core.AnyOf.anyOf(matchers); in anyOf()
/external/libweave/src/
Dbase_api_handler_unittest.cc22 using testing::AnyOf;
52 AddCommandHandler(_, AnyOf("base.updateBaseConfiguration", in SetUp()
Daccess_api_handler_unittest.cc17 using testing::AnyOf;
65 AddCommandHandler(_, AnyOf("_accessControlBlackList.block", in SetUp()
/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/hamcrest/library/src/org/hamcrest/number/
DOrderingComparisons.java3 import static org.hamcrest.core.AnyOf.anyOf;
/external/gmock/include/gmock/
Dgmock-generated-matchers.h1096 AnyOf(M1 m1, M2 m2) { in AnyOf() function
1104 AnyOf(M1 m1, M2 m2, M3 m3) { in AnyOf() function
1107 ::testing::AnyOf(m2, m3)); in AnyOf()
1112 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4) { in AnyOf() function
1114 ::testing::AnyOf(m1, m2), in AnyOf()
1115 ::testing::AnyOf(m3, m4)); in AnyOf()
1120 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5) { in AnyOf() function
1122 ::testing::AnyOf(m1, m2), in AnyOf()
1123 ::testing::AnyOf(m3, m4, m5)); in AnyOf()
1129 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6) { in AnyOf() function
[all …]
Dgmock-generated-matchers.h.pump220 // A set of metafunctions for computing the result type of AnyOf.
221 // AnyOf(m1, ..., mN) returns
224 // Although AnyOf isn't defined for one argument, AnyOfResult1 is defined
354 // AnyOf(m1, m2, ..., mk) matches any value that matches any of the given
355 // sub-matchers. AnyOf is called fully qualified to prevent ADL from firing.
366 AnyOf($for j, [[M$j m$j]]) {
368 $if m == 1 [[m1]] $else [[::testing::AnyOf($for k, [[m$k]])]],
369 $if m+1 == i [[m$i]] $else [[::testing::AnyOf($for t, [[m$t]])]]);
/external/gmock/
DCHANGES10 and AnyOf() can accept an arbitrary number of matchers.
44 * AllOf() and AnyOf() can handle up-to 10 arguments now.
/external/hamcrest/library/src/org/hamcrest/
DMatchers.java87 return org.hamcrest.core.AnyOf.anyOf(matchers); in anyOf()
94 return org.hamcrest.core.AnyOf.anyOf(matchers); in anyOf()
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
Dsyscall_parameters_restrictions.cc130 AnyOf(flags == kAndroidCloneMask, flags == kObsoleteAndroidCloneMask, in RestrictCloneToThreadsAndEPERMFork()
/external/google-breakpad/src/testing/
DCHANGES10 * AllOf() and AnyOf() can handle up-to 10 arguments now.

12