Searched defs:matcher (Results 1 - 25 of 133) sorted by path

123456

/external/apache-http/src/org/apache/http/protocol/
H A DHttpRequestHandlerRegistry.java58 private final UriPatternMatcher matcher; field in class:HttpRequestHandlerRegistry
61 matcher = new UriPatternMatcher();
65 matcher.register(pattern, handler);
69 matcher.unregister(pattern);
73 matcher.setHandlers(map);
77 return (HttpRequestHandler) matcher.lookup(requestURI);
85 return matcher.matchUriRequestPattern(pattern, requestUri);
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
H A Djavascripttokenizer.py26 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 Dbrowsing_data_cookie_helper_unittest.cc75 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/chrome/browser/extensions/api/declarative_content/
H A Dcontent_condition_unittest.cc27 URLMatcher matcher; local
31 matcher.condition_factory(),
41 EXPECT_TRUE(matcher.IsEmpty()) << "Errors shouldn't add URL conditions";
45 URLMatcher matcher; local
49 matcher.condition_factory(),
59 EXPECT_TRUE(matcher.IsEmpty()) << "Errors shouldn't add URL conditions";
63 URLMatcher matcher; local
67 matcher.condition_factory(),
77 EXPECT_TRUE(matcher.IsEmpty()) << "Errors shouldn't add URL conditions";
81 URLMatcher matcher; local
[all...]
/external/chromium_org/chrome/browser/extensions/api/declarative_webrequest/
H A Dwebrequest_rules_registry_unittest.cc705 URLMatcher matcher; local
708 NULL, matcher.condition_factory(), rule.conditions, &error);
798 URLMatcher matcher; local
/external/chromium_org/components/autofill/core/browser/
H A Dautofill_regexes.cc24 // Returns the compiled regex matcher corresponding to |pattern|.
56 icu::RegexMatcher* matcher = new icu::RegexMatcher(icu_pattern, local
61 matchers_.insert(std::make_pair(pattern, matcher));
73 icu::RegexMatcher* matcher = local
76 matcher->reset(icu_input);
79 UBool match = matcher->find(0, status);
/external/chromium_org/components/url_matcher/
H A Dregex_set_matcher_unittest.cc23 RegexSetMatcher matcher; local
24 matcher.AddPatterns(regexes);
27 matcher.Match("http://abracadabra.com", &result1);
33 matcher.Match("https://abfffffffffffffffffffffffffffffff.fi/cf", &result2);
39 matcher.Match("http://nothing.com/", &result3);
49 RegexSetMatcher matcher; local
50 matcher.AddPatterns(regexes);
53 matcher.Match("http://aaa.net/", &result1);
57 matcher.Match("http://aaa.net/quaaACK", &result2);
H A Dsubstring_set_matcher_unittest.cc26 SubstringSetMatcher matcher; local
27 matcher.RegisterPatterns(patterns);
29 matcher.Match(test_string, &matches);
57 SubstringSetMatcher matcher; local
58 matcher.RegisterPatterns(patterns);
60 matcher.Match(test_string, &matches);
125 SubstringSetMatcher matcher; local
133 matcher.RegisterPatterns(patterns);
138 matcher.RegisterPatterns(patterns);
141 matcher
164 SubstringSetMatcher matcher; local
[all...]
H A Durl_matcher_factory_unittest.cc20 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...]
H A Durl_matcher_unittest.cc94 // 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...]
/external/chromium_org/extensions/browser/api/declarative/
H A Ddeclarative_rule_unittest.cc71 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/extensions/browser/api/declarative_webrequest/
H A Dwebrequest_condition_unittest.cc30 URLMatcher matcher; local
39 matcher.condition_factory(),
52 matcher.condition_factory(),
66 matcher.condition_factory(),
79 matcher.AddConditionSets(url_matcher_condition_set);
87 request_data.url_match_ids = matcher.MatchURL(http_url);
103 request_data.url_match_ids = matcher.MatchURL(http_url);
120 URLMatcher matcher; local
127 matcher.condition_factory(),
139 matcher
172 URLMatcher matcher; local
245 URLMatcher matcher; local
314 URLMatcher matcher; local
374 URLMatcher matcher; local
[all...]
/external/chromium_org/extensions/common/
H A Devent_filter.cc44 // 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/chromium_org/net/base/
H A Dmime_util.cc32 const char matcher[13]; member in struct:__anon9018::MediaType
1358 if (StartsWithASCII(mime_type, kIanaMediaTypes[i].matcher, true)) {
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DMediaQueryList.cpp31 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)
H A DMediaQueryMatcherTest.cpp19 RefPtrWillBeRawPtr<MediaQueryMatcher> matcher = MediaQueryMatcher::create(pageHolder->document()); local
21 ASSERT_TRUE(matcher->evaluate(querySet.get()));
23 matcher->documentDetached();
24 ASSERT_FALSE(matcher->evaluate(querySet.get()));
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/javascript/ com/google/javascript/jscomp/ ...
/external/chromium_org/third_party/android_platform/webview/
H A Dframeworks.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/location/ android/location/Address$1.class ...
/external/chromium_org/third_party/checkstyle/
H A Dcheckstyle-5.7-all.jarMETA-INF/MANIFEST.MF META-INF/ checkstyle_packages.xml checkstylecompilation.properties checkstyletask.properties com/ ...
/external/chromium_org/third_party/closure_compiler/compiler/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...
/external/chromium_org/third_party/closure_linter/closure_linter/
H A Djavascripttokenizer.py26 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/harfbuzz-ng/src/
H A Dhb-ot-layout-gsubgpos-private.hh386 matcher.set_lookup_props (c->lookup_props);
388 matcher.set_ignore_zwnj (context_match || c->table_index == 1);
390 matcher.set_ignore_zwj (context_match || c->table_index == 1 || c->auto_zwj);
392 matcher.set_mask (c->lookup_mask);
393 matcher.set_syllable (start_index_ == c->buffer->idx ? c->buffer->cur().syllable () : 0);
395 inline void set_lookup_props (unsigned int lookup_props) { matcher.set_lookup_props (lookup_props); }
396 inline void set_syllable (unsigned int syllable) { matcher.set_syllable (syllable); }
401 matcher.set_match_func (match_func, match_data);
415 matcher_t::may_skip_t skip = matcher.may_skip (c, info);
419 matcher_t::may_match_t match = matcher
438 matcher_t matcher; member in struct:OT::hb_apply_context_t::skipping_forward_iterator_t
508 matcher_t matcher; member in struct:OT::hb_apply_context_t::skipping_backward_iterator_t
[all...]
/external/chromium_org/third_party/icu/source/common/
H A Dutil.cpp395 * 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
/external/chromium_org/third_party/icu/source/i18n/
H A Ddtptngen.cpp925 // 1. We pass that skeleton to matcher.set instead of having it derive a skeleton from the pattern.
946 DateTimeMatcher matcher; local
948 matcher.set(pattern, fp, skeleton);
949 matcher.getBasePattern(basePattern);
951 matcher.set(*skeletonToUse, fp, skeleton); // no longer trims skeleton fields to max len 3, per #7930
952 matcher.getBasePattern(basePattern); // or perhaps instead: basePattern = *skeletonToUse;
1908 matcher= new DateTimeMatcher();
1913 delete matcher;
1990 matcher->copyFrom(*nodePtr->skeleton);
1993 matcher
[all...]
H A Ddtptngen_impl.h226 DateTimeMatcher *matcher; member in class:PatternMapIterator

Completed in 6000 milliseconds

123456