/libcore/ojluni/src/main/java/java/security/cert/ |
H A D | CRLSelector.java | 57 boolean match(CRL crl); method in interface:CRLSelector
|
H A D | CertSelector.java | 58 boolean match(Certificate cert); method in interface:CertSelector
|
/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | CertConstraintParameters.java | 42 public CertConstraintParameters(X509Certificate c, boolean match) { argument 44 trustedMatch = match; 51 // Returns if the trust anchor has a match if anchor checking is enabled.
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
H A D | X509CertSelectorTest.java | 35 byte[] match = { 127, 0, 0, 1 }; 36 assertTrue(certSelector.match(newCertWithSubjectAltNameIpAddress(match))); 39 assertFalse(certSelector.match(newCertWithSubjectAltNameIpAddress(noMatch))); 46 byte[] match = { 127, 0, 0, 1 }; 47 assertTrue(certSelector.match(newCertWithSubjectAltNameIpAddress(match))); 50 assertFalse(certSelector.match(newCertWithSubjectAltNameIpAddress(noMatch))); 58 byte[] match = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 }; 59 assertTrue(certSelector.match(newCertWithSubjectAltNameIpAddres [all...] |
/libcore/ojluni/src/main/java/sun/nio/fs/ |
H A D | AbstractBasicFileAttributeView.java | 118 boolean match(String name) { method in class:AbstractBasicFileAttributeView.AttributesBuilder 142 if (builder.match(SIZE_NAME)) 144 if (builder.match(CREATION_TIME_NAME)) 146 if (builder.match(LAST_ACCESS_TIME_NAME)) 148 if (builder.match(LAST_MODIFIED_TIME_NAME)) 150 if (builder.match(FILE_KEY_NAME)) 152 if (builder.match(IS_DIRECTORY_NAME)) 154 if (builder.match(IS_REGULAR_FILE_NAME)) 156 if (builder.match(IS_SYMBOLIC_LINK_NAME)) 158 if (builder.match(IS_OTHER_NAM [all...] |
H A D | UnixFileAttributeViews.java | 193 if (builder.match(PERMISSIONS_NAME)) 195 if (builder.match(OWNER_NAME)) 197 if (builder.match(GROUP_NAME)) 347 if (builder.match(MODE_NAME)) 349 if (builder.match(INO_NAME)) 351 if (builder.match(DEV_NAME)) 353 if (builder.match(RDEV_NAME)) 355 if (builder.match(NLINK_NAME)) 357 if (builder.match(UID_NAME)) 359 if (builder.match(GID_NAM [all...] |
H A D | LinuxDosFileAttributeView.java | 105 if (builder.match(READONLY_NAME)) 107 if (builder.match(ARCHIVE_NAME)) 109 if (builder.match(SYSTEM_NAME)) 111 if (builder.match(HIDDEN_NAME))
|
/libcore/luni/src/test/java/tests/security/cert/ |
H A D | X509CertSelectorTest.java | 542 assertTrue("Any certificate should match in the case of null " 544 selector.match(cert1) && selector.match(cert2)); 654 assertTrue("The certificate should match the selection criteria.", 655 selector.match(cert_1)); 660 selector.match(cert_1)); 795 * java.security.cert.X509CertSelector#match(java.security.cert.Certificate) 799 assertFalse(selector.match(null)); 811 assertTrue(selector.match(cert1)); 812 assertFalse(selector.match(cert [all...] |
H A D | X509CRLSelector2Test.java | 62 * specified issuers match the selector, and if not specified issuer does 63 * not match the selector. 73 assertTrue("The CRL should match the selection criteria.", selector 74 .match(crl1)); 75 assertFalse("The CRL should not match the selection criteria.", 76 selector.match(crl2)); 78 assertTrue("The CRL should match the selection criteria.", selector 79 .match(crl2)); 84 * issuers match the selector, and if not specified issuer does not match [all...] |
H A D | CertStoreSpiTest.java | 81 public boolean match (CRL crl) { method in class:CertStoreSpiTest.tmpCRLSelector 89 public boolean match (Certificate crl) { method in class:CertStoreSpiTest.tmpCertSelector
|
H A D | CertStore2Test.java | 295 public boolean match(CRL crl) { method in class:CertStore2Test.MyCRLSelector 305 public boolean match(CRL crl) { method in class:CertStore2Test.MyOtherCRLSelector 317 public boolean match(Certificate cert) { method in class:CertStore2Test.MyCertSelector 328 public boolean match(Certificate crl) { method in class:CertStore2Test.MyOtherCertSelector
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
H A D | OldCharset_SingleByteAbstractTest.java | 71 assertEqualChars2("Decoded charactes must match!", 75 // assertTrue("Decoded charactes (REPLACEed ones INCLUSIVE) must match!", 78 // assertEqualChars("Decoded charactes (REPLACEed ones INCLUSIVE) must match!", 82 // assertEquals("Decoded charactes must match!", 95 // assertEqualChars("Decoded charactes must match!", 98 //// assertEquals("Decoded charactes must match!", 110 assertEqualBytes2("Encoded bytes must match!", allBytes, outputBB.array(), allChars); 130 boolean match = true; 151 match = false; 157 // match [all...] |
H A D | OldCharset_AbstractTest.java | 73 assertEquals("Name of charset must match!", charsetName, charset.name()); 141 // assertTrue("Encoded bytes must match!", 143 assertEqualBytes("Encoded bytes must match!", testBytes, outputBB); 209 boolean match = true; 224 match = false; 232 assertTrue(msg, match); 251 boolean match = true; 265 match = false; 269 assertTrue(msg, match);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | HttpCookieTest.java | 109 boolean match = HttpCookie.domainMatches("hostname", "hostname"); 110 assertFalse(match); 112 match = HttpCookie.domainMatches(".com", "test.com"); 113 assertFalse(match); 115 match = HttpCookie.domainMatches(".com.", "test.com"); 116 assertFalse(match); 120 match = HttpCookie.domainMatches(".local", "hostname"); 121 assertTrue(match); 128 match = HttpCookie.domainMatches(".c.d", "a.b.c.d"); 129 assertTrue(match); [all...] |
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
H A D | DistributionPointFetcher.java | 209 if (selector.match(crl) && verifyCRL(certImpl, point, crl, 350 boolean match = false; 352 !match && t.hasNext(); ) { 356 match = true; 359 if (match == false) { 460 boolean match = false; 462 !match && i.hasNext(); ) { 468 !match && p.hasNext(); ) { 473 match = idpName.equals(pointName); 476 if (!match) { [all...] |
H A D | AdaptableX509CertSelector.java | 120 * the subject criterion before calling match(). 155 public boolean match(Certificate cert) { method in class:AdaptableX509CertSelector 158 // match subject key identifier 165 // does not match the replacement root certificate fields. 198 if (!super.match(cert)) { 218 debug.println("AdaptableX509CertSelector.match: " 229 debug.println("AdaptableX509CertSelector.match: " 230 + "subject key IDs don't match. " 238 debug.println("AdaptableX509CertSelector.match: "
|
H A D | KeyChecker.java | 116 targetConstraints.match(currCert) == false) {
|
/libcore/tools/upstream/ |
H A D | oj_upstream_comparison.py | 63 match = re.match("\s+ojluni/src/main/java/(.+\.java)\s*\\\s*", line) 64 if match: 65 path = match.group(1) 117 # match or replace line
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | Exchanger.java | 195 * changed, but cannot yet proceed until match is set. In the 198 * the linearization point to be a CAS of the match field (as done 248 * slot CASes, it would also be legal for the write to Node.match 285 * The bound for spins while waiting for a match. The actual 316 volatile Object match; // Item provided by releasing thread field in class:Exchanger.Node 366 q.match = item; 378 Object v = p.match; 394 spins = SPINS; // releaser hasn't set match yet 461 q.match = item; 487 while ((v = p.match) [all...] |
/libcore/ojluni/src/main/java/java/util/jar/ |
H A D | JarVerifier.java | 594 CodeSigner[] match; 595 match = ((VerifierCodeSource) sourceList.get(j)).getPrivateSigners(); 596 if (match == null) { 597 match = emptySigner; 599 return match; 704 CodeSigner[] match = findMatchingSigners(cs[i]); 705 if (match != null) { 706 if (match.length > 0) { 707 req.add(match);
|
/libcore/luni/src/main/java/libcore/util/ |
H A D | TimeZoneFinder.java | 130 * <p>In order to be considered a configured zone must match the supplied offset information. 132 * <p>Matches are considered in a well-defined order. If multiple zones match and one of them 134 * Otherwise the first match found is returned. 146 TimeZone match = candidates.get(i); 147 if (!offsetMatchesAtTime(match, offsetSeconds, isDst, whenMillis)) { 153 // No bias, so we can stop at the first match. 154 return match; 158 firstMatch = match; 161 // Check if match is also the bias. There must be a bias otherwise we'd have terminated 163 if (match [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | ScannerTest.java | 627 * @tests java.util.Scanner#match() 633 s.match(); 639 result = s.match(); 658 s.match(); 665 s.match(); 670 result = s.match(); 684 s.match(); 691 result = s.match(); 704 result = s.match(); 721 s.match(); [all...] |
/libcore/ojluni/src/main/java/java/util/regex/ |
H A D | Pattern.java | 47 * a {@link Matcher} object that can match arbitrary {@link 49 * expression. All of the state involved in performing a match resides in the 79 * summary="Regular expression constructs, and what they match"> 153 * <td headers="matches">Any character (may or may not match <a href="#lt">line terminators</a>)</td></tr> 242 * <td headers="matches">The end of the previous match</td></tr> 337 * <td headers="matches">Nothing, but turns match flags <a href="#CASE_INSENSITIVE">i</a> 387 * and leads to a compile-time error; in order to match the string 460 * line terminators and only match at the beginning and the end, respectively, 488 * <p> Capturing groups are so named because, during a match, each subsequence 491 * may also be retrieved from the matcher once the match operatio [all...] |
/libcore/ojluni/src/main/java/java/lang/invoke/ |
H A D | MethodHandle.java | 62 * Both invokers accept calls which exactly match the method handle's own type. 125 * If the type match fails, it means that the method which the 130 * (after resolving symbolic type names) must exactly match the method type 155 * But if a match fails, the JVM will throw a {@link WrongMethodTypeException}, 510 * Every invocation of this method handle via {@code invokeExact} must exactly match this type. 522 * Invokes the method handle, allowing any caller type descriptor, but requiring an exact type match. 524 * exactly match this method handle's {@link #type type}. 681 * <li>Convert the incoming argument list to match the original 694 * to match up the caller's and callee's types. 895 boolean match [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/ |
H A D | AbstractTCKTest.java | 146 for (byte[] match : matches) { 151 byte[] possible = new byte[match.length]; 153 assertEquals(possible, match);
|