/external/opencv3/samples/cpp/ |
matchmethod_orb_akaze_brisk.cpp | 71 vector<DMatch> matches; local 114 descriptorMatcher->match(descImg1, descImg2, matches, Mat()); 115 // Keep best matches only to have a nice drawing. 116 // We sort distance between descriptor matches 118 int nbMatch=int(matches.size()); 122 tab.at<float>(i, 0) = matches[i].distance; 128 bestMatches.push_back(matches[index.at<int>(i, 0)]); 136 fs<<"Matches"<<matches; local 141 // Use to compute distance between keyPoint matches and to evaluate match algorith [all...] |
/prebuilts/go/darwin-x86/src/path/ |
match.go | 16 // Match reports whether name matches the shell file name pattern. 22 // '*' matches any sequence of non-/ characters 23 // '?' matches any single non-/ character 26 // c matches character c (c != '*', '?', '\\', '[') 27 // '\\' c matches character c 30 // c matches character c (c != '\\', '-', ']') 31 // '\\' c matches character c 32 // lo '-' hi matches character c for lo <= c <= hi 45 // Trailing * matches rest of string unless it has a /. 113 // matchChunk checks whether chunk matches the beginning of s [all...] |
/prebuilts/go/linux-x86/src/path/ |
match.go | 16 // Match reports whether name matches the shell file name pattern. 22 // '*' matches any sequence of non-/ characters 23 // '?' matches any single non-/ character 26 // c matches character c (c != '*', '?', '\\', '[') 27 // '\\' c matches character c 30 // c matches character c (c != '\\', '-', ']') 31 // '\\' c matches character c 32 // lo '-' hi matches character c for lo <= c <= hi 45 // Trailing * matches rest of string unless it has a /. 113 // matchChunk checks whether chunk matches the beginning of s [all...] |
/external/iproute2/ip/ |
ipmonitor.c | 184 if (matches(*argv, "file") == 0) { 187 } else if (matches(*argv, "label") == 0) { 189 } else if (matches(*argv, "all-nsid") == 0) { 191 } else if (matches(*argv, "link") == 0) { 194 } else if (matches(*argv, "address") == 0) { 197 } else if (matches(*argv, "route") == 0) { 200 } else if (matches(*argv, "mroute") == 0) { 203 } else if (matches(*argv, "prefix") == 0) { 206 } else if (matches(*argv, "neigh") == 0) { 209 } else if (matches(*argv, "netconf") == 0) [all...] |
iplink.c | 257 if (!matches(*argv, "max_tx_rate")) { 262 } else if (!matches(*argv, "min_tx_rate")) { 275 if (matches(*argv, "mac") == 0) { 284 } else if (matches(*argv, "vlan") == 0) { 295 if (matches(*argv, "qos") == 0) { 305 } else if (matches(*argv, "rate") == 0) { 319 } else if (matches(*argv, "max_tx_rate") == 0) { 326 } else if (matches(*argv, "min_tx_rate") == 0) { 333 } else if (matches(*argv, "spoofchk") == 0) { 337 if (matches(*argv, "on") == 0 [all...] |
link_gre6.c | 154 if (!matches(*argv, "key")) { 172 } else if (!matches(*argv, "ikey")) { 187 } else if (!matches(*argv, "okey")) { 202 } else if (!matches(*argv, "seq")) { 205 } else if (!matches(*argv, "iseq")) { 207 } else if (!matches(*argv, "oseq")) { 209 } else if (!matches(*argv, "csum")) { 212 } else if (!matches(*argv, "icsum")) { 214 } else if (!matches(*argv, "ocsum")) { 216 } else if (!matches(*argv, "remote")) [all...] |
ipfou.c | 55 if (!matches(*argv, "port")) { 62 } else if (!matches(*argv, "ipproto")) { 73 } else if (!matches(*argv, "gue")) { 149 if (matches(*argv, "add") == 0) 151 if (matches(*argv, "delete") == 0) 153 if (matches(*argv, "help") == 0)
|
/external/emma/core/java12/com/vladium/util/ |
WCMatcher.java | 71 public abstract boolean matches (String s); method in class:WCMatcher 72 public abstract boolean matches (char [] chars); method in class:WCMatcher 75 // private boolean matches (int pi, int si, final char [] string) 87 // return (si < string.length) && matches (pi + 1, si + 1, string); 92 // return matches (pi + 1, si, string) || ((si < string.length) && matches (pi, si + 1, string)); 97 // return (si < string.length) && (m_pattern [pi] == string [si]) && matches (pi + 1, si + 1, string); 118 public final boolean matches (final String s) method in class:WCMatcher.AllMatcher 125 public final boolean matches (final char [] chars) method in class:WCMatcher.AllMatcher 137 public final boolean matches (final String s method in class:WCMatcher.EmptyMatcher 144 public final boolean matches (final char [] chars) method in class:WCMatcher.EmptyMatcher 156 public final boolean matches (final String s) method in class:WCMatcher.StartsWithMatcher 163 public final boolean matches (final char [] chars) method in class:WCMatcher.StartsWithMatcher 194 public final boolean matches (final String s) method in class:WCMatcher.EndsWithMatcher 201 public final boolean matches (final char [] chars) method in class:WCMatcher.EndsWithMatcher 233 public final boolean matches (final String s) method in class:WCMatcher.PatternMatcher 293 public final boolean matches (final char [] string) method in class:WCMatcher.PatternMatcher [all...] |
/external/iproute2/bridge/ |
fdb.c | 195 if (matches(*argv, "help") == 0) 297 } else if (matches(*argv, "master") == 0) { 299 } else if (matches(*argv, "router") == 0) { 301 } else if (matches(*argv, "local") == 0|| 302 matches(*argv, "permanent") == 0) { 304 } else if (matches(*argv, "temp") == 0) { 306 } else if (matches(*argv, "vlan") == 0) { 311 } else if (matches(*argv, "use") == 0) { 317 if (matches(*argv, "help") == 0) 381 if (matches(*argv, "add") == 0 [all...] |
/external/iproute2/tc/ |
m_police.c | 78 if (matches(arg, "continue") == 0) 80 else if (matches(arg, "drop") == 0) 82 else if (matches(arg, "shot") == 0) 84 else if (matches(arg, "pass") == 0) 88 else if (matches(arg, "reclassify") == 0) 90 else if (matches(arg, "pipe") == 0) 152 if (matches(*argv, "index") == 0) { 158 } else if (matches(*argv, "burst") == 0 || 211 } else if (matches(*argv, "peakrate") == 0) { 221 } else if (matches(*argv, "reclassify") == 0) [all...] |
tc_stab.c | 61 if (matches(*argv, "help") == 0) { 66 if (matches(*argv, "mtu") == 0) { 72 } else if (matches(*argv, "mpu") == 0) { 78 } else if (matches(*argv, "overhead") == 0) { 84 } else if (matches(*argv, "tsize") == 0) { 90 } else if (matches(*argv, "linklayer") == 0) {
|
/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"))); 93 assertFalse(r.matches(Address("8.8.8.8"))); 96 assertTrue(r.matches(Address("192.0.2.43"))); 97 assertTrue(r.matches(Address("192.0.3.21"))) [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/dialpad/ |
SmartDialNameMatcherTest.java | 49 // Matches only word boundary. 73 // wjs matches (W)illiam (J)ohn (S)mith 75 // wjsmit matches (W)illiam (J)ohn (Smit)h 77 // wjohn matches (W)illiam (John) Smith 79 // jsmi matches William (J)ohn (Smi)th 86 // wjs matches (W)illiam (J)ohn (S)mith 88 // wjsmit matches (W)illiam (J)ohn-(OShe)a 90 // wjohn matches (W)illiam-(John) Smith 92 // jsmi matches William (J)ohn-(Smi)th 94 // wsmi matches (W)illiam John (Smi)t [all...] |
/prebuilts/go/darwin-x86/src/index/suffixarray/ |
suffixarray.go | 192 matches := x.lookupAll(s) 193 if n < 0 || len(matches) < n { 194 n = len(matches) 196 // 0 <= n <= len(matches) 199 copy(result, matches) 205 // FindAllIndex returns a sorted list of non-overlapping matches of the 207 // the matched slice of x.Bytes(). If n < 0, all matches are returned 208 // in successive order. Otherwise, at most n matches are returned and 209 // they may not be successive. The result is nil if there are no matches, 226 // Lookup returns indices that may belong to overlapping matches [all...] |
/prebuilts/go/linux-x86/src/index/suffixarray/ |
suffixarray.go | 192 matches := x.lookupAll(s) 193 if n < 0 || len(matches) < n { 194 n = len(matches) 196 // 0 <= n <= len(matches) 199 copy(result, matches) 205 // FindAllIndex returns a sorted list of non-overlapping matches of the 207 // the matched slice of x.Bytes(). If n < 0, all matches are returned 208 // in successive order. Otherwise, at most n matches are returned and 209 // they may not be successive. The result is nil if there are no matches, 226 // Lookup returns indices that may belong to overlapping matches [all...] |
/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/guice/extensions/servlet/src/com/google/inject/servlet/ |
UriPatternType.java | 50 * Matches URIs using the pattern grammar of the Servlet API and web.xml. 73 public boolean matches(String uri) { method in class:UriPatternType.ServletStyleUriPatternMatcher 113 * Matches URIs using a regular expression. 124 public boolean matches(String uri) { method in class:UriPatternType.RegexUriPatternMatcher 125 return null != uri && this.pattern.matcher(getUri(uri)).matches(); 130 if (matcher.matches() && matcher.groupCount() >= 1) {
|
/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) {
|
/external/ltrace/ |
filter.c | 169 int matches = 0; local 174 if (matches) 178 if (!matches) 185 matches = !matches; 187 if (matches)
|
/external/opencv3/cmake/ |
OpenCVCRTLinkage.cmake | 5 #if (${CMAKE_SYSTEM_NAME} MATCHES "WindowsStore" OR ${CMAKE_SYSTEM_NAME} MATCHES "WindowsPhone") 44 if(${flag_var} MATCHES "/MD") 47 if(${flag_var} MATCHES "/MDd") 61 if(${flag_var} MATCHES "/MT") 64 if(${flag_var} MATCHES "/MTd")
|
/external/opencv3/modules/features2d/misc/java/test/ |
Features2dTest.java | 114 MatOfDMatch matches = new MatOfDMatch(); local 117 matcher.match(queryDescriptors, matches); 119 // OpenCVTestRunner.Log("Matches found: " + matches.size()); 121 DMatch adm[] = matches.toArray(); 140 Features2d.drawMatches(imgQuery, queryKeypoints, imgTrain, trainKeypoints, matches, outimg);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
LevenshteinSuggestionFormatter.java | 45 final int[] matches = findMatches(queryTokens, suggestionTokens); local 49 Log.d(TAG, "matches = " + matches); 53 final int matchesLen = matches.length; 57 int thisMatch = matches[i]; 78 * position i means that target token i matches source token n. A negative value means that
|
/external/opencv3/modules/stitching/src/ |
matchers.cpp | 93 for (size_t j = 0; j < pairwise_matches[dual_pair_idx].matches.size(); ++j) 94 std::swap(pairwise_matches[dual_pair_idx].matches[j].queryIdx, 95 pairwise_matches[dual_pair_idx].matches[j].trainIdx); 114 // These two classes are aimed to find features matches only, not to 155 matches_info.matches.clear(); 178 MatchesSet matches; local 180 // Find 1->2 matches 190 matches_info.matches.push_back(m0); 191 matches.insert(std::make_pair(m0.queryIdx, m0.trainIdx)); 194 LOG("\n1->2 matches: " << matches_info.matches.size() << endl) 225 MatchesSet matches; local [all...] |
/external/chromium-trace/catapult/third_party/polymer/components/core-media-query/ |
demo.html | 22 My query of "{{query}}" {{qMatches ? "matches" : "doesn't match"}} 40 output.textContent += '\nevent: ' + e.type + ' query: ' + e.detail.media + ' matches: ' + e.detail.matches;
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
UnicodeFilter.java | 25 * Default implementation of UnicodeMatcher::matches() for Unicode 26 * filters. Matches a single 16-bit code unit at offset. 28 public int matches(Replaceable text, method in class:UnicodeFilter
|