Searched refs:Matcher (Results 1 - 25 of 191) sorted by relevance

12345678

/external/chromium_org/v8/src/compiler/
H A Dgraph-unittest.h24 using ::testing::Matcher;
43 Matcher<Node*> IsFalseConstant();
44 Matcher<Node*> IsTrueConstant();
55 Matcher<Node*> IsBranch(const Matcher<Node*>& value_matcher,
56 const Matcher<Node*>& control_matcher);
57 Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher,
58 const Matcher<Node*>& control1_matcher);
59 Matcher<Nod
[all...]
H A Dgraph-unittest.cc89 Matcher<Node*> GraphTest::IsFalseConstant() {
95 Matcher<Node*> GraphTest::IsTrueConstant() {
104 const Matcher<T>& value_matcher,
147 IsBranchMatcher(const Matcher<Node*>& value_matcher,
148 const Matcher<Node*>& control_matcher)
172 const Matcher<Node*> value_matcher_;
173 const Matcher<Node*> control_matcher_;
179 IsMergeMatcher(const Matcher<Node*>& control0_matcher,
180 const Matcher<Node*>& control1_matcher)
204 const Matcher<Nod
[all...]
/external/hamcrest/src/org/hamcrest/core/
H A DAllOf.java4 import org.hamcrest.Matcher;
16 private final Iterable<Matcher<? extends T>> matchers;
18 public AllOf(Iterable<Matcher<? extends T>> matchers) {
23 for (Matcher<? extends T> matcher : matchers) {
39 public static <T> Matcher<T> allOf(Matcher<? extends T>... matchers) {
47 public static <T> Matcher<T> allOf(Iterable<Matcher<? extends T>> matchers) {
H A DAnyOf.java4 import org.hamcrest.Matcher;
17 private final Iterable<Matcher<? extends T>> matchers;
19 public AnyOf(Iterable<Matcher<? extends T>> matchers) {
24 for (Matcher<? extends T> matcher : matchers) {
40 public static <T> Matcher<T> anyOf(Matcher<? extends T>... matchers) {
48 public static <T> Matcher<T> anyOf(Iterable<Matcher<? extends T>> matchers) {
H A DIs.java6 import org.hamcrest.Matcher;
11 * Decorates another Matcher, retaining the behavior but allowing tests
19 private final Matcher<T> matcher;
21 public Is(Matcher<T> matcher) {
34 * Decorates another Matcher, retaining the behavior but allowing tests
41 public static <T> Matcher<T> is(Matcher<T> matcher) {
52 public static <T> Matcher<T> is(T value) {
63 public static Matcher<Object> is(Class<?> type) {
H A DIsNot.java7 import org.hamcrest.Matcher;
16 private final Matcher<T> matcher;
18 public IsNot(Matcher<T> matcher) {
34 public static <T> Matcher<T> not(Matcher<T> matcher) {
45 public static <T> Matcher<T> not(T value) {
/external/mockito/src/org/mockito/internal/matchers/
H A DMatcherDecorator.java9 import org.hamcrest.Matcher;
13 Matcher getActualMatcher();
/external/chromium_org/components/invalidation/
H A Dobject_id_invalidation_map_test_util.h15 ::testing::Matcher<const ObjectIdInvalidationMap&> Eq(
H A Dunacked_invalidation_set_test_util.h20 ::testing::Matcher<const UnackedInvalidationSet&> Eq(
23 ::testing::Matcher<const UnackedInvalidationsMap&> Eq(
/external/hamcrest/src/org/hamcrest/
H A DMatcher.java9 * Matcher implementations should <b>NOT directly implement this interface</b>.
11 * which will ensure that the Matcher API can grow to support
12 * new features and remain compatible with all Matcher implementations.
14 * For easy access to common Matcher implementations, use the static factory
21 public interface Matcher<T> extends SelfDescribing { interface in inherits:SelfDescribing
27 * because the caller of the Matcher does not know at runtime what the type is
39 * This method simply acts a friendly reminder not to implement Matcher directly and
43 * @see Matcher for reasons why.
H A DBaseMatcher.java6 * BaseClass for all Matcher implementations.
8 * @see Matcher
10 public abstract class BaseMatcher<T> implements Matcher<T> {
13 * @see Matcher#_dont_implement_Matcher___instead_extend_BaseMatcher_()
16 // See Matcher interface for an explanation of this method.
/external/hamcrest/library/src/org/hamcrest/object/
H A DHasToString.java4 import org.hamcrest.Matcher;
10 private final Matcher<String> toStringMatcher;
12 public HasToString(Matcher<String> toStringMatcher) {
28 public static <T> Matcher<T> hasToString(Matcher<String> toStringMatcher) {
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
H A Djavascripttokenizer.py31 Matcher = matcher.Matcher variable
197 Matcher(END_BLOCK_COMMENT, Type.END_DOC_COMMENT,
201 Matcher(DOC_INLINE_FLAG, Type.DOC_INLINE_FLAG),
202 Matcher(DOC_FLAG_LEX_SPACES, Type.DOC_FLAG,
206 Matcher(DOC_FLAG, Type.DOC_FLAG, JavaScriptModes.DOC_COMMENT_MODE),
209 Matcher(START_BLOCK, Type.DOC_START_BRACE),
210 Matcher(END_BLOCK, Type.DOC_END_BRACE),
211 Matcher(DOC_PREFIX, Type.DOC_PREFIX, None, True)]
214 # The token matcher groups work as follows: it is an list of Matcher object
[all...]
/external/hamcrest/library/src/org/hamcrest/collection/
H A DIsCollectionContaining.java5 import org.hamcrest.Matcher;
14 private final Matcher<? extends T> elementMatcher;
16 public IsCollectionContaining(Matcher<? extends T> elementMatcher) {
36 public static <T> Matcher<Iterable<T>> hasItem(Matcher<? extends T> elementMatcher) {
41 public static <T> Matcher<Iterable<T>> hasItem(T element) {
46 public static <T> Matcher<Iterable<T>> hasItems(Matcher<? extends T>... elementMatchers) {
47 Collection<Matcher<? extends Iterable<T>>> all
48 = new ArrayList<Matcher<
[all...]
H A DIsArrayContaining.java4 import org.hamcrest.Matcher;
11 private final Matcher<T> elementMatcher;
13 public IsArrayContaining(Matcher<T> elementMatcher) {
33 public static <T> Matcher<T[]> hasItemInArray(Matcher<T> elementMatcher) {
38 public static <T> Matcher<T[]> hasItemInArray(T element) {
H A DIsMapContaining.java5 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) {
42 public static <K,V> Matcher<Map<K,V>> hasEntry(Matcher<K> keyMatcher, Matcher<V> valueMatcher) {
47 public static <K,V> Matcher<Map<K,V>> hasEntry(K key, V value) {
52 public static <K,V> Matcher<Ma
[all...]
/external/junit/src/org/junit/internal/matchers/
H A DIsCollectionContaining.java11 import org.hamcrest.Matcher;
15 private final Matcher<? extends T> elementMatcher;
17 public IsCollectionContaining(Matcher<? extends T> elementMatcher) {
38 public static <T> Matcher<Iterable<T>> hasItem(Matcher<? extends T> elementMatcher) {
43 public static <T> Matcher<Iterable<T>> hasItem(T element) {
48 public static <T> Matcher<Iterable<T>> hasItems(Matcher<? extends T>... elementMatchers) {
49 Collection<Matcher<? extends Iterable<T>>> all
50 = new ArrayList<Matcher<
[all...]
/external/hamcrest/library/src/org/hamcrest/
H A DMatchers.java7 * Decorates another Matcher, retaining the behavior but allowing tests
13 public static <T> org.hamcrest.Matcher<T> is(org.hamcrest.Matcher<T> matcher) {
23 public static <T> org.hamcrest.Matcher<T> is(T value) {
33 public static org.hamcrest.Matcher<java.lang.Object> is(java.lang.Class<?> type) {
40 public static <T> org.hamcrest.Matcher<T> not(org.hamcrest.Matcher<T> matcher) {
50 public static <T> org.hamcrest.Matcher<T> not(T value) {
58 public static <T> org.hamcrest.Matcher<T> equalTo(T operand) {
65 public static org.hamcrest.Matcher<jav
[all...]
/external/junit/src/org/junit/matchers/
H A DJUnitMatchers.java3 import org.hamcrest.Matcher;
18 public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItem(T element) {
26 public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItem(org.hamcrest.Matcher<? extends T> elementMatcher) {
34 public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(T... elements) {
44 public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(org.hamcrest.Matcher<? extends T>... elementMatchers) {
52 public static <T> Matcher<Iterable<T>> everyItem(final Matcher<T> elementMatcher) {
60 public static org.hamcrest.Matcher<jav
[all...]
/external/llvm/utils/TableGen/
H A DDAGISelMatcher.h22 class Matcher;
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,
38 /// Matcher - Base class for all the DAG ISel Matcher representation
40 class Matcher { class in namespace:llvm
91 Matcher(KindTy K) : Kind(K) {} function in class:llvm::Matcher
[all...]
/external/chromium_org/third_party/closure_linter/closure_linter/
H A Djavascripttokenizer.py31 Matcher = matcher.Matcher variable
193 Matcher(END_BLOCK_COMMENT, Type.END_DOC_COMMENT,
197 Matcher(DOC_INLINE_FLAG, Type.DOC_INLINE_FLAG),
198 Matcher(DOC_FLAG_LEX_SPACES, Type.DOC_FLAG,
202 Matcher(DOC_FLAG, Type.DOC_FLAG, JavaScriptModes.DOC_COMMENT_MODE),
205 Matcher(START_BLOCK, Type.DOC_START_BRACE),
206 Matcher(END_BLOCK, Type.DOC_END_BRACE),
207 Matcher(DOC_PREFIX, Type.DOC_PREFIX, None, True)]
220 The token matcher groups work as follows: it is a list of Matcher object
[all...]
/external/hamcrest/library/src/org/hamcrest/text/
H A DStringContains.java6 import org.hamcrest.Matcher;
25 public static Matcher<String> containsString(String substring) {
H A DStringEndsWith.java6 import org.hamcrest.Matcher;
25 public static Matcher<String> endsWith(String substring) {
H A DStringStartsWith.java6 import org.hamcrest.Matcher;
25 public static Matcher<String> startsWith(String substring) {
H A DX.java3 import org.hamcrest.Matcher;
15 private static void x(Matcher<String> s) {

Completed in 372 milliseconds

12345678