/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Testing/Support/ |
D | Error.h | 35 explicit ValueMatchesMono(const testing::Matcher<T> &Matcher) in ValueMatchesMono() argument 36 : Matcher(Matcher) {} in ValueMatchesMono() 43 bool result = Matcher.MatchAndExplain(*Holder.Exp, listener); in MatchAndExplain() 48 Matcher.DescribeNegationTo(listener->stream()); in MatchAndExplain() 55 Matcher.DescribeTo(OS); in DescribeTo() 61 Matcher.DescribeNegationTo(OS); in DescribeNegationTo() 66 testing::Matcher<T> Matcher; 72 explicit ValueMatchesPoly(const M &Matcher) : Matcher(Matcher) {} in ValueMatchesPoly() argument 75 operator testing::Matcher<const ExpectedHolder<T> &>() const { 77 new ValueMatchesMono<T>(testing::SafeMatcherCast<T>(Matcher))); [all …]
|
/third_party/googletest/googletest/src/ |
D | gtest-matchers.cc | 45 Matcher<const std::string&>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::string 49 Matcher<const std::string&>::Matcher(const char* s) { in Matcher() function in testing::Matcher::string 55 Matcher<std::string>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::string 59 Matcher<std::string>::Matcher(const char* s) { *this = Eq(std::string(s)); } in Matcher() function in testing::Matcher::string 64 Matcher<const internal::StringView&>::Matcher(const std::string& s) { in Matcher() function in testing::Matcher::StringView 70 Matcher<const internal::StringView&>::Matcher(const char* s) { in Matcher() function in testing::Matcher::StringView 76 Matcher<const internal::StringView&>::Matcher(internal::StringView s) { in Matcher() function in testing::Matcher::StringView 82 Matcher<internal::StringView>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::StringView 86 Matcher<internal::StringView>::Matcher(const char* s) { in Matcher() function in testing::Matcher::StringView 92 Matcher<internal::StringView>::Matcher(internal::StringView s) { in Matcher() function in testing::Matcher::StringView
|
/third_party/mesa3d/src/gtest/src/ |
D | gtest-matchers.cc | 45 Matcher<const std::string&>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::string 49 Matcher<const std::string&>::Matcher(const char* s) { in Matcher() function in testing::Matcher::string 55 Matcher<std::string>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::string 59 Matcher<std::string>::Matcher(const char* s) { *this = Eq(std::string(s)); } in Matcher() function in testing::Matcher::string 64 Matcher<const absl::string_view&>::Matcher(const std::string& s) { in Matcher() function in testing::Matcher::string_view 70 Matcher<const absl::string_view&>::Matcher(const char* s) { in Matcher() function in testing::Matcher::string_view 76 Matcher<const absl::string_view&>::Matcher(absl::string_view s) { in Matcher() function in testing::Matcher::string_view 82 Matcher<absl::string_view>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::string_view 86 Matcher<absl::string_view>::Matcher(const char* s) { in Matcher() function in testing::Matcher::string_view 92 Matcher<absl::string_view>::Matcher(absl::string_view s) { in Matcher() function in testing::Matcher::string_view
|
/third_party/boost/boost/xpressive/detail/static/ |
D | static.hpp | 110 template<typename Matcher, typename Next> 112 : Matcher 116 BOOST_STATIC_CONSTANT(bool, pure = Matcher::pure && Next::pure); 120 Matcher::width != unknown_width::value && Next::width != unknown_width::value 121 ? Matcher::width + Next::width 125 static_xpression(Matcher const &matcher = Matcher(), Next const &next = Next()) in static_xpression() 126 : Matcher(matcher) in static_xpression() 136 return this->Matcher::match(state, this->next_); in match() 145 return this->Matcher::match(state, stacked_xpression_cast<Top>(this->next_)); in push_match() 160 linker.accept(*static_cast<Matcher const *>(this), &this->next_); in link() [all …]
|
D | visitor.hpp | 61 template<typename Matcher> 62 void visit_(Matcher const &) in visit_() 117 template<typename Matcher> 120 typedef typename transmogrify<BidiIter, ICase, Traits, Matcher>::type type; 123 template<typename Matcher> 124 typename apply<Matcher>::type 125 call(Matcher const &matcher) in call() 128 return transmogrify<BidiIter, ICase, Traits, Matcher>::call(matcher, *this); in call()
|
D | transmogrify.hpp | 38 …template<typename BidiIter, typename ICase, typename Traits, typename Matcher, typename EnableIf =… 46 is_char_literal<Matcher, char_type>::value 72 template<typename BidiIter, typename ICase, typename Traits, typename Matcher> 73 …struct default_transmogrify<BidiIter, ICase, Traits, Matcher, typename Matcher::is_boost_xpressive… 75 typedef Matcher type; 84 template<typename BidiIter, typename ICase, typename Traits, typename Matcher> 86 : default_transmogrify<BidiIter, ICase, Traits, Matcher>
|
/third_party/googletest/googlemock/test/ |
D | gmock-matchers_test.cc | 140 Matcher<int> GreaterThan(int n) { in GreaterThan() 154 std::string Describe(const Matcher<T>& m) { in Describe() 160 std::string DescribeNegation(const Matcher<T>& m) { in DescribeNegation() 250 Matcher<int> m = MakeMatcher(new NewEvenMatcherImpl); in TEST() 259 Matcher<double> m; in TEST() 265 Matcher<int> m(impl); in TEST() 272 Matcher<int> m1 = 5; in TEST() 279 Matcher<int*> m1 = nullptr; in TEST() 293 Matcher<int> m1 = Undefined::kInt; in TEST() 299 TEST(MatcherTest, CanAcceptAbstractClass) { Matcher<const Undefined&> m = _; } in TEST() [all …]
|
D | gmock-internal-utils_test.cc | 294 std::tuple<Matcher<int> > matchers(Eq(1)); in TEST() 302 std::tuple<Matcher<int>, Matcher<char> > matchers(Eq(1), Eq('a')); in TEST() 313 std::tuple<Matcher<int>, Matcher<char>, Matcher<bool>, in TEST() 314 Matcher<long>, // NOLINT in TEST() 315 Matcher<std::string> > in TEST() 670 std::is_same<std::tuple<Matcher<bool>>, F::ArgumentMatcherTuple>::value)); in TEST() 685 (std::is_same<std::tuple<Matcher<bool>, Matcher<const long&>>, // NOLINT in TEST() 707 std::tuple<Matcher<bool>, Matcher<int>, Matcher<char*>, Matcher<int&>, in TEST() 708 Matcher<const long&>>, // NOLINT in TEST()
|
D | gmock_link_test.h | 158 using testing::Matcher; 628 Matcher<const FieldHelper&> m = Field(&FieldHelper::field_, Eq(0)); in TEST() 631 Matcher<const FieldHelper*> m2 = Field(&FieldHelper::field_, Eq(0)); in TEST() 639 Matcher<const FieldHelper&> m = Property(&FieldHelper::field, Eq(0)); in TEST() 642 Matcher<const FieldHelper*> m2 = Property(&FieldHelper::field, Eq(0)); in TEST() 648 Matcher<char*> m = ResultOf(&InvokeHelper::StaticIntFromString, Eq(1)); in TEST() 656 Matcher<int*> m = Pointee(Eq(1)); in TEST() 662 Matcher<const char*> m = Truly(&InvokeHelper::StaticBoolFromString); in TEST() 668 Matcher<int> m = AllOf(_, Eq(1)); in TEST() 674 Matcher<int> m = AnyOf(_, Eq(1)); in TEST() [all …]
|
/third_party/mesa3d/src/gtest/include/gtest/ |
D | gtest-matchers.h | 325 class Matcher : public internal::MatcherBase<T> { 330 explicit Matcher() {} // NOLINT in Matcher() function 333 explicit Matcher(const MatcherInterface<const T&>* impl) in Matcher() function 337 explicit Matcher( 345 Matcher(T value); // NOLINT 352 class GTEST_API_ Matcher<const std::string&> 355 Matcher() {} in Matcher() function 357 explicit Matcher(const MatcherInterface<const std::string&>* impl) in Matcher() function 362 Matcher(const std::string& s); // NOLINT 365 Matcher(const char* s); // NOLINT [all …]
|
/third_party/boost/boost/xpressive/detail/dynamic/ |
D | dynamic.hpp | 65 template<typename Matcher, typename BidiIter> 67 : Matcher 72 dynamic_xpression(Matcher const &matcher = Matcher()) in dynamic_xpression() 73 : Matcher(matcher) in dynamic_xpression() 80 return this->Matcher::match(state, *this->next_.matchable()); in match() 85 linker.accept(*static_cast<Matcher const *>(this), this->next_.matchable().get()); in link() 91 this->peek_next_(peeker.accept(*static_cast<Matcher const *>(this)), peeker); in peek() 96 this->repeat_(spec, seq, quant_type<Matcher>(), is_same<Matcher, mark_begin_matcher>()); in repeat() 130 make_simple_repeat(spec, seq, matcher_wrapper<Matcher>(*this)); in repeat_() 160 template<typename BidiIter, typename Matcher> [all …]
|
D | sequence.hpp | 40 template<typename Matcher> 41 sequence(intrusive_ptr<dynamic_xpression<Matcher, BidiIter> > const &xpr) in sequence() 42 : pure_(Matcher::pure) in sequence() 43 , width_(xpr->Matcher::get_width()) in sequence() 44 , quant_(static_cast<quant_enum>(Matcher::quant)) in sequence()
|
/third_party/googletest/googletest/include/gtest/ |
D | gtest-matchers.h | 479 class Matcher : public internal::MatcherBase<T> { 484 explicit Matcher() {} // NOLINT 487 explicit Matcher(const MatcherInterface<const T&>* impl) 491 explicit Matcher( 499 Matcher(M&& m) : internal::MatcherBase<T>(std::forward<M>(m)) {} // NOLINT 503 Matcher(T value); // NOLINT 510 class GTEST_API_ Matcher<const std::string&> 513 Matcher() {} 515 explicit Matcher(const MatcherInterface<const std::string&>* impl) 520 Matcher(M&& m) // NOLINT [all …]
|
/third_party/boost/boost/xpressive/detail/static/transforms/ |
D | as_inverse.hpp | 76 template<typename This, typename Matcher> 77 struct result<This(Matcher)> 78 : inverter<UNCVREF(Matcher)> 81 template<typename Matcher> 82 typename inverter<Matcher>::type operator ()(Matcher const &matcher) const in operator ()() 84 return inverter<Matcher>::call(matcher); in operator ()()
|
/third_party/boost/boost/xpressive/detail/ |
D | detail_fwd.hpp | 155 template<typename Matcher, typename Traits, typename ICase> 200 template<typename BidiIter, typename Matcher> 201 sequence<BidiIter> make_dynamic(Matcher const &matcher); 229 template<typename Matcher> 257 template<typename Matcher, typename BidiIter> 266 template<typename Matcher, typename Next> 277 template<typename Matcher, typename Next = end_xpression> 345 template<typename Matcher> 346 static_xpression<Matcher> const 347 make_static(Matcher const &matcher); [all …]
|
/third_party/googletest/googlemock/include/gmock/ |
D | gmock-matchers.h | 336 static Matcher<T> Cast(const M& polymorphic_matcher_or_value) { in Cast() 351 std::is_convertible<M, Matcher<T>>{}, in Cast() 357 static Matcher<T> CastImpl(const M& polymorphic_matcher_or_value, in CastImpl() 374 static Matcher<T> CastImpl(const M& value, in CastImpl() 377 return Matcher<T>(ImplicitCast_<T>(value)); in CastImpl() 390 static Matcher<T> CastImpl(const M& value, 399 class MatcherCastImpl<T, Matcher<U> > { 401 static Matcher<T> Cast(const Matcher<U>& source_matcher) { in Cast() 402 return Matcher<T>(new Impl(source_matcher)); in Cast() 408 explicit Impl(const Matcher<U>& source_matcher) in Impl() [all …]
|
/third_party/googletest/googletest/include/gtest/internal/ |
D | gtest-death-test-internal.h | 83 static bool Create(const char* statement, Matcher<const std::string&> matcher, 150 Matcher<const std::string&> matcher, const char* file, in GTEST_DISABLE_MSC_WARNINGS_POP_() 157 bool Create(const char* statement, Matcher<const std::string&> matcher, 168 inline Matcher<const ::std::string&> MakeDeathTestMatcher( in MakeDeathTestMatcher() 172 inline Matcher<const ::std::string&> MakeDeathTestMatcher(const char* regex) { in MakeDeathTestMatcher() 175 inline Matcher<const ::std::string&> MakeDeathTestMatcher( in MakeDeathTestMatcher() 182 inline Matcher<const ::std::string&> MakeDeathTestMatcher( in MakeDeathTestMatcher() 183 Matcher<const ::std::string&> matcher) { in MakeDeathTestMatcher()
|
/third_party/mesa3d/src/gtest/include/gtest/internal/ |
D | gtest-death-test-internal.h | 83 static bool Create(const char* statement, Matcher<const std::string&> matcher, 150 Matcher<const std::string&> matcher, const char* file, in GTEST_DISABLE_MSC_WARNINGS_POP_() 157 bool Create(const char* statement, Matcher<const std::string&> matcher, 168 inline Matcher<const ::std::string&> MakeDeathTestMatcher( in MakeDeathTestMatcher() 172 inline Matcher<const ::std::string&> MakeDeathTestMatcher(const char* regex) { in MakeDeathTestMatcher() 175 inline Matcher<const ::std::string&> MakeDeathTestMatcher( in MakeDeathTestMatcher() 182 inline Matcher<const ::std::string&> MakeDeathTestMatcher( in MakeDeathTestMatcher() 183 Matcher<const ::std::string&> matcher) { in MakeDeathTestMatcher()
|
/third_party/flutter/flutter/packages/flutter_tools/test/src/ |
D | common.dart | 22 Matcher isInstanceOf<T>() => test_package.TypeMatcher<T>(); 87 /// Matcher for functions that throw [ToolExit]. 88 Matcher throwsToolExit({ int exitCode, Pattern message }) { 89 Matcher matcher = isToolExit; 97 /// Matcher for [ToolExit]s. 98 final Matcher isToolExit = isInstanceOf<ToolExit>(); 100 /// Matcher for functions that throw [ProcessExit]. 101 Matcher throwsProcessExit([ dynamic exitCode ]) { 107 /// Matcher for [ProcessExit]s. 108 final Matcher isProcessExit = isInstanceOf<ProcessExit>(); [all …]
|
/third_party/boost/boost/xpressive/detail/core/matcher/ |
D | attr_matcher.hpp | 72 template<typename Matcher, typename Traits, typename ICase> 76 typedef typename Matcher::value_type::second_type const* result_type; 78 attr_matcher(int slot, Matcher const &matcher, Traits const& tr) in attr_matcher() 106 boost::xpressive::detail::symbols<Matcher> sym_;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | SpecialCaseList.h | 119 class Matcher { 132 using SectionEntries = StringMap<StringMap<Matcher>>; 135 Section(std::unique_ptr<Matcher> M) : SectionMatcher(std::move(M)){}; in Section() 137 std::unique_ptr<Matcher> SectionMatcher;
|
/third_party/flutter/skia/src/core/ |
D | SkRecordPattern.h | 78 template <typename Matcher> 81 bool operator()(T* ptr) { return !Matcher()(ptr); } in operator() 98 template <typename Matcher> 101 bool operator()(T* ptr) { return Matcher()(ptr); }
|
/third_party/skia/src/core/ |
D | SkRecordPattern.h | 79 template <typename Matcher> 82 bool operator()(T* ptr) { return !Matcher()(ptr); } in operator() 99 template <typename Matcher> 102 bool operator()(T* ptr) { return Matcher()(ptr); }
|
/third_party/googletest/docs/reference/ |
D | matchers.md | 25 Matcher | Description 32 | Matcher | Description | 63 | Matcher | Description | 78 | Matcher | Description | 89 | Matcher | Description | 114 | Matcher | Description | 159 | Matcher | Description | 193 | Matcher | Description | 199 | Matcher | Description | 212 Matcher | Description [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | SpecialCaseList.cpp | 29 bool SpecialCaseList::Matcher::insert(std::string Regexp, in insert() 61 unsigned SpecialCaseList::Matcher::match(StringRef Query) const { in match() 180 std::unique_ptr<Matcher> M = std::make_unique<Matcher>(); in parse() 227 StringMap<Matcher>::const_iterator II = I->second.find(Category); in inSectionBlame()
|