/external/chromium/chrome/browser/autocomplete/ |
history_url_provider.cc | 54 // Innermost matches (matches after any scheme or "www.") are better than 55 // non-innermost matches. 80 // match's URL to just a host. If this host still matches the user input, 91 // Transform to a host-only match. Bail if the host no longer matches the 131 // here; some clever caching would let us reuse the raw matches from the 208 // need to promote lower-quality matches that are prefixes of 209 // higher-quality matches, and remove lower-quality redirects. So we ask 233 // converting the rest of the matches. 245 params->matches.push_back(what_you_typed_match) [all...] |
history_url_provider.h | 55 // This pass promotes matches for inline autocomplete if applicable. We do 61 // two passes, so we can't just decide to use this pass' matches as the final 115 // List of matches written by the history thread. We keep this separate list 116 // to avoid having the main thread read the provider's matches while the 119 ACMatches matches; member in struct:HistoryURLProviderParams 195 // match's URL to just a host. If this host still matches the user input, 201 // place it at the front of |matches|. This can suggest history URLs that 212 history::HistoryMatches* matches); 214 // Ensures that |matches| contains an entry for |info|, which may mean adding 218 // |matches|, moving or adding it to the front as appropriate. Whe [all...] |
history_contents_provider_unittest.cc | 52 const ACMatches& matches() const { return provider_->matches(); } function in class:__anon2457::HistoryContentsProviderTest 115 const ACMatches& m = matches(); 129 const ACMatches& m = matches(); 144 const ACMatches& m1 = matches(); 151 const ACMatches& m2 = matches(); 157 const ACMatches& m3 = matches(); 175 const ACMatches& m1 = matches(); 185 const ACMatches& m2 = matches(); 193 const ACMatches& m3 = matches(); [all...] |
/external/apache-harmony/regex/src/test/java/org/apache/harmony/tests/java/util/regex/ |
PatternTest.java | 51 assertTrue(p.matcher("abcd").matches()); method 166 assertFalse(mat.matches()); 172 assertTrue(mat.matches()); 178 assertTrue(mat.matches()); 184 assertTrue(mat.matches()); 190 assertTrue(mat.matches()); 196 assertFalse(mat.matches()); 202 assertFalse(mat.matches()); 208 assertTrue(mat.matches()); 214 assertTrue(mat.matches()); 741 assertTrue(pat.matcher("bBbBaaaa").matches()); method 742 assertFalse(pat.matcher("bBbBAaAa").matches()); method 746 assertTrue(pat.matcher("bBbBaaaa").matches()); method 747 assertFalse(pat.matcher("bBbBAaAa").matches()); method 767 assertTrue(pat.matcher("a.b.c.log").matches()); method 768 assertFalse(pat.matcher("a.b.c.log.").matches()); method 772 assertFalse(pat.matcher("abc.log").matches()); method 773 assertTrue(pat.matcher("abc.logg").matches()); method 777 assertFalse(pat.matcher("cde.log").matches()); method 778 assertTrue(pat.matcher("abc.log").matches()); method 782 assertTrue(pat.matcher("cde.log").matches()); method 783 assertFalse(pat.matcher("abc.log").matches()); method 787 assertFalse(pat.matcher("aaabb").matches()); method 789 assertTrue(pat.matcher("aaabb").matches()); method 792 assertTrue(pat.matcher("aaabb").matches()); method 794 assertFalse(pat.matcher("aaabb").matches()); method 798 assertTrue(pat.matcher("cde.log").matches()); method 800 assertFalse(pat.matcher("cde.log").matches()); method [all...] |
/external/chromium/chrome/browser/history/ |
snippet.h | 25 // The information is encoded in the string as a set of matches, where each 28 // from other matches. 49 // Given |matches|, the match positions within |document|, compute the snippet 51 // Note that |document| is UTF-8 and the offsets in |matches| are byte 53 void ComputeSnippet(const MatchPositions& matches, 57 const MatchPositions& matches() const { return matches_; } function in class:Snippet 66 // The matches within text_.
|
snippet_unittest.cc | 89 // |query| against |document|. Matches are surrounded by "**". 122 // Now "highlight" all matches in the snippet with **. 126 for (match = snippet.matches().begin(); 127 match != snippet.matches().end(); ++match) { 244 Snippet::MatchPositions matches; local 245 Snippet::ExtractMatchPositions(data[i].offsets_string, "0", &matches); 246 EXPECT_EQ(data[i].expected_match_count, matches.size()); 248 EXPECT_EQ(data[i].expected_matches[2 * j], matches[j].first); 249 EXPECT_EQ(data[i].expected_matches[2 * j + 1], matches[j].second);
|
/external/easymock/src/org/easymock/internal/ |
ErrorMessage.java | 44 public void appendTo(StringBuilder buffer, int matches) {
47 if (matches == 1) {
|
ArrayMatcher.java | 28 return new ArrayEquals(expected).matches(actual);
|
/external/llvm/utils/TableGen/ |
StringMatcher.h | 29 /// not exit this code fragment. If nothing matches, execution falls through. 36 const std::vector<StringPair> &Matches; 41 const std::vector<StringPair> &matches, raw_ostream &os) 42 : StrVariableName(strVariableName), Matches(matches), OS(os) {} 48 bool EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches,
|
/external/proguard/src/proguard/util/ |
ListMatcher.java | 52 public boolean matches(String string) method in class:ListMatcher 58 if (matcher.matches(string))
|
/external/webkit/Source/WebCore/css/ |
MediaQueryList.h | 45 bool matches(); 53 MediaQueryList(PassRefPtr<MediaQueryMatcher>, PassRefPtr<MediaList>, bool matches);
|
/external/iproute2/tc/ |
m_nat.c | 53 if (matches(*argv, "egress") == 0) 55 else if (matches(*argv, "ingress") != 0) 97 if (matches(*argv, "nat") == 0) { 107 } else if (matches(*argv, "help") == 0) { 121 if (matches(*argv, "reclassify") == 0) { 125 } else if (matches(*argv, "pipe") == 0) { 129 } else if (matches(*argv, "drop") == 0 || 130 matches(*argv, "shot") == 0) { 134 } else if (matches(*argv, "continue") == 0) { 138 } else if (matches(*argv, "pass") == 0) [all...] |
tc.c | 223 if (matches(*argv, "qdisc") == 0) 226 if (matches(*argv, "class") == 0) 229 if (matches(*argv, "filter") == 0) 232 if (matches(*argv, "actions") == 0) 235 if (matches(*argv, "monitor") == 0) 238 if (matches(*argv, "help") == 0) { 305 if (matches(argv[1], "-stats") == 0 || 306 matches(argv[1], "-statistics") == 0) { 308 } else if (matches(argv[1], "-details") == 0) { 310 } else if (matches(argv[1], "-raw") == 0) [all...] |
/external/iproute2/ip/ |
iptuntap.c | 116 if (matches(*argv, "mode") == 0) { 118 if (matches(*argv, "tun") == 0) { 124 } else if (matches(*argv, "tap") == 0) { 134 } else if (uid && matches(*argv, "user") == 0) { 149 } else if (gid && matches(*argv, "group") == 0) { 165 } else if (matches(*argv, "pi") == 0) { 167 } else if (matches(*argv, "one_queue") == 0) { 169 } else if (matches(*argv, "vnet_hdr") == 0) { 171 } else if (matches(*argv, "dev") == 0) { 175 if (matches(*argv, "name") == 0) [all...] |
iplink_can.c | 105 if (matches(*argv, "bitrate") == 0) { 109 } else if (matches(*argv, "sample-point") == 0) { 117 } else if (matches(*argv, "tq") == 0) { 121 } else if (matches(*argv, "prop-seg") == 0) { 125 } else if (matches(*argv, "phase-seg1") == 0) { 129 } else if (matches(*argv, "phase-seg2") == 0) { 133 } else if (matches(*argv, "sjw") == 0) { 137 } else if (matches(*argv, "loopback") == 0) { 141 } else if (matches(*argv, "listen-only") == 0) { 145 } else if (matches(*argv, "triple-sampling") == 0) [all...] |
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...] |
/external/easymock/src/org/easymock/internal/matchers/ |
Any.java | 32 public boolean matches(Object actual) {
method in class:Any
|
NotNull.java | 32 public boolean matches(Object actual) {
method in class:NotNull
|
Null.java | 31 public boolean matches(Object actual) {
method in class:Null
|
/external/proguard/src/proguard/io/ |
DataEntryNameFilter.java | 52 return dataEntry != null && stringMatcher.matches(dataEntry.getName());
|
/external/webkit/Source/WebCore/platform/text/ |
TextEncodingDetectorICU.cpp | 76 const UCharsetMatch** matches = ucsdet_detectAll(detector, &matchesCount, &status); 95 int32_t confidence = ucsdet_getConfidence(matches[i], &status); 102 const char* matchEncoding = ucsdet_getName(matches[i], &status); 118 encoding = ucsdet_getName(matches[0], &status);
|
/external/webkit/Source/WebKit/win/Interfaces/ |
IWebUserContentURLPattern.idl | 42 HRESULT matchesSubdomains([out, retval] BOOL* matches); 43 HRESULT matchesURL([in] BSTR url, [out, retval] BOOL* matches);
|
/frameworks/base/tests/CoreTests/android/core/ |
RegexTest.java | 37 assertTrue("Should match.", m.matches()); 42 assertFalse("Should not match.", m.matches()); 46 assertFalse("Should not match.", m.matches()); 50 assertFalse("Should not match.", m.matches()); 52 /* Make sure matches() doesn't change after calls to find() */ 55 assertTrue(m.matches()); 57 assertTrue(m.matches()); 61 assertFalse(m.matches()); 63 assertFalse(m.matches()); 65 /* Make sure matches() agrees after a reset() * 270 assertTrue(EMAIL_ADDRESS_PATTERN.matcher("a+b@gmail.com").matches()); method [all...] |
/external/iproute2/genl/ |
genl.c | 123 if (matches(argv[1], "-stats") == 0 || 124 matches(argv[1], "-statistics") == 0) { 126 } else if (matches(argv[1], "-details") == 0) { 128 } else if (matches(argv[1], "-raw") == 0) { 130 } else if (matches(argv[1], "-Version") == 0) { 133 } else if (matches(argv[1], "-help") == 0) { 154 if (matches(argv[1], "help") == 0)
|
/external/guava/src/com/google/common/base/ |
CharMatcher.java | 35 * this.matches(c)} returns {@code true}". 134 @Override public boolean matches(char c) { 146 @Override public boolean matches(char c) { 156 @Override public boolean matches(char c) { 166 @Override public boolean matches(char c) { 176 @Override public boolean matches(char c) { 229 /** Matches any character. */ 231 @Override public boolean matches(char c) { 296 /** Matches no characters. */ 298 @Override public boolean matches(char c) [all...] |