/external/iproute2/ip/ |
iplink_bridge_slave.c | 126 if (matches(*argv, "state") == 0) { 131 } else if (matches(*argv, "priority") == 0) { 136 } else if (matches(*argv, "cost") == 0) { 141 } else if (matches(*argv, "hairpin") == 0) { 145 } else if (matches(*argv, "guard") == 0) { 149 } else if (matches(*argv, "root_block") == 0) { 153 } else if (matches(*argv, "fastleave") == 0) { 157 } else if (matches(*argv, "learning") == 0) { 161 } else if (matches(*argv, "flood") == 0) { 165 } else if (matches(*argv, "help") == 0) [all...] |
iplink_bridge.c | 48 if (matches(*argv, "forward_delay") == 0) { 54 } else if (matches(*argv, "hello_time") == 0) { 60 } else if (matches(*argv, "max_age") == 0) { 66 } else if (matches(*argv, "ageing_time") == 0) { 72 } else if (matches(*argv, "stp_state") == 0) { 78 } else if (matches(*argv, "priority") == 0) { 86 } else if (matches(*argv, "vlan_filtering") == 0) { 95 } else if (matches(*argv, "vlan_protocol") == 0) { 104 } else if (matches(*argv, "help") == 0) {
|
iplink_can.c | 121 if (matches(*argv, "bitrate") == 0) { 125 } else if (matches(*argv, "sample-point") == 0) { 133 } else if (matches(*argv, "tq") == 0) { 137 } else if (matches(*argv, "prop-seg") == 0) { 141 } else if (matches(*argv, "phase-seg1") == 0) { 145 } else if (matches(*argv, "phase-seg2") == 0) { 149 } else if (matches(*argv, "sjw") == 0) { 153 } else if (matches(*argv, "dbitrate") == 0) { 157 } else if (matches(*argv, "dsample-point") == 0) { 164 } else if (matches(*argv, "dtq") == 0) [all...] |
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, "multi_queue") == 0) { 173 } else if (matches(*argv, "dev") == 0) [all...] |
/external/iproute2/tc/ |
m_connmark.c | 54 if (matches(*argv, "connmark") == 0) { 58 } else if (matches(*argv, "help") == 0) { 72 if (matches(*argv, "zone") == 0) { 85 if (matches(*argv, "reclassify") == 0) { 89 } else if (matches(*argv, "pipe") == 0) { 93 } else if (matches(*argv, "drop") == 0 || 94 matches(*argv, "shot") == 0) { 98 } else if (matches(*argv, "continue") == 0) { 102 } else if (matches(*argv, "pass") == 0) { 110 if (matches(*argv, "index") == 0) [all...] |
tc.c | 233 if (matches(*argv, "qdisc") == 0) 235 if (matches(*argv, "class") == 0) 237 if (matches(*argv, "filter") == 0) 239 if (matches(*argv, "actions") == 0) 241 if (matches(*argv, "monitor") == 0) 243 if (matches(*argv, "exec") == 0) 245 if (matches(*argv, "help") == 0) { 313 if (matches(argv[1], "-stats") == 0 || 314 matches(argv[1], "-statistics") == 0) { 316 } else if (matches(argv[1], "-details") == 0) [all...] |
m_gact.c | 76 if (matches(*argv, "reclassify") == 0) { 78 } else if (matches(*argv, "drop") == 0 || matches(*argv, "shot") == 0) { 80 } else if (matches(*argv, "continue") == 0) { 82 } else if (matches(*argv, "pipe") == 0) { 84 } else if (matches(*argv, "pass") == 0 || matches(*argv, "ok") == 0) { 114 if (matches(*argv, "gact") == 0) { 134 if (matches(*argv, "random") == 0) { 137 if (matches(*argv, "netrand") == 0) [all...] |
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/ |
LZMAEncoderNormal.java | 14 import org.tukaani.xz.lz.Matches; 27 private Matches matches; field in class:LZMAEncoderNormal 115 matches = getMatches(); 125 // Get the lengths of repeated matches. 150 if (matches.count > 0) { 151 mainLen = matches.len[matches.count - 1]; 152 mainDist = matches.dist[matches.count - 1] [all...] |
/external/clang/test/SemaTemplate/ |
function-template-specialization.cpp | 14 // Function template specialization where there are no matches 15 template<> void f0(char (&array)[1]); // expected-error{{no function template matches}} 19 template<typename T, int N> void f1(T (&array)[N]); // expected-note{{matches}} 20 template<int N> void f1(int (&array)[N]); // expected-note{{matches}} 26 template<typename T> void f1(T (&array)[17]); // expected-note{{matches}}
|
/external/opencv3/samples/gpu/ |
surf_keypoint_matcher.cpp | 66 vector<DMatch> matches; local 67 matcher->match(descriptors1GPU, descriptors2GPU, matches); 79 drawMatches(Mat(img1), keypoints1, Mat(img2), keypoints2, matches, img_matches); local 81 namedWindow("matches", 0); 82 imshow("matches", img_matches);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
MatcherTest.java | 46 assertFalse(m.matches()); 51 assertTrue(m.matches()); 114 assertTrue(m.matches()); 116 assertFalse(m.matches()); 169 mat.matches(); 194 mat.matches(); 210 mat.matches(); 221 mat.matches(); 224 fail("IllegalStateException expected for <false> matches result"); 234 mat.matches(); 639 assertTrue(pattern.matcher("14pt").matches()); method [all...] |
/external/llvm/docs/ |
re_format.7 | 81 It matches anything that matches one of the branches. 86 It matches a match for the first, followed by a match for the second, etc. 98 matches a sequence of 0 or more matches of the atom. 101 matches a sequence of 1 or more matches of the atom. 104 matches a sequence of 0 or 1 matches of the atom. 120 and no comma matches [all...] |
/external/opencv3/modules/features2d/misc/java/test/ |
BruteForceHammingLUTDescriptorMatcherTest.java | 166 MatOfDMatch matches = new MatOfDMatch(); 169 matcher.match(query, matches); 171 assertArrayDMatchEquals(truth, matches.toArray(), EPS); 178 MatOfDMatch matches = new MatOfDMatch(); 181 matcher.match(query, matches, Arrays.asList(mask)); 183 assertListDMatchEquals(Arrays.asList(truth[0], truth[1]), matches.toList(), EPS); 189 MatOfDMatch matches = new MatOfDMatch(); 191 matcher.match(query, train, matches); 194 OpenCVTestRunner.Log("matches found: " + matches.size()) [all...] |
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
CharMatcher.java | 35 * "any character {@code c} for which {@code this.matches(c)} returns {@code true}". 67 public boolean matches(char c) { 118 public boolean matches(char c) { 157 @Override public boolean matches(char c) { 168 @Override public boolean matches(char c) { 179 @Override public boolean matches(char c) { 190 @Override public boolean matches(char c) { 201 @Override public boolean matches(char c) { 249 /** Matches any character. */ 252 @Override public boolean matches(char c) [all...] |
/external/toybox/toys/posix/ |
grep.c | 80 // Show matches in one file 98 regmatch_t matches; local 109 // Loop through matches in this line 113 // Handle non-regex matches 134 matches.rm_so = (s-line); 135 skip = matches.rm_eo = (s-line)+strlen(seek->arg); 138 rc = regexec((regex_t *)toybuf, start, 1, &matches, 140 skip = matches.rm_eo; 144 if (matches.rm_so || line[matches.rm_eo]) rc = 1 [all...] |
/external/opencv3/modules/features2d/test/ |
test_matchers_algorithmic.cpp | 86 vector<DMatch> matches; local 91 dmatcher->match( queryDescriptors, trainDescriptors, matches, mask ); 131 dmatcher->match( queryDescriptors, matches, masks ); 199 vector<DMatch> matches; local 200 dmatcher->match( query, train, matches ); 202 if( (int)matches.size() != queryDescCount ) 204 ts->printf(cvtest::TS::LOG, "Incorrect matches count while test match() function (1).\n"); 210 for( size_t i = 0; i < matches.size(); i++ ) 212 DMatch& match = matches[i]; 218 ts->printf( cvtest::TS::LOG, "%f - too large bad matches part while test match() function (1).\n" 227 vector<DMatch> matches; local 254 vector<DMatch> matches; local 312 vector<vector<DMatch> > matches; local 351 vector<vector<DMatch> > matches; local 419 vector<vector<DMatch> > matches; local 454 vector<vector<DMatch> > matches; local 550 vector<DMatch> matches; local 552 fs << "Match" << matches; local [all...] |
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
IndexedCollectionCertStore.java | 243 Set<Certificate> matches = new HashSet<>(); local 244 matchX509Certs(new X509CertSelector(), matches); 245 matches.addAll(otherCertificates); 246 return matches; 250 Set<Certificate> matches = new HashSet<>(); local 251 matchX509Certs(selector, matches); 254 matches.add(cert); 257 return matches; 289 Set<X509Certificate> matches = new HashSet<>(16); local 292 matches.add(cert) 299 Set<Certificate> matches = new HashSet<>(16); local 347 Set<CRL> matches = new HashSet<>(); local 354 Set<CRL> matches = new HashSet<>(); local 371 HashSet<CRL> matches = new HashSet<>(16); local 395 Set<CRL> matches = new HashSet<>(16); local [all...] |
/external/opencv3/modules/cudafeatures2d/test/ |
test_features2d.cpp | 195 std::vector<cv::DMatch> matches; local 196 matcher.match(descriptors_gold, cv::Mat(descriptors), matches); 198 int matchedCount = getMatchedPointsCount(keypoints_gold, keypoints, matches); 298 std::vector<cv::DMatch> matches; local 299 matcher->match(loadMat(query), loadMat(train), matches, mask); local 301 ASSERT_EQ(static_cast<size_t>(queryDescCount), matches.size()); 304 for (size_t i = 0; i < matches.size(); i++) 306 cv::DMatch match = matches[i]; 334 std::vector<cv::DMatch> matches; local 336 matcher->match(cv::cuda::GpuMat(query), matches, masks) local 338 matcher->match(cv::cuda::GpuMat(query), matches); local 383 std::vector< std::vector<cv::DMatch> > matches; local 384 matcher->knnMatch(loadMat(query), loadMat(train), matches, knn, mask); local 423 std::vector< std::vector<cv::DMatch> > matches; local 424 matcher->knnMatch(loadMat(query), loadMat(train), matches, knn, mask); local 471 std::vector< std::vector<cv::DMatch> > matches; local 474 matcher->knnMatch(cv::cuda::GpuMat(query), matches, knn, masks); local 476 matcher->knnMatch(cv::cuda::GpuMat(query), matches, knn); local 534 std::vector< std::vector<cv::DMatch> > matches; local 537 matcher->knnMatch(cv::cuda::GpuMat(query), matches, knn, masks); local 539 matcher->knnMatch(cv::cuda::GpuMat(query), matches, knn); local 586 std::vector< std::vector<cv::DMatch> > matches; local 587 matcher->radiusMatch(loadMat(query), loadMat(train), matches, radius); local 603 std::vector< std::vector<cv::DMatch> > matches; local 604 matcher->radiusMatch(loadMat(query), loadMat(train), matches, radius, mask); local 652 std::vector< std::vector<cv::DMatch> > matches; local 653 matcher->radiusMatch(cv::cuda::GpuMat(query), matches, radius, masks); local 662 std::vector< std::vector<cv::DMatch> > matches; local 665 matcher->radiusMatch(cv::cuda::GpuMat(query), matches, radius, masks); local 667 matcher->radiusMatch(cv::cuda::GpuMat(query), matches, radius); local [all...] |
/external/opencv3/doc/tutorials/features2d/feature_flann_matcher/ |
feature_flann_matcher.markdown | 71 std::vector< DMatch > matches; 72 matcher.match( descriptors_1, descriptors_2, matches ); 78 { double dist = matches[i].distance; 86 //-- Draw only "good" matches (i.e. whose distance is less than 2*min_dist, 93 { if( matches[i].distance <= max(2*min_dist, 0.02) ) 94 { good_matches.push_back( matches[i]); } 97 //-- Draw only "good" matches 103 //-- Show detected matches 104 imshow( "Good Matches", img_matches );
|
/system/keymaster/ |
keymaster_configuration.cpp | 91 regmatch_t matches[kPlatformVersionMatchCount]; local 92 if (regexec(®ex, version_str, kPlatformVersionMatchCount, matches, 0 /* flags */)) { 97 uint32_t major = match_to_uint32(version_str, matches[kMajorVersionMatch]); 98 uint32_t minor = match_to_uint32(version_str, matches[kMinorVersionMatch]); 99 uint32_t subminor = match_to_uint32(version_str, matches[kSubminorVersionMatch]); 111 regmatch_t matches[kPlatformPatchlevelMatchCount]; local 112 if (regexec(®ex, patchlevel_str, kPlatformPatchlevelMatchCount, matches, 0 /* flags */)) { 117 uint32_t year = match_to_uint32(patchlevel_str, matches[kYearMatch]); 118 uint32_t month = match_to_uint32(patchlevel_str, matches[kMonthMatch]);
|
/external/llvm/lib/Support/ |
Regex.cpp | 54 /// matches it contains. 59 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches){ 60 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; 80 if (Matches) { // match position requested 81 Matches->clear(); 86 Matches->push_back(StringRef()); 90 Matches->push_back(StringRef(String.data()+pm[i].rm_so, 100 SmallVector<StringRef, 8> Matches; 106 if (!match(String, &Matches)) 111 std::string Res(String.begin(), Matches[0].begin()) [all...] |
/libcore/luni/src/test/java/libcore/java/util/regex/ |
OldAndroidRegexTest.java | 29 assertTrue("Should match.", m.matches()); 34 assertFalse("Should not match.", m.matches()); 38 assertFalse("Should not match.", m.matches()); 42 assertFalse("Should not match.", m.matches()); 44 /* Make sure matches() doesn't change after calls to find() */ 47 assertTrue(m.matches()); 49 assertTrue(m.matches()); 53 assertFalse(m.matches()); 55 assertFalse(m.matches()); 57 /* Make sure matches() agrees after a reset() * 255 assertTrue(EMAIL_ADDRESS_PATTERN.matcher("a+b@gmail.com").matches()); method [all...] |
/prebuilts/go/darwin-x86/src/path/filepath/ |
match.go | 19 // Match reports whether name matches the shell file name pattern. 25 // '*' matches any sequence of non-Separator characters 26 // '?' matches any single non-Separator character 29 // c matches character c (c != '*', '?', '\\', '[') 30 // '\\' c matches character c 33 // c matches character c (c != '\\', '-', ']') 34 // '\\' c matches character c 35 // lo '-' hi matches character c for lo <= c <= hi 51 // Trailing * matches rest of string unless it has a /. 121 // matchChunk checks whether chunk matches the beginning of s [all...] |
/prebuilts/go/linux-x86/src/path/filepath/ |
match.go | 19 // Match reports whether name matches the shell file name pattern. 25 // '*' matches any sequence of non-Separator characters 26 // '?' matches any single non-Separator character 29 // c matches character c (c != '*', '?', '\\', '[') 30 // '\\' c matches character c 33 // c matches character c (c != '\\', '-', ']') 34 // '\\' c matches character c 35 // lo '-' hi matches character c for lo <= c <= hi 51 // Trailing * matches rest of string unless it has a /. 121 // matchChunk checks whether chunk matches the beginning of s [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
re.py | 27 concatenate ordinary characters, so last matches the string 'last'. 30 "." Matches any character except a newline. 31 "^" Matches the start of the string. 32 "$" Matches the end of the string or just before the newline at 34 "*" Matches 0 or more (greedy) repetitions of the preceding RE. 36 "+" Matches 1 or more (greedy) repetitions of the preceding RE. 37 "?" Matches 0 or 1 (greedy) of the preceding RE. 39 {m,n} Matches from m to n repetitions of the preceding RE. 45 (...) Matches the RE inside the parentheses. 50 (?P=name) Matches the text matched earlier by the group named name [all...] |