/external/chromium_org/v8/src/compiler/ |
graph-unittest.h | 24 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<Node*> IsIfTrue(const Matcher<Node*>& control_matcher) [all...] |
graph-unittest.cc | 89 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<Node*> control0_matcher_ [all...] |
/external/hamcrest/src/org/hamcrest/core/ |
AllOf.java | 4 import org.hamcrest.Matcher; 12 * shortcut, so that the second matcher is not called if the first 13 * matcher returns <code>false</code>. 16 private final Iterable<Matcher<? extends T>> matchers; 18 public AllOf(Iterable<Matcher<? extends T>> matchers) { 23 for (Matcher<? extends T> matcher : matchers) { 24 if (!matcher.matches(o)) { 39 public static <T> Matcher<T> allOf(Matcher<? extends T>... matchers) [all...] |
AnyOf.java | 4 import org.hamcrest.Matcher; 12 * shortcut, so that the second matcher is not called if the first 13 * matcher returns <code>true</code>. 17 private final Iterable<Matcher<? extends T>> matchers; 19 public AnyOf(Iterable<Matcher<? extends T>> matchers) { 24 for (Matcher<? extends T> matcher : matchers) { 25 if (matcher.matches(o)) { 40 public static <T> Matcher<T> anyOf(Matcher<? extends T>... matchers) [all...] |
Is.java | 6 import org.hamcrest.Matcher; 11 * Decorates another Matcher, retaining the behavior but allowing tests 19 private final Matcher<T> matcher; field in class:Is 21 public Is(Matcher<T> matcher) { 22 this.matcher = matcher; 26 return matcher.matches(arg); 30 description.appendText("is ").appendDescriptionOf(matcher); [all...] |
IsNot.java | 7 import org.hamcrest.Matcher; 13 * Calculates the logical negation of a matcher. 16 private final Matcher<T> matcher; field in class:IsNot 18 public IsNot(Matcher<T> matcher) { 19 this.matcher = matcher; 23 return !matcher.matches(arg); 27 description.appendText("not ").appendDescriptionOf(matcher); [all...] |
/external/mockito/src/org/mockito/internal/matchers/ |
MatcherDecorator.java | 9 import org.hamcrest.Matcher;
13 Matcher getActualMatcher();
|
/external/chromium_org/components/invalidation/ |
object_id_invalidation_map_test_util.h | 15 ::testing::Matcher<const ObjectIdInvalidationMap&> Eq(
|
invalidation_test_util.h | 18 ::testing::Matcher<const AckHandle&> Eq(const AckHandle& expected); 22 ::testing::Matcher<const Invalidation&> Eq(const Invalidation& expected);
|
unacked_invalidation_set_test_util.h | 20 ::testing::Matcher<const UnackedInvalidationSet&> Eq( 23 ::testing::Matcher<const UnackedInvalidationsMap&> Eq(
|
/external/hamcrest/src/org/hamcrest/ |
Matcher.java | 6 * A matcher over acceptable values. 7 * A matcher is able to describe itself to give feedback when it fails. 9 * 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 { 24 * Evaluates the matcher for argument <var>item</var>. 27 * because the caller of the Matcher does not know at runtime what the type is 31 * @param item the object against which the matcher is evaluated [all...] |
BaseMatcher.java | 6 * 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/llvm/utils/TableGen/ |
DAGISelMatcher.h | 1 //===- DAGISelMatcher.h - Representation of DAG pattern matcher -----------===// 22 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 representatio [all...] |
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
javascripttokenizer.py | 26 from closure_linter.common import matcher namespace 31 Matcher = matcher.Matcher 35 """Enumeration of the different matcher modes used for JavaScript.""" 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) [all...] |
/external/hamcrest/library/src/org/hamcrest/object/ |
HasToString.java | 4 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/hamcrest/library/src/org/hamcrest/collection/ |
IsCollectionContaining.java | 5 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<? extends Iterable<T>>>(elementMatchers.length) [all...] |
IsArrayContaining.java | 4 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) {
|
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) { 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<Map<K,V>> hasKey(Matcher<K> keyMatcher) [all...] |
/external/junit/src/org/junit/internal/matchers/ |
IsCollectionContaining.java | 11 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<? extends Iterable<T>>>(elementMatchers.length) [all...] |
/external/hamcrest/library/src/org/hamcrest/ |
Matchers.java | 7 * Decorates another Matcher, retaining the behavior but allowing tests 13 public static <T> org.hamcrest.Matcher<T> is(org.hamcrest.Matcher<T> matcher) { 14 return org.hamcrest.core.Is.is(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) { [all...] |
/external/junit/src/org/junit/matchers/ |
JUnitMatchers.java | 3 import org.hamcrest.Matcher; 16 * @return A matcher matching any collection containing element 18 public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItem(T element) { 24 * @return A matcher matching any collection containing an element matching elementMatcher 26 public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItem(org.hamcrest.Matcher<? extends T> elementMatcher) { 32 * @return A matcher matching any collection containing every element in elements 34 public static <T> org.hamcrest.Matcher<java.lang.Iterable<T>> hasItems(T... elements) { 40 * @return A matcher matching any collection containing at least one element that matches 41 * each matcher in elementMatcher (this may be one element matching all matchers [all...] |
/external/chromium_org/third_party/closure_linter/closure_linter/ |
javascripttokenizer.py | 26 from closure_linter.common import matcher namespace 31 Matcher = matcher.Matcher 35 """Enumeration of the different matcher modes used for JavaScript.""" 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) [all...] |
/external/hamcrest/library/src/org/hamcrest/text/ |
StringContains.java | 6 import org.hamcrest.Matcher; 25 public static Matcher<String> containsString(String substring) {
|
StringEndsWith.java | 6 import org.hamcrest.Matcher; 25 public static Matcher<String> endsWith(String substring) {
|
StringStartsWith.java | 6 import org.hamcrest.Matcher; 25 public static Matcher<String> startsWith(String substring) {
|