/external/iproute2/ip/ |
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)
|
iplink_geneve.c | 45 if (!matches(*argv, "id") || 46 !matches(*argv, "vni")) { 52 } else if (!matches(*argv, "remote")) { 60 } else if (!matches(*argv, "ttl") || 61 !matches(*argv, "hoplimit")) { 72 } else if (!matches(*argv, "tos") || 73 !matches(*argv, "dsfield")) { 83 } else if (matches(*argv, "help") == 0) {
|
iptoken.c | 154 if (matches(*argv, "help") == 0) 193 } else if (matches(argv[0], "list") == 0 || 194 matches(argv[0], "lst") == 0 || 195 matches(argv[0], "show") == 0) { 197 } else if (matches(argv[0], "set") == 0 || 198 matches(argv[0], "add") == 0) { 200 } else if (matches(argv[0], "get") == 0) { 202 } else if (matches(argv[0], "help") == 0)
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
ScanFilterTest.java | 79 assertTrue("setName filter fails", filter.matches(mScanResult)); 82 assertFalse("setName filter fails", filter.matches(mScanResult)); 91 assertTrue("device filter fails", filter.matches(mScanResult)); 94 assertFalse("device filter fails", filter.matches(mScanResult)); 104 assertTrue("uuid filter fails", filter.matches(mScanResult)); 109 assertFalse("uuid filter fails", filter.matches(mScanResult)); 117 assertTrue("uuid filter fails", filter.matches(mScanResult)); 129 assertTrue("service data filter fails", filter.matches(mScanResult)); 133 assertTrue("service data filter fails", filter.matches(mScanResult)); 138 assertTrue("service data filter fails", filter.matches(mScanResult)) [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...] |
f_bpf.c | 88 if (matches(*argv, "run") == 0) { 97 } else if (matches(*argv, "classid") == 0 || 98 matches(*argv, "flowid") == 0) { 107 } else if (matches(*argv, "direct-action") == 0 || 108 matches(*argv, "da") == 0) { 110 } else if (matches(*argv, "action") == 0) { 117 } else if (matches(*argv, "police") == 0) { 124 } else if (matches(*argv, "help") == 0) {
|
m_estimator.c | 46 if (matches(*argv, "help") == 0) 51 if (matches(*argv, "help") == 0)
|
/external/opencv3/modules/features2d/misc/java/test/ |
BruteForceDescriptorMatcherTest.java | 172 List<MatOfDMatch> matches = new ArrayList<MatOfDMatch>(); 173 matcher.knnMatch(query, train, matches, k); 179 matcher.knnMatch(query, matches, k); 181 assertEquals(query.rows(), matches.size()); 182 for(int i = 0; i<matches.size(); i++) 184 MatOfDMatch vdm = matches.get(i); 205 MatOfDMatch matches = new MatOfDMatch(); 208 matcher.match(query, matches); 210 assertArrayDMatchEquals(truth, matches.toArray(), EPS); 217 MatOfDMatch matches = new MatOfDMatch() [all...] |
/external/opencv3/modules/flann/include/opencv2/flann/ |
index_testing.h | 87 const Matrix<typename Distance::ElementType>& testData, const Matrix<int>& matches, int nn, int checks, 92 if (matches.cols<size_t(nn)) { 93 Logger::info("matches.cols=%d, nn=%d\n",matches.cols,nn); 118 correct += countCorrectMatches(neighbors,matches[i], nn); 119 distR += computeDistanceRaport<Distance>(inputData, testData[i], neighbors, matches[i], (int)testData.cols, nn, distance); 138 const Matrix<typename Distance::ElementType>& testData, const Matrix<int>& matches, 148 precision = search_with_ground_truth(index, inputData, testData, matches, nn, checks, time, dist, distance, skipMatches); 155 const Matrix<typename Distance::ElementType>& testData, const Matrix<int>& matches, 171 p2 = search_with_ground_truth(index, inputData, testData, matches, nn, c2, time, dist, distance, skipMatches) [all...] |
/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...] |
/external/opencv3/modules/stitching/perf/ |
perf_stich.cpp | 146 std::vector<DMatch>& matches = pairwise_matches.matches; local 147 if (GetParam() == "orb") matches.resize(0); 148 for(size_t q = 0; q < matches.size(); ++q) 149 if (matches[q].imgIdx < 0) { matches.resize(q); break;} 150 SANITY_CHECK_MATCHES(matches); 206 std::vector<DMatch>& matches = pairwise_matches[detectorName == "surf" ? 1 : 0].matches; local 207 for(size_t q = 0; q < matches.size(); ++q [all...] |
/cts/tests/tests/security/src/android/security/cts/ |
ARTBootASLRTest.java | 40 if (line.matches("/system/.*boot\\.art")) { 42 } else if (line.matches(".*boot\\.art")) {
|
/external/autotest/frontend/client/src/autotest/common/ |
AbstractStatusSummary.java | 30 public boolean matches(double ratio) { method in class:AbstractStatusSummary.ColorMapping 49 if (mapping.matches(ratio))
|
/external/droiddriver/src/io/appium/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/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/ |
WildcardMatcher.java | 17 * Matches strings against <code>?</code>/<code>*</code> wildcard expressions. 19 * expression matches if at least one part matches. 64 * Matches the given string against the expressions of this matcher. 68 * @return <code>true</code>, if the expression matches 70 public boolean matches(final String s) { method in class:WildcardMatcher 71 return pattern.matcher(s).matches();
|
/external/junit/src/org/junit/internal/matchers/ |
CombinableMatcher.java | 17 public boolean matches(Object item) { method in class:CombinableMatcher 18 return fMatcher.matches(item);
|
Each.java | 14 public boolean matches(Object item) { 15 return allItemsAre.matches(item);
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/internal/ |
RegexBasedMatcher.java | 42 return nationalNumberPatternMatcher.matches() 50 return possibleNumberPatternMatcher.matches();
|
/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...] |