/external/mockito/src/org/mockito/internal/matchers/ |
Null.java | 22 public boolean matches(Object actual) { method in class:Null
|
StartsWith.java | 23 public boolean matches(Object actual) { method in class:StartsWith
|
/external/proguard/src/proguard/util/ |
ExtensionMatcher.java | 46 public boolean matches(String string) method in class:ExtensionMatcher
|
VariableStringMatcher.java | 53 public boolean matches(String string) method in class:VariableStringMatcher 74 if (nextMatcher.matches(string.substring(index))) 86 return nextMatcher.matches(string.substring(maximumLength));
|
/frameworks/base/core/tests/coretests/src/android/net/ |
RouteInfoTest.java | 80 public boolean matches(InetAddress destination) { method in class:RouteInfoTest.PatchedRouteInfo 81 return mRouteInfo.matches(destination); 88 assertTrue(r.matches(Address("2001:db8:f00::ace:d00c"))); 89 assertTrue(r.matches(Address("2001:db8:f00::ace:d00d"))); 90 assertFalse(r.matches(Address("2001:db8:f00::ace:d00e"))); 91 assertFalse(r.matches(Address("2001:db8:f00::bad:d00d"))); 92 assertFalse(r.matches(Address("2001:4868:4860::8888"))); 95 assertTrue(r.matches(Address("192.0.2.43"))); 96 assertTrue(r.matches(Address("192.0.3.21"))); 97 assertFalse(r.matches(Address("192.0.0.21"))) [all...] |
/external/iproute2/tc/ |
q_cbq.c | 66 if (matches(*argv, "bandwidth") == 0 || 67 matches(*argv, "rate") == 0) { 73 } else if (matches(*argv, "ewma") == 0) { 83 } else if (matches(*argv, "cell") == 0) { 99 } else if (matches(*argv, "avpkt") == 0) { 105 } else if (matches(*argv, "mpu") == 0) { 111 } else if (matches(*argv, "allot") == 0) { 118 } else if (matches(*argv, "overhead") == 0) { 123 } else if (matches(*argv, "linklayer") == 0) { 128 } else if (matches(*argv, "help") == 0) [all...] |
tc_qdisc.c | 116 } else if (matches(*argv, "estimator") == 0) { 119 } else if (matches(*argv, "stab") == 0) { 123 } else if (matches(*argv, "help") == 0) { 149 if (matches(*argv, "help") == 0) 301 } else if (matches(*argv, "help") == 0) { 338 if (matches(*argv, "add") == 0) 340 if (matches(*argv, "change") == 0) 342 if (matches(*argv, "replace") == 0) 344 if (matches(*argv, "link") == 0) 346 if (matches(*argv, "delete") == 0 [all...] |
m_pedit.c | 287 if (matches(*argv, "invert") == 0) { 289 } else if (matches(*argv, "set") == 0) { 293 } else if (matches(*argv, "preserve") == 0) { 296 if (matches(*argv, "clear") != 0) 302 if (argc && matches(*argv, "retain") == 0) { 360 if (matches(*argv, "u32") == 0) { 365 if (matches(*argv, "u16") == 0) { 370 if (matches(*argv, "u8") == 0) { 383 if (matches(*argv, "at") == 0) { 427 if (matches(*argv, "offset") == 0) [all...] |
/external/chromium_org/components/bookmarks/browser/ |
bookmark_index.h | 57 typedef std::vector<Match> Matches; 59 // Extracts |matches.nodes| into Nodes, sorts the pairs in decreasing order of 60 // typed count (if supported by the client), and then de-dupes the matches. 61 void SortMatches(const Matches& matches, Nodes* sorted_nodes) const; 63 // Add |node| to |results| if the node matches the query. 70 // Populates |matches| for the specified term. If |first_term| is true, this 75 Matches* matches); 77 // Iterates over |matches| updating each Match's nodes to contain th [all...] |
/external/chromium_org/components/url_matcher/ |
substring_set_matcher.h | 42 // Matches |text| against all registered StringPatterns. Stores the IDs 43 // of matching patterns in |matches|. |matches| is not cleared before adding 46 std::set<StringPattern::ID>* matches) const; 57 // IDs that are used to report matches. 60 // any registered pattern matches a text at the beginning of the text (i.e. 65 // would report all pattern IDs associated with the trie nodes as matches. 67 // As we are not looking for all prefix matches but all substring matches, 86 typedef std::set<StringPattern::ID> Matches; 104 const Matches& matches() const { return matches_; } function in class:url_matcher::SubstringSetMatcher::AhoCorasickNode [all...] |
/external/chromium_org/extensions/common/manifest_handlers/ |
externally_connectable.cc | 29 "'externally_connectable' specifies neither 'matches' nor 'ids'; " 75 if (!info->matches.is_empty()) { 106 URLPatternSet matches; 108 if (externally_connectable->matches) { 110 externally_connectable->matches->begin(); 111 it != externally_connectable->matches->end(); 123 matches.AddPattern(pattern); 170 matches.AddPattern(pattern); 194 if (!externally_connectable->matches && !externally_connectable->ids) { 203 matches, ids, all_ids, accepts_tls_channel_id)) [all...] |
/external/chromium_org/third_party/skia/tools/copyright/ |
fileparser.py | 50 matches = self._attribute_pattern.findall(comment_block) 51 if not matches: 53 first_match = matches[0]
|
/external/junit/src/org/junit/experimental/results/ |
ResultMatchers.java | 18 * Matches if the tests are all successful 25 * Matches if there are {@code count} failures 41 * Matches if the result has exactly one failure, and it contains {@code string} 45 public boolean matches(Object item) { 46 return item.toString().contains(string) && failureCountIs(1).matches(item); 56 * Matches if the result has one or more failures, and at least one of them 61 public boolean matches(Object item) {
|
/external/lldb/source/Commands/ |
CommandObjectPlugin.cpp | 62 StringList &matches) 74 matches); 75 return matches.GetSize();
|
/external/mockito/src/org/mockito/internal/invocation/ |
ArgumentsComparator.java | 26 if (!invocationMatcher.getMatchers().get(i).matches(actualArgs[i])) {
60 if (!(actualMatcher instanceof VarargMatcher) || !actualMatcher.matches(rawArgs[i])) {
64 } else if (!m.matches(rawArgs[i])){
|
/external/proguard/src/proguard/classfile/util/ |
WarningPrinter.java | 61 * except if the names of any involved classes matches the given filter. 90 !classFilter.matches(className); 113 !(classFilter.matches(className1) || 114 classFilter.matches(className2));
|
/external/skia/tools/copyright/ |
fileparser.py | 50 matches = self._attribute_pattern.findall(comment_block) 51 if not matches: 53 first_match = matches[0]
|
/external/chromium_org/tools/tcmalloc/ |
print-live-objects.py | 30 matches = leakfmt.match(line) 31 if not matches: 34 trace = { "size": int(matches.group(1)), 35 "address": matches.group(2), 36 "frames": matches.group(3).strip().split(" ")}
|
/external/lldb/source/Interpreter/ |
OptionValueEnumeration.cpp | 139 StringList &matches) 142 matches.Clear(); 152 matches.AppendString(name); 159 matches.AppendString(m_enumerations.GetCStringAtIndex(i)); 161 return matches.GetSize();
|
/external/chromium_org/components/autofill/core/common/ |
password_form_fill_data_unittest.cc | 17 // matches, the PasswordFormFillData is filled in correctly. 47 PasswordFormMap matches; local 51 matches, 66 matches, 96 // Create a match from the database that matches using public suffix. 111 // Create a match that matches exactly, so |original_signon_realm| is not set. 142 PasswordFormMap matches; local 143 matches[exact_match.username_value] = &exact_match; 144 matches[public_suffix_match.username_value] = &public_suffix_match; 148 matches, [all...] |
/external/chromium_org/components/query_parser/ |
snippet_unittest.cc | 90 // |query| against |document|. Matches are surrounded by "**". 124 // Now "highlight" all matches in the snippet with **. 128 for (match = snippet.matches().begin(); 129 match != snippet.matches().end(); ++match) { 245 Snippet::MatchPositions matches; local 246 Snippet::ExtractMatchPositions(data[i].offsets_string, "0", &matches); 247 EXPECT_EQ(data[i].expected_match_count, matches.size()); 249 EXPECT_EQ(data[i].expected_matches[2 * j], matches[j].first); 250 EXPECT_EQ(data[i].expected_matches[2 * j + 1], matches[j].second);
|
/external/iproute2/ip/ |
iplink_vlan.c | 83 if (matches(*argv, "id") == 0) { 88 } else if (matches(*argv, "reorder_hdr") == 0) { 97 } else if (matches(*argv, "gvrp") == 0) { 106 } else if (matches(*argv, "loose_binding") == 0) { 115 } else if (matches(*argv, "ingress-qos-map") == 0) { 121 } else if (matches(*argv, "egress-qos-map") == 0) { 127 } else if (matches(*argv, "help") == 0) {
|
ipmonitor.c | 128 if (matches(*argv, "file") == 0) { 131 } else if (matches(*argv, "link") == 0) { 134 } else if (matches(*argv, "address") == 0) { 137 } else if (matches(*argv, "route") == 0) { 140 } else if (matches(*argv, "prefix") == 0) { 143 } else if (matches(*argv, "neigh") == 0) { 149 } else if (matches(*argv, "help") == 0) {
|
rtmon.c | 79 if (matches(argv[1], "-family") == 0) { 102 } else if (matches(argv[1], "-Version") == 0) { 105 } else if (matches(argv[1], "file") == 0) { 111 } else if (matches(argv[1], "link") == 0) { 114 } else if (matches(argv[1], "address") == 0) { 117 } else if (matches(argv[1], "route") == 0) { 122 } else if (matches(argv[1], "help") == 0) {
|
/external/proguard/src/proguard/optimize/ |
Optimizer.java | 143 boolean classMarkingFinal = filter.matches(CLASS_MARKING_FINAL); 144 boolean classMergingVertical = filter.matches(CLASS_MERGING_VERTICAL); 145 boolean classMergingHorizontal = filter.matches(CLASS_MERGING_HORIZONTAL); 146 boolean fieldRemovalWriteonly = filter.matches(FIELD_REMOVAL_WRITEONLY); 147 boolean fieldMarkingPrivate = filter.matches(FIELD_MARKING_PRIVATE); 148 boolean fieldPropagationValue = filter.matches(FIELD_PROPAGATION_VALUE); 149 boolean methodMarkingPrivate = filter.matches(METHOD_MARKING_PRIVATE); 150 boolean methodMarkingStatic = filter.matches(METHOD_MARKING_STATIC); 151 boolean methodMarkingFinal = filter.matches(METHOD_MARKING_FINAL); 152 boolean methodRemovalParameter = filter.matches(METHOD_REMOVAL_PARAMETER) [all...] |