/external/proguard/src/proguard/util/ |
H A D | 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) argument 38 this.matches = matches; 44 public boolean matches(String string) method in class:ConstantMatcher 46 return matches;
|
H A D | 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
|
H A D | NotMatcher.java | 42 public boolean matches(String string) method in class:NotMatcher 44 return !matcher.matches(string);
|
H A D | SettableMatcher.java | 42 public boolean matches(String string) method in class:SettableMatcher 44 return matcher.matches(string);
|
H A D | EmptyStringMatcher.java | 32 public boolean matches(String string) method in class:EmptyStringMatcher
|
H A D | 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);
|
H A D | 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);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/RegExp/ |
H A D | regress-001.js | 33 for ( var matches = 0; matches < matches_array.length; matches++ ) { 35 "( " + str_regexp + " )[" + matches +"]", 36 matches_array[matches], 37 regexp[matches] );
|
H A D | hex-001.js | 57 for ( var matches = 0; matches < matches_array.length; matches++ ) { 59 str_regexp + ".exec(" + str_pattern +")[" + matches +"]", 60 matches_array[matches], 61 regexp.exec(pattern)[matches] );
|
H A D | multiline-001.js | 56 for ( var matches = 0; matches < matches_array.length; matches++ ) { 58 regexp + ".exec(" + pattern +")[" + matches +"]", 59 matches_array[matches], 60 regexp.exec(pattern)[matches] );
|
H A D | 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/chromium/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/ |
H A D | contentscript.js | 7 matches = document.body.innerText.match(regex); 8 if (matches) { 10 count: matches.length // Pass the number of matches back.
|
/external/easymock/src/org/easymock/ |
H A D | IArgumentMatcher.java | 37 boolean matches(Object argument);
method in interface:IArgumentMatcher
|
H A D | ArgumentsMatcher.java | 43 boolean matches(Object[] expected, Object[] actual);
method in interface:ArgumentsMatcher
|
/external/hamcrest/src/org/hamcrest/ |
H A D | Matcher.java | 26 * This method matches against Object, instead of the generic type T. This is 32 * @return <code>true</code> if <var>item</var> matches, otherwise <code>false</code>. 36 boolean matches(Object item); method in interface:Matcher
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/String/ |
H A D | 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...] |
H A D | 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...] |
H A D | 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...] |
H A D | 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...] |
/external/chromium/chrome/browser/resources/options/chromeos/ |
H A D | accounts_user_name_edit.js | 70 var matches = format1.exec(str); 71 if (matches) { 73 name: matches[1], 74 email: matches[1] + '@gmail.com', 79 matches = format2.exec(str); 80 if (matches) { 82 name: matches[1], 83 email: matches[1] + '@' + matches[2], 88 matches [all...] |
/external/clang/unittests/ASTMatchers/ |
H A D | ASTMatchersTest.cpp | 44 EXPECT_TRUE(matches("namespace x { class X {}; } using x::X;", 50 EXPECT_TRUE(matches("typedef int X;", NamedX)); 51 EXPECT_TRUE(matches("int X;", NamedX)); 52 EXPECT_TRUE(matches("class foo { virtual void X(); };", NamedX)); 53 EXPECT_TRUE(matches("void foo() try { } catch(int X) { }", NamedX)); 54 EXPECT_TRUE(matches("void foo() { int X; }", NamedX)); 55 EXPECT_TRUE(matches("namespace X { }", NamedX)); 56 EXPECT_TRUE(matches("enum X { A, B, C };", NamedX)); 63 EXPECT_TRUE(matches("typedef int Xa;", NamedX)); 64 EXPECT_TRUE(matches("in [all...] |
/external/iproute2/ip/ |
H A D | 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/chromium/chrome/browser/history/ |
H A D | visit_database_unittest.cc | 88 std::vector<VisitRow> matches; local 89 EXPECT_TRUE(GetVisitsForURL(visit_info1.url_id, &matches)); 90 EXPECT_EQ(static_cast<size_t>(2), matches.size()); 93 EXPECT_TRUE(IsVisitInfoEqual(matches[0], visit_info1) && 94 IsVisitInfoEqual(matches[1], visit_info2)); 117 std::vector<VisitRow> matches; local 118 EXPECT_TRUE(GetVisitsForURL(visit_info1.url_id, &matches)); 119 EXPECT_EQ(static_cast<size_t>(3), matches.size()); 120 EXPECT_TRUE(IsVisitInfoEqual(matches[0], visit_info1) && 121 IsVisitInfoEqual(matches[ 240 std::vector<VisitRow> matches; local [all...] |
/external/v8/test/mjsunit/ |
H A D | regexp-indexof.js | 28 function CheckMatch(re, str, matches) { 29 assertEquals(matches.length > 0, re.test(str)); 31 if (matches.length > 0) { 32 assertEquals(matches.length, result.length); 36 for (var idx = 0; idx < matches.length; idx++) { 37 var from = matches[idx][0]; 38 var length = matches[idx][1];
|
/external/apache-http/src/org/apache/http/conn/util/ |
H A D | 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();
|