HomeSort by relevance Sort by last modified time
    Searched refs:matches (Results 1 - 25 of 879) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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);
  /external/webkit/Source/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] );
  /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();
43 t = Patterns.TOP_LEVEL_DOMAIN.matcher("\uD55C\uAD6D").matches();
46 t = Patterns.TOP_LEVEL_DOMAIN.matcher("mem").matches();
49 t = Patterns.TOP_LEVEL_DOMAIN.matcher("xn").matches();
52 t = Patterns.TOP_LEVEL_DOMAIN.matcher("xer").matches();
60 t = Patterns.WEB_URL.matcher("http://www.google.com").matches();
64 t = Patterns.WEB_URL.matcher("http://www.google.me").matches();
66 t = Patterns.WEB_URL.matcher("google.me").matches();
    [all...]
  /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/hamcrest/src/org/hamcrest/
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/chromium/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/
contentscript.js 7 matches = document.body.innerText.match(regex);
8 if (matches) {
10 count: matches.length // Pass the number of matches back.
  /external/webkit/Source/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...]
  /external/clang/unittests/ASTMatchers/
ASTMatchersTest.cpp 45 EXPECT_TRUE(matches("namespace x { class X {}; } using x::X;",
51 EXPECT_TRUE(matches("typedef int X;", NamedX));
52 EXPECT_TRUE(matches("int X;", NamedX));
53 EXPECT_TRUE(matches("class foo { virtual void X(); };", NamedX));
54 EXPECT_TRUE(matches("void foo() try { } catch(int X) { }", NamedX));
55 EXPECT_TRUE(matches("void foo() { int X; }", NamedX));
56 EXPECT_TRUE(matches("namespace X { }", NamedX));
57 EXPECT_TRUE(matches("enum X { A, B, C };", NamedX));
64 EXPECT_TRUE(matches("typedef int Xa;", NamedX));
65 EXPECT_TRUE(matches("int Xb;", NamedX))
    [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/chromium/chrome/browser/history/
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[1], visit_info2) &
240 std::vector<VisitRow> matches; local
    [all...]
  /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/chromium/chrome/browser/bookmarks/
bookmark_index_unittest.cc 53 std::vector<bookmark_utils::TitleMatch> matches; local
54 model_->GetBookmarksWithTitlesMatching(ASCIIToUTF16(query), 1000, &matches); local
55 ASSERT_EQ(expected_titles.size(), matches.size());
58 for (size_t j = 0; j < matches.size(); ++j) {
59 if (ASCIIToUTF16(expected_titles[i]) == matches[j].node->GetTitle()) {
60 matches.erase(matches.begin() + j);
70 Snippet::MatchPositions* matches) {
77 matches->push_back(Snippet::MatchPosition());
81 matches->back().first = chunks0
88 std::vector<bookmark_utils::TitleMatch> matches; local
89 model_->GetBookmarksWithTitlesMatching(ASCIIToUTF16(query), 1000, &matches); local
203 std::vector<bookmark_utils::TitleMatch> matches; local
215 std::vector<bookmark_utils::TitleMatch> matches; local
282 std::vector<bookmark_utils::TitleMatch> matches; local
    [all...]
  /external/easymock/src/org/easymock/internal/
AlwaysMatcher.java 25 public boolean matches(Object[] expected, Object[] actual) { method in class:AlwaysMatcher

Completed in 487 milliseconds

1 2 3 4 5 6 7 8 91011>>