/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CertSelectorTest.java | 35 byte[] match = { 127, 0, 0, 1 }; in testMatchIpv4SubjectAlternativeName() 36 assertTrue(certSelector.match(newCertWithSubjectAltNameIpAddress(match))); in testMatchIpv4SubjectAlternativeName() 39 assertFalse(certSelector.match(newCertWithSubjectAltNameIpAddress(noMatch))); in testMatchIpv4SubjectAlternativeName() 46 byte[] match = { 127, 0, 0, 1 }; in testMatchIpv4MappedSubjectAlternativeName() 47 assertTrue(certSelector.match(newCertWithSubjectAltNameIpAddress(match))); in testMatchIpv4MappedSubjectAlternativeName() 50 assertFalse(certSelector.match(newCertWithSubjectAltNameIpAddress(noMatch))); in testMatchIpv4MappedSubjectAlternativeName() 58 byte[] match = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 }; in testMatchIpv6SubjectAlternativeName() 59 assertTrue(certSelector.match(newCertWithSubjectAltNameIpAddress(match))); in testMatchIpv6SubjectAlternativeName() 62 assertFalse(certSelector.match(newCertWithSubjectAltNameIpAddress(noMatch))); in testMatchIpv6SubjectAlternativeName() 71 assertTrue(certSelector.match(newCertWithNameConstraint(directMatch, excluded))); in testMatchMaskedIpv4NameConstraint() [all …]
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | X509CRLSelector2Test.java | 74 .match(crl1)); in testAddIssuerLjavax_security_auth_x500_X500Principal02() 76 selector.match(crl2)); in testAddIssuerLjavax_security_auth_x500_X500Principal02() 79 .match(crl2)); in testAddIssuerLjavax_security_auth_x500_X500Principal02() 101 .match(crl1)); in testAddIssuerNameLjava_lang_String03() 103 selector.match(crl2)); in testAddIssuerNameLjava_lang_String03() 111 .match(crl2)); in testAddIssuerNameLjava_lang_String03() 142 selector.match(crl1) && selector.match(crl2)); in testSetIssuerNamesLjava_util_Collection02() 154 .match(crl1) in testSetIssuerNamesLjava_util_Collection02() 155 && selector.match(crl2)); in testSetIssuerNamesLjava_util_Collection02() 157 selector.match(crl3)); in testSetIssuerNamesLjava_util_Collection02() [all …]
|
D | X509CertSelectorTest.java | 543 selector.match(cert1) && selector.match(cert2)); in test_getPathToNames() 654 selector.match(cert_1)); in test_getSubjectAlternativeNames() 659 selector.match(cert_1)); in test_getSubjectAlternativeNames() 798 assertFalse(selector.match(null)); in test_matchLjava_security_cert_Certificate() 810 assertTrue(selector.match(cert1)); in test_matchLjava_security_cert_Certificate() 811 assertFalse(selector.match(cert2)); in test_matchLjava_security_cert_Certificate() 814 assertFalse(selector.match(cert1)); in test_matchLjava_security_cert_Certificate() 815 assertTrue(selector.match(cert2)); in test_matchLjava_security_cert_Certificate() 831 selector.match(cert1)); in test_setAuthorityKeyIdentifierLB$() 833 selector.match(cert2)); in test_setAuthorityKeyIdentifierLB$() [all …]
|
D | CertStoreSpiTest.java | 81 public boolean match (CRL crl) { in match() method in CertStoreSpiTest.tmpCRLSelector 89 public boolean match (Certificate crl) { in match() method in CertStoreSpiTest.tmpCertSelector
|
D | CertStore2Test.java | 295 public boolean match(CRL crl) { in match() method in CertStore2Test.MyCRLSelector 305 public boolean match(CRL crl) { in match() method in CertStore2Test.MyOtherCRLSelector 317 public boolean match(Certificate cert) { in match() method in CertStore2Test.MyCertSelector 328 public boolean match(Certificate crl) { in match() method in CertStore2Test.MyOtherCertSelector
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | HttpCookieTest.java | 109 boolean match = HttpCookie.domainMatches("hostname", "hostname"); in test_DomainMatches() 110 assertFalse(match); in test_DomainMatches() 112 match = HttpCookie.domainMatches(".com", "test.com"); in test_DomainMatches() 113 assertFalse(match); in test_DomainMatches() 115 match = HttpCookie.domainMatches(".com.", "test.com"); in test_DomainMatches() 116 assertFalse(match); in test_DomainMatches() 120 match = HttpCookie.domainMatches(".local", "hostname"); in test_DomainMatches() 121 assertTrue(match); in test_DomainMatches() 128 match = HttpCookie.domainMatches(".c.d", "a.b.c.d"); in test_DomainMatches() 129 assertTrue(match); in test_DomainMatches() [all …]
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
D | OldCharset_SingleByteAbstractTest.java | 130 boolean match = true; in assertEqualChars2() 151 match = false; in assertEqualChars2() 160 assertTrue(msg, match); in assertEqualChars2() 179 boolean match = true; in assertEqualBytes2() 187 match = false; in assertEqualBytes2() 190 assertTrue(msg, match); in assertEqualBytes2()
|
D | OldCharset_AbstractTest.java | 201 boolean match = true; in assertEqualCBs() 216 match = false; in assertEqualCBs() 224 assertTrue(msg, match); in assertEqualCBs() 242 boolean match = true; in assertEqualBytes() 256 match = false; in assertEqualBytes() 260 assertTrue(msg, match); in assertEqualBytes()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | IndexedCollectionCertStore.java | 253 if (selector.match(cert)) { in engineGetCertificates() 280 if (x509Selector.match(x509Entry)) { in engineGetCertificates() 291 if (x509Selector.match(cert)) { in engineGetCertificates() 314 if (selector.match(cert)) { in matchX509Certs() 322 if (selector.match(cert)) { in matchX509Certs() 357 if (selector.match(crl)) { in engineGetCRLs() 378 if (x509Selector.match(crl)) { in engineGetCRLs() 386 if (x509Selector.match(crl)) { in engineGetCRLs() 408 if (selector.match(crl)) { in matchX509CRLs() 416 if (selector.match(crl)) { in matchX509CRLs()
|
D | DistributionPointFetcher.java | 210 if (selector.match(crl) && verifyCRL(certImpl, point, crl, in getCRLs() 343 boolean match = false; in verifyCRL() 345 !match && t.hasNext(); ) { in verifyCRL() 349 match = true; in verifyCRL() 352 if (match == false) { in verifyCRL() 451 boolean match = false; in verifyCRL() 453 !match && i.hasNext(); ) { in verifyCRL() 459 !match && p.hasNext(); ) { in verifyCRL() 464 match = idpName.equals(pointName); in verifyCRL() 467 if (!match) { in verifyCRL() [all …]
|
D | CollectionCertStore.java | 129 selector.match((Certificate) o)) in engineGetCertificates() 170 if ((o instanceof CRL) && selector.match((CRL) o)) in engineGetCRLs()
|
D | AdaptableX509CertSelector.java | 140 public boolean match(Certificate cert) { in match() method in AdaptableX509CertSelector 186 return super.match(cert); in match()
|
D | KeyChecker.java | 116 targetConstraints.match(currCert) == false) { in check()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ldap/ |
D | LDAPCertStore.java | 462 if (sel.match(cert)) { in getCertificates() 556 if ((cert != null) && forward.match(cert)) { in getMatchingCrossCerts() 562 if ((cert != null) && reverse.match(cert)) { in getMatchingCrossCerts() 736 if (sel.match(crl)) { in getCRLs() 1016 public boolean match(Certificate cert) { in match() method in LDAPCertStore.LDAPCertSelector 1020 boolean match = selector.match(cert); in match() 1022 return match; in match() 1077 public boolean match(CRL crl) { in match() method in LDAPCertStore.LDAPCRLSelector 1081 boolean match = selector.match(crl); in match() 1083 return match; in match()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | CRLSelector.java | 57 boolean match(CRL crl); in match() method
|
D | CertSelector.java | 58 boolean match(Certificate cert); in match() method
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ScannerTest.java | 520 s.match(); in test_match() 526 result = s.match(); in test_match() 545 s.match(); in test_match() 552 s.match(); in test_match() 557 result = s.match(); in test_match() 571 s.match(); in test_match() 578 result = s.match(); in test_match() 591 result = s.match(); in test_match() 608 s.match(); in test_match() 620 result = s.match(); in test_match() [all …]
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | Exchanger.java | 287 volatile Object match; // Item provided by releasing thread field in Exchanger.Node 337 q.match = item; in arenaExchange() 349 Object v = p.match; in arenaExchange() 432 q.match = item; in slotExchange() 458 while ((v = p.match) == null) { in slotExchange()
|
D | SynchronousQueue.java | 207 volatile SNode match; // the node matched to this field in SynchronousQueue.TransferStack.SNode 233 if (match == null && in tryMatch() 242 return match == s; in tryMatch() 253 return match == this; in isCancelled() 415 SNode m = s.match; in awaitFulfill()
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | JarVerifier.java | 584 CodeSigner[] match; in findMatchingSigners() local 585 match = ((VerifierCodeSource) sourceList.get(j)).getPrivateSigners(); in findMatchingSigners() 586 if (match == null) { in findMatchingSigners() 587 match = emptySigner; in findMatchingSigners() 589 return match; in findMatchingSigners() 693 CodeSigner[] match = findMatchingSigners(cs[i]); in entryNames() local 694 if (match != null) { in entryNames() 695 if (match.length > 0) { in entryNames() 696 req.add(match); in entryNames()
|
/libcore/ojluni/src/main/java/java/util/regex/ |
D | Pattern.java | 1125 String match = input.subSequence(index, m.start()).toString(); in split() local 1126 matchList.add(match); in split() 1129 String match = input.subSequence(index, in split() local 1131 matchList.add(match); in split()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | MatchOpTest.java | 101 boolean match = this.<T>kinds().get(kind).apply(predicates[i]).apply(source.stream()); in assertPredicates() 102 assertEquals(answers[i], match, kind.toString() + predicates[i].toString()); in assertPredicates() 186 boolean match = intKinds.get(kind).apply(predicates[i]).apply(source.get()); in assertIntPredicates() 187 assertEquals(answers[i], match, kind.toString() + predicates[i].toString()); in assertIntPredicates() 271 boolean match = longKinds.get(kind).apply(predicates[i]).apply(source.get()); in assertLongPredicates() 272 assertEquals(answers[i], match, kind.toString() + predicates[i].toString()); in assertLongPredicates() 356 boolean match = doubleKinds.get(kind).apply(predicates[i]).apply(source.get()); in assertDoublePredicates() 357 assertEquals(answers[i], match, kind.toString() + predicates[i].toString()); in assertDoublePredicates()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | HostnameChecker.java | 88 public void match(String expectedName, X509Certificate cert) in match() method in HostnameChecker 100 public static boolean match(String expectedName, Principal principal) { in match() method in HostnameChecker
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
D | SignerInfo.java | 248 boolean match = false; in getCertificateChain() 266 match = true; in getCertificateChain() 272 if (!match) in getCertificateChain()
|
/libcore/ojluni/src/main/java/sun/net/www/ |
D | ParseUtil.java | 451 if (!match(c, lowMask, highMask) && !isEscaped(s, i)) { in quote() 486 && match(s.charAt(pos + 1), L_HEX, H_HEX) in isEscaped() 487 && match(s.charAt(pos + 2), L_HEX, H_HEX); in isEscaped() 519 private static boolean match(char c, long lowMask, long highMask) { in match() method in ParseUtil
|