Home
last modified time | relevance | path

Searched refs:MatcherCast (Results 1 – 11 of 11) sorted by relevance

/external/google-breakpad/src/testing/include/gmock/
Dgmock-generated-matchers.h328 MatcherCast<const Element&>(e1_);
350 MatcherCast<const Element&>(e1_),
351 MatcherCast<const Element&>(e2_),
377 MatcherCast<const Element&>(e1_),
378 MatcherCast<const Element&>(e2_),
379 MatcherCast<const Element&>(e3_),
406 MatcherCast<const Element&>(e1_),
407 MatcherCast<const Element&>(e2_),
408 MatcherCast<const Element&>(e3_),
409 MatcherCast<const Element&>(e4_),
[all …]
Dgmock-matchers.h497 inline Matcher<T> MatcherCast(M matcher) { in MatcherCast() function
547 return MatcherCast<T>(matcher); in Cast()
1495 return MatcherCast<const T&>(matcher_).Matches(x); in operator()
1525 const Matcher<const T&> matcher = MatcherCast<const T&>(matcher_); in operator()
1682 : matcher_(MatcherCast<const Pointee&>(matcher)) {} in Impl()
2534 matchers_.push_back(MatcherCast<const Element&>(*it));
2818 field, MatcherCast<const FieldType&>(matcher)));
2836 MatcherCast<GTEST_REFERENCE_TO_CONST_(PropertyType)>(matcher)));
2861 MatcherCast<typename internal::CallableTraits<Callable>::ResultType>(
Dgmock-generated-matchers.h.pump216 MatcherCast<const Element&>(e1_);
223 MatcherCast<const Element&>(e$j[[]]_),
/external/googletest/googlemock/include/gmock/
Dgmock-matchers.h243 inline Matcher<T> MatcherCast(const M& matcher) { in MatcherCast() function
290 return MatcherCast<T>(matcher); in Cast()
1194 matchers.push_back(MatcherCast<RawU>(matcher));
1279 return MatcherCast<const T&>(matcher_).Matches(x);
1612 : matcher_(MatcherCast<const Pointee&>(matcher)) {}
1904 : callable_(callable), matcher_(MatcherCast<ResultType>(matcher)) {}
1963 : size_matcher_(MatcherCast<SizeType>(size_matcher)) {}
2017 : distance_matcher_(MatcherCast<DistanceType>(distance_matcher)) {}
2703 matchers_.push_back(MatcherCast<const Element&>(*first++));
2958 matchers_.push_back(MatcherCast<const Element&>(*first));
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-matchers.h610 inline Matcher<T> MatcherCast(const M& matcher) { in MatcherCast() function
660 return MatcherCast<T>(matcher); in Cast()
1822 return MatcherCast<const T&>(matcher_).Matches(x);
2069 : matcher_(MatcherCast<const Pointee&>(matcher)) {}
2417 : size_matcher_(MatcherCast<SizeType>(size_matcher)) {}
2474 : distance_matcher_(MatcherCast<DistanceType>(distance_matcher)) {}
3127 matchers_.push_back(MatcherCast<const Element&>(*first++));
3369 matchers_.push_back(MatcherCast<const Element&>(*first));
3453 return MatcherCast<Target>(a);
3916 field, MatcherCast<const FieldType&>(matcher)));
[all …]
/external/googletest/googlemock/test/
Dgmock_link_test.h159 using testing::MatcherCast;
686 Matcher<const char*> m = MatcherCast<const char*>(_); in TEST()
Dgmock-matchers_test.cc571 Matcher<int> m = MatcherCast<int>(Eq(5)); in TEST()
597 Matcher<int> m2 = MatcherCast<int>(m1); in TEST()
602 Matcher<int> m4 = MatcherCast<int>(m3); in TEST()
613 Matcher<int> m2 = MatcherCast<int>(m1); in TEST()
621 Matcher<int> m2 = MatcherCast<int>(m1); in TEST()
629 Matcher<const int&> m2 = MatcherCast<const int&>(m1); in TEST()
637 Matcher<int&> m2 = MatcherCast<int&>(m1); in TEST()
647 Matcher<int> m2 = MatcherCast<int>(m1); in TEST()
655 Matcher<int> m = MatcherCast<int>(42); in TEST()
664 Matcher<int> m = MatcherCast<int>('c'); in TEST()
[all …]
/external/google-breakpad/src/testing/test/
Dgmock_link_test.h154 using testing::MatcherCast;
665 Matcher<const char*> m = MatcherCast<const char*>(_); in TEST()
Dgmock-matchers_test.cc99 using testing::MatcherCast;
467 Matcher<int> m = MatcherCast<int>(Eq(5)); in TEST()
493 Matcher<int> m2 = MatcherCast<int>(m1); in TEST()
498 Matcher<int> m4 = MatcherCast<int>(m3); in TEST()
509 Matcher<int> m2 = MatcherCast<int>(m1); in TEST()
517 Matcher<int> m2 = MatcherCast<int>(m1); in TEST()
525 Matcher<const int&> m2 = MatcherCast<const int&>(m1); in TEST()
533 Matcher<int&> m2 = MatcherCast<int&>(m1); in TEST()
543 Matcher<int> m2 = MatcherCast<int>(m1); in TEST()
567 Matcher<ConvertibleFromAny> m = MatcherCast<ConvertibleFromAny>(1); in TEST()
[all …]
/external/googletest/googlemock/docs/
DCheatSheet.md340 |`MatcherCast<T>(m)`|casts matcher `m` to type `Matcher<T>`.|
DCookBook.md732 function `MatcherCast<T>(m)`. The difference is that `MatcherCast` works
735 `MatcherCast` essentially lets you bypass C++'s type system