/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
PatternTest.java | 226 assertFalse(mat.matches()); 232 assertTrue(mat.matches()); 238 assertTrue(mat.matches()); 244 assertTrue(mat.matches()); 250 assertTrue(mat.matches()); 256 assertFalse(mat.matches()); 262 assertFalse(mat.matches()); 268 assertTrue(mat.matches()); 274 assertTrue(mat.matches()); 280 assertFalse(mat.matches()); 839 assertTrue(pat.matcher("bBbBaaaa").matches()); method 840 assertFalse(pat.matcher("bBbBAaAa").matches()); method 844 assertTrue(pat.matcher("bBbBaaaa").matches()); method 845 assertFalse(pat.matcher("bBbBAaAa").matches()); method 865 assertTrue(pat.matcher("a.b.c.log").matches()); method 866 assertFalse(pat.matcher("a.b.c.log.").matches()); method 870 assertFalse(pat.matcher("abc.log").matches()); method 871 assertTrue(pat.matcher("abc.logg").matches()); method 875 assertFalse(pat.matcher("cde.log").matches()); method 876 assertTrue(pat.matcher("abc.log").matches()); method 880 assertTrue(pat.matcher("cde.log").matches()); method 881 assertFalse(pat.matcher("abc.log").matches()); method 885 assertFalse(pat.matcher("aaabb").matches()); method 887 assertTrue(pat.matcher("aaabb").matches()); method 890 assertTrue(pat.matcher("aaabb").matches()); method 892 assertFalse(pat.matcher("aaabb").matches()); method 1509 assertTrue(p.matcher("abcd").matches()); method [all...] |
/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/hamcrest/library/src/org/hamcrest/object/ |
HasToString.java | 16 public boolean matches(Object item) { method in class:HasToString 17 return item != null && toStringMatcher.matches(item.toString());
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/match/ |
SourceMatchers.java | 29 public boolean matches(CompilationUnit cu) { 41 /** Returns a {@link SourceMatcher} that matches any {@link CompilationUnit}. */ 47 * Returns a {@link SourceMatcher} that matches a {@link CompilationUnit} if it contains the 52 @Override public boolean matches(CompilationUnit cu) {
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ |
DefaultRule.java | 45 public boolean matches(CompilationUnit cu) { method in class:DefaultRule 46 return matcher.matches(cu);
|
/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, "multi_queue") == 0) { 173 } else if (matches(*argv, "dev") == 0) [all...] |
iplink_bond.c | 172 if (matches(*argv, "mode") == 0) { 178 } else if (matches(*argv, "active_slave") == 0) { 184 } else if (matches(*argv, "clear_active_slave") == 0) { 186 } else if (matches(*argv, "miimon") == 0) { 191 } else if (matches(*argv, "updelay") == 0) { 196 } else if (matches(*argv, "downdelay") == 0) { 201 } else if (matches(*argv, "use_carrier") == 0) { 206 } else if (matches(*argv, "arp_interval") == 0) { 211 } else if (matches(*argv, "arp_ip_target") == 0) { 228 } else if (matches(*argv, "arp_validate") == 0) [all...] |
/external/llvm/include/llvm/TableGen/ |
StringMatcher.h | 29 /// not exit this code fragment. If nothing matches, execution falls through. 37 const std::vector<StringPair> &Matches; 42 const std::vector<StringPair> &matches, raw_ostream &os) 43 : StrVariableName(strVariableName), Matches(matches), OS(os) {} 48 bool EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches,
|
/external/mockito/src/org/mockito/internal/matchers/ |
Matches.java | 14 public class Matches extends ArgumentMatcher<Object> implements Serializable { 19 public Matches(String regex) { 23 public boolean matches(Object actual) { method in class:Matches 24 return (actual instanceof String) && ((String) actual).matches(regex); 28 description.appendText("matches(\"" + regex.replaceAll("\\\\", "\\\\\\\\")
|
Not.java | 24 public boolean matches(Object actual) { method in class:Not 25 return !first.matches(actual);
|
/external/proguard/src/proguard/util/ |
ListMatcher.java | 52 public boolean matches(String string) method in class:ListMatcher 58 if (matcher.matches(string))
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
DebugTest.java | 42 assertTrue(callDepth0().matches(EXPECTED_GET_CALLER)); 65 assertTrue(callDepth1().matches(EXPECTED_GET_CALLERS));
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
FloatingActionButtonTest.java | 25 import static android.support.test.espresso.assertion.ViewAssertions.matches; 48 .check(matches(withFabBackgroundFill(colorAccent))); 55 .check(matches(withFabBackgroundFill(Color.GREEN))); 61 .check(matches(withFabBackgroundFill(Color.MAGENTA))); 68 .check(matches(withFabBackgroundFill(Color.GREEN))); 84 .check(matches(withFabContentHeight(miniSize))); 96 .check(matches(withFabContentHeight(miniSize))); 100 .check(matches(withFabContentHeight(normalSize)));
|
/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...] |
/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...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
ScanFilterTest.java | 63 assertTrue("setName filter fails", filter.matches(mScanResult)); 66 assertFalse("setName filter fails", filter.matches(mScanResult)); 73 assertTrue("device filter fails", filter.matches(mScanResult)); 76 assertFalse("device filter fails", filter.matches(mScanResult)); 83 assertTrue("uuid filter fails", filter.matches(mScanResult)); 87 assertFalse("uuid filter fails", filter.matches(mScanResult)); 93 assertTrue("uuid filter fails", filter.matches(mScanResult)); 102 assertTrue("service data filter fails", filter.matches(mScanResult)); 106 assertTrue("service data filter fails", filter.matches(mScanResult)); 111 assertTrue("service data filter fails", filter.matches(mScanResult)) [all...] |
/external/opencv3/modules/cudafeatures2d/src/ |
brute_force_matcher.cpp | 211 std::vector<DMatch>& matches, 215 std::vector<DMatch>& matches, 219 OutputArray matches, 224 OutputArray matches, 229 std::vector<DMatch>& matches); 232 std::vector<std::vector<DMatch> >& matches, 238 std::vector<std::vector<DMatch> >& matches, 244 OutputArray matches, 250 OutputArray matches, 256 std::vector< std::vector<DMatch> >& matches, [all...] |
/external/opencv3/modules/shape/src/ |
tps_trans.cpp | 72 virtual void estimateTransformation(InputArray transformingShape, InputArray targetShape, std::vector<DMatch> &matches); 202 std::vector<DMatch> matches; local 208 matches.push_back(_matches[i]); 213 Mat shape1((int)matches.size(),2,CV_32F); // transforming shape 214 Mat shape2((int)matches.size(),2,CV_32F); // target shape 215 for (int i=0, end = (int)matches.size(); i<end; i++) 217 Point2f pt1=pts1.at<Point2f>(0,matches[i].queryIdx); 221 Point2f pt2=pts2.at<Point2f>(0,matches[i].trainIdx); 230 Mat matK((int)matches.size(),(int)matches.size(),CV_32F) [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
PatternsTest.java | 30 assertTrue("WEB_URL pattern should match commas", Patterns.WEB_URL.matcher(url).matches());
|
/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/guice/core/src/com/google/inject/internal/ |
MethodAspect.java | 41 * @param classMatcher matches classes the interceptor should apply to. For example: {@code 43 * @param methodMatcher matches methods the interceptor should apply to. For example: {@code 59 boolean matches(Class<?> clazz) { method in class:MethodAspect 60 return classMatcher.matches(clazz); 63 boolean matches(Method method) { method in class:MethodAspect 64 return methodMatcher.matches(method);
|