/external/mockito/src/org/mockito/internal/progress/ |
H A D | ArgumentMatcherStorage.java | 15 HandyReturnValues reportMatcher(Matcher matcher);
argument
|
H A D | ArgumentMatcherStorageImpl.java | 31 public HandyReturnValues reportMatcher(Matcher matcher) { argument 32 matcherStack.push(new LocalizedMatcher(matcher));
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | UriMatcherTest.java | 22 UriMatcher matcher; field in class:UriMatcherTest 28 matcher = new UriMatcher(NO_MATCH); 29 root = Robolectric.shadowOf(matcher).rootNode; 43 matcher.addURI(AUTH, path, 1); 57 matcher.addURI(AUTH, "#", 1); 58 matcher.addURI(AUTH, "*", 2); 66 matcher.addURI(AUTH, "bar", 1); 67 assertThat(matcher.match(Uri.withAppendedPath(URI, "bar")), is(1)); 69 matcher.addURI(AUTH, "bar/#", 2); 70 assertThat(matcher [all...] |
/external/chromium_org/third_party/leveldatabase/src/util/ |
H A D | testharness.cc | 37 const char* matcher = getenv("LEVELDB_TESTS"); local 43 if (matcher != NULL) { 47 if (strstr(name.c_str(), matcher) == NULL) {
|
/external/easymock/src/org/easymock/internal/ |
H A D | 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)))
43 ExpectedInvocation(Invocation invocation, List<IArgumentMatcher> matchers, @SuppressWarnings(�) org.easymock.ArgumentsMatcher matcher) argument 131 withMatcher(@uppressWarnings�) org.easymock.ArgumentsMatcher matcher) argument [all...] |
H A D | LastControl.java | 47 public static void reportMatcher(IArgumentMatcher matcher) {
argument 53 stack.push(matcher);
|
H A D | Invocation.java | 135 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 D | MocksBehavior.java | 231 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);
|
/external/junit/src/org/junit/rules/ |
H A D | ExpectedException.java | 65 * Adds {@code matcher} to the list of requirements for any thrown exception. 69 public void expect(Matcher<?> matcher) { argument 71 fMatcher= (Matcher<Object>) matcher; 73 fMatcher= both(fMatcher).and(matcher); 93 * Adds {@code matcher} to the list of requirements for the message 96 public void expectMessage(Matcher<String> matcher) { argument 97 expect(hasMessage(matcher)); 123 private Matcher<Throwable> hasMessage(final Matcher<String> matcher) { argument 127 description.appendDescriptionOf(matcher); 132 return matcher [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | MediaQueryList.cpp | 31 PassRefPtrWillBeRawPtr<MediaQueryList> MediaQueryList::create(ExecutionContext* context, PassRefPtrWillBeRawPtr<MediaQueryMatcher> matcher, PassRefPtrWillBeRawPtr<MediaQuerySet> media) argument 33 RefPtrWillBeRawPtr<MediaQueryList> list = adoptRefWillBeNoop(new MediaQueryList(context, matcher, media)); 38 MediaQueryList::MediaQueryList(ExecutionContext* context, PassRefPtrWillBeRawPtr<MediaQueryMatcher> matcher, PassRefPtrWillBeRawPtr<MediaQuerySet> media) argument 40 , m_matcher(matcher)
|
/external/chromium_org/third_party/libaddressinput/src/cpp/src/ |
H A D | rule.cc | 212 RE2* matcher = new RE2("^(" + value + ")", options); local 213 if (matcher->ok()) { 214 postal_code_matcher_.reset(new RE2ptr(matcher)); 217 delete matcher;
|
/external/hamcrest/src/org/hamcrest/ |
H A D | CoreMatchers.java | 13 public static <T> org.hamcrest.Matcher<T> is(org.hamcrest.Matcher<T> matcher) { argument 14 return org.hamcrest.core.Is.is(matcher); 40 public static <T> org.hamcrest.Matcher<T> not(org.hamcrest.Matcher<T> matcher) { argument 41 return org.hamcrest.core.IsNot.not(matcher); 108 * This matcher always evaluates to true. 115 * This matcher always evaluates to true. 124 * This matcher always evaluates to true. With type inference. 159 * Wraps an existing matcher and overrides the description when it fails. 161 public static <T> org.hamcrest.Matcher<T> describedAs(java.lang.String description, org.hamcrest.Matcher<T> matcher, java.lang.Object... values) { argument 162 return org.hamcrest.core.DescribedAs.describedAs(description, matcher, value [all...] |
/external/mockito/src/org/mockito/ |
H A D | AdditionalMatchers.java | 570 * placeholder for the first argument matcher. 572 * placeholder for the second argument matcher. 585 * placeholder for the first argument matcher. 587 * placeholder for the second argument matcher. 600 * placeholder for the first argument matcher. 602 * placeholder for the second argument matcher. 615 * placeholder for the first argument matcher. 617 * placeholder for the second argument matcher. 630 * placeholder for the first argument matcher. 632 * placeholder for the second argument matcher 989 reportMatcher(ArgumentMatcher<?> matcher) argument [all...] |
/external/mockito/src/org/mockito/internal/invocation/ |
H A D | InvocationMatcher.java | 133 private boolean isVarargMatcher(Matcher matcher) { argument 134 Matcher actualMatcher = matcher;
|
/external/chromium_org/components/url_matcher/ |
H A D | url_matcher_unittest.cc | 94 // matches = {0} --> matcher did not indicate that m1 was a match. 98 // matches = {0, 1} --> matcher did indicate that m1 was a match. 544 URLMatcher matcher; local 547 matcher.AddConditionSets(vector); 549 return matcher.MatchURL(url).size() == 1; 792 URLMatcher matcher; local 793 URLMatcherConditionFactory* factory = matcher.condition_factory(); 804 matcher.AddConditionSets(insert1); 805 EXPECT_EQ(1u, matcher.MatchURL(url1).size()); 806 EXPECT_EQ(0u, matcher 877 URLMatcher matcher; local 927 URLMatcher matcher; local 945 URLMatcher matcher; local [all...] |
H A D | url_matcher_factory_unittest.cc | 20 URLMatcher matcher; local 69 matcher.condition_factory(), &invalid_condition, 1, &error); 76 matcher.condition_factory(), &invalid_condition2, 2, &error); 83 matcher.condition_factory(), &invalid_condition3, 3, &error); 89 matcher.condition_factory(), &invalid_condition4, 4, &error); 96 matcher.condition_factory(), &valid_condition, 100, &error); 102 matcher.AddConditionSets(conditions); 104 EXPECT_EQ(1u, matcher.MatchURL(GURL("http://www.example.com")).size()); 105 EXPECT_EQ(1u, matcher.MatchURL(GURL("http://www.example.com:80")).size()); 106 EXPECT_EQ(1u, matcher 118 URLMatcher matcher; local 239 URLMatcher matcher; local [all...] |
/external/chromium_org/extensions/common/ |
H A D | event_filter.cc | 44 // Normally when an event matcher entry is removed from event_matchers_ it 58 scoped_ptr<EventMatcher> matcher) { 61 if (!CreateConditionSets(id, matcher.get(), &condition_sets)) 71 new EventMatcherEntry(matcher.Pass(), &url_matcher_, condition_sets)); 88 EventMatcher* matcher, 90 if (matcher->GetURLFilterCount() == 0) { 96 for (int i = 0; i < matcher->GetURLFilterCount(); i++) { 98 if (!matcher->GetURLFilter(i, &url_filter)) 57 AddEventMatcher(const std::string& event_name, scoped_ptr<EventMatcher> matcher) argument 86 CreateConditionSets( MatcherID id, EventMatcher* matcher, URLMatcherConditionSet::Vector* condition_sets) argument
|
/external/clang/include/clang/ASTMatchers/Dynamic/ |
H A D | VariantValue.h | 34 /// \brief A variant matcher object. 39 /// overloads of the matcher. \c VariantMatcher knows how to select the 41 /// To get a real matcher object out of a \c VariantMatcher you can do: 42 /// - getSingleMatcher() which returns a matcher, only if it is not ambiguous 43 /// to decide which matcher to return. Eg. it contains only a single 44 /// matcher, or a polymorphic one with only one overload. 46 /// the underlying matcher(s) can unambiguously return a Matcher<T>. 60 /// \brief Payload interface to be specialized by each matcher type. 72 /// \brief A null matcher. 75 /// \brief Clones the provided matcher 178 const MatcherT &matcher() const { return *Out; } function in class:clang::ast_matchers::dynamic::VariantMatcher::TypedMatcherOps [all...] |
/external/junit/src/org/junit/ |
H A D | Assert.java | 714 * <code>matcher</code>. If not, an {@link AssertionError} is thrown with 715 * information about the matcher and failing value. Example: 726 * the static type accepted by the matcher (this can flag obvious 730 * @param matcher 737 public static <T> void assertThat(T actual, Matcher<T> matcher) { argument 738 assertThat("", actual, matcher); 743 * <code>matcher</code>. If not, an {@link AssertionError} is thrown with 744 * the reason and information about the matcher and failing value. Example: 759 * the static type accepted by the matcher (this can flag obvious 763 * @param matcher 770 assertThat(String reason, T actual, Matcher<T> matcher) argument [all...] |
/external/ltrace/ |
H A D | filter.c | 50 struct filter_lib_matcher *matcher, 54 rule->lib_matcher = matcher; 76 filter_lib_matcher_name_init(struct filter_lib_matcher *matcher, argument 87 matcher->type = type; 88 matcher->libname_re = libname_re; 93 filter_lib_matcher_main_init(struct filter_lib_matcher *matcher) argument 95 matcher->type = FLM_MAIN; 99 filter_lib_matcher_destroy(struct filter_lib_matcher *matcher) argument 101 switch (matcher->type) { 104 regfree(&matcher 49 filter_rule_init(struct filter_rule *rule, enum filter_rule_type type, struct filter_lib_matcher *matcher, regex_t symbol_re) argument 128 matcher_matches_library(struct filter_lib_matcher *matcher, struct library *lib) argument [all...] |
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
H A D | javascripttokenizer.py | 26 from closure_linter.common import matcher namespace 31 Matcher = matcher.Matcher 35 """Enumeration of the different matcher modes used for JavaScript.""" 214 # The token matcher groups work as follows: it is an list of Matcher objects.
|
/external/chromium_org/chrome/browser/browsing_data/ |
H A D | browsing_data_cookie_helper_unittest.cc | 75 CookieExpectation matcher; local 77 matcher.source_ = source; 79 matcher.domain_ = domain; 81 matcher.path_ = path; 83 matcher.name_ = name; 85 matcher.value_ = value; 86 cookie_expectations_.push_back(matcher); 98 CookieMatcher matcher(*it); 100 cookie_expectations_.begin(), cookie_expectations_.end(), matcher);
|
/external/chromium_org/extensions/browser/api/declarative/ |
H A D | declarative_rule_unittest.cc | 71 URLMatcher matcher; local 78 NULL, matcher.condition_factory(), conditions, &error); 84 URLMatcher matcher; local 92 NULL, matcher.condition_factory(), conditions, &error); 97 EXPECT_EQ(matcher.condition_factory(), result->conditions()[0]->factory); 193 << "Tests a condition with a url matcher, for a matching value."; 196 << "Tests a condition with a url matcher, for a non-matching value " 337 URLMatcher matcher; local 339 scoped_ptr<Rule> rule(Rule::Create(matcher.condition_factory(), 384 URLMatcher matcher; local [all...] |
/external/chromium_org/third_party/closure_linter/closure_linter/ |
H A D | javascripttokenizer.py | 26 from closure_linter.common import matcher namespace 31 Matcher = matcher.Matcher 35 """Enumeration of the different matcher modes used for JavaScript.""" 218 """Builds the token matcher group. 220 The token matcher groups work as follows: it is a list of Matcher objects. 226 The completed token matcher group.
|
/external/chromium_org/third_party/icu/source/common/ |
H A D | util.cpp | 395 * Given a matcher reference, which may be null, append its 399 const UnicodeMatcher* matcher, 402 if (matcher != NULL) { 404 appendToRule(rule, matcher->toPattern(pat, escapeUnprintable), 398 appendToRule(UnicodeString& rule, const UnicodeMatcher* matcher, UBool escapeUnprintable, UnicodeString& quoteBuf) argument
|