Home
last modified time | relevance | path

Searched refs:Eq (Results 1 – 25 of 138) sorted by relevance

123456

/external/llvm/lib/Fuzzer/test/
DStrcmpTest.cpp11 bool Eq(const uint8_t *Data, size_t Size, const char *Str) { in Eq() function
23 if (Eq(Data, Size, "AAA") && in LLVMFuzzerTestOneInput()
24 Size >= 3 && Eq(Data + 3, Size - 3, "BBBB") && in LLVMFuzzerTestOneInput()
25 Size >= 7 && Eq(Data + 7, Size - 7, "CCCCCC") && in LLVMFuzzerTestOneInput()
/external/googletest/googlemock/test/
Dgmock-generated-matchers_test.cc64 using testing::Eq;
111 EXPECT_THAT(t, Args<>(Eq(tuple<>()))); in TEST()
117 EXPECT_THAT(t, Args<0>(Eq(make_tuple(5)))); in TEST()
118 EXPECT_THAT(t, Args<1>(Eq(make_tuple(true)))); in TEST()
119 EXPECT_THAT(t, Not(Args<1>(Eq(make_tuple(false))))); in TEST()
132 EXPECT_THAT(t, (Args<0, 0>(Eq()))); in TEST()
163 EXPECT_THAT(t, (Args<1, 2, 3>(Args<1, 2>(Eq())))); in TEST()
218 const Matcher<tuple<bool, int, int> > m = Args<1, 2>(Eq()); in TEST()
393 EXPECT_THAT(test_vector, ElementsAre(Eq(4))); in TEST()
416 EXPECT_THAT(test_vector, ElementsAre(1, Eq(2), _)); in TEST()
[all …]
Dgmock-matchers_test.cc91 using testing::Eq;
338 Matcher<bool> m1 = Eq(false); in TEST()
343 m1 = Eq(true); in TEST()
531 Matcher<int> m = MatcherCast<int>(Eq(5)); in TEST()
556 Matcher<double> m1 = Eq(2.0); in TEST()
572 Matcher<const int&> m1 = Eq(0); in TEST()
580 Matcher<int&> m1 = Eq(0); in TEST()
588 Matcher<int> m1 = Eq(0); in TEST()
596 Matcher<int> m1 = Eq(0); in TEST()
606 Matcher<int> m1 = Eq(0); in TEST()
[all …]
Dgmock_link_test.h140 using testing::Eq;
489 ON_CALL(mock, VoidFromString(Eq(p))).WillByDefault(Return()); in TEST()
607 Matcher<const FieldHelper&> m = Field(&FieldHelper::field_, Eq(0)); in TEST()
610 Matcher<const FieldHelper*> m2 = Field(&FieldHelper::field_, Eq(0)); in TEST()
618 Matcher<const FieldHelper&> m = Property(&FieldHelper::field, Eq(0)); in TEST()
621 Matcher<const FieldHelper*> m2 = Property(&FieldHelper::field, Eq(0)); in TEST()
627 Matcher<char*> m = ResultOf(&InvokeHelper::StaticIntFromString, Eq(1)); in TEST()
635 Matcher<int*> m = Pointee(Eq(1)); in TEST()
647 Matcher<int> m = AllOf(_, Eq(1)); in TEST()
653 Matcher<int> m = AnyOf(_, Eq(1)); in TEST()
/external/v8/testing/gmock/test/
Dgmock-generated-matchers_test.cc64 using testing::Eq;
112 EXPECT_THAT(t, Args<>(Eq(tuple<>()))); in TEST()
118 EXPECT_THAT(t, Args<0>(Eq(make_tuple(5)))); in TEST()
119 EXPECT_THAT(t, Args<1>(Eq(make_tuple(true)))); in TEST()
120 EXPECT_THAT(t, Not(Args<1>(Eq(make_tuple(false))))); in TEST()
133 EXPECT_THAT(t, (Args<0, 0>(Eq()))); in TEST()
164 EXPECT_THAT(t, (Args<1, 2, 3>(Args<1, 2>(Eq())))); in TEST()
219 const Matcher<tuple<bool, int, int> > m = Args<1, 2>(Eq()); in TEST()
394 EXPECT_THAT(test_vector, ElementsAre(Eq(4))); in TEST()
417 EXPECT_THAT(test_vector, ElementsAre(1, Eq(2), _)); in TEST()
[all …]
Dgmock-matchers_test.cc91 using testing::Eq;
338 Matcher<bool> m1 = Eq(false); in TEST()
343 m1 = Eq(true); in TEST()
531 Matcher<int> m = MatcherCast<int>(Eq(5)); in TEST()
556 Matcher<double> m1 = Eq(2.0); in TEST()
572 Matcher<const int&> m1 = Eq(0); in TEST()
580 Matcher<int&> m1 = Eq(0); in TEST()
588 Matcher<int> m1 = Eq(0); in TEST()
596 Matcher<int> m1 = Eq(0); in TEST()
606 Matcher<int> m1 = Eq(0); in TEST()
[all …]
Dgmock_link_test.h140 using testing::Eq;
489 ON_CALL(mock, VoidFromString(Eq(p))).WillByDefault(Return()); in TEST()
607 Matcher<const FieldHelper&> m = Field(&FieldHelper::field_, Eq(0)); in TEST()
610 Matcher<const FieldHelper*> m2 = Field(&FieldHelper::field_, Eq(0)); in TEST()
618 Matcher<const FieldHelper&> m = Property(&FieldHelper::field, Eq(0)); in TEST()
621 Matcher<const FieldHelper*> m2 = Property(&FieldHelper::field, Eq(0)); in TEST()
627 Matcher<char*> m = ResultOf(&InvokeHelper::StaticIntFromString, Eq(1)); in TEST()
635 Matcher<int*> m = Pointee(Eq(1)); in TEST()
647 Matcher<int> m = AllOf(_, Eq(1)); in TEST()
653 Matcher<int> m = AnyOf(_, Eq(1)); in TEST()
Dgmock-internal-utils_test.cc298 tuple<Matcher<int> > matchers(Eq(1)); in TEST()
307 tuple<Matcher<int>, Matcher<char> > matchers(Eq(1), Eq('a')); in TEST()
322 matchers(Eq(1), Eq('a'), Eq(true), Eq(2L), Eq("hi")); in TEST()
638 EXPECT_THAT(v3, Eq(v3)); in TEST()
/external/v8/testing/gmock/src/
Dgmock-matchers.cc49 *this = Eq(s); in Matcher()
55 *this = Eq(internal::string(s)); in Matcher()
59 Matcher<internal::string>::Matcher(const internal::string& s) { *this = Eq(s); } in Matcher()
63 *this = Eq(internal::string(s)); in Matcher()
70 *this = Eq(s); in Matcher()
76 *this = Eq(internal::string(s)); in Matcher()
82 *this = Eq(s.ToString()); in Matcher()
87 *this = Eq(s); in Matcher()
92 *this = Eq(internal::string(s)); in Matcher()
97 *this = Eq(s.ToString()); in Matcher()
/external/googletest/googlemock/src/
Dgmock-matchers.cc49 *this = Eq(s); in Matcher()
55 *this = Eq(internal::string(s)); in Matcher()
59 Matcher<internal::string>::Matcher(const internal::string& s) { *this = Eq(s); } in Matcher()
63 *this = Eq(internal::string(s)); in Matcher()
70 *this = Eq(s); in Matcher()
76 *this = Eq(internal::string(s)); in Matcher()
82 *this = Eq(s.ToString()); in Matcher()
87 *this = Eq(s); in Matcher()
92 *this = Eq(internal::string(s)); in Matcher()
97 *this = Eq(s.ToString()); in Matcher()
/external/libchrome/base/
Dgmock_unittest.cc14 using testing::Eq;
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/google-breakpad/src/testing/src/
Dgmock-matchers.cc49 *this = Eq(s); in Matcher()
55 *this = Eq(internal::string(s)); in Matcher()
59 Matcher<internal::string>::Matcher(const internal::string& s) { *this = Eq(s); } in Matcher()
63 *this = Eq(internal::string(s)); in Matcher()
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/
Dinit.pass.cpp50 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
51 Eq eq = c.equal_range(1); in main()
104 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
105 Eq eq = c.equal_range(1); in main()
159 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
160 Eq eq = c.equal_range(1); in main()
215 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
216 Eq eq = c.equal_range(1); in main()
Dassign_move.pass.cpp65 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
66 Eq eq = c.equal_range(1); in main()
130 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
131 Eq eq = c.equal_range(1); in main()
195 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
196 Eq eq = c.equal_range(1); in main()
261 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
262 Eq eq = c.equal_range(1); in main()
Drange.pass.cpp54 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
55 Eq eq = c.equal_range(1); in main()
110 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
111 Eq eq = c.equal_range(1); in main()
167 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
168 Eq eq = c.equal_range(1); in main()
225 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
226 Eq eq = c.equal_range(1); in main()
Dmove_alloc.pass.cpp62 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
63 Eq eq = c.equal_range(1); in main()
126 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
127 Eq eq = c.equal_range(1); in main()
191 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
192 Eq eq = c.equal_range(1); in main()
255 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
256 Eq eq = c.equal_range(1); in main()
Drange_size_hash_equal_allocator.pass.cpp62 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
63 Eq eq = c.equal_range(1); in main()
123 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
124 Eq eq = c.equal_range(1); in main()
184 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
185 Eq eq = c.equal_range(1); in main()
Dinit_size_hash_equal_allocator.pass.cpp57 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
58 Eq eq = c.equal_range(1); in main()
116 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
117 Eq eq = c.equal_range(1); in main()
175 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main() typedef
176 Eq eq = c.equal_range(1); in main()
/external/google-breakpad/src/testing/test/
Dgmock-generated-matchers_test.cc64 using testing::Eq;
110 EXPECT_THAT(t, Args<>(Eq(tuple<>()))); in TEST()
116 EXPECT_THAT(t, Args<0>(Eq(make_tuple(5)))); in TEST()
117 EXPECT_THAT(t, Args<1>(Eq(make_tuple(true)))); in TEST()
118 EXPECT_THAT(t, Not(Args<1>(Eq(make_tuple(false))))); in TEST()
131 EXPECT_THAT(t, (Args<0, 0>(Eq()))); in TEST()
162 EXPECT_THAT(t, (Args<1, 2, 3>(Args<1, 2>(Eq())))); in TEST()
217 const Matcher<tuple<bool, int, int> > m = Args<1, 2>(Eq()); in TEST()
395 EXPECT_THAT(test_vector, ElementsAre(Eq(4))); in TEST()
418 EXPECT_THAT(test_vector, ElementsAre(1, Eq(2), _)); in TEST()
[all …]
Dgmock_link_test.h140 using testing::Eq;
489 ON_CALL(mock, VoidFromString(Eq(p))).WillByDefault(Return()); in TEST()
607 Matcher<const FieldHelper&> m = Field(&FieldHelper::field_, Eq(0)); in TEST()
610 Matcher<const FieldHelper*> m2 = Field(&FieldHelper::field_, Eq(0)); in TEST()
618 Matcher<const FieldHelper&> m = Property(&FieldHelper::field, Eq(0)); in TEST()
621 Matcher<const FieldHelper*> m2 = Property(&FieldHelper::field, Eq(0)); in TEST()
627 Matcher<char*> m = ResultOf(&InvokeHelper::StaticIntFromString, Eq(1)); in TEST()
635 Matcher<int*> m = Pointee(Eq(1)); in TEST()
647 Matcher<int> m = AllOf(_, Eq(1)); in TEST()
653 Matcher<int> m = AnyOf(_, Eq(1)); in TEST()
Dgmock-internal-utils_test.cc272 tuple<Matcher<int> > matchers(Eq(1)); in TEST()
281 tuple<Matcher<int>, Matcher<char> > matchers(Eq(1), Eq('a')); in TEST()
296 matchers(Eq(1), Eq('a'), Eq(true), Eq(2L), Eq("hi")); in TEST()
595 EXPECT_THAT(v3, Eq(v3)); in TEST()
Dgmock-matchers_test.cc84 using testing::Eq;
312 Matcher<bool> m1 = Eq(false); in TEST()
317 m1 = Eq(true); in TEST()
467 Matcher<int> m = MatcherCast<int>(Eq(5)); in TEST()
492 Matcher<double> m1 = Eq(2.0); in TEST()
508 Matcher<const int&> m1 = Eq(0); in TEST()
516 Matcher<int&> m1 = Eq(0); in TEST()
524 Matcher<int> m1 = Eq(0); in TEST()
532 Matcher<int> m1 = Eq(0); in TEST()
542 Matcher<int> m1 = Eq(0); in TEST()
[all …]
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/
Dinsert_init.pass.cpp44 typedef std::pair<C::iterator, C::iterator> Eq; in main() typedef
45 Eq eq = c.equal_range(1); in main()
91 typedef std::pair<C::iterator, C::iterator> Eq; in main() typedef
92 Eq eq = c.equal_range(1); in main()
Dinsert_range.pass.cpp44 typedef std::pair<C::iterator, C::iterator> Eq; in main() typedef
45 Eq eq = c.equal_range(1); in main()
91 typedef std::pair<C::iterator, C::iterator> Eq; in main() typedef
92 Eq eq = c.equal_range(1); in main()
/external/autotest/client/site_tests/security_Minijail0/src/
Dtest-usergroups13 if ! echo "$groups" | grep -Eq "\b$needgroup\b"; then
16 if echo "$groups" | grep -Eq "\b$neednogroup\b"; then

123456