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

1 2 3 4 5 67 8 91011>>

  /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...]
  /cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
PropertyDeviceInfo.java 25 import java.util.regex.Matcher;
53 Matcher matcher = pattern.matcher(line); local
54 if (matcher.matches()) {
55 String name = matcher.group(1);
56 String value = matcher.group(2);
  /external/guice/core/src/com/google/inject/spi/
TypeEncounter.java 23 import com.google.inject.matcher.Matcher;
119 void bindInterceptor(Matcher<? super Method> methodMatcher,
  /external/hamcrest/library/src/org/hamcrest/text/
IsEqualIgnoringWhiteSpace.java 6 import org.hamcrest.Matcher;
56 public static Matcher<String> equalToIgnoringWhiteSpace(String string) {
  /external/hamcrest/src/org/hamcrest/core/
IsEqual.java 6 import org.hamcrest.Matcher;
67 public static <T> Matcher<T> equalTo(T operand) {
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/matchers/
HasCompoundDrawablesMatcher.java 7 import org.hamcrest.Matcher;
42 public static Matcher<TextView> hasCompoundDrawables(int left, int top, int right, int bottom) {
ImageViewHasDrawableMatcher.java 7 import org.hamcrest.Matcher;
46 public static <T extends ImageView> Matcher<T> hasDrawable(int expectedResourceId) {
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/
PropertiesHelper.java 5 import java.util.regex.Matcher;
18 Matcher variableMatcher = variablePattern.matcher(expandedValue);
35 variableMatcher = variablePattern.matcher(expandedValue);
  /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);
  /external/smali/util/src/main/java/org/jf/util/
ConsoleUtil.java 32 import java.util.regex.Matcher;
76 Matcher m = pattern.matcher(output);
  /external/vogar/src/vogar/
DotJavaFile.java 21 import java.util.regex.Matcher;
73 boolean isjtreg = AT_TEST_PATTERN.matcher(content).find();
77 Matcher packageMatcher = PACKAGE_PATTERN.matcher(content);
86 if (!TYPE_DECLARATION_PATTERN.matcher(content).find()) {
  /frameworks/base/core/tests/coretests/src/android/widget/espresso/
ViewClickAction.java 19 import org.hamcrest.Matcher;
40 public Matcher<View> getConstraints() {
TextViewAssertions.java 19 import static android.support.test.espresso.matcher.ViewMatchers.assertThat;
34 import org.hamcrest.Matcher;
70 * @param selection A matcher representing the expected selection.
72 public static ViewAssertion hasSelection(Matcher<String> selection) {
100 * @param index A matcher representing the expected index.
102 public static ViewAssertion hasInsertionPointerAtIndex(final Matcher<Integer> index) {
144 private final Matcher<String> mSelection;
146 public TextSelectionAssertion(Matcher<String> selection) {
  /libcore/benchmarks/src/benchmarks/regression/
SchemePrefixBenchmark.java 21 import java.util.regex.Matcher;
60 Matcher matcher = pattern.matcher(spec); local
61 if (matcher.find()) {
62 return matcher.group(1).toLowerCase(Locale.US);
  /libcore/luni/src/test/java/libcore/java/util/regex/
OldAndroidRegexTest.java 19 import java.util.regex.Matcher;
25 /* Tests class Matcher */
28 Matcher m = p.matcher("bcd");
33 m = p.matcher("abcdefg");
37 m = p.matcher("bcdefg");
41 m = p.matcher("abcd");
46 m = p.matcher("abc");
52 m = p.matcher("abc");
89 Matcher m = p.matcher("1 (919) 555-1212")
    [all...]
  /libcore/support/src/test/java/libcore/java/security/
CpuFeatures.java 26 import java.util.regex.Matcher;
68 Matcher m = p.matcher(line);
  /packages/apps/Email/src/com/android/email/mail/internet/
EmailHtmlUtil.java 19 import java.util.regex.Matcher;
36 Matcher match = pattern.matcher(text);
  /external/gmock/include/gmock/
gmock-generated-function-mockers.h 87 MockSpec<F>& With(const Matcher<A1>& m1) {
108 MockSpec<F>& With(const Matcher<A1>& m1, const Matcher<A2>& m2) {
129 MockSpec<F>& With(const Matcher<A1>& m1, const Matcher<A2>& m2,
130 const Matcher<A3>& m3) {
151 MockSpec<F>& With(const Matcher<A1>& m1, const Matcher<A2>& m2,
152 const Matcher<A3>& m3, const Matcher<A4>& m4)
    [all...]
gmock-matchers.h 61 // To implement a matcher Foo for type T, define:
64 // 2. a factory function that creates a Matcher<T> object from a
68 // to write "v" instead of "Eq(v)" where a Matcher is expected, which
70 // ownership management as Matcher objects can now be copied like
74 // used by a matcher to explain why a value matches or doesn't match.
101 // the match result. A matcher's MatchAndExplain() method can use
116 // matcher.
121 // Describes this matcher to an ostream. The function should print
123 // matcher should have. The subject of the verb phrase is the value
125 // matcher prints "is greater than 7"
730 typename tuple_element<N - 1, MatcherTuple>::type matcher = local
1779 const Matcher<const T&> matcher = SafeMatcherCast<const T&>(matcher_); local
    [all...]
  /external/google-breakpad/src/testing/include/gmock/
gmock-generated-function-mockers.h 87 MockSpec<F>& With(const Matcher<A1>& m1) {
108 MockSpec<F>& With(const Matcher<A1>& m1, const Matcher<A2>& m2) {
129 MockSpec<F>& With(const Matcher<A1>& m1, const Matcher<A2>& m2,
130 const Matcher<A3>& m3) {
151 MockSpec<F>& With(const Matcher<A1>& m1, const Matcher<A2>& m2,
152 const Matcher<A3>& m3, const Matcher<A4>& m4)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/
Matcher2Test.java 19 import java.util.regex.Matcher;
26 * Tests Matcher methods
32 Matcher m = p.matcher("bar");
39 Matcher m = p.matcher("bar");
90 Matcher m = p.matcher("foo1barzfoo2baryfoozbar5");
227 Matcher mat = pat.matcher(str)
    [all...]
  /external/clang/lib/ASTMatchers/
ASTMatchFinder.cpp 14 // calling the Matches(...) method of each matcher we are running on each
15 // AST node. The matcher can recurse via the ASTMatchFinder interface.
39 // of performance vs. memory consumption by running matcher
47 // We use memoization to avoid running the same matcher on the same
50 // identifying the matcher), a pointer to the AST node and the
51 // bound nodes before the matcher was executed.
83 // Creates an AST visitor that matches 'matcher' on all children or
87 MatchChildASTVisitor(const DynTypedMatcher *Matcher,
93 : Matcher(Matcher),
    [all...]
  /frameworks/support/core-ui/tests/java/android/support/v4/testutils/
TestUtilsMatchers.java 25 import android.support.test.espresso.matcher.BoundedMatcher;
35 import org.hamcrest.Matcher;
40 * Returns a matcher that matches views which have specific background color.
42 public static Matcher backgroundColor(@ColorInt final int backgroundColor) {
81 * Returns a matcher that matches Views which are an instance of the provided class.
83 public static Matcher<View> isOfClass(final Class<? extends View> clazz) {
101 * Returns a matcher that matches Views that are aligned to the left / start edge of
104 public static Matcher<View> startAlignedToParent() {
147 * Returns a matcher that matches Views that are aligned to the right / end edge of
150 public static Matcher<View> endAlignedToParent()
    [all...]
  /cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
OptionHelper.java 25 import java.util.regex.Matcher;
116 Matcher matcher = cliPattern.matcher(commandString); local
118 while (matcher.find()) {
119 String optionInput = matcher.group();
129 Matcher tokenMatcher = tokenPattern.matcher(optionInput);
  /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...]

Completed in 2293 milliseconds

1 2 3 4 5 67 8 91011>>