HomeSort by relevance Sort by last modified time
    Searched refs:Matcher (Results 76 - 100 of 604) sorted by null

1 2 34 5 6 7 8 91011>>

  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/build/
BaseBuilderTest.java 19 import java.util.regex.Matcher;
30 Matcher m = p.matcher(s);
  /external/clang/lib/ASTMatchers/Dynamic/
VariantValue.cpp 26 return (Twine("Matcher<") + MatcherKind.asStringRef() + ">").str();
53 VariantMatcher::MatcherOps::canConstructFrom(const DynTypedMatcher &Matcher,
55 IsExactMatch = Matcher.getSupportedKind().isSame(NodeKind);
56 return Matcher.canConvertTo(NodeKind);
66 // Matcher<T>.
82 SinglePayload(const DynTypedMatcher &Matcher) : Matcher(Matcher) {}
85 return Matcher;
89 return (Twine("Matcher<") + Matcher.getSupportedKind().asStringRef() + ">"
    [all...]
  /external/caliper/caliper/src/main/java/com/google/caliper/bridge/
LogMessageParser.java 25 import java.util.regex.Matcher;
46 Matcher gcMatcher = GC_PATTERN.matcher(string);
54 Matcher jitMatcher = JIT_PATTERN.matcher(string);
58 Matcher vmOptionMatcher = VM_OPTION_PATTERN.matcher(string);
  /external/guice/core/src/com/google/inject/spi/
ProvisionListenerBinding.java 22 import com.google.inject.matcher.Matcher;
27 * Binds keys (picked using a Matcher) to a provision listener. Listeners are created explicitly in
28 * a module using {@link Binder#bindListener(Matcher, ProvisionListener...)} statements:
36 private final Matcher<? super Binding<?>> bindingMatcher;
40 Matcher<? super Binding<?>> bindingMatcher,
53 * Returns the binding matcher which chooses which bindings the listener should be notified of.
55 public Matcher<? super Binding<?>> getBindingMatcher() {
TypeConverterBinding.java 24 import com.google.inject.matcher.Matcher;
28 * explicitly in a module using {@link com.google.inject.Binder#convertToTypes(Matcher,
38 private final Matcher<? super TypeLiteral<?>> typeMatcher;
42 public TypeConverterBinding(Object source, Matcher<? super TypeLiteral<?>> typeMatcher,
53 public Matcher<? super TypeLiteral<?>> getTypeMatcher() {
  /external/hamcrest/library/src/org/hamcrest/collection/
IsIn.java 9 import org.hamcrest.Matcher;
32 public static <T> Matcher<T> isIn(Collection<T> collection) {
37 public static <T> Matcher<T> isIn(T[] elements) {
42 public static <T> Matcher<T> isOneOf(T... elements) {
  /external/jacoco/org.jacoco.examples.test/src/org/jacoco/examples/
ConsoleOutput.java 23 import org.hamcrest.Matcher;
49 public static Matcher<String> containsLine(String line) {
53 public static Matcher<String> isEmpty() {
66 public void expect(Matcher<String> matcher) {
67 assertThat(getContents(), matcher); local
  /external/mockito/src/org/mockito/internal/invocation/
ArgumentsComparator.java 7 import org.hamcrest.Matcher;
42 List<Matcher> matchers = invocationMatcher.getMatchers();
49 Matcher m = matchers.get(i);
52 Matcher actualMatcher;
ArgumentsProcessor.java 7 import org.hamcrest.Matcher;
41 public static List<Matcher> argumentsToMatchers(Object[] arguments) {
42 List<Matcher> matchers = new ArrayList<Matcher>(arguments.length);
InvocationMatcher.java 14 import org.hamcrest.Matcher;
28 private final List<Matcher> matchers;
30 public InvocationMatcher(Invocation invocation, List<Matcher> matchers) {
40 this(invocation, Collections.<Matcher>emptyList());
51 public List<Matcher> getMatchers() {
122 Matcher m = matchers.get(position);
133 private boolean isVarargMatcher(Matcher matcher) {
134 Matcher actualMatcher = matcher;
    [all...]
  /external/mockito/src/org/mockito/internal/matchers/
LocalizedMatcher.java 14 public class LocalizedMatcher implements Matcher, ContainsExtraTypeInformation, CapturesArguments, MatcherDecorator, Serializable {
17 private final Matcher actualMatcher;
20 public LocalizedMatcher(Matcher actualMatcher) {
66 public Matcher getActualMatcher() {
  /frameworks/support/core-ui/tests/java/android/support/v4/widget/
SwipeRefreshLayoutActions.java 19 import static android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom;
25 import org.hamcrest.Matcher;
32 public Matcher<View> getConstraints() {
57 public Matcher<View> getConstraints() {
81 public Matcher<View> getConstraints() {
  /frameworks/support/design/tests/src/android/support/design/widget/
DesignViewActions.java 19 import org.hamcrest.Matcher;
23 import android.support.test.espresso.matcher.ViewMatchers;
35 final Matcher<View> constraints) {
38 public Matcher<View> getConstraints() {
57 public Matcher<View> getConstraints() {
  /frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
TestUtilsActions.java 26 import org.hamcrest.Matcher;
28 import static android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom;
29 import static android.support.test.espresso.matcher.ViewMatchers.isDisplayed;
30 import static android.support.test.espresso.matcher.ViewMatchers.isDisplayingAtLeast;
40 public Matcher<View> getConstraints() {
66 public Matcher<View> getConstraints() {
94 public Matcher<View> getConstraints() {
121 public Matcher<View> getConstraints() {
144 public Matcher<View> getConstraints() {
167 public Matcher<View> getConstraints()
    [all...]
TestUtilsMatchers.java 23 import android.support.test.espresso.matcher.BoundedMatcher;
33 import org.hamcrest.Matcher;
40 * Returns a matcher that matches <code>ImageView</code>s which have drawable flat-filled
43 public static Matcher drawable(@ColorInt final int color) {
80 * Returns a matcher that matches <code>View</code>s which have background flat-filled
83 public static Matcher isBackground(@ColorInt final int color) {
117 * Returns a matcher that matches <code>View</code>s whose combined background starting
120 public static Matcher isCombinedBackground(@ColorInt final int color,
159 * Returns a matcher that matches <code>CheckedTextView</code>s which are in checked state.
161 public static Matcher isCheckedTextView()
    [all...]
  /external/clang/include/clang/ASTMatchers/
ASTMatchersInternal.h 10 // Implements the base layer of the matcher framework.
12 // Matchers are methods that return a Matcher<T> which provides a method
19 // 1. A function Matcher<T> MatcherName(<arguments>) which returns a Matcher<T>
21 // on the arguments. Matcher<T>s form an implicit reverse hierarchy
22 // to clang's AST class hierarchy, meaning that you can use a Matcher<Base>
23 // everywhere a Matcher<Derived> is required.
26 // The matcher functions are defined in ASTMatchers.h. To make it possible
27 // to implement both the matcher function and the implementation of the matcher
    [all...]
ASTMatchers.h 18 // which returns a matcher that can be used to find all AST nodes that declare
23 // use the id(...) matcher around the match expressions that match the nodes
33 // In the given example, each time our matcher finds a match we get a callback
38 // implementation details of the matcher framework.
61 /// \brief Maps string IDs to AST nodes matched by parts of a matcher.
111 /// \brief If the provided matcher matches a node, binds the node to \c ID.
115 internal::Matcher<T> id(StringRef ID,
123 typedef internal::Matcher<Decl> DeclarationMatcher;
124 typedef internal::Matcher<Stmt> StatementMatcher;
125 typedef internal::Matcher<QualType> TypeMatcher
    [all...]
  /external/gmock/src/
gmock-matchers.cc 34 // This file implements Matcher<const string&>, Matcher<string>, and
46 // Constructs a matcher that matches a const string& whose value is
48 Matcher<const internal::string&>::Matcher(const internal::string& s) {
52 // Constructs a matcher that matches a const string& whose value is
54 Matcher<const internal::string&>::Matcher(const char* s) {
58 // Constructs a matcher that matches a string whose value is equal to s.
59 Matcher<internal::string>::Matcher(const internal::string& s) { *this = Eq(s);
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/
MatcherTest.java 20 import java.util.regex.Matcher;
45 Matcher m = p.matcher("axxxxxa");
80 Matcher m = pat.matcher("Today is XX-XX-XX ...");
92 Matcher m = p.matcher("xx $ equals to xx rur.");
106 Matcher mat = pat.matcher(input);
113 Matcher m = p.matcher("abcd")
566 Matcher matcher = pattern.matcher(input); local
613 Matcher matcher = pattern.matcher("abcde"); local
630 Matcher matcher = pattern.matcher(inputStr); local
658 Matcher matcher = pattern.matcher(s[i]); local
700 Matcher matcher = pattern.matcher(input); local
    [all...]
  /external/clang/include/clang/ASTMatchers/Dynamic/
VariantValue.h 12 /// Supports all the types required for dynamic Matcher construction.
42 /// \brief Constructor for non-matcher types.
45 /// \brief Constructor for matcher types.
79 /// \brief A variant matcher object.
84 /// overloads of the matcher. \c VariantMatcher knows how to select the
86 /// To get a real matcher object out of a \c VariantMatcher you can do:
87 /// - getSingleMatcher() which returns a matcher, only if it is not ambiguous
88 /// to decide which matcher to return. Eg. it contains only a single
89 /// matcher, or a polymorphic one with only one overload.
91 /// the underlying matcher(s) can unambiguously return a Matcher<T>
    [all...]
  /external/guice/core/src/com/google/inject/
Binder.java 22 import com.google.inject.matcher.Matcher;
151 * configured using {@link #convertToTypes(Matcher, TypeConverter)
226 void bindInterceptor(Matcher<? super Class<?>> classMatcher,
227 Matcher<? super Method> methodMatcher,
379 void convertToTypes(Matcher<? super TypeLiteral<?>> typeMatcher,
384 * injectable types matched by the given type matcher.
390 void bindListener(Matcher<? super TypeLiteral<?>> typeMatcher,
405 void bindListener(Matcher<? super Binding<?>> bindingMatcher, ProvisionListener... listeners);
  /external/v8/test/unittests/interpreter/
interpreter-assembler-unittest.cc 30 Matcher<Node*> IsIntPtrConstant(const intptr_t value) {
35 Matcher<Node*> IsIntPtrAdd(const Matcher<Node*>& lhs_matcher,
36 const Matcher<Node*>& rhs_matcher) {
41 Matcher<Node*> IsIntPtrSub(const Matcher<Node*>& lhs_matcher,
42 const Matcher<Node*>& rhs_matcher) {
47 Matcher<Node*> IsWordShl(const Matcher<Node*>& lhs_matcher,
48 const Matcher<Node*>& rhs_matcher)
    [all...]
  /external/guice/core/src/com/google/inject/matcher/
Matchers.java 17 package com.google.inject.matcher;
30 * Matcher implementations. Supports matching classes and methods.
38 * Returns a matcher which matches any input.
40 public static Matcher<Object> any() {
44 private static final Matcher<Object> ANY = new Any();
63 * Inverts the given matcher.
65 public static <T> Matcher<T> not(final Matcher<? super T> p) {
70 final Matcher<? super T> delegate;
72 private Not(Matcher<? super T> delegate)
    [all...]
  /libcore/luni/src/main/native/
java_util_regex_Matcher.cpp 17 #define LOG_TAG "Matcher"
134 MatcherAccessor matcher(env, addr, javaText, false);
135 UBool result = matcher->find(startIndex, matcher.status());
137 matcher.updateOffsets(offsets);
143 MatcherAccessor matcher(env, addr, javaText, false);
144 if (matcher.status() != U_ZERO_ERROR) {
147 UBool result = matcher->find();
149 matcher.updateOffsets(offsets);
155 MatcherAccessor matcher(env, addr)
    [all...]
  /external/junit/src/org/junit/
Assume.java 7 import org.hamcrest.Matcher;
51 * Call to assume that <code>actual</code> satisfies the condition specified by <code>matcher</code>.
61 * @param <T> the static type accepted by the matcher (this can flag obvious compile-time problems such as {@code assumeThat(1, is("a"))}
63 * @param matcher an expression, built of {@link Matcher}s, specifying allowed values
68 public static <T> void assumeThat(T actual, Matcher<T> matcher) {
69 if (!matcher.matches(actual))
70 throw new AssumptionViolatedException(actual, matcher);

Completed in 886 milliseconds

1 2 34 5 6 7 8 91011>>