HomeSort by relevance Sort by last modified time
    Searched full:matcher (Results 226 - 250 of 4130) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
IsEqual.java 5 import org.hamcrest.Matcher;
65 * Creates a matcher that matches when the examined object is logically equal to the specified
69 * <p>If the specified operand is <code>null</code> then the created matcher will only match if
72 * examined object itself is <code>null</code>, in which case the matcher will return a positive
75 * <p>The created matcher provides a special behaviour when examining <code>Array</code>s, whereby
86 public static <T> Matcher<T> equalTo(T operand) {
91 * Creates an {@link org.hamcrest.core.IsEqual} matcher that does not enforce the values being
94 public static Matcher<Object> equalToObject(Object operand) {
  /external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/text/
StringContainsInOrderTest.java 4 import org.hamcrest.Matcher;
13 protected Matcher<?> createMatcher() {
  /external/python/cpython2/Lib/lib2to3/
PatternGrammar.txt 10 # The start symbol is 'Matcher'.
12 Matcher: Alternatives ENDMARKER
  /external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/line/
LineConverter.java 29 import java.util.regex.Matcher;
54 Matcher matcher; local
60 matcher = pattern.matcher(text);
61 if (matcher.find()) {
64 String replacementText = conversionRule.replace(matcher);
65 text = matcher.replaceAll(replacementText);
  /prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/
PatternGrammar.txt 10 # The start symbol is 'Matcher'.
12 Matcher: Alternatives ENDMARKER
  /prebuilts/gdb/darwin-x86/share/gdb/python/gdb/
xmethod.py 55 registered xmethod matcher to match the object type and method name.
61 name: The name of the matcher.
62 enabled: A boolean indicating if the matcher is enabled.
68 This attribute is None if the matcher chooses not have any
180 name: Name of the xmethod matcher.
213 # object if MATCHER is not having the requisite attributes in the proper
216 def _validate_xmethod_matcher(matcher):
217 if not hasattr(matcher, "match"):
218 return TypeError("Xmethod matcher is missing method: match")
219 if not hasattr(matcher, "name")
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/
PatternGrammar.txt 10 # The start symbol is 'Matcher'.
12 Matcher: Alternatives ENDMARKER
  /prebuilts/gdb/linux-x86/share/gdb/python/gdb/
xmethod.py 55 registered xmethod matcher to match the object type and method name.
61 name: The name of the matcher.
62 enabled: A boolean indicating if the matcher is enabled.
68 This attribute is None if the matcher chooses not have any
180 name: Name of the xmethod matcher.
213 # object if MATCHER is not having the requisite attributes in the proper
216 def _validate_xmethod_matcher(matcher):
217 if not hasattr(matcher, "match"):
218 return TypeError("Xmethod matcher is missing method: match")
219 if not hasattr(matcher, "name")
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/
PatternGrammar.txt 10 # The start symbol is 'Matcher'.
12 Matcher: Alternatives ENDMARKER
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/
PatternGrammar.txt 10 # The start symbol is 'Matcher'.
12 Matcher: Alternatives ENDMARKER
  /cts/tests/tests/provider/src/android/provider/cts/
ProviderTestUtils.java 29 import java.util.regex.Matcher;
70 Matcher matcher = pattern.matcher(output); local
71 if (matcher.find()) {
72 return matcher.group(1);
82 Matcher matcher = BMGR_ENABLED_PATTERN.matcher(output.trim()); local
83 if (matcher.find())
    [all...]
  /external/llvm/utils/TableGen/
DAGISelMatcherOpt.cpp 1 //===- DAGISelMatcherOpt.cpp - Optimize a DAG Matcher ---------------------===//
10 // This file implements the DAG Matcher optimizer.
23 /// ContractNodes - Turn multiple matcher node patterns like 'MoveChild+Record'
25 static void ContractNodes(std::unique_ptr<Matcher> &MatcherPtr,
28 Matcher *N = MatcherPtr.get();
34 std::unique_ptr<Matcher> Child(Scope->takeChild(i));
44 Matcher *New = nullptr;
149 Matcher *CheckType = MatcherPtr.release();
150 Matcher *CheckOpcode = CheckType->takeNext();
151 Matcher *Tail = CheckOpcode->takeNext()
    [all...]
  /platform_testing/libraries/system-helpers/user-helper/src/android/system/helpers/
UserHelper.java 24 import java.util.regex.Matcher;
64 Matcher matcher = pattern.matcher(cmdOut); local
66 if (matcher.find()) {
67 userId = Integer.parseInt(matcher.group(1));
81 Matcher matcher = USERS_REGEX.matcher(cmdOut); local
83 if (matcher.find())
    [all...]
  /external/google-breakpad/src/testing/test/
gmock-generated-internal-utils_test.cc 43 using ::testing::Matcher;
56 CompileAssertTypesEqual<tuple<Matcher<int> >,
61 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char> >,
66 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char>, Matcher<bool>,
67 Matcher<double>, Matcher<char*> >,
88 CompileAssertTypesEqual<tuple<Matcher<bool> >, F::ArgumentMatcherTuple>()
    [all...]
  /external/googletest/googlemock/test/
gmock-generated-internal-utils_test.cc 43 using ::testing::Matcher;
56 CompileAssertTypesEqual<tuple<Matcher<int> >,
61 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char> >,
66 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char>, Matcher<bool>,
67 Matcher<double>, Matcher<char*> >,
88 CompileAssertTypesEqual<tuple<Matcher<bool> >, F::ArgumentMatcherTuple>()
    [all...]
  /external/junit/src/main/java/org/junit/
Assume.java 9 import org.hamcrest.Matcher;
77 * Call to assume that <code>actual</code> satisfies the condition specified by <code>matcher</code>.
87 * @param <T> the static type accepted by the matcher (this can flag obvious compile-time problems such as {@code assumeThat(1, is("a"))}
89 * @param matcher an expression, built of {@link Matcher}s, specifying allowed values
93 public static <T> void assumeThat(T actual, Matcher<T> matcher) {
94 if (!matcher.matches(actual)) {
95 throw new AssumptionViolatedException(actual, matcher);
100 * Call to assume that <code>actual</code> satisfies the condition specified by <code>matcher</code>
    [all...]
  /external/v8/testing/gmock/test/
gmock-generated-internal-utils_test.cc 43 using ::testing::Matcher;
56 CompileAssertTypesEqual<tuple<Matcher<int> >,
61 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char> >,
66 CompileAssertTypesEqual<tuple<Matcher<int>, Matcher<char>, Matcher<bool>,
67 Matcher<double>, Matcher<char*> >,
88 CompileAssertTypesEqual<tuple<Matcher<bool> >, F::ArgumentMatcherTuple>()
    [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...]
  /development/tools/bugreport/src/com/android/bugreport/stacks/
ThreadSnapshotParser.java 27 import java.util.regex.Matcher;
96 final Matcher beginUnmanagedThreadRe = BEGIN_UNMANAGED_THREAD_RE.matcher("");
97 final Matcher beginManagedThreadRe = BEGIN_MANAGED_THREAD_RE.matcher("");
98 final Matcher beginNotAttachedThreadRe = BEGIN_NOT_ATTACHED_THREAD_RE.matcher("");
99 final Matcher attrRe = ATTR_RE.matcher("");
100 final Matcher heldMutexesRe = HELD_MUTEXES_RE.matcher("")
    [all...]
  /libcore/ojluni/src/main/java/java/util/regex/
Matcher.java 35 * <p> A matcher is created from a pattern by invoking the pattern's {@link
36 * Pattern#matcher matcher} method. Once created, a matcher can be used to
54 * state of the matcher.
56 * <p> A matcher finds matches in a subset of its input called the
57 * <i>region</i>. By default, the region contains all of the matcher's input.
73 * <p> The explicit state of a matcher includes the start and end indices of
80 * <p> The explicit state of a matcher is initially undefined; attempting to
82 * IllegalStateException} to be thrown. The explicit state of a matcher i
    [all...]
  /external/clang/docs/tools/
dump_ast_matchers.py 12 # Each matcher is documented in one row of the form:
15 # becoming visible via javascript when the user clicks the matcher name.
26 # We output multiple rows per matcher if the matcher can be used on multiple
50 return r'Matcher&lt;<a href="%s">%s</a>&gt;' % (url, name)
54 r'Matcher&lt;([^\*&]+)&gt;', link_if_exists, text)
60 We allow annotations in the comment of the matcher to specify what
61 nodes a matcher can match on. Those comments have the form:
62 Usable as: Any Matcher | (Matcher<T1>[, Matcher<t2>[, ...]]
    [all...]
  /external/autotest/site_utils/stats/
log_daemon_common.py 16 @param matchers: A list of pairs of (matcher, emitter), where matcher is a
23 for matcher, emitter in matchers:
24 m = matcher.match(line)
  /external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/
BaseMatcherTest.java 12 Matcher<Object> someMatcher = new BaseMatcher<Object>() {
  /external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/
StringContainsTest.java 4 import org.hamcrest.Matcher;
12 final Matcher<String> stringContains = containsString(EXCERPT);
15 protected Matcher<?> createMatcher() {
33 final Matcher<String> ignoringCase = containsStringIgnoringCase("ExCert");
StringEndsWithTest.java 4 import org.hamcrest.Matcher;
12 final Matcher<String> stringEndsWith = endsWith(EXCERPT);
15 protected Matcher<?> createMatcher() {
33 final Matcher<String> ignoringCase = endsWithIgnoringCase("EXCERpt");

Completed in 741 milliseconds

1 2 3 4 5 6 7 8 91011>>