/libcore/luni/src/main/java/java/security/cert/ |
H A D | CRLSelector.java | 40 * Checks whether the defined criteria of this instance match the specified 48 public boolean match(CRL crl); method in interface:CRLSelector
|
H A D | CertSelector.java | 40 * Checks whether the defined criteria of this instance match the specified 48 public boolean match(Certificate cert); method in interface:CertSelector
|
H A D | X509CRLSelector.java | 34 * X509CRL}s that match the specified criteria. 36 * When constructed, all criteria are set to default values that will match any 64 * The CRL issuer must match at least one of the specified distinguished 68 * the list of issuer distinguished names to match, or {@code 89 * The CRL issuer must match at least one of the specified distinguished 98 * the list of issuer distinguished names to match, or {@code 131 * The CRL issuer must match at least one of the specified distinguished 161 * {@link #addIssuerName(byte[])} instead. It can fail to match some CRLs 165 * CRK issuer must match at least one of the specified distinguished names. 190 * The CRL issuer must match a 402 public boolean match(CRL crl) { method in class:X509CRLSelector [all...] |
H A D | X509CertSelector.java | 48 * X509Certificate}s that match the specified criteria. 52 // match criteria 86 * the certificate to match, or null to not check this criteria. 95 * @return the certificate to match, or null if this criteria is not 103 * Sets the serial number that a certificate must match. 106 * the serial number to match, or {@code null} to not check the 114 * Returns the serial number that a certificate must match. 116 * @return the serial number to match, or {@code null} if the serial number 124 * Sets the issuer that a certificate must match. 127 * the issuer to match, o 1102 public boolean match(Certificate certificate) { method in class:X509CertSelector [all...] |
/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/luni/src/test/java/tests/security/cert/ |
H A D | X509CertSelectorTest.java | 530 assertTrue("Any certificate should match in the case of null " 532 selector.match(cert1) && selector.match(cert2)); 642 assertTrue("The certificate should match the selection criteria.", 643 selector.match(cert_1)); 648 selector.match(cert_1)); 783 * java.security.cert.X509CertSelector#match(java.security.cert.Certificate) 787 assertFalse(selector.match(null)); 799 assertTrue(selector.match(cert1)); 800 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); 201 boolean match = true; 216 match = false; 224 assertTrue(msg, match); 242 boolean match = true; 256 match = false; 260 assertTrue(msg, match);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | HttpCookieTest.java | 104 boolean match = HttpCookie.domainMatches("hostname", "hostname"); 105 assertFalse(match); 107 match = HttpCookie.domainMatches(".com", "test.com"); 108 assertFalse(match); 110 match = HttpCookie.domainMatches(".com.", "test.com"); 111 assertFalse(match); 115 match = HttpCookie.domainMatches(".local", "hostname"); 116 assertTrue(match); 123 match = HttpCookie.domainMatches(".c.d", "a.b.c.d"); 124 assertTrue(match); [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | Exchanger.java | 168 * changed, but cannot yet proceed until match is set. In the 171 * the linearization point to be a CAS of the match field (as done 221 * slot CASes, it would also be legal for the write to Node.match 258 * The bound for spins while waiting for a match. The actual 288 volatile Object match; // Item provided by releasing thread field in class:Exchanger.Node 342 q.match = item; 354 Object v = p.match; 370 spins = SPINS; // releaser hasn't set match yet 437 q.match = item; 463 while ((v = p.match) [all...] |
H A D | SynchronousQueue.java | 186 * to match a waiting node. 203 volatile SNode match; // the node matched to this field in class:SynchronousQueue.TransferStack.SNode 221 * Tries to match node s to this node, if so, waking up thread. 225 * @param s the node to match 229 if (match == null && 238 return match == s; 249 return match == this; 262 (k.getDeclaredField("match")); 302 * mode, try to push node on stack and wait for a match, 306 * try to push a fulfilling node on to stack, match [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | ScannerTest.java | 513 * @tests java.util.Scanner#match() 519 s.match(); 525 result = s.match(); 544 s.match(); 551 s.match(); 556 result = s.match(); 570 s.match(); 577 result = s.match(); 590 result = s.match(); 607 s.match(); [all...] |
/libcore/luni/src/main/java/java/text/ |
H A D | MessageFormat.java | 299 * When a single argument is parsed more than once in the string, the last match 315 * match. For example: 927 private int match(String string, ParsePosition position, boolean last, method in class:MessageFormat 966 int type = match(string, position, false, 981 int dateStyle = match(string, position, true, 1008 int numberStyle = match(string, position, true,
|
/libcore/luni/src/main/java/java/util/ |
H A D | Scanner.java | 367 // the match result according to the Spec 402 * match a substring of the input data. 422 * match. For example, when the input is "123" and current position is at zero, 546 // if the next token exists, set the match region, otherwise return 914 * The next* and find* methods return the match result in the case of a 915 * successful match. 917 * @return the match result of the last successful match operation 919 * if the match result is not available, of if the last match 922 public MatchResult match() { method in class:Scanner [all...] |
/libcore/benchmarks/libs/ |
H A D | caliper.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ... |