Searched defs:matcher (Results 1 - 25 of 40) sorted by relevance

12

/external/icu4c/i18n/
H A Dquant.h117 UnicodeFunctor* matcher; // owned member in class:Quantifier
H A Drbt_rule.cpp535 const UnicodeMatcher* matcher = data->lookupMatcher(ch); local
536 if (matcher == NULL) {
539 matcher->addMatchSetTo(toUnionTo);
H A Drepattrn.cpp432 // matcher(UnicodeString, err)
435 RegexMatcher *RegexPattern::matcher(const UnicodeString &input, function in class:RegexPattern
437 RegexMatcher *retMatcher = matcher(status);
446 // matcher, UText mode
448 RegexMatcher *RegexPattern::matcher(UText *input, function in class:RegexPattern
451 RegexMatcher *retMatcher = matcher(status);
460 RegexMatcher *RegexPattern::matcher(const UChar * /*input*/,
473 // matcher(status)
476 RegexMatcher *RegexPattern::matcher(UErrorCode &status) const { function in class:RegexPattern
512 RegexMatcher *matcher local
536 RegexMatcher *matcher = NULL; local
[all...]
H A Dstrmatch.cpp201 const UnicodeMatcher* matcher = data->lookupMatcher(ch); local
202 if (matcher == NULL) {
205 matcher->addMatchSetTo(toUnionTo);
/external/proguard/src/proguard/util/
H A DNotMatcher.java31 private final StringMatcher matcher; field in class:NotMatcher
34 public NotMatcher(StringMatcher matcher) argument
36 this.matcher = matcher;
44 return !matcher.matches(string);
H A DSettableMatcher.java31 private StringMatcher matcher; field in class:SettableMatcher
34 public void setMatcher(StringMatcher matcher) argument
36 this.matcher = matcher;
44 return matcher.matches(string);
/external/easymock/src/org/easymock/internal/
H A DILegacyMatcherMethods.java23 void setDefaultMatcher(org.easymock.ArgumentsMatcher matcher); argument
26 void setMatcher(Method method, org.easymock.ArgumentsMatcher matcher); argument
H A DLegacyMatcherProvider.java48 public void setDefaultMatcher(ArgumentsMatcher matcher) { argument
52 "default matcher can only be set once directly after creation of the MockControl"));
54 defaultMatcher = matcher;
58 public void setMatcher(Method method, ArgumentsMatcher matcher) { argument
59 if (matchers.containsKey(method) && matchers.get(method) != matcher) {
66 + "), a matcher has already been set"));
68 matchers.put(method, matcher);
96 for (Map.Entry<Method, ArgumentsMatcher> matcher : matchers.entrySet()) {
97 map.put(new MethodSerializationWrapper(matcher.getKey()), matcher
[all...]
H A DExpectedInvocation.java34 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)))
43 ExpectedInvocation(Invocation invocation, List<IArgumentMatcher> matchers, @SuppressWarnings(Ó) org.easymock.ArgumentsMatcher matcher) argument
131 withMatcher(@uppressWarningsÓ) org.easymock.ArgumentsMatcher matcher) argument
[all...]
H A DLastControl.java47 public static void reportMatcher(IArgumentMatcher matcher) { argument
53 stack.push(matcher);
H A DInvocation.java135 public boolean matches(Invocation actual, org.easymock.ArgumentsMatcher matcher) { argument
138 && matcher.matches(this.arguments, actual.arguments);
142 public String toString(org.easymock.ArgumentsMatcher matcher) { argument
143 return getMockAndMethodName() + "(" + matcher.toString(arguments) + ")";
H A DMocksBehavior.java231 public void setDefaultMatcher(org.easymock.ArgumentsMatcher matcher) { argument
232 getLegacyMatcherProvider().setDefaultMatcher(matcher);
236 public void setMatcher(Method method, org.easymock.ArgumentsMatcher matcher) { argument
237 getLegacyMatcherProvider().setMatcher(method, matcher);
H A DMocksControl.java279 public void setLegacyDefaultMatcher(org.easymock.ArgumentsMatcher matcher) { argument
281 state.setDefaultMatcher(matcher);
288 public void setLegacyMatcher(org.easymock.ArgumentsMatcher matcher) { argument
290 state.setMatcher(null, matcher);
H A DRecordState.java84 throw new IllegalStateException("matcher calls were used outside expectations");
380 public void setDefaultMatcher(org.easymock.ArgumentsMatcher matcher) { argument
381 behavior.setDefaultMatcher(matcher);
385 public void setMatcher(Method method, org.easymock.ArgumentsMatcher matcher) { argument
386 requireMethodCall("matcher");
387 behavior.setMatcher(lastInvocation.getMethod(), matcher);
H A DReplayState.java136 public void setMatcher(Method method, org.easymock.ArgumentsMatcher matcher) { argument
141 public void setDefaultMatcher(org.easymock.ArgumentsMatcher matcher) { argument
/external/oprofile/libpp/
H A Dlocate_images.h39 /// 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;
/external/apache-http/src/org/apache/http/protocol/
H A DHttpRequestHandlerRegistry.java53 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/guava/src/com/google/common/base/
H A DPlatform.java56 static CharMatcher precomputeCharMatcher(CharMatcher matcher) { argument
57 return matcher.precomputedInternal();
/external/bluetooth/glib/gio/
H A Dglocalfileenumerator.c65 GFileAttributeMatcher *matcher; member in struct:_GLocalFileEnumerator
120 g_file_attribute_matcher_unref (local->matcher);
243 local->matcher = g_file_attribute_matcher_new (attributes);
326 _g_local_file_info_get_parent_info (local->filename, local->matcher, &local->parent_info);
344 local->matcher,
/external/easymock/src/org/easymock/
H A DMockControl.java320 * The matcher must be set before any behavior for the method is defined.
322 * @param matcher the matcher for the last method called
327 public void setMatcher(ArgumentsMatcher matcher) { argument
328 ctrl.setLegacyMatcher(matcher);
446 * matcher must be set before any behavior is defined on the mock object.
448 * @param matcher the default matcher for this control
453 public void setDefaultMatcher(ArgumentsMatcher matcher) { argument
454 ctrl.setLegacyDefaultMatcher(matcher);
[all...]
H A DEasyMock.java1635 * Reports an argument matcher. This method is needed to define own argument
1638 * @param matcher
1640 public static void reportMatcher(IArgumentMatcher matcher) { argument
1641 LastControl.reportMatcher(matcher);
/external/icu4c/common/
H A Dutil.cpp399 * Given a matcher reference, which may be null, append its
403 const UnicodeMatcher* matcher,
406 if (matcher != NULL) {
408 appendToRule(rule, matcher->toPattern(pat, escapeUnprintable),
402 appendToRule(UnicodeString& rule, const UnicodeMatcher* matcher, UBool escapeUnprintable, UnicodeString& quoteBuf) argument
/external/icu4c/samples/ugrep/
H A Dugrep.cpp120 RegexMatcher *matcher = rePat->matcher(empty, status); local
138 matcher->reset(s);
139 if (matcher->find()) {
149 delete matcher;
/external/bluetooth/glib/gio/win32/
H A Dgwinhttpfile.c476 GFileAttributeMatcher *matcher; local
527 matcher = g_file_attribute_matcher_new (attributes);
529 g_file_info_set_attribute_mask (info, matcher);
553 if (matcher == NULL)
605 g_file_attribute_matcher_unref (matcher);
/external/android-mock/src/com/google/android/testing/mocking/
H A DAndroidMock.java993 * this matcher during the replay phase.
2573 * Reports an argument matcher. This method is needed to define custom argument
2586 * @param matcher the matcher whose {@code matches} method will be applied to the incoming
2589 public static void reportMatcher(IArgumentMatcher matcher) { argument
2590 EasyMock.reportMatcher(matcher);

Completed in 606 milliseconds

12