HomeSort by relevance Sort by last modified time
    Searched refs:Matcher (Results 51 - 75 of 204) sorted by null

1 23 4 5 6 7 8 9

  /external/apache-harmony/regex/src/test/java/org/apache/harmony/tests/java/util/regex/
ModeTest.java 19 import java.util.regex.Matcher;
32 Matcher m;
35 m = p.matcher("cAT123#dog345");
41 m = p.matcher("cAt123#doG345");
49 m = p.matcher("cAt123#doG345");
59 Matcher m;
62 m = p.matcher("foobar");
67 m = p.matcher("barfoo");
71 m = p.matcher("foobar");
74 m = p.matcher("barfoo")
    [all...]
  /external/chromium/testing/gmock/test/
gmock_link_test.h 153 using testing::Matcher;
238 // the Field matcher.
470 // Tests the linkage of the "_" matcher.
477 // Tests the linkage of the A matcher.
484 // Tests the linkage of the Eq and the "bare value" matcher.
505 // Tests the linkage of the NotNull matcher.
512 // Tests the linkage of the IsNull matcher.
519 // Tests the linkage of the Ref matcher.
527 // Tests the linkage of the TypedEq matcher.
548 // Tests the linkage of the ContainsRegex matcher
    [all...]
  /external/doclava/src/com/google/doclava/
DocFile.java 23 import java.util.regex.Matcher;
68 Matcher lines = LINE.matcher(filedata);
77 Matcher prop = PROP.matcher(line);
  /external/llvm/utils/TableGen/
DAGISelEmitter.cpp 137 // Convert each variant of each pattern into a Matcher.
138 std::vector<Matcher*> PatternMatchers;
141 if (Matcher *M = ConvertPatternToMatcher(*Patterns[i], Variant, CGP))
148 Matcher *TheMatcher = new ScopeMatcher(&PatternMatchers[0],
152 //Matcher->dump();
  /frameworks/base/core/java/com/android/internal/http/
HttpDateTime.java 22 import java.util.regex.Matcher;
93 Matcher rfcMatcher = HTTP_DATE_RFC_PATTERN.matcher(timeString);
100 Matcher ansicMatcher = HTTP_DATE_ANSIC_PATTERN.matcher(timeString);
  /libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
ModeTest.java 21 import java.util.regex.Matcher;
32 Matcher m;
35 m = p.matcher("cAT123#dog345");
42 m = p.matcher("cAt123#doG345");
51 m = p.matcher("cAt123#doG345");
60 Matcher m;
63 m = p.matcher("foobar");
68 m = p.matcher("barfoo");
73 m = p.matcher("foobar");
76 m = p.matcher("barfoo")
    [all...]
Pattern2Test.java 19 import java.util.regex.Matcher;
26 * Tests simple Pattern compilation and Matcher methods
34 Matcher m1 = p.matcher("foo123");
39 Matcher m2 = p.matcher("fox");
53 Matcher m;
58 m = p.matcher("foobar");
107 Matcher m;
111 m = p.matcher("p1#q3p2q42p5p71p63#q888")
1214 Matcher matcher = pattern.matcher(new String( local
1306 Matcher matcher = pattern.matcher(text); local
    [all...]
  /frameworks/base/core/java/android/text/util/
Linkify.java 35 import java.util.regex.Matcher;
137 public final String transformUrl(final Matcher match, String url) {
181 * data in the Matcher state to produce a replacement.
183 * @param match The regex matcher state that found this URL text
188 String transformUrl(final Matcher match, String url);
365 Matcher m = p.matcher(s);
395 Matcher m, TransformFilter filter) {
427 Matcher m = pattern.matcher(s)
    [all...]
  /cts/libs/vogar-expect/src/vogar/util/
Strings.java 32 import java.util.regex.Matcher;
107 Matcher matcher = XML_INVALID_CHARS.matcher(text); local
108 while (matcher.find()) {
109 matcher.appendReplacement(result, "");
110 result.append(escapeCodePoint(matcher.group()));
112 matcher.appendTail(result);
  /external/guava/src/com/google/common/base/
CaseFormat.java 20 import java.util.regex.Matcher;
108 for (Matcher matcher = wordBoundary.matcher(s); matcher.find();) {
109 int j = matcher.start();
  /frameworks/base/core/java/android/net/
WebAddress.java 21 import java.util.regex.Matcher;
76 Matcher m = sAddressPattern.matcher(address);
  /libcore/luni/src/main/java/java/util/regex/
Splitter.java 93 Matcher matcher = new Matcher(pattern, input); local
95 while (matcher.find() && list.size() + 1 < maxSize) {
96 list.add(input.substring(begin, matcher.start()));
97 begin = matcher.end();
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/
VersionCheck.java 31 import java.util.regex.Matcher;
72 Matcher m = sPluginVersionPattern.matcher(line);
  /sdk/ide_common/src/com/android/ide/common/resources/configuration/
VersionQualifier.java 19 import java.util.regex.Matcher;
42 Matcher m = sCountryCodePattern.matcher(segment);
  /external/chromium/chrome/browser/autofill/
phone_number.h 57 FRIEND_TEST_ALL_PREFIXES(PhoneNumberTest, Matcher);
  /external/jsilver/src/com/google/streamhtmlparser/util/
HtmlUtils.java 23 import java.util.regex.Matcher;
407 Matcher matcher = META_REDIRECT_PATTERN.matcher(value);
408 if (!matcher.find())
412 if (value.length() > matcher.end())
  /external/libphonenumber/java/src/com/android/i18n/phonenumbers/
PhoneNumberMatcher.java 25 import java.util.regex.Matcher;
243 Matcher matcher = PATTERN.matcher(text); local
244 while ((maxTries > 0) && matcher.find(index)) {
245 int start = matcher.start();
246 CharSequence candidate = text.subSequence(start, matcher.end());
270 Matcher trailingCharsMatcher = pattern.matcher(candidate);
309 if (PUB_PAGES.matcher(candidate).find() || SLASH_SEPARATED_DATES.matcher(candidate).find())
    [all...]
AsYouTypeFormatter.java 25 import java.util.regex.Matcher;
163 return ELIGIBLE_FORMAT_PATTERN.matcher(format).matches();
175 Matcher m = leadingDigitsPattern.matcher(leadingDigits);
194 numberPattern = CHARACTER_CLASS_PATTERN.matcher(numberPattern).replaceAll("\\\\d");
197 numberPattern = STANDALONE_DIGIT_PATTERN.matcher(numberPattern).replaceAll("\\\\d");
213 Matcher m = regexCache.getPatternForRegex(numberPattern).matcher(longestPhoneNumber);
347 PhoneNumberUtil.PLUS_CHARS_PATTERN.matcher(Character.toString(nextChar)).matches());
352 Matcher m = regexCache.getPatternForRegex(numFormat.getPattern()).matcher(nationalNumber)
    [all...]
  /frameworks/base/test-runner/src/android/test/
MoreAsserts.java 29 import java.util.regex.Matcher;
224 Matcher matcher = getMatcher(expectedRegex, actual); local
225 if (!matcher.matches()) {
228 return matcher;
242 * and fails with {@code message} if it does not. The Matcher is returned in
252 Matcher matcher = getMatcher(expectedRegex, actual); local
253 if (!matcher.find()) {
256 return matcher;
276 Matcher matcher = getMatcher(expectedRegex, actual); local
299 Matcher matcher = getMatcher(expectedRegex, actual); local
    [all...]
  /sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
EmulatorConsole.java 30 import java.util.regex.Matcher;
242 Matcher m = sEmulatorRegexp.matcher(serialNumber);
330 Matcher m = RE_KO.matcher(result[result.length-1]);
362 Matcher m = sDownloadSpeedRegexp.matcher(line);
374 m = sMinLatencyRegexp.matcher(line);
416 Matcher m = sVoiceStatusRegexp.matcher(line)
    [all...]
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/
SysinfoPanel.java 48 import java.util.regex.Matcher;
344 Matcher m = p.matcher(s);
389 Matcher m = lockPattern.matcher(line);
395 m = totalPattern.matcher(line);
424 Matcher m = pattern.matcher(line);
454 Matcher m = pattern.matcher(line)
    [all...]
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeyGetFrameRateEvent.java 30 import java.util.regex.Matcher;
102 Matcher m = NO_OF_FRAMES_PATTERN.matcher(input);
  /development/samples/Wiktionary/src/com/example/android/wiktionary/
WordWidget.java 36 import java.util.regex.Matcher;
103 Matcher matcher = Pattern.compile(WOTD_PATTERN).matcher(pageContent); local
104 if (matcher.find()) {
108 String wordTitle = matcher.group(1);
110 views.setTextViewText(R.id.word_type, matcher.group(2));
111 views.setTextViewText(R.id.definition, matcher.group(3).trim());
  /development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
WordWidget.java 36 import java.util.regex.Matcher;
94 Matcher matcher = pattern.matcher(pageContent); local
95 if (matcher.find()) {
99 String wordTitle = matcher.group(1);
101 updateViews.setTextViewText(R.id.word_type, matcher.group(2));
102 updateViews.setTextViewText(R.id.definition, matcher.group(3).trim());
  /external/chromium/testing/gmock/include/gmock/
gmock-generated-matchers.h 217 // Implements the Args() matcher.
227 typedef Matcher<const SelectedArgs&> MonomorphicInnerMatcher;
297 operator Matcher<ArgsTuple>() const {
316 operator Matcher<Container>() const {
327 const Matcher<const Element&> matcher = local
329 return MakeMatcher(new ElementsAreMatcherImpl<Container>(&matcher, 1));
344 operator Matcher<Container>() const {
349 const Matcher<const Element&> matchers[] = {
371 operator Matcher<Container>() const
    [all...]

Completed in 648 milliseconds

1 23 4 5 6 7 8 9