/external/proguard/src/proguard/util/ |
ConstantMatcher.java | 24 * This StringMatcher matches any string or no string at all. 30 private boolean matches; field in class:ConstantMatcher 36 public ConstantMatcher(boolean matches) 38 this.matches = matches; 44 public boolean matches(String string) method in class:ConstantMatcher 46 return matches;
|
StringMatcher.java | 33 * Checks whether the given string matches. 35 * @return a boolean indicating whether the string matches the criterion. 37 public boolean matches(String string); method in interface:StringMatcher
|
NotMatcher.java | 42 public boolean matches(String string) method in class:NotMatcher 44 return !matcher.matches(string);
|
SettableMatcher.java | 42 public boolean matches(String string) method in class:SettableMatcher 44 return matcher.matches(string);
|
EmptyStringMatcher.java | 32 public boolean matches(String string) method in class:EmptyStringMatcher
|
AndMatcher.java | 24 * This StringMatcher tests whether strings matches both given StringMatcher 44 public boolean matches(String string) method in class:AndMatcher 46 return matcher1.matches(string) && 47 matcher2.matches(string);
|
OrMatcher.java | 24 * This StringMatcher tests whether strings matches either of the given 44 public boolean matches(String string) method in class:OrMatcher 46 return matcher1.matches(string) || 47 matcher2.matches(string);
|
FixedStringMatcher.java | 50 public boolean matches(String string) method in class:FixedStringMatcher 54 nextMatcher.matches(string.substring(fixedString.length())));
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_2/RegExp/ |
regress-001.js | 33 for ( var matches = 0; matches < matches_array.length; matches++ ) { 35 "( " + str_regexp + " )[" + matches +"]", 36 matches_array[matches], 37 regexp[matches] );
|
unicode-001.js | 47 for ( var matches = 0; matches < matches_array.length; matches++ ) { 49 str_regexp + " .exec(" + str_pattern +")[" + matches +"]", 50 matches_array[matches], 51 regexp.exec(pattern)[matches] );
|
/external/easymock/src/org/easymock/ |
IArgumentMatcher.java | 37 boolean matches(Object argument);
method in interface:IArgumentMatcher
|
ArgumentsMatcher.java | 35 * Matches two arrays of arguments.
43 boolean matches(Object[] expected, Object[] actual);
method in interface:ArgumentsMatcher
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_2/String/ |
match-001.js | 78 for ( var matches = 0; matches < matches_array.length; matches++ ) { 80 "( " + string + " ).match(" + str_regexp +")[" + matches +"]", 81 matches_array[matches], 82 string.match(regexp)[matches] ); 94 for ( var matches = 0; matches < matches_array.length; matches++ ) { 96 "( " + string + " ).match(" + str_regexp +")[" + matches +"]" [all...] |
split-001.js | 72 for ( var matches = 0; matches < split_array.length; matches++ ) { 74 "( " + string + " ).split(" + str_sep +")[" + matches +"]", 75 split_array[matches], 76 string.split( separator )[matches] ); 100 for ( var matches = 0; matches < split_array.length; matches++ ) { 102 "( " + string + " ).split(" + str_sep +", " + str_limit + " )[" + matches +"]" [all...] |
match-004.js | 130 for ( var matches = 0; matches < limit; matches++ ) { 132 "( " + string + " ).match(" + str_regexp +")[" + matches +"]", 133 matches_array[matches], 134 string.match(regexp)[matches] ); 161 for ( var matches = 0; matches < limit; matches++ ) { 163 "( " + string + " ).match(" + str_regexp +")[" + matches +"]" [all...] |
split-003.js | 80 for ( var matches = 0; matches < split_array.length; matches++ ) { 82 "( " + string + " ).split(" + str_sep +")[" + matches +"]", 83 split_array[matches], 84 string.split( separator )[matches] ); 111 for ( var matches = 0; matches < slimit; matches++ ) { 113 "( " + string + " ).split(" + str_sep +", " + limit + " )[" + matches +"]" [all...] |
match-002.js | 131 for ( var matches = 0; matches < limit; matches++ ) { 133 "( " + string + " ).match(" + str_regexp +")[" + matches +"]", 134 matches_array[matches], 135 string.match(regexp)[matches] ); 162 for ( var matches = 0; matches < limit; matches++ ) { 164 "( " + string + " ).match(" + str_regexp +")[" + matches +"]" [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
PatternsTest.java | 31 t = Patterns.TOP_LEVEL_DOMAIN.matcher("com").matches(); 35 t = Patterns.TOP_LEVEL_DOMAIN.matcher("me").matches(); 39 t = Patterns.TOP_LEVEL_DOMAIN.matcher("xn--0zwm56d").matches(); 42 t = Patterns.TOP_LEVEL_DOMAIN.matcher("mem").matches(); 45 t = Patterns.TOP_LEVEL_DOMAIN.matcher("xn").matches(); 48 t = Patterns.TOP_LEVEL_DOMAIN.matcher("xer").matches(); 56 t = Patterns.WEB_URL.matcher("http://www.google.com").matches(); 60 t = Patterns.WEB_URL.matcher("http://www.google.me").matches(); 62 t = Patterns.WEB_URL.matcher("google.me").matches(); 66 t = Patterns.WEB_URL.matcher("http://xn--fsqu00a.xn--0zwm56d").matches(); [all...] |
/external/iproute2/ip/ |
rtm_map.c | 68 else if (matches(arg, "broadcast") == 0 || 71 else if (matches(arg, "anycast") == 0) 73 else if (matches(arg, "multicast") == 0) 75 else if (matches(arg, "prohibit") == 0) 77 else if (matches(arg, "unreachable") == 0) 79 else if (matches(arg, "blackhole") == 0) 81 else if (matches(arg, "xresolve") == 0) 83 else if (matches(arg, "unicast") == 0)
|
/external/apache-http/src/org/apache/http/conn/util/ |
InetAddressUtils.java | 57 return IPV4_PATTERN.matcher(input).matches(); 61 return IPV6_STD_PATTERN.matcher(input).matches(); 65 return IPV6_HEX_COMPRESSED_PATTERN.matcher(input).matches();
|
/external/easymock/src/org/easymock/internal/ |
AlwaysMatcher.java | 25 public boolean matches(Object[] expected, Object[] actual) {
method in class:AlwaysMatcher
|
/external/webkit/WebCore/svg/ |
SVGLangSpace.cpp | 68 if (attr->name().matches(XMLNames::langAttr)) { 71 } else if (attr->name().matches(XMLNames::spaceAttr)) { 81 return (attrName.matches(XMLNames::langAttr) || 82 attrName.matches(XMLNames::spaceAttr));
|
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
Pattern2Test.java | 39 notes = "Verifies matches(String regex, CharSequence input) method.", 40 method = "matches", 47 assertTrue(m1.matches()); 52 assertFalse(m2.matches()); 56 assertTrue(Pattern.matches("foo.*", "foo123")); 57 assertFalse(Pattern.matches("foo.*", "fox")); 59 assertFalse(Pattern.matches("bar", "foobar")); 61 assertTrue(Pattern.matches("", "")); 422 // Ensure that each escape matches exactly the corresponding 431 if (m.matches()) { [all...] |
/external/easymock/src/org/easymock/internal/matchers/ |
Matches.java | 22 public class Matches implements IArgumentMatcher, Serializable {
28 public Matches(String regex) {
32 public boolean matches(Object actual) {
method in class:Matches 33 return (actual instanceof String) && ((String) actual).matches(regex);
37 buffer.append("matches(\"" + regex.replaceAll("\\\\", "\\\\\\\\")
|
Not.java | 32 public boolean matches(Object actual) {
method in class:Not 33 return !first.matches(actual);
|