/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/ |
H A D | AnyOf.java | 13 public class AnyOf<T> extends ShortcutCombination<T> { class in inherits:ShortcutCombination 15 public AnyOf(Iterable<Matcher<? super T>> matchers) { method in class:AnyOf 34 public static <T> AnyOf<T> anyOf(Iterable<Matcher<? super T>> matchers) { 35 return new AnyOf<>(matchers); 44 public static <T> AnyOf<T> anyOf(Matcher<? super T>... matchers) {
|
H A D | CombinableMatcher.java | 35 return new CombinableMatcher<T>(new AnyOf<T>(templatedListWith(other)));
|
/external/libchrome/sandbox/linux/bpf_dsl/ |
H A D | bpf_dsl.h | 47 // .ElseIf(AnyOf(cmd == F_DUPFD, cmd == F_DUPFD_CLOEXEC), 65 // bool = BoolConst(boolean) | Not(bool) | AllOf(bool...) | AnyOf(bool...) 133 // AnyOf returns a BoolExpr representing the logical disjunction ("or") 135 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))); 328 BoolExpr AnyOf(BoolExpr first, Rest&&... rest) { function in namespace:sandbox::bpf_dsl 329 return AnyOf(st [all...] |
H A D | bpf_dsl.cc | 280 BoolExpr AnyOf() { function in namespace:sandbox::bpf_dsl 284 BoolExpr AnyOf(BoolExpr lhs, BoolExpr rhs) { function in namespace:sandbox::bpf_dsl
|
H A D | bpf_dsl_unittest.cc | 156 AnyOf(type == SOCK_STREAM, type == SOCK_DGRAM), 201 return If(AnyOf(ruid == 0, euid == 0, suid == 0), Error(EPERM))
|
/external/libchrome/base/ |
H A D | gmock_unittest.cc | 13 using testing::AnyOf; 114 EXPECT_CALL(mock, ReturnSecond(_, AnyOf(Eq(4), Eq(5)))) 128 EXPECT_CALL(mock, ReturnSecond(_, AnyOf(Eq(4), Eq(5))))
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/text/ |
H A D | IsBlankString.java | 10 import static org.hamcrest.core.AnyOf.anyOf;
|
H A D | IsEmptyString.java | 8 import static org.hamcrest.core.AnyOf.anyOf;
|
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/ |
H A D | AnyOfTest.java | 7 import static org.hamcrest.core.AnyOf.anyOf;
|
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/ |
H A D | CoreMatchers.java | 31 public static <T> org.hamcrest.core.AnyOf<T> anyOf(java.lang.Iterable<org.hamcrest.Matcher<? super T>> matchers) { 32 return org.hamcrest.core.AnyOf.<T>anyOf(matchers); 41 public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<? super T>... matchers) { 42 return org.hamcrest.core.AnyOf.<T>anyOf(matchers);
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/ |
H A D | Matchers.java | 73 public static <T> org.hamcrest.core.AnyOf<T> anyOf(java.lang.Iterable<org.hamcrest.Matcher<? super T>> matchers) { 74 return org.hamcrest.core.AnyOf.<T>anyOf(matchers); 82 public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<? super T>... matchers) { 83 return org.hamcrest.core.AnyOf.<T>anyOf(matchers); 91 public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<T> first, org.hamcrest.Matcher<? super T> second) { 92 return org.hamcrest.core.AnyOf.<T>anyOf(first, second); 100 public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<T> first, org.hamcrest.Matcher<? super T> second, org.hamcrest.Matcher<? super T> third) { 101 return org.hamcrest.core.AnyOf.<T>anyOf(first, second, third); 109 public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<T> first, org.hamcrest.Matcher<? super T> second, org.hamcrest.Matcher<? super T> third, org.hamcrest.Matcher<? super T> fourth) { 110 return org.hamcrest.core.AnyOf [all...] |
/external/google-breakpad/src/testing/test/ |
H A D | gmock-matchers_test.cc | 79 using testing::AnyOf; 2093 // Helper to allow easy testing of AnyOf matchers with num parameters. 2103 // Tests that AnyOf(m1, ..., mn) matches any value that matches at 2107 m = AnyOf(Le(1), Ge(3)); 2112 m = AnyOf(Lt(0), Eq(1), Eq(2)); 2118 m = AnyOf(Lt(0), Eq(1), Eq(2), Eq(3)); 2125 m = AnyOf(Le(0), Gt(10), 3, 5, 7); 2135 AnyOfMatches(2, AnyOf(1, 2)); 2136 AnyOfMatches(3, AnyOf(1, 2, 3)); 2137 AnyOfMatches(4, AnyOf( [all...] |
H A D | gmock_link_test.h | 96 // AnyOf 131 using testing::AnyOf; 651 // Tests the linkage of the AnyOf matcher. 653 Matcher<int> m = AnyOf(_, Eq(1));
|
H A D | gmock-generated-matchers_test.cc | 1102 // Verify that using AnyOf with many arguments doesn't cause 1104 EXPECT_THAT(0, testing::AnyOf(_, _, _, _, _, _, _, _, _, 1105 testing::AnyOf(_, _, _, _, _, _, _, _, _, _))); 1110 // Verifies that the implementation of ::testing::AllOf and ::testing::AnyOf 1112 // name lookup will cause AllOf/AnyOf in the 'adl_test' namespace to be found 1115 // The matcher must be in the same namespace as AllOf/AnyOf to make argument 1128 AnyOf(const T1& t1, const T2& t2) { return true; } function in namespace:__anon6904::adl_test 1131 EXPECT_THAT(42, testing::AnyOf(
|
/external/google-breakpad/src/testing/include/gmock/ |
H A D | gmock-generated-matchers.h | 752 // A set of metafunctions for computing the result type of AnyOf. 753 // AnyOf(m1, ..., mN) returns 756 // Although AnyOf isn't defined for one argument, AnyOfResult1 is defined 1111 // AnyOf(m1, m2, ..., mk) matches any value that matches any of the given 1112 // sub-matchers. AnyOf is called fully qualified to prevent ADL from firing. 1116 AnyOf(M1 m1, M2 m2) { function in namespace:testing 1124 AnyOf(M1 m1, M2 m2, M3 m3) { function in namespace:testing 1127 ::testing::AnyOf(m2, m3)); 1132 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4) { function in namespace:testing 1134 ::testing::AnyOf(m 1140 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5) { function in namespace:testing 1149 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6) { function in namespace:testing 1158 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7) { function in namespace:testing 1167 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8) { function in namespace:testing 1176 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9) { function in namespace:testing 1187 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9, M10 m10) { function in namespace:testing [all...] |
/external/googletest/googlemock/include/gmock/ |
H A D | gmock-generated-matchers.h | 386 // A set of metafunctions for computing the result type of AnyOf. 387 // AnyOf(m1, ..., mN) returns 390 // Although AnyOf isn't defined for one argument, AnyOfResult1 is defined 1080 // AnyOf(m1, m2, ..., mk) matches any value that matches any of the given 1081 // sub-matchers. AnyOf is called fully qualified to prevent ADL from firing. 1085 AnyOf(M1 m1, M2 m2) { function in namespace:testing 1093 AnyOf(M1 m1, M2 m2, M3 m3) { function in namespace:testing 1096 ::testing::AnyOf(m2, m3)); 1101 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4) { function in namespace:testing 1103 ::testing::AnyOf(m 1109 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5) { function in namespace:testing 1118 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6) { function in namespace:testing 1127 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7) { function in namespace:testing 1136 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8) { function in namespace:testing 1145 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9) { function in namespace:testing 1156 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9, M10 m10) { function in namespace:testing [all...] |
/external/v8/testing/gmock/include/gmock/ |
H A D | gmock-generated-matchers.h | 386 // A set of metafunctions for computing the result type of AnyOf. 387 // AnyOf(m1, ..., mN) returns 390 // Although AnyOf isn't defined for one argument, AnyOfResult1 is defined 1080 // AnyOf(m1, m2, ..., mk) matches any value that matches any of the given 1081 // sub-matchers. AnyOf is called fully qualified to prevent ADL from firing. 1085 AnyOf(M1 m1, M2 m2) { function in namespace:testing 1093 AnyOf(M1 m1, M2 m2, M3 m3) { function in namespace:testing 1096 ::testing::AnyOf(m2, m3)); 1101 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4) { function in namespace:testing 1103 ::testing::AnyOf(m 1109 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5) { function in namespace:testing 1118 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6) { function in namespace:testing 1127 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7) { function in namespace:testing 1136 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8) { function in namespace:testing 1145 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9) { function in namespace:testing 1156 AnyOf(M1 m1, M2 m2, M3 m3, M4 m4, M5 m5, M6 m6, M7 m7, M8 m8, M9 m9, M10 m10) { function in namespace:testing [all...] |
/external/googletest/googlemock/test/ |
H A D | gmock-matchers_test.cc | 85 using testing::AnyOf; 2239 // Helper to allow easy testing of AnyOf matchers with num parameters. 2249 // Tests that AnyOf(m1, ..., mn) matches any value that matches at 2253 m = AnyOf(Le(1), Ge(3)); 2258 m = AnyOf(Lt(0), Eq(1), Eq(2)); 2264 m = AnyOf(Lt(0), Eq(1), Eq(2), Eq(3)); 2271 m = AnyOf(Le(0), Gt(10), 3, 5, 7); 2281 AnyOfMatches(2, AnyOf(1, 2)); 2282 AnyOfMatches(3, AnyOf(1, 2, 3)); 2283 AnyOfMatches(4, AnyOf( [all...] |
H A D | gmock_link_test.h | 96 // AnyOf 131 using testing::AnyOf; 651 // Tests the linkage of the AnyOf matcher. 653 Matcher<int> m = AnyOf(_, Eq(1));
|
H A D | gmock-generated-matchers_test.cc | 1247 // Verify that using AnyOf with many arguments doesn't cause 1249 EXPECT_THAT(0, testing::AnyOf(_, _, _, _, _, _, _, _, _, 1250 testing::AnyOf(_, _, _, _, _, _, _, _, _, _))); 1255 // Verifies that the implementation of ::testing::AllOf and ::testing::AnyOf 1257 // name lookup will cause AllOf/AnyOf in the 'adl_test' namespace to be found 1260 // The matcher must be in the same namespace as AllOf/AnyOf to make argument 1273 AnyOf(const T1& t1, const T2& t2) { return true; } function in namespace:__anon6992::adl_test 1276 EXPECT_THAT(42, testing::AnyOf(
|
/external/v8/testing/gmock/test/ |
H A D | gmock-matchers_test.cc | 85 using testing::AnyOf; 2239 // Helper to allow easy testing of AnyOf matchers with num parameters. 2249 // Tests that AnyOf(m1, ..., mn) matches any value that matches at 2253 m = AnyOf(Le(1), Ge(3)); 2258 m = AnyOf(Lt(0), Eq(1), Eq(2)); 2264 m = AnyOf(Lt(0), Eq(1), Eq(2), Eq(3)); 2271 m = AnyOf(Le(0), Gt(10), 3, 5, 7); 2281 AnyOfMatches(2, AnyOf(1, 2)); 2282 AnyOfMatches(3, AnyOf(1, 2, 3)); 2283 AnyOfMatches(4, AnyOf( [all...] |
H A D | gmock_link_test.h | 96 // AnyOf 131 using testing::AnyOf; 651 // Tests the linkage of the AnyOf matcher. 653 Matcher<int> m = AnyOf(_, Eq(1));
|
H A D | gmock-generated-matchers_test.cc | 1247 // Verify that using AnyOf with many arguments doesn't cause 1249 EXPECT_THAT(0, testing::AnyOf(_, _, _, _, _, _, _, _, _, 1250 testing::AnyOf(_, _, _, _, _, _, _, _, _, _))); 1255 // Verifies that the implementation of ::testing::AllOf and ::testing::AnyOf 1257 // name lookup will cause AllOf/AnyOf in the 'adl_test' namespace to be found 1260 // The matcher must be in the same namespace as AllOf/AnyOf to make argument 1273 AnyOf(const T1& t1, const T2& t2) { return true; } function in namespace:__anon21887::adl_test 1276 EXPECT_THAT(42, testing::AnyOf(
|
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/ |
H A D | syscall_parameters_restrictions.cc | 141 AnyOf(flags == kAndroidCloneMask, flags == kObsoleteAndroidCloneMask,
|
/external/fmtlib/test/gmock/ |
H A D | gmock.h | 6185 // AllOf(m_1, m_2, ...) and AnyOf(m_1, m_2, ...). 6240 // Implements the AnyOf(m1, m2) matcher for a particular argument type 6304 // AnyOfMatcher is used for the variadic implementation of AnyOf(m_1, m_2, ...). 6310 // Used for implementing the AnyOf(m_1, ..., m_n) matcher, which 8615 inline internal::AnyOfMatcher<Args...> AnyOf(const Args&... matchers) { function in namespace:testing 12094 // A set of metafunctions for computing the result type of AnyOf. 12095 // AnyOf(m1, ..., mN) returns 12098 // Although AnyOf isn't defined for one argument, AnyOfResult1 is defined 12788 // AnyOf(m1, m2, ..., mk) matches any value that matches any of the given 12789 // sub-matchers. AnyOf i [all...] |