/external/easymock/src/org/easymock/internal/ |
AlwaysMatcher.java | 25 public boolean matches(Object[] expected, Object[] actual) {
method in class:AlwaysMatcher
|
/external/webkit/Source/WebCore/svg/ |
SVGLangSpace.cpp | 55 if (attr->name().matches(XMLNames::langAttr)) { 59 if (attr->name().matches(XMLNames::spaceAttr)) { 69 return attrName.matches(XMLNames::langAttr) || attrName.matches(XMLNames::spaceAttr);
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothDeviceFilter.java | 28 * passed to it matches the specified filter type constant from 36 boolean matches(BluetoothDevice device); method in interface:BluetoothDeviceFilter.Filter 77 /** Filter that matches all devices. */ 79 public boolean matches(BluetoothDevice device) { method in class:BluetoothDeviceFilter.AllFilter 84 /** Filter that matches only bonded devices. */ 86 public boolean matches(BluetoothDevice device) { method in class:BluetoothDeviceFilter.BondedDeviceFilter 91 /** Filter that matches only unbonded devices. */ 93 public boolean matches(BluetoothDevice device) { method in class:BluetoothDeviceFilter.UnbondedDeviceFilter 100 abstract boolean matches(ParcelUuid[] uuids, BluetoothClass btClass); method in class:BluetoothDeviceFilter.ClassUuidFilter 102 public boolean matches(BluetoothDevice device) method in class:BluetoothDeviceFilter.ClassUuidFilter 110 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { method in class:BluetoothDeviceFilter.AudioFilter 131 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { method in class:BluetoothDeviceFilter.TransferFilter 145 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { method in class:BluetoothDeviceFilter.PanuFilter 159 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { method in class:BluetoothDeviceFilter.NapFilter [all...] |
/sdk/ddms/libs/ddmuilib/tests/src/com/android/ddmuilib/logcat/ |
LogCatFilterTest.java | 32 assertEquals(false, filter.matches(msg)); 37 assertEquals(true, filter.matches(msg)); 47 assertEquals(true, filter.matches(msg)); 52 assertEquals(false, filter.matches(msg)); 62 assertEquals(true, filter.matches(msg)); 67 assertEquals(false, filter.matches(msg)); 77 assertEquals(true, filter.matches(msg)); 81 assertEquals(false, filter.matches(msg)); 91 assertEquals(true, filter.matches(msg)); 95 assertEquals(false, filter.matches(msg)) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
Pattern2Test.java | 35 assertTrue(m1.matches()); 40 assertFalse(m2.matches()); 44 assertTrue(Pattern.matches("foo.*", "foo123")); 45 assertFalse(Pattern.matches("foo.*", "fox")); 47 assertFalse(Pattern.matches("bar", "foobar")); 49 assertTrue(Pattern.matches("", "")); 354 // Ensure that each escape matches exactly the corresponding 363 if (m.matches()) { 408 assertTrue(m.matches()); 410 assertTrue(m.matches()); [all...] |
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()); 822 assertTrue(pat.matcher("bBbBaaaa").matches()); method 823 assertFalse(pat.matcher("bBbBAaAa").matches()); method 827 assertTrue(pat.matcher("bBbBaaaa").matches()); method 828 assertFalse(pat.matcher("bBbBAaAa").matches()); method 848 assertTrue(pat.matcher("a.b.c.log").matches()); method 849 assertFalse(pat.matcher("a.b.c.log.").matches()); method 853 assertFalse(pat.matcher("abc.log").matches()); method 854 assertTrue(pat.matcher("abc.logg").matches()); method 858 assertFalse(pat.matcher("cde.log").matches()); method 859 assertTrue(pat.matcher("abc.log").matches()); method 863 assertTrue(pat.matcher("cde.log").matches()); method 864 assertFalse(pat.matcher("abc.log").matches()); method 868 assertFalse(pat.matcher("aaabb").matches()); method 870 assertTrue(pat.matcher("aaabb").matches()); method 873 assertTrue(pat.matcher("aaabb").matches()); method 875 assertFalse(pat.matcher("aaabb").matches()); method [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);
|
/external/proguard/src/proguard/util/ |
FixedStringMatcher.java | 50 public boolean matches(String string) method in class:FixedStringMatcher 54 nextMatcher.matches(string.substring(fixedString.length())));
|
/external/webkit/Source/WebCore/css/ |
MediaQueryList.idl | 23 readonly attribute boolean matches;
|
MediaQueryList.cpp | 30 PassRefPtr<MediaQueryList> MediaQueryList::create(PassRefPtr<MediaQueryMatcher> vector, PassRefPtr<MediaList> media, bool matches) 32 return adoptRef(new MediaQueryList(vector, media, matches)); 35 MediaQueryList::MediaQueryList(PassRefPtr<MediaQueryMatcher> vector, PassRefPtr<MediaList> media, bool matches) 40 , m_matches(matches) 87 bool MediaQueryList::matches() function in class:WebCore::MediaQueryList
|
/external/chromium/chrome/browser/history/ |
history_types_unittest.cc | 20 const size_t* matches = result.MatchesForURL(result[i].url(), &match_count); local 24 if (matches[match] == i) { 78 const size_t* matches = results.MatchesForURL(url1, &match_count); local 80 EXPECT_TRUE((matches[0] == 0 && matches[1] == 1) || 81 (matches[0] == 1 && matches[1] == 0)); 84 matches = results.MatchesForURL(url2, &match_count); 86 EXPECT_TRUE(matches[0] == 2); 93 matches = results.MatchesForURL(url1, &match_count) 122 const size_t* matches = results.MatchesForURL(url2, &match_count); local 154 const size_t* matches = results.MatchesForURL(url1, &match_count); local [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/RegExp/ |
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] );
|
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] );
|
octal-003.js | 74 for ( var matches = 0; matches < limit; matches++ ) { 76 str_regexp + ".exec(" + str_pattern +")[" + matches +"]", 77 matches_array[matches], 78 escape(regexp.exec(pattern)[matches]) );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/String/ |
match-003.js | 120 for ( var matches = 0; matches < limit; matches++ ) { 122 "( " + string + " ).match(" + str_regexp +")[" + matches +"]", 123 matches_array[matches], 124 string.match(regexp)[matches] );
|
/external/clang/lib/Driver/ |
ArgList.cpp | 30 if (O.matches(Id0) || 31 (Id1.isValid() && O.matches(Id1)) || 32 (Id2.isValid() && O.matches(Id2))) 51 if ((*it)->getOption().matches(Id)) { 63 if ((*it)->getOption().matches(Id)) 71 if ((*it)->getOption().matches(Id)) { 83 if ((*it)->getOption().matches(Id0) || 84 (*it)->getOption().matches(Id1)) { 98 if ((*it)->getOption().matches(Id0) || 99 (*it)->getOption().matches(Id1) | [all...] |
/external/apache-harmony/regex/src/test/java/org/apache/harmony/tests/java/util/regex/ |
MatcherTest.java | 47 assertFalse(m.matches()); 52 assertTrue(m.matches()); 118 assertTrue(m.matches()); 120 assertFalse(m.matches()); 179 mat.matches(); 204 mat.matches(); 220 mat.matches(); 231 mat.matches(); 234 fail("IllegalStateException expected for <false> matches result"); 244 mat.matches(); 682 assertTrue(pattern.matcher("14pt").matches()); method [all...] |
Pattern2Test.java | 34 assertTrue(m1.matches()); 39 assertFalse(m2.matches()); 43 assertTrue(Pattern.matches("foo.*", "foo123")); 44 assertFalse(Pattern.matches("foo.*", "fox")); 46 assertFalse(Pattern.matches("bar", "foobar")); 48 assertTrue(Pattern.matches("", "")); 354 // Ensure that each escape matches exactly the corresponding 363 if (m.matches()) { 406 assertTrue(m.matches()); 408 assertTrue(m.matches()); [all...] |
/external/iproute2/ip/ |
ip.c | 89 if (matches(argv0, c->cmd) == 0) 161 if (matches(opt, "-family") == 0) { 190 } else if (matches(opt, "-stats") == 0 || 191 matches(opt, "-statistics") == 0) { 193 } else if (matches(opt, "-details") == 0) { 195 } else if (matches(opt, "-resolve") == 0) { 197 } else if (matches(opt, "-oneline") == 0) { 199 } else if (matches(opt, "-timestamp") == 0) { 202 } else if (matches(opt, "-numeric") == 0) { 205 } else if (matches(opt, "-Version") == 0) [all...] |
/external/iproute2/tc/ |
m_gact.c | 76 if (matches(*argv, "reclassify") == 0) { 78 } else if (matches(*argv, "drop") == 0 || matches(*argv, "shot") == 0) { 80 } else if (matches(*argv, "continue") == 0) { 82 } else if (matches(*argv, "pipe") == 0) { 84 } else if (matches(*argv, "pass") == 0 || matches(*argv, "ok") == 0) { 113 if (matches(*argv, "gact") == 0) { 133 if (matches(*argv, "random") == 0) { 136 if (matches(*argv, "netrand") == 0) [all...] |
m_mirred.c | 80 if (matches(*argv, "action") == 0) { 82 } else if (matches(*argv, "egress") == 0) { 88 if (matches(*argv, "index") == 0) { 104 } else if (!mirror && matches(*argv, "mirror") == 0) { 113 } else if (!redir && matches(*argv, "redirect") == 0) { 122 } else if ((redir || mirror) && matches(*argv, "dev") == 0) { 160 if (matches(*argv, "reclassify") == 0) { 163 } else if (matches(*argv, "pipe") == 0) { 166 } else if (matches(*argv, "drop") == 0 || 167 matches(*argv, "shot") == 0) [all...] |
/external/webkit/Source/WebKit/win/ |
WebUserContentURLPattern.cpp | 116 HRESULT WebUserContentURLPattern::matchesSubdomains(BOOL* matches) 118 if (!matches) 120 *matches = m_pattern.matchSubdomains(); 124 HRESULT WebUserContentURLPattern::matchesURL(BSTR url, BOOL* matches) 126 if (!matches) 128 *matches = m_pattern.matches(MarshallingHelpers::BSTRToKURL(url));
|
/external/chromium/webkit/glue/ |
regular_expression_unittest.cc | 25 const Match* matches, 29 int matchedLength = matches[i].textLength; 30 EXPECT_EQ(matches[i].matchPosition, regex.match( 31 WebString(matches[i].text, matches[i].textLength), 0, &matchedLength)); 32 if (matches[i].matchPosition != -1) 33 EXPECT_EQ(matches[i].matchLength, matchedLength); 66 const Match matches[] = { local 73 testMatches(regex, matches, arraysize(matches)); 88 const Match matches[] = { local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
KeyGeneratorThread.java | 44 int matches = 0; local 47 matches++; 50 if (matches > array1.length / 2) { 55 matches = 0; 64 matches++;
|