Searched defs:matches (Results 1 - 12 of 12) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/file/
H A DPathMatcher.java40 * Tells if given path matches this matcher's pattern.
45 * @return {@code true} if, and only if, the path matches this
48 boolean matches(Path path); method in interface:PathMatcher
/libcore/ojluni/src/main/java/javax/net/ssl/
H A DSNIMatcher.java95 * @return {@code true} if, and only if, the matcher matches the
104 public abstract boolean matches(SNIServerName serverName); method in class:SNIMatcher
H A DSNIHostName.java353 * @return {@code true} if, and only if, the matcher matches the
363 public boolean matches(SNIServerName serverName) { method in class:SNIHostName.SNIHostNameMatcher
387 if (pattern.matcher(asciiName).matches()) {
393 return pattern.matcher(IDN.toUnicode(asciiName)).matches();
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
H A DPattern2Test.java106 private void testCategory(String cat, String... matches) { argument
112 for (int j = 0; j < matches.length; j++) {
113 String t = matches[j];
119 "by pattern '"+pat, p.matcher(t).matches());
121 "be matched by pattern '"+npat, pn.matcher(t).matches());
124 "by pattern '"+pat, p.matcher(t).matches());
126 "not be matched by pattern '"+npat, pn.matcher(t).matches());
138 assertTrue(m.matches());
144 assertTrue(m.matches());
155 assertTrue(m.matches());
[all...]
/libcore/ojluni/src/test/java/time/tck/java/time/
H A DAbstractTCKTest.java112 protected static void assertSerializedBySer(Object object, byte[] expectedBytes, byte[]... matches) throws Exception { argument
145 if (matches.length > 0) {
146 for (byte[] match : matches) {
/libcore/ojluni/src/main/java/java/util/regex/
H A DPattern.java57 * boolean b = m.{@link Matcher#matches matches}();</pre></blockquote>
59 * <p> A {@link #matches matches} method is defined by this class as a
61 * compiles an expression and matches an input sequence against it in a single
65 * boolean b = Pattern.matches("a*b", "aaaaab");</pre></blockquote>
67 * is equivalent to the three statements above, though for repeated matches it
83 * <th bgcolor="#CCCCFF" align="left" id="matches">Matches</th>
90 * <td headers="matches">The character <i>x</i></td></tr>
92 * <td headers="matches">Th
1045 public static boolean matches(String regex, CharSequence input) { method in class:Pattern
[all...]
H A DMatcher.java41 * <li><p> The {@link #matches matches} method attempts to match the entire
48 * the next subsequence that matches the pattern. </p></li>
56 * <p> A matcher finds matches in a subset of its input called the
201 * find matches with.
320 * successfully matches the empty string in the input. </p>
351 * matches the empty string in the input. </p>
388 * matches the empty string in the input. </p>
443 * matches this matcher's pattern
445 public boolean matches() { method in class:Matcher
[all...]
/libcore/ojluni/src/main/java/java/util/logging/
H A DLevel.java335 // Returns a mirrored Level object that matches the given name as
409 KnownLevel o = KnownLevel.matches(this);
600 static synchronized KnownLevel matches(Level l) { method in class:Level.KnownLevel
/libcore/ojluni/src/main/java/sun/security/util/
H A DSignatureFileVerifier.java624 static boolean matches(CodeSigner[] signers, CodeSigner[] oldSigners, method in class:SignatureFileVerifier
667 if (matches(cachedSigners, oldSigners, newSigners)) {
/libcore/ojluni/src/main/java/java/lang/
H A DString.java1219 * exactly matches the specified subregion of the string argument;
1285 * matches the specified subregion of the string argument;
1825 /* Empty string always matches. */
1884 /* Empty string always matches. */
2087 * Tells whether or not this string matches the given <a
2091 * <i>str</i>{@code .matches(}<i>regex</i>{@code )} yields exactly the
2095 * {@link java.util.regex.Pattern}.{@link java.util.regex.Pattern#matches(String,CharSequence)
2096 * matches(<i>regex</i>, <i>str</i>)}
2102 * @return {@code true} if, and only if, this string matches the
2113 public boolean matches(Strin method in class:String
[all...]
/libcore/ojluni/src/main/java/java/security/
H A DProvider.java912 boolean matches(String type, String algorithm) { method in class:Provider.ServiceKey
1061 if (key.matches(type, algorithm) == false) {
/libcore/luni/src/main/native/
H A Dorg_apache_harmony_xml_ExpatParser.cpp531 bool matches(const char* uri, const char* localName) { function in class:ExpatElementName
651 * we assume that this matches the last data on our stack.
1199 if (ExpatElementName(NULL, NULL, attributePointer, index).matches(uriBytes.c_str(),

Completed in 5479 milliseconds