HomeSort by relevance Sort by last modified time
    Searched defs:matcher (Results 1 - 25 of 110) sorted by null

1 2 3 4 5

  /external/proguard/src/proguard/util/
NotMatcher.java 31 private final StringMatcher matcher; field in class:NotMatcher
34 public NotMatcher(StringMatcher matcher)
36 this.matcher = matcher;
44 return !matcher.matches(string);
ListMatcher.java 57 StringMatcher matcher = matchers[index]; local
58 if (matcher.matches(string))
SettableMatcher.java 31 private StringMatcher matcher; field in class:SettableMatcher
34 public void setMatcher(StringMatcher matcher)
36 this.matcher = matcher;
44 return matcher.matches(string);
ClassNameParser.java 73 // Create a matcher, recursively, for the remainder of the
87 // Create a matcher for the wildcard and, recursively, for the
97 // Create a matcher for the wildcard and, recursively, for the
111 // Create a matcher for the wildcard and, recursively, for the
125 // Create a matcher for the wildcard and, recursively, for the
139 // Create a matcher for the wildcard and, recursively, for the
151 // Return a matcher for the fixed first part of the regular expression,
164 * array or non-array) and then the given matcher.
203 StringMatcher matcher = parser.parse(args[0]); local
208 System.out.println(" -> match = "+matcher.matches(args[index]))
    [all...]
FileNameParser.java 51 // Create a matcher for the wildcard and, recursively, for the
65 // Create a matcher for the wildcard and, recursively, for the
79 // Create a matcher for the wildcard and, recursively, for the
91 // Return a matcher for the fixed first part of the regular expression,
108 StringMatcher matcher = parser.parse(args[0]); local
113 System.out.println(" -> match = "+matcher.matches(args[index]));
NameParser.java 50 // Create a matcher for the wildcard and, recursively, for the
64 // Create a matcher for the wildcard and, recursively, for the
76 // Return a matcher for the fixed first part of the regular expression,
93 StringMatcher matcher = parser.parse(args[0]); local
98 System.out.println(" -> match = "+matcher.matches(args[index]));
ListParser.java 77 // Prepend the entry matcher.
98 // Wrap the matcher if the regular expression starts with a '!' negator.
124 StringMatcher matcher = parser.parse(args[0]); local
129 System.out.println(" -> match = "+matcher.matches(args[index]));
  /external/icu4c/i18n/
quant.h 117 UnicodeFunctor* matcher; // owned member in class:Quantifier
rbt_rule.cpp 535 const UnicodeMatcher* matcher = data->lookupMatcher(ch); local
536 if (matcher == NULL) {
539 matcher->addMatchSetTo(toUnionTo);
strmatch.cpp 201 const UnicodeMatcher* matcher = data->lookupMatcher(ch); local
202 if (matcher == NULL) {
205 matcher->addMatchSetTo(toUnionTo);
  /external/apache-http/src/org/apache/http/protocol/
HttpRequestHandlerRegistry.java 53 private final UriPatternMatcher matcher; field in class:HttpRequestHandlerRegistry
56 matcher = new UriPatternMatcher();
60 matcher.register(pattern, handler);
64 matcher.unregister(pattern);
68 matcher.setHandlers(map);
72 return (HttpRequestHandler) matcher.lookup(requestURI);
80 return matcher.matchUriRequestPattern(pattern, requestUri);
  /external/oprofile/libpp/
locate_images.h 39 /// base class for matcher functors object
40 struct matcher { struct in class:extra_images
43 explicit matcher(std::string const & v) : value(v) {} function in struct:extra_images::matcher
44 virtual ~matcher() {}
54 std::vector<std::string> const find(matcher const & match) const;
  /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);
  /system/media/mca/filterfw/java/android/filterfw/io/
PatternScanner.java 20 import java.util.regex.Matcher;
50 // Create the matcher
51 Matcher matcher = pattern.matcher(mInput); local
52 matcher.region(mOffset, mInput.length());
56 if (matcher.lookingAt()) {
57 updateLineCount(mOffset, matcher.end());
58 mOffset = matcher.end();
59 result = mInput.substring(matcher.start(), matcher.end())
85 Matcher matcher = pattern.matcher(mInput); local
93 Matcher matcher = pattern.matcher(mInput); local
    [all...]
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/
LogCatMessageParser.java 23 import java.util.regex.Matcher;
70 Matcher matcher = sLogHeaderPattern.matcher(line); local
71 if (matcher.matches()) {
72 mCurTime = matcher.group(1);
73 mCurPid = matcher.group(2);
74 mCurLogLevel = LogLevel.getByLetterString(matcher.group(4));
75 mCurTag = matcher.group(5).trim();
79 if (mCurLogLevel == null && matcher.group(4).equals("F"))
    [all...]
  /development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DictionaryProvider.java 56 UriMatcher matcher = new UriMatcher(UriMatcher.NO_MATCH); local
58 matcher.addURI(AUTHORITY, "dictionary", SEARCH_WORDS);
59 matcher.addURI(AUTHORITY, "dictionary/#", GET_WORD);
61 matcher.addURI(AUTHORITY, SearchManager.SUGGEST_URI_PATH_QUERY, SEARCH_SUGGEST);
62 matcher.addURI(AUTHORITY, SearchManager.SUGGEST_URI_PATH_QUERY + "/*", SEARCH_SUGGEST);
70 matcher.addURI(AUTHORITY, SearchManager.SUGGEST_URI_PATH_SHORTCUT, REFRESH_SHORTCUT);
71 matcher.addURI(AUTHORITY, SearchManager.SUGGEST_URI_PATH_SHORTCUT + "/*", REFRESH_SHORTCUT);
72 return matcher;
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
GoogleSuggestionProvider.java 120 UriMatcher matcher = new UriMatcher(UriMatcher.NO_MATCH); local
121 matcher.addURI(authority, SearchManager.SUGGEST_URI_PATH_QUERY,
123 matcher.addURI(authority, SearchManager.SUGGEST_URI_PATH_QUERY + "/*",
125 matcher.addURI(authority, SearchManager.SUGGEST_URI_PATH_SHORTCUT,
127 matcher.addURI(authority, SearchManager.SUGGEST_URI_PATH_SHORTCUT + "/*",
129 return matcher;
  /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();
  /packages/apps/Browser/src/com/android/browser/
UrlUtils.java 23 import java.util.regex.Matcher;
63 Matcher m = STRIP_URL_PATTERN.matcher(url);
108 Matcher matcher = ACCEPTED_URI_SCHEMA.matcher(inUrl); local
109 if (matcher.matches()) {
111 String scheme = matcher.group(1);
114 inUrl = lcScheme + matcher.group(2);
116 if (hasSpace && Patterns.WEB_URL.matcher(inUrl).matches())
    [all...]
  /external/easymock/src/org/easymock/internal/
ExpectedInvocation.java 34 private final org.easymock.ArgumentsMatcher matcher; field in class:ExpectedInvocation
45 org.easymock.ArgumentsMatcher matcher) {
47 this.matcher = matcher;
48 this.matchers = (matcher == null) ? createMissingMatchers(invocation,
77 && ((this.matcher == null && other.matcher == null) || (this.matcher != null && this.matcher
78 .equals(other.matcher)))
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
ShortcutsProvider.java 54 UriMatcher matcher = new UriMatcher(UriMatcher.NO_MATCH); local
55 matcher.addURI(authority, "shortcuts", URI_CODE_SHORTCUTS);
56 return matcher;
  /cts/tools/cts-native-xml-generator/src/com/android/cts/nativexml/
Generator.java 27 import java.util.regex.Matcher;
165 Matcher matcher = TEST_REGEX.matcher(line); local
166 if (matcher.matches()) {
167 String name = matcher.group(1);
  /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/icu4c/samples/ugrep/
ugrep.cpp 120 RegexMatcher *matcher = rePat->matcher(empty, status); local
138 matcher->reset(s);
139 if (matcher->find()) {
149 delete matcher;

Completed in 3820 milliseconds

1 2 3 4 5