/external/chromium_org/chrome/common/extensions/manifest_handlers/ |
automation_unittest.cc | 61 EXPECT_TRUE(info->matches.is_empty()); 80 EXPECT_TRUE(info->matches.is_empty()); 83 TEST_F(AutomationManifestTest, Matches) { 104 EXPECT_FALSE(info->matches.is_empty()); 106 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.google.com/"))); 107 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.google.com"))); 108 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.twitter.com/"))); 109 EXPECT_TRUE(info->matches.MatchesURL(GURL("http://www.twitter.com"))); 111 EXPECT_FALSE(info->matches.MatchesURL(GURL("http://www.bing.com/"))); 112 EXPECT_FALSE(info->matches.MatchesURL(GURL("http://www.bing.com"))) [all...] |
/external/iproute2/ip/ |
link_gre.c | 133 if (!matches(*argv, "key")) { 151 } else if (!matches(*argv, "ikey")) { 166 } else if (!matches(*argv, "okey")) { 181 } else if (!matches(*argv, "seq")) { 184 } else if (!matches(*argv, "iseq")) { 186 } else if (!matches(*argv, "oseq")) { 188 } else if (!matches(*argv, "csum")) { 191 } else if (!matches(*argv, "icsum")) { 193 } else if (!matches(*argv, "ocsum")) { 195 } else if (!matches(*argv, "nopmtudisc")) [all...] |
ipmroute.c | 173 } else if (matches(*argv, "from") == 0) { 180 if (matches(*argv, "help") == 0) 197 if (matches(*argv, "add") == 0) 199 if (matches(*argv, "delete") == 0) 201 if (matches(*argv, "get") == 0) 204 if (matches(*argv, "list") == 0 || matches(*argv, "show") == 0 205 || matches(*argv, "lst") == 0) 207 if (matches(*argv, "help") == 0)
|
/external/iproute2/tc/ |
tc_filter.c | 103 } else if (matches(*argv, "preference") == 0 || 104 matches(*argv, "priority") == 0) { 110 } else if (matches(*argv, "protocol") == 0) { 119 } else if (matches(*argv, "estimator") == 0) { 122 } else if (matches(*argv, "help") == 0) { 151 if (matches(*argv, "help") == 0) 300 } else if (matches(*argv, "preference") == 0 || 301 matches(*argv, "priority") == 0) { 308 } else if (matches(*argv, "protocol") == 0) { 317 } else if (matches(*argv, "help") == 0) [all...] |
m_police.c | 79 if (matches(arg, "continue") == 0) 81 else if (matches(arg, "drop") == 0) 83 else if (matches(arg, "shot") == 0) 85 else if (matches(arg, "pass") == 0) 89 else if (matches(arg, "reclassify") == 0) 91 else if (matches(arg, "pipe") == 0) 153 if (matches(*argv, "index") == 0) { 159 } else if (matches(*argv, "burst") == 0 || 212 } else if (matches(*argv, "peakrate") == 0) { 222 } else if (matches(*argv, "reclassify") == 0) [all...] |
m_estimator.c | 46 if (matches(*argv, "help") == 0) 51 if (matches(*argv, "help") == 0)
|
/external/chromium_org/chrome/browser/autocomplete/ |
bookmark_provider_unittest.cc | 131 // Return the positions in |matches| as a formatted string for unit test 133 base::string16 MatchesAsString16(const ACMatches& matches) { 135 for (ACMatches::const_iterator i = matches.begin(); i != matches.end(); ++i) { 205 // There are two expected matches: 210 // value is ignored. The second match, [1], indicates that two matches are 250 // Quoted terms require complete word matches. 271 const ACMatches& matches(provider_->matches()); 273 EXPECT_LE(matches.size(), query_data[i].match_count 309 const std::string matches[3]; member in struct:QueryData [all...] |
keyword_extensions_delegate_impl.cc | 78 profile_, template_url, remaining_input, &matches()->front()); 85 matches()->push_back(extension_suggest_matches_[i]); 86 matches()->back().relevance = matches()->front().relevance - (i + 1); 140 if (matches()->empty() || current_keyword_extension_id_.empty() || 148 profile_, template_url, remaining_input, &matches()->front()); 181 // Because these matches are async, we should never let them become the 197 matches()->insert(matches()->end(),
|
/libcore/luni/src/test/java/libcore/java/util/regex/ |
OldMatcherTest.java | 287 assertTrue(mat.matches()); 332 mat.matches(); 379 assertTrue(mat.matches()); 389 assertTrue(Pattern.compile("\\x61a").matcher("aa").matches()); method 390 // assertTrue(Pattern.matches("\\u0061a", "aa")); 391 assertTrue(Pattern.compile("\\0141a").matcher("aa").matches()); method 392 assertTrue(Pattern.compile("\\0777").matcher("?7").matches()); method 397 assertTrue(Pattern.compile("\\p{Ll}").matcher("k").matches()); // Unicode lower case method 398 assertTrue(Pattern.compile("\\P{Ll}").matcher("K").matches()); // Unicode non-lower method 400 assertTrue(Pattern.compile("\\p{Lu}").matcher("K").matches()); // Unicode upper cas method 401 assertTrue(Pattern.compile("\\\\P{Lu}").matcher("k").matches()); \/\/ Unicode non-upper method 404 assertTrue(Pattern.compile("[\\\\p{L}&&[^\\\\p{Lu}]]").matcher("k").matches()); method 405 assertTrue(Pattern.compile("[\\\\p{L}&&[^\\\\p{Ll}]]").matcher("K").matches()); method 406 assertFalse(Pattern.compile("[\\\\p{L}&&[^\\\\p{Lu}]]").matcher("K").matches()); method 407 assertFalse(Pattern.compile("[\\\\p{L}&&[^\\\\p{Ll}]]").matcher("k").matches()); method 410 assertFalse(Pattern.compile("[\\\\p{L}&&[^a-z]]").matcher("k").matches()); method 411 assertTrue(Pattern.compile("[\\\\p{L}&&[^a-z]]").matcher("K").matches()); method 413 assertTrue(Pattern.compile("[\\\\p{Lu}a-z]").matcher("k").matches()); method 414 assertTrue(Pattern.compile("[a-z\\\\p{Lu}]").matcher("k").matches()); method 416 assertFalse(Pattern.compile("[\\\\p{Lu}a-d]").matcher("k").matches()); method 417 assertTrue(Pattern.compile("[a-d\\\\p{Lu}]").matcher("K").matches()); method 420 assertFalse(Pattern.compile("[\\\\p{L}&&[^\\\\p{Lu}&&[^G]]]").matcher("K").matches()); method 559 assertTrue(pattern.matcher("14pt").matches()); method [all...] |
/external/chromium_org/chrome/browser/history/ |
in_memory_url_index_types.cc | 21 // Matches within URL and Title Strings ---------------------------------------- 30 TermMatches matches; local 34 matches.push_back(TermMatch(term_num, location, term.length())); 35 return matches; 43 TermMatches SortAndDeoverlapMatches(const TermMatches& matches) { 44 if (matches.empty()) 45 return matches; 46 TermMatches sorted_matches = matches; 60 std::vector<size_t> OffsetsFromTermMatches(const TermMatches& matches) { 62 for (TermMatches::const_iterator i = matches.begin(); i != matches.end() [all...] |
/external/clang/include/clang/ASTMatchers/ |
ASTMatchers.h | 109 /// \brief If the provided matcher matches a node, binds the node to \c ID. 129 /// \brief Matches any node. 135 /// Example: \c DeclarationMatcher(anything()) matches all declarations, e.g., 148 /// \brief Matches declarations. 150 /// Examples matches \c X, \c C, and the friend declaration inside \c C; 159 /// \brief Matches a declaration of anything that could have a name. 161 /// Example matches \c X, \c S, the anonymous union type, \c i, and \c U; 172 /// \brief Matches a declaration of a namespace. 180 /// matches "namespace {}" and "namespace test {}" 183 /// \brief Matches C++ class declarations [all...] |
/art/runtime/ |
vmap_table.h | 99 uint32_t matches = 0; local 104 matches++; 106 matches++; 108 CHECK_LT(vmap_offset - matches, static_cast<uint32_t>(POPCOUNT(spill_mask))); 110 while (matches != (vmap_offset + 1)) { 112 matches += spill_mask & 1; // Add 1 if the low bit is set
|
/external/iproute2/genl/ |
genl.c | 115 if (matches(argv[1], "-stats") == 0 || 116 matches(argv[1], "-statistics") == 0) { 118 } else if (matches(argv[1], "-details") == 0) { 120 } else if (matches(argv[1], "-raw") == 0) { 122 } else if (matches(argv[1], "-Version") == 0) { 125 } else if (matches(argv[1], "-help") == 0) {
|
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
tst-rxspencer.c | 215 char *expect, char *matches, const char *fail) 292 if (matches == NULL) 299 if (matches) 301 p = strchr (matches, ','); 305 ret = check_match (rm, n, string, matches ? matches : "-", fail); 309 matches = p + 1; 312 matches = NULL; 320 char *expect, const char *matches, const char *letters, 327 char *matches_mb = mb_frob_string (matches, letters) 440 char *pattern, *flagstr, *string, *expect, *matches, *p; local [all...] |
/external/chromium_org/extensions/common/manifest_handlers/ |
externally_connectable.h | 67 const URLPatternSet matches; member in struct:extensions::ExternallyConnectableInfo 87 ExternallyConnectableInfo(const URLPatternSet& matches,
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
MediaQueryList.idl | 27 readonly attribute boolean matches;
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Attribute.h | 54 bool matches(const QualifiedName&) const; 75 inline bool Attribute::matches(const QualifiedName& qualifiedName) const function in class:blink::Attribute
|
/external/droiddriver/src/com/google/android/droiddriver/finders/ |
MatchFinder.java | 47 if (matches(context)) { 62 * Returns true if the {@code element} matches this finder. This can be used 67 * @return true if the element matches 69 public final boolean matches(UiElement element) { method in class:MatchFinder
|
/external/easymock/src/org/easymock/internal/matchers/ |
And.java | 34 public boolean matches(Object actual) {
method in class:And 36 if (!matcher.matches(actual)) {
|
Or.java | 34 public boolean matches(Object actual) {
method in class:Or 36 if (matcher.matches(actual)) {
|
/external/hamcrest/src/org/hamcrest/core/ |
AllOf.java | 22 public boolean matches(Object o) { method in class:AllOf 24 if (!matcher.matches(o)) {
|
AnyOf.java | 23 public boolean matches(Object o) { method in class:AnyOf 25 if (matcher.matches(o)) {
|
Is.java | 25 public boolean matches(Object arg) { method in class:Is 26 return matcher.matches(arg);
|
IsNot.java | 22 public boolean matches(Object arg) { method in class:IsNot 23 return !matcher.matches(arg);
|
/external/junit/src/org/junit/internal/matchers/ |
CombinableMatcher.java | 17 public boolean matches(Object item) { method in class:CombinableMatcher 18 return fMatcher.matches(item);
|