/external/v8/test/unittests/compiler/ |
D | node-test-utils.h | 37 using ::testing::Matcher; 40 Matcher<Node*> IsDead(); 41 Matcher<Node*> IsEnd(const Matcher<Node*>& control0_matcher); 42 Matcher<Node*> IsEnd(const Matcher<Node*>& control0_matcher, 43 const Matcher<Node*>& control1_matcher); 44 Matcher<Node*> IsEnd(const Matcher<Node*>& control0_matcher, 45 const Matcher<Node*>& control1_matcher, 46 const Matcher<Node*>& control2_matcher); 47 Matcher<Node*> IsBranch(const Matcher<Node*>& value_matcher, 48 const Matcher<Node*>& control_matcher); [all …]
|
D | node-test-utils.cc | 36 const Matcher<T>& value_matcher, in PrintMatchAndExplain() 79 IsBranchMatcher(const Matcher<Node*>& value_matcher, in IsBranchMatcher() 80 const Matcher<Node*>& control_matcher) in IsBranchMatcher() 103 const Matcher<Node*> value_matcher_; 104 const Matcher<Node*> control_matcher_; 110 IsSwitchMatcher(const Matcher<Node*>& value_matcher, in IsSwitchMatcher() 111 const Matcher<Node*>& control_matcher) in IsSwitchMatcher() 134 const Matcher<Node*> value_matcher_; 135 const Matcher<Node*> control_matcher_; 141 IsIfValueMatcher(const Matcher<int32_t>& value_matcher, in IsIfValueMatcher() [all …]
|
D | interpreter-assembler-unittest.h | 18 using ::testing::Matcher; 32 Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher, 33 const Matcher<Node*>& base_matcher, 34 const Matcher<Node*>& index_matcher); 35 Matcher<Node*> IsStore(const Matcher<StoreRepresentation>& rep_matcher, 36 const Matcher<Node*>& base_matcher, 37 const Matcher<Node*>& index_matcher, 38 const Matcher<Node*>& value_matcher); 40 Matcher<Node*> IsBytecodeOperand(int offset); 41 Matcher<Node*> IsBytecodeOperandSignExtended(int offset); [all …]
|
D | interpreter-assembler-unittest.cc | 28 Matcher<Node*> IsIntPtrConstant(const intptr_t value) { in IsIntPtrConstant() 34 Matcher<Node*> IsIntPtrAdd(const Matcher<Node*>& lhs_matcher, in IsIntPtrAdd() 35 const Matcher<Node*>& rhs_matcher) { in IsIntPtrAdd() 41 Matcher<Node*> IsIntPtrSub(const Matcher<Node*>& lhs_matcher, in IsIntPtrSub() 42 const Matcher<Node*>& rhs_matcher) { in IsIntPtrSub() 48 Matcher<Node*> IsWordShl(const Matcher<Node*>& lhs_matcher, in IsWordShl() 49 const Matcher<Node*>& rhs_matcher) { in IsWordShl() 55 Matcher<Node*> IsWordSar(const Matcher<Node*>& lhs_matcher, in IsWordSar() 56 const Matcher<Node*>& rhs_matcher) { in IsWordSar() 62 Matcher<Node*> IsWordOr(const Matcher<Node*>& lhs_matcher, in IsWordOr() [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; 92 Matcher(KindTy K) : Kind(K) {} in Matcher() function 94 virtual ~Matcher() {} in ~Matcher() 98 Matcher *getNext() { return Next.get(); } in getNext() 99 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 | 26 static void ContractNodes(std::unique_ptr<Matcher> &MatcherPtr, in ContractNodes() 29 Matcher *N = MatcherPtr.get(); in ContractNodes() 35 std::unique_ptr<Matcher> Child(Scope->takeChild(i)); in ContractNodes() 45 Matcher *New = nullptr; in ContractNodes() 89 Matcher *EmitNode = MatcherPtr.release(); in ContractNodes() 90 Matcher *MFR = EmitNode->takeNext(); in ContractNodes() 91 Matcher *Tail = MFR->takeNext(); in ContractNodes() 168 Matcher *CheckType = MatcherPtr.release(); in ContractNodes() 169 Matcher *CheckOpcode = CheckType->takeNext(); in ContractNodes() 170 Matcher *Tail = CheckOpcode->takeNext(); in ContractNodes() [all …]
|
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/ |
D | javascripttokenizer.py | 31 Matcher = matcher.Matcher variable 277 Matcher(END_BLOCK_COMMENT, Type.END_DOC_COMMENT, 281 Matcher(DOC_INLINE_FLAG, Type.DOC_INLINE_FLAG), 282 Matcher(DOC_FLAG_LEX_SPACES, Type.DOC_FLAG, 286 Matcher(DOC_FLAG, Type.DOC_FLAG, JavaScriptModes.DOC_COMMENT_MODE), 289 Matcher(START_BLOCK, Type.DOC_START_BRACE), 290 Matcher(END_BLOCK, Type.DOC_END_BRACE), 293 Matcher(DOC_TYPE_BLOCK_START, Type.DOC_TYPE_START_BLOCK), 294 Matcher(DOC_TYPE_BLOCK_END, Type.DOC_TYPE_END_BLOCK), 296 Matcher(DOC_TYPE_MODIFIERS, Type.DOC_TYPE_MODIFIER), [all …]
|
/external/hamcrest/library/src/org/hamcrest/ |
D | Matchers.java | 13 public static <T> org.hamcrest.Matcher<T> is(org.hamcrest.Matcher<T> matcher) { in is() 23 public static <T> org.hamcrest.Matcher<T> is(T value) { in is() 33 public static org.hamcrest.Matcher<java.lang.Object> is(java.lang.Class<?> type) { in is() 40 public static <T> org.hamcrest.Matcher<T> not(org.hamcrest.Matcher<T> matcher) { in not() 50 public static <T> org.hamcrest.Matcher<T> not(T value) { in not() 58 public static <T> org.hamcrest.Matcher<T> equalTo(T operand) { in equalTo() 65 public static org.hamcrest.Matcher<java.lang.Object> instanceOf(java.lang.Class<?> type) { in instanceOf() 72 public static <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? extends T>... matchers) { in allOf() 79 …public static <T> org.hamcrest.Matcher<T> allOf(java.lang.Iterable<org.hamcrest.Matcher<? extends … in allOf() 86 public static <T> org.hamcrest.Matcher<T> anyOf(org.hamcrest.Matcher<? extends T>... matchers) { 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/src/org/hamcrest/ |
D | CoreMatchers.java | 13 public static <T> org.hamcrest.Matcher<T> is(org.hamcrest.Matcher<T> matcher) { in is() 23 public static <T> org.hamcrest.Matcher<T> is(T value) { in is() 33 public static org.hamcrest.Matcher<java.lang.Object> is(java.lang.Class<?> type) { in is() 40 public static <T> org.hamcrest.Matcher<T> not(org.hamcrest.Matcher<T> matcher) { in not() 50 public static <T> org.hamcrest.Matcher<T> not(T value) { in not() 58 public static <T> org.hamcrest.Matcher<T> equalTo(T operand) { in equalTo() 65 public static org.hamcrest.Matcher<java.lang.Object> instanceOf(java.lang.Class<?> type) { in instanceOf() 72 public static <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? extends T>... matchers) { in allOf() 79 …public static <T> org.hamcrest.Matcher<T> allOf(java.lang.Iterable<org.hamcrest.Matcher<? extends … in allOf() 86 public static <T> org.hamcrest.Matcher<T> anyOf(org.hamcrest.Matcher<? extends T>... matchers) { in anyOf() [all …]
|
/external/gmock/test/ |
D | gmock-matchers_test.cc | 106 using testing::Matcher; 184 Matcher<int> GreaterThan(int n) { in GreaterThan() 198 string Describe(const Matcher<T>& m) { in Describe() 206 string DescribeNegation(const Matcher<T>& m) { in DescribeNegation() 296 Matcher<int> m = MakeMatcher(new NewEvenMatcherImpl); in TEST() 305 Matcher<double> m; in TEST() 311 Matcher<int> m(impl); in TEST() 318 Matcher<int> m1 = 5; in TEST() 325 Matcher<int*> m1 = NULL; in TEST() 334 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/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/gmock/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/hamcrest/library/src/org/hamcrest/collection/ |
D | IsCollectionContaining.java | 5 import org.hamcrest.Matcher; 14 private final Matcher<? extends T> elementMatcher; 16 public IsCollectionContaining(Matcher<? extends T> elementMatcher) { in IsCollectionContaining() 36 public static <T> Matcher<Iterable<T>> hasItem(Matcher<? extends T> elementMatcher) { in hasItem() 41 public static <T> Matcher<Iterable<T>> hasItem(T element) { in hasItem() 46 public static <T> Matcher<Iterable<T>> hasItems(Matcher<? extends T>... elementMatchers) { in hasItems() 47 Collection<Matcher<? extends Iterable<T>>> all in hasItems() 48 = new ArrayList<Matcher<? extends Iterable<T>>>(elementMatchers.length); in hasItems() 49 for (Matcher<? extends T> elementMatcher : elementMatchers) { in hasItems() 56 public static <T> Matcher<Iterable<T>> hasItems(T... elements) { in hasItems() [all …]
|
D | IsMapContaining.java | 5 import org.hamcrest.Matcher; 16 private final Matcher<K> keyMatcher; 17 private final Matcher<V> valueMatcher; 19 public IsMapContaining(Matcher<K> keyMatcher, Matcher<V> valueMatcher) { in IsMapContaining() 42 public static <K,V> Matcher<Map<K,V>> hasEntry(Matcher<K> keyMatcher, Matcher<V> valueMatcher) { in hasEntry() 47 public static <K,V> Matcher<Map<K,V>> hasEntry(K key, V value) { in hasEntry() 52 public static <K,V> Matcher<Map<K,V>> hasKey(Matcher<K> keyMatcher) { in hasKey() 57 public static <K,V> Matcher<Map<K,V>> hasKey(K key) { in hasKey() 62 public static <K,V> Matcher<Map<K,V>> hasValue(Matcher<V> valueMatcher) { in hasValue() 67 public static <K,V> Matcher<Map<K,V>> hasValue(V value) { in hasValue()
|
/external/junit/src/org/junit/internal/matchers/ |
D | IsCollectionContaining.java | 11 import org.hamcrest.Matcher; 15 private final Matcher<? extends T> elementMatcher; 17 public IsCollectionContaining(Matcher<? extends T> elementMatcher) { in IsCollectionContaining() 38 public static <T> Matcher<Iterable<T>> hasItem(Matcher<? extends T> elementMatcher) { in hasItem() 43 public static <T> Matcher<Iterable<T>> hasItem(T element) { in hasItem() 48 public static <T> Matcher<Iterable<T>> hasItems(Matcher<? extends T>... elementMatchers) { in hasItems() 49 Collection<Matcher<? extends Iterable<T>>> all in hasItems() 50 = new ArrayList<Matcher<? extends Iterable<T>>>(elementMatchers.length); in hasItems() 51 for (Matcher<? extends T> elementMatcher : elementMatchers) { in hasItems() 58 public static <T> Matcher<Iterable<T>> hasItems(T... elements) { in hasItems() [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; 509 internal::Matcher<TemplateArgument>, InnerMatcher) { in AST_POLYMORPHIC_MATCHER_P() 542 internal::Matcher<Expr>, InnerMatcher) { in AST_MATCHER_P() 563 AST_MATCHER_P(Expr, ignoringParenCasts, internal::Matcher<Expr>, InnerMatcher) { in AST_MATCHER_P() [all …]
|
D | ASTMatchersInternal.h | 249 template <typename> class Matcher; variable 359 template <typename T> Matcher<T> convertTo() const { in convertTo() 368 template <typename T> Matcher<T> unconditionalConvertTo() const; 411 class Matcher { 414 explicit Matcher(MatcherInterface<T> *Implementation) in Matcher() function 421 Matcher(const Matcher<From> &Other, 433 Matcher(const Matcher<TypeT> &Other, 443 Matcher<To> dynCastTo() const { in dynCastTo() 445 return Matcher<To>(Implementation); in dynCastTo() 476 TypeToQualType(const Matcher<TypeT> &InnerMatcher) in TypeToQualType() [all …]
|
D | ASTMatchersMacros.h | 97 class matcher_##DefineMatcher##Matcher \ 100 explicit matcher_##DefineMatcher##Matcher() {} \ 107 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher() { \ 109 new internal::matcher_##DefineMatcher##Matcher()); \ 111 inline bool internal::matcher_##DefineMatcher##Matcher::matches( \ 135 class matcher_##DefineMatcher##OverloadId##Matcher \ 138 explicit matcher_##DefineMatcher##OverloadId##Matcher( \ 150 inline ::clang::ast_matchers::internal::Matcher<Type> DefineMatcher( \ 153 new internal::matcher_##DefineMatcher##OverloadId##Matcher(Param)); \ 155 typedef ::clang::ast_matchers::internal::Matcher<Type>( \ [all …]
|
/external/junit/src/org/junit/matchers/ |
D | JUnitMatchers.java | 3 import org.hamcrest.Matcher; 18 public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItem(T element) { in hasItem() 26 …public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItem(org.hamcrest.Matcher<? exten… in hasItem() 34 public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(T... elements) { in hasItems() 44 …public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(org.hamcrest.Matcher<? exte… in hasItems() 52 public static <T> Matcher<Iterable<T>> everyItem(final Matcher<T> elementMatcher) { in everyItem() 60 public static org.hamcrest.Matcher<java.lang.String> containsString(java.lang.String substring) { in containsString() 70 public static <T> CombinableMatcher<T> both(Matcher<T> matcher) { in both() 80 public static <T> CombinableMatcher<T> either(Matcher<T> matcher) { in either()
|
/external/guice/core/src/com/google/inject/matcher/ |
D | AbstractMatcher.java | 26 public abstract class AbstractMatcher<T> implements Matcher<T> { 28 public Matcher<T> and(final Matcher<? super T> other) { in and() 32 public Matcher<T> or(Matcher<? super T> other) { in or() 37 private final Matcher<? super T> a, b; 39 public AndMatcher(Matcher<? super T> a, Matcher<? super T> b) { in AndMatcher() 66 private final Matcher<? super T> a, b; 68 public OrMatcher(Matcher<? super T> a, Matcher<? super T> b) { in OrMatcher()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | VariantValue.cpp | 53 VariantMatcher::MatcherOps::canConstructFrom(const DynTypedMatcher &Matcher, in canConstructFrom() argument 55 IsExactMatch = Matcher.getSupportedKind().isSame(NodeKind); in canConstructFrom() 56 return Matcher.canConvertTo(NodeKind); in canConstructFrom() 82 SinglePayload(const DynTypedMatcher &Matcher) : Matcher(Matcher) {} in SinglePayload() argument 85 return Matcher; in getSingleMatcher() 89 return (Twine("Matcher<") + Matcher.getSupportedKind().asStringRef() + ">") in getTypeAsString() 96 if (Ops.canConstructFrom(Matcher, Ignore)) in getTypedMatcher() 97 return Matcher; in getTypedMatcher() 103 return ArgKind(Matcher.getSupportedKind()) in isConvertibleTo() 108 const DynTypedMatcher Matcher; member in clang::ast_matchers::dynamic::VariantMatcher::SinglePayload [all …]
|