/external/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 50 Matcher<const std::string&>::Matcher(const ::string& s) { in Matcher() function in testing::Matcher::string 57 Matcher<const std::string&>::Matcher(const char* s) { in Matcher() function in testing::Matcher::string 63 Matcher<std::string>::Matcher(const std::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::string 68 Matcher<std::string>::Matcher(const ::string& s) { in Matcher() function in testing::Matcher::string 75 Matcher<std::string>::Matcher(const char* s) { *this = Eq(std::string(s)); } in Matcher() function in testing::Matcher::string 80 Matcher<const ::string&>::Matcher(const std::string& s) { in Matcher() function in testing::Matcher::string 86 Matcher<const ::string&>::Matcher(const ::string& s) { *this = Eq(s); } in Matcher() function in testing::Matcher::string 90 Matcher<const ::string&>::Matcher(const char* s) { *this = Eq(::string(s)); } in Matcher() function in testing::Matcher::string 93 Matcher<::string>::Matcher(const std::string& s) { in Matcher() function in testing::Matcher::string [all …]
|
/external/llvm/utils/TableGen/ |
D | DAGISelMatcher.h | 22 class Matcher; variable 31 Matcher *ConvertPatternToMatcher(const PatternToMatch &Pattern,unsigned Variant, 33 void OptimizeMatcher(std::unique_ptr<Matcher> &Matcher, 35 void EmitMatcherTable(const Matcher *Matcher, const CodeGenDAGPatterns &CGP, 41 class Matcher { 44 std::unique_ptr<Matcher> Next; 91 Matcher(KindTy K) : Kind(K) {} in Matcher() function 93 virtual ~Matcher() {} in ~Matcher() 97 Matcher *getNext() { return Next.get(); } in getNext() 98 const Matcher *getNext() const { return Next.get(); } in getNext() [all …]
|
D | DAGISelMatcherEmitter.cpp | 59 unsigned EmitMatcherList(const Matcher *N, unsigned Indent, 64 void EmitHistogram(const Matcher *N, formatted_raw_ostream &OS); 66 unsigned EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx, 156 EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx, in EmitMatcher() 161 case Matcher::Scope: { in EmitMatcher() 223 case Matcher::RecordNode: in EmitMatcher() 232 case Matcher::RecordChild: in EmitMatcher() 242 case Matcher::RecordMemRef: in EmitMatcher() 246 case Matcher::CaptureGlueInput: in EmitMatcher() 250 case Matcher::MoveChild: { in EmitMatcher() [all …]
|
D | DAGISelMatcherOpt.cpp | 25 static void ContractNodes(std::unique_ptr<Matcher> &MatcherPtr, in ContractNodes() 28 Matcher *N = MatcherPtr.get(); in ContractNodes() 34 std::unique_ptr<Matcher> Child(Scope->takeChild(i)); in ContractNodes() 44 Matcher *New = nullptr; in ContractNodes() 149 Matcher *CheckType = MatcherPtr.release(); in ContractNodes() 150 Matcher *CheckOpcode = CheckType->takeNext(); in ContractNodes() 151 Matcher *Tail = CheckOpcode->takeNext(); in ContractNodes() 164 static Matcher *FindNodeWithKind(Matcher *M, Matcher::KindTy Kind) { in FindNodeWithKind() 184 static void FactorNodes(std::unique_ptr<Matcher> &MatcherPtr) { in FactorNodes() 186 Matcher *N = MatcherPtr.get(); in FactorNodes() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
D | DAGISelMatcher.h | 22 class Matcher; variable 31 Matcher *ConvertPatternToMatcher(const PatternToMatch &Pattern,unsigned Variant, 33 void OptimizeMatcher(std::unique_ptr<Matcher> &Matcher, 35 void EmitMatcherTable(const Matcher *Matcher, const CodeGenDAGPatterns &CGP, 41 class Matcher { 44 std::unique_ptr<Matcher> Next; 91 Matcher(KindTy K) : Kind(K) {} in Matcher() function 93 virtual ~Matcher() {} in ~Matcher() 97 Matcher *getNext() { return Next.get(); } in getNext() 98 const Matcher *getNext() const { return Next.get(); } in getNext() [all …]
|
D | DAGISelMatcherEmitter.cpp | 85 unsigned EmitMatcherList(const Matcher *N, unsigned Indent, 90 void EmitHistogram(const Matcher *N, raw_ostream &OS); 95 unsigned EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx, 271 EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx, in EmitMatcher() 276 case Matcher::Scope: { in EmitMatcher() 336 case Matcher::RecordNode: in EmitMatcher() 345 case Matcher::RecordChild: in EmitMatcher() 355 case Matcher::RecordMemRef: in EmitMatcher() 359 case Matcher::CaptureGlueInput: in EmitMatcher() 363 case Matcher::MoveChild: { in EmitMatcher() [all …]
|
D | DAGISelMatcherOpt.cpp | 25 static void ContractNodes(std::unique_ptr<Matcher> &MatcherPtr, in ContractNodes() 28 Matcher *N = MatcherPtr.get(); in ContractNodes() 34 std::unique_ptr<Matcher> Child(Scope->takeChild(i)); in ContractNodes() 44 Matcher *New = nullptr; in ContractNodes() 149 Matcher *CheckType = MatcherPtr.release(); in ContractNodes() 150 Matcher *CheckOpcode = CheckType->takeNext(); in ContractNodes() 151 Matcher *Tail = CheckOpcode->takeNext(); in ContractNodes() 164 static Matcher *FindNodeWithKind(Matcher *M, Matcher::KindTy Kind) { in FindNodeWithKind() 184 static void FactorNodes(std::unique_ptr<Matcher> &InputMatcherPtr) { in FactorNodes() 187 std::unique_ptr<Matcher> *RebindableMatcherPtr = &InputMatcherPtr; in FactorNodes() [all …]
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | DAGISelMatcher.h | 22 class Matcher; variable 31 Matcher *ConvertPatternToMatcher(const PatternToMatch &Pattern,unsigned Variant, 33 Matcher *OptimizeMatcher(Matcher *Matcher, const CodeGenDAGPatterns &CGP); 34 void EmitMatcherTable(const Matcher *Matcher, const CodeGenDAGPatterns &CGP, 40 class Matcher { 43 OwningPtr<Matcher> Next; 88 Matcher(KindTy K) : Kind(K) {} in Matcher() function 90 virtual ~Matcher() {} in ~Matcher() 94 Matcher *getNext() { return Next.get(); } in getNext() 95 const Matcher *getNext() const { return Next.get(); } in getNext() [all …]
|
D | DAGISelMatcherEmitter.cpp | 54 unsigned EmitMatcherList(const Matcher *N, unsigned Indent, 59 void EmitHistogram(const Matcher *N, formatted_raw_ostream &OS); 61 unsigned EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx, 138 EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx, in EmitMatcher() 143 case Matcher::Scope: { in EmitMatcher() 205 case Matcher::RecordNode: in EmitMatcher() 214 case Matcher::RecordChild: in EmitMatcher() 224 case Matcher::RecordMemRef: in EmitMatcher() 228 case Matcher::CaptureGlueInput: in EmitMatcher() 232 case Matcher::MoveChild: in EmitMatcher() [all …]
|
D | DAGISelMatcherOpt.cpp | 25 static void ContractNodes(OwningPtr<Matcher> &MatcherPtr, in ContractNodes() 28 Matcher *N = MatcherPtr.get(); in ContractNodes() 34 OwningPtr<Matcher> Child(Scope->takeChild(i)); in ContractNodes() 44 Matcher *New = 0; in ContractNodes() 80 Matcher *EmitNode = MatcherPtr.take(); in ContractNodes() 81 Matcher *MFR = EmitNode->takeNext(); in ContractNodes() 82 Matcher *Tail = MFR->takeNext(); in ContractNodes() 160 Matcher *CheckType = MatcherPtr.take(); in ContractNodes() 161 Matcher *CheckOpcode = CheckType->takeNext(); in ContractNodes() 162 Matcher *Tail = CheckOpcode->takeNext(); in ContractNodes() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Testing/Support/ |
D | Error.h | 36 explicit ValueMatchesMono(const testing::Matcher<T> &Matcher) in ValueMatchesMono() argument 37 : Matcher(Matcher) {} in ValueMatchesMono() 44 bool result = Matcher.MatchAndExplain(*Holder.Exp, listener); in MatchAndExplain() 49 Matcher.DescribeNegationTo(listener->stream()); in MatchAndExplain() 56 Matcher.DescribeTo(OS); in DescribeTo() 62 Matcher.DescribeNegationTo(OS); in DescribeNegationTo() 67 testing::Matcher<T> Matcher; 73 explicit ValueMatchesPoly(const M &Matcher) : Matcher(Matcher) {} in ValueMatchesPoly() argument 76 operator testing::Matcher<const ExpectedHolder<T> &>() const { 78 new ValueMatchesMono<T>(testing::SafeMatcherCast<T>(Matcher))); [all …]
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/ |
D | Matchers.java | 10 …public static <T> org.hamcrest.Matcher<T> allOf(java.lang.Iterable<org.hamcrest.Matcher<? super T>… in allOf() 19 public static <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T>... matchers) { in allOf() 28 …public static <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T> first, org.hamcres… in allOf() 37 … <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T> first, org.hamcrest.Matcher<? s… in allOf() 46 …Matcher<T> allOf(org.hamcrest.Matcher<? super T> first, org.hamcrest.Matcher<? super T> second, or… in allOf() 55 …Matcher<T> allOf(org.hamcrest.Matcher<? super T> first, org.hamcrest.Matcher<? super T> second, or… in allOf() 64 …Matcher<T> allOf(org.hamcrest.Matcher<? super T> first, org.hamcrest.Matcher<? super T> second, or… in allOf() 73 …public static <T> org.hamcrest.core.AnyOf<T> anyOf(java.lang.Iterable<org.hamcrest.Matcher<? super… in anyOf() 82 public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<? super T>... matchers) { in anyOf() 91 …static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<T> first, org.hamcrest.Matcher<? … in anyOf() [all …]
|
/external/google-breakpad/src/testing/test/ |
D | gmock-matchers_test.cc | 98 using testing::Matcher; 168 Matcher<int> GreaterThan(int n) { in GreaterThan() 182 string Describe(const Matcher<T>& m) { in Describe() 190 string DescribeNegation(const Matcher<T>& m) { in DescribeNegation() 274 Matcher<int> m = MakeMatcher(new NewEvenMatcherImpl); in TEST() 283 Matcher<double> m; in TEST() 289 Matcher<int> m(impl); in TEST() 296 Matcher<int> m1 = 5; in TEST() 303 Matcher<int*> m1 = NULL; in TEST() 312 Matcher<bool> m1 = Eq(false); in TEST() [all …]
|
D | gmock-generated-internal-utils_test.cc | 43 using ::testing::Matcher; 56 CompileAssertTypesEqual<tuple<Matcher<int> >, in TEST() 61 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char> >, in TEST() 66 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char>, Matcher<bool>, in TEST() 67 Matcher<double>, Matcher<char*> >, in TEST() 88 CompileAssertTypesEqual<tuple<Matcher<bool> >, F::ArgumentMatcherTuple>(); in TEST() 100 CompileAssertTypesEqual<tuple<Matcher<bool>, Matcher<const long&> >, // NOLINT in TEST() 117 CompileAssertTypesEqual<tuple<Matcher<bool>, Matcher<int>, Matcher<char*>, in TEST() 118 Matcher<int&>, Matcher<const long&> >, // NOLINT in TEST()
|
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/ |
D | CoreMatchers.java | 11 …public static <T> org.hamcrest.Matcher<T> allOf(java.lang.Iterable<org.hamcrest.Matcher<? super T>… in allOf() 21 public static <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T>... matchers) { in allOf() 31 …public static <T> org.hamcrest.core.AnyOf<T> anyOf(java.lang.Iterable<org.hamcrest.Matcher<? super… in anyOf() 41 public static <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<? super T>... matchers) { in anyOf() 50 …rest.core.CombinableMatcher.CombinableBothMatcher<LHS> both(org.hamcrest.Matcher<? super LHS> matc… in both() 59 ….core.CombinableMatcher.CombinableEitherMatcher<LHS> either(org.hamcrest.Matcher<? super LHS> matc… in either() 76 …public static <T> org.hamcrest.Matcher<T> describedAs(java.lang.String description, org.hamcrest.M… in describedAs() 90 …public static <U> org.hamcrest.Matcher<java.lang.Iterable<? extends U>> everyItem(org.hamcrest.Mat… in everyItem() 102 public static <T> org.hamcrest.Matcher<T> is(org.hamcrest.Matcher<T> matcher) { in is() 113 public static <T> org.hamcrest.Matcher<T> is(T value) { in is() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/internal/ |
D | gmock-generated-internal-utils.h | 49 class Matcher; variable 78 typedef ::testing::tuple<Matcher<A1> > type; 83 typedef ::testing::tuple<Matcher<A1>, Matcher<A2> > type; 88 typedef ::testing::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3> > type; 93 typedef ::testing::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>, 94 Matcher<A4> > type; 99 typedef ::testing::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>, Matcher<A4>, 100 Matcher<A5> > type; 106 typedef ::testing::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>, Matcher<A4>, 107 Matcher<A5>, Matcher<A6> > type; [all …]
|
/external/google-breakpad/src/testing/include/gmock/internal/ |
D | gmock-generated-internal-utils.h | 49 class Matcher; variable 78 typedef ::std::tr1::tuple<Matcher<A1> > type; 83 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2> > type; 88 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3> > type; 93 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>, 94 Matcher<A4> > type; 99 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>, Matcher<A4>, 100 Matcher<A5> > type; 106 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2>, Matcher<A3>, Matcher<A4>, 107 Matcher<A5>, Matcher<A6> > type; [all …]
|
/external/junit/src/main/java/org/junit/matchers/ |
D | JUnitMatchers.java | 4 import org.hamcrest.Matcher; 21 public static <T> Matcher<Iterable<? super T>> hasItem(T element) { in hasItem() 30 public static <T> Matcher<Iterable<? super T>> hasItem(Matcher<? super T> elementMatcher) { in hasItem() 39 public static <T> Matcher<Iterable<T>> hasItems(T... elements) { in hasItems() 50 public static <T> Matcher<Iterable<T>> hasItems(Matcher<? super T>... elementMatchers) { in hasItems() 59 public static <T> Matcher<Iterable<T>> everyItem(final Matcher<T> elementMatcher) { in everyItem() 60 return CoreMatchers.everyItem((Matcher) elementMatcher); in everyItem() 68 public static Matcher<java.lang.String> containsString(java.lang.String substring) { in containsString() 81 public static <T> CombinableBothMatcher<T> both(Matcher<? super T> matcher) { in both() 94 public static <T> CombinableEitherMatcher<T> either(Matcher<? super T> matcher) { in either() [all …]
|
/external/googletest/googlemock/test/ |
D | gmock-matchers_test.cc | 134 Matcher<int> GreaterThan(int n) { in GreaterThan() 148 std::string Describe(const Matcher<T>& m) { in Describe() 154 std::string DescribeNegation(const Matcher<T>& m) { in DescribeNegation() 244 Matcher<int> m = MakeMatcher(new NewEvenMatcherImpl); in TEST() 253 Matcher<double> m; in TEST() 259 Matcher<int> m(impl); in TEST() 266 Matcher<int> m1 = 5; in TEST() 273 Matcher<int*> m1 = nullptr; in TEST() 287 Matcher<int> m1 = Undefined::kInt; in TEST() 293 TEST(MatcherTest, CanAcceptAbstractClass) { Matcher<const Undefined&> m = _; } in TEST() [all …]
|
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/ |
D | CombinableMatcher.java | 4 import org.hamcrest.Matcher; 10 private final Matcher<? super T> matcher; 12 public CombinableMatcher(Matcher<? super T> matcher) { in CombinableMatcher() 30 public CombinableMatcher<T> and(Matcher<? super T> other) { in and() 34 public CombinableMatcher<T> or(Matcher<? super T> other) { in or() 38 private ArrayList<Matcher<? super T>> templatedListWith(Matcher<? super T> other) { in templatedListWith() 39 ArrayList<Matcher<? super T>> matchers = new ArrayList<Matcher<? super T>>(); in templatedListWith() 50 public static <LHS> CombinableBothMatcher<LHS> both(Matcher<? super LHS> matcher) { in both() 55 private final Matcher<? super X> first; 56 public CombinableBothMatcher(Matcher<? super X> matcher) { in CombinableBothMatcher() [all …]
|
/external/googletest/googletest/include/gtest/ |
D | gtest-matchers.h | 317 class Matcher : public internal::MatcherBase<T> { 322 explicit Matcher() {} // NOLINT in Matcher() function 325 explicit Matcher(const MatcherInterface<const T&>* impl) in Matcher() function 329 explicit Matcher(const MatcherInterface<U>* impl, 336 Matcher(T value); // NOLINT 343 class GTEST_API_ Matcher<const std::string&> 346 Matcher() {} in Matcher() function 348 explicit Matcher(const MatcherInterface<const std::string&>* impl) in Matcher() function 353 Matcher(const std::string& s); // NOLINT 358 Matcher(const ::string& s); // NOLINT [all …]
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/ |
D | IsIterableContainingInOrder.java | 4 import org.hamcrest.Matcher; 15 private final List<Matcher<? super E>> matchers; 17 public IsIterableContainingInOrder(List<Matcher<? super E>> matchers) { in IsIterableContainingInOrder() 39 private final List<Matcher<? super F>> matchers; 43 public MatchSeries(List<Matcher<? super F>> matchers, Description mismatchDescription) { in MatchSeries() 69 final Matcher<? super F> matcher = matchers.get(nextMatchIx); in isMatched() 78 private void describeMismatch(Matcher<? super F> matcher, F item) { in describeMismatch() 95 public static <E> Matcher<Iterable<? extends E>> contains(E... items) { in contains() 96 List<Matcher<? super E>> matchers = new ArrayList<Matcher<? super E>>(); in contains() 116 … public static <E> Matcher<Iterable<? extends E>> contains(final Matcher<? super E> itemMatcher) { in contains() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_matchers.h | 30 std::vector<::testing::Matcher<const HloInstruction*>> operands) in HloMatcher() 40 std::vector<::testing::Matcher<const HloInstruction*>> operands_; 62 std::vector<::testing::Matcher<const HloInstruction*>> operands) in HloComparisonMatcher() 76 HloGetTupleElementMatcher(::testing::Matcher<const HloInstruction*> operand, in HloGetTupleElementMatcher() 93 ::testing::Matcher<string> call_target_matcher, in HloCustomCallMatcher() 94 std::vector<::testing::Matcher<const HloInstruction*>> operands) in HloCustomCallMatcher() 103 ::testing::Matcher<string> call_target_matcher_; 154 ::testing::Matcher<const HloInstruction*> lhs, in HloDotWithContractingDimsMatcher() 155 ::testing::Matcher<const HloInstruction*> rhs, int64 lhs_contracting_dim, in HloDotWithContractingDimsMatcher() 177 ::testing::Matcher<const ::xla::HloInstruction*> opcode(M... operands) { \ [all …]
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/io/ |
D | FileMatchers.java | 5 import org.hamcrest.Matcher; 15 public static Matcher<File> anExistingDirectory() { in anExistingDirectory() 19 public static Matcher<File> anExistingFileOrDirectory() { in anExistingFileOrDirectory() 23 public static Matcher<File> anExistingFile() { in anExistingFile() 27 public static Matcher<File> aReadableFile() { in aReadableFile() 31 public static Matcher<File> aWritableFile() { in aWritableFile() 35 public static Matcher<File> aFileWithSize(long size) { in aFileWithSize() 39 public static Matcher<File> aFileWithSize(final Matcher<Long> expected) { in aFileWithSize() 45 public static Matcher<File> aFileNamed(final Matcher<String> expected) { 51 public static Matcher<File> aFileWithCanonicalPath(final Matcher<String> expected) { [all …]
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 115 internal::Matcher<T> id(StringRef ID, in id() 123 typedef internal::Matcher<Decl> DeclarationMatcher; 124 typedef internal::Matcher<Stmt> StatementMatcher; 125 typedef internal::Matcher<QualType> TypeMatcher; 126 typedef internal::Matcher<TypeLoc> TypeLocMatcher; 127 typedef internal::Matcher<NestedNameSpecifier> NestedNameSpecifierMatcher; 128 typedef internal::Matcher<NestedNameSpecifierLoc> NestedNameSpecifierLocMatcher; 576 internal::Matcher<TemplateArgument>, InnerMatcher) { in AST_POLYMORPHIC_MATCHER_P() 604 AST_MATCHER_P(Expr, ignoringImplicit, ast_matchers::internal::Matcher<Expr>, in AST_MATCHER_P() 635 internal::Matcher<Expr>, InnerMatcher) { in AST_MATCHER_P() [all …]
|