/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() 72 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 | 544 selector.match(cert1) && selector.match(cert2)); in test_getPathToNames() 655 selector.match(cert_1)); in test_getSubjectAlternativeNames() 660 selector.match(cert_1)); in test_getSubjectAlternativeNames() 799 assertFalse(selector.match(null)); in test_matchLjava_security_cert_Certificate() 811 assertTrue(selector.match(cert1)); in test_matchLjava_security_cert_Certificate() 812 assertFalse(selector.match(cert2)); in test_matchLjava_security_cert_Certificate() 815 assertFalse(selector.match(cert1)); in test_matchLjava_security_cert_Certificate() 816 assertTrue(selector.match(cert2)); in test_matchLjava_security_cert_Certificate() 832 selector.match(cert1)); in test_setAuthorityKeyIdentifierLB$() 834 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/ojluni/src/main/java/sun/nio/fs/ |
D | AbstractBasicFileAttributeView.java | 118 boolean match(String name) { in match() method in AbstractBasicFileAttributeView.AttributesBuilder 142 if (builder.match(SIZE_NAME)) in addRequestedBasicAttributes() 144 if (builder.match(CREATION_TIME_NAME)) in addRequestedBasicAttributes() 146 if (builder.match(LAST_ACCESS_TIME_NAME)) in addRequestedBasicAttributes() 148 if (builder.match(LAST_MODIFIED_TIME_NAME)) in addRequestedBasicAttributes() 150 if (builder.match(FILE_KEY_NAME)) in addRequestedBasicAttributes() 152 if (builder.match(IS_DIRECTORY_NAME)) in addRequestedBasicAttributes() 154 if (builder.match(IS_REGULAR_FILE_NAME)) in addRequestedBasicAttributes() 156 if (builder.match(IS_SYMBOLIC_LINK_NAME)) in addRequestedBasicAttributes() 158 if (builder.match(IS_OTHER_NAME)) in addRequestedBasicAttributes()
|
D | UnixFileAttributeViews.java | 193 if (builder.match(PERMISSIONS_NAME)) in addRequestedPosixAttributes() 195 if (builder.match(OWNER_NAME)) in addRequestedPosixAttributes() 197 if (builder.match(GROUP_NAME)) in addRequestedPosixAttributes() 347 if (builder.match(MODE_NAME)) in readAttributes() 349 if (builder.match(INO_NAME)) in readAttributes() 351 if (builder.match(DEV_NAME)) in readAttributes() 353 if (builder.match(RDEV_NAME)) in readAttributes() 355 if (builder.match(NLINK_NAME)) in readAttributes() 357 if (builder.match(UID_NAME)) in readAttributes() 359 if (builder.match(GID_NAME)) in readAttributes() [all …]
|
D | LinuxDosFileAttributeView.java | 105 if (builder.match(READONLY_NAME)) in readAttributes() 107 if (builder.match(ARCHIVE_NAME)) in readAttributes() 109 if (builder.match(SYSTEM_NAME)) in readAttributes() 111 if (builder.match(HIDDEN_NAME)) in readAttributes()
|
/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 | 226 boolean match = true; in assertEqualCBs() 241 match = false; in assertEqualCBs() 249 assertTrue(msg, match); in assertEqualCBs() 268 boolean match = true; in assertEqualBytes() 282 match = false; in assertEqualBytes() 286 assertTrue(msg, match); in assertEqualBytes()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | DistributionPointFetcher.java | 209 if (selector.match(crl) && verifyCRL(certImpl, point, crl, in getCRLs() 350 boolean match = false; in verifyCRL() 352 !match && t.hasNext(); ) { in verifyCRL() 356 match = true; in verifyCRL() 359 if (match == false) { in verifyCRL() 460 boolean match = false; in verifyCRL() 462 !match && i.hasNext(); ) { in verifyCRL() 468 !match && p.hasNext(); ) { in verifyCRL() 473 match = idpName.equals(pointName); in verifyCRL() 476 if (!match) { in verifyCRL() [all …]
|
D | AdaptableX509CertSelector.java | 155 public boolean match(Certificate cert) { in match() method in AdaptableX509CertSelector 198 if (!super.match(cert)) { in match()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | CertConstraintParameters.java | 42 public CertConstraintParameters(X509Certificate c, boolean match) { in CertConstraintParameters() argument 44 trustedMatch = match; in CertConstraintParameters()
|
/libcore/luni/src/main/java/libcore/timezone/ |
D | CountryTimeZones.java | 385 for (TimeZone match : candidates) { in lookupByOffsetWithBias() 386 if (!offsetMatchesAtTime(match, offsetMillis, isDst, whenMillis)) { in lookupByOffsetWithBias() 391 firstMatch = match; in lookupByOffsetWithBias() 395 if (bias != null && match.getID().equals(bias.getID())) { in lookupByOffsetWithBias() 449 for (TimeZone match : candidates) { in lookupByOffsetWithBias() 450 if (!offsetMatchesAtTime(match, offsetMillis, dstOffsetMillis, whenMillis)) { in lookupByOffsetWithBias() 455 firstMatch = match; in lookupByOffsetWithBias() 459 if (bias != null && match.getID().equals(bias.getID())) { in lookupByOffsetWithBias()
|
D | CountryZonesFinder.java | 64 boolean match = TimeZoneMapping.containsTimeZoneId( in lookupCountryTimeZonesForZoneId() 66 if (match) { in lookupCountryTimeZonesForZoneId()
|
/libcore/tools/upstream/src/main/java/libcore/ |
D | CompareUpstreams.java | 90 String match = matcher.group(2); in androidChangedComments() local 91 if (match.isEmpty()) { in androidChangedComments() 92 match = "[empty comment]"; in androidChangedComments() 94 Integer oldCount = result.get(match); in androidChangedComments() 98 result.put(match, oldCount + 1); in androidChangedComments()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | Exchanger.java | 317 volatile Object match; // Item provided by releasing thread field in Exchanger.Node 367 q.match = item; in arenaExchange() 379 Object v = p.match; in arenaExchange() 462 q.match = item; in slotExchange() 488 while ((v = p.match) == null) { in slotExchange()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ScannerTest.java | 633 s.match(); in test_match() 639 result = s.match(); in test_match() 658 s.match(); in test_match() 665 s.match(); in test_match() 670 result = s.match(); in test_match() 684 s.match(); in test_match() 691 result = s.match(); in test_match() 704 result = s.match(); in test_match() 721 s.match(); in test_match() 733 result = s.match(); in test_match() [all …]
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | JarVerifier.java | 598 CodeSigner[] match; in findMatchingSigners() local 599 match = ((VerifierCodeSource) sourceList.get(j)).getPrivateSigners(); in findMatchingSigners() 600 if (match == null) { in findMatchingSigners() 601 match = emptySigner; in findMatchingSigners() 603 return match; in findMatchingSigners() 708 CodeSigner[] match = findMatchingSigners(cs[i]); in entryNames() local 709 if (match != null) { in entryNames() 710 if (match.length > 0) { in entryNames() 711 req.add(match); in entryNames()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | CertSelector.java | 58 boolean match(Certificate cert); in match() method
|
D | CRLSelector.java | 57 boolean match(CRL crl); in match() method
|
/libcore/ojluni/src/main/java/java/util/regex/ |
D | Pattern.java | 1172 String match = input.subSequence(index, m.start()).toString(); in split() local 1173 matchList.add(match); in split() 1176 String match = input.subSequence(index, in split() local 1178 matchList.add(match); in split()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandle.java | 1015 boolean match = true, fail = false; in asSpreaderChecks() 1019 match = false; in asSpreaderChecks() 1026 if (match) return mtype; in asSpreaderChecks()
|
/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()
|