Searched refs:matches (Results 1 - 25 of 473) sorted by relevance

1234567891011>>

/external/proguard/src/proguard/util/
H A DConstantMatcher.java24 * 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 DStringMatcher.java33 * 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 DNotMatcher.java42 public boolean matches(String string) method in class:NotMatcher
44 return !matcher.matches(string);
H A DSettableMatcher.java42 public boolean matches(String string) method in class:SettableMatcher
44 return matcher.matches(string);
H A DEmptyStringMatcher.java32 public boolean matches(String string) method in class:EmptyStringMatcher
H A DAndMatcher.java24 * 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 DOrMatcher.java24 * 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 Dregress-001.js33 for ( var matches = 0; matches < matches_array.length; matches++ ) {
35 "( " + str_regexp + " )[" + matches +"]",
36 matches_array[matches],
37 regexp[matches] );
H A Dhex-001.js57 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 Dmultiline-001.js56 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 Dunicode-001.js47 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 Dcontentscript.js7 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 DIArgumentMatcher.java37 boolean matches(Object argument); method in interface:IArgumentMatcher
H A DArgumentsMatcher.java43 boolean matches(Object[] expected, Object[] actual); method in interface:ArgumentsMatcher
/external/hamcrest/src/org/hamcrest/
H A DMatcher.java26 * 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 Dmatch-001.js78 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 Dsplit-001.js72 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 Dmatch-004.js130 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 Dsplit-003.js80 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 Daccounts_user_name_edit.js70 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 DASTMatchersTest.cpp44 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 Drtm_map.c68 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 Dvisit_database_unittest.cc88 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 Dregexp-indexof.js28 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 DInetAddressUtils.java57 return IPV4_PATTERN.matcher(input).matches();
61 return IPV6_STD_PATTERN.matcher(input).matches();
65 return IPV6_HEX_COMPRESSED_PATTERN.matcher(input).matches();

Completed in 489 milliseconds

1234567891011>>