Searched refs:check (Results 1 - 21 of 21) sorted by relevance

/libcore/luni/src/main/java/java/util/zip/
H A DCheckedOutputStream.java31 private final Checksum check; field in class:CheckedOutputStream
45 check = cs;
54 return check;
69 check.update(val);
89 check.update(buf, off, nbytes);
H A DCheckedInputStream.java32 private final Checksum check; field in class:CheckedInputStream
49 check = csum;
65 check.update(x);
84 check.update(buffer, byteOffset, bytesRead);
93 return check;
/libcore/crypto/src/test/java/org/conscrypt/
H A DChainStrengthAnalyzerTest.java95 assertBad(MD5_PEM, "Weak hash check did not fail as expected");
99 assertBad(SHORT_PEM, "Short modulus check did not fail as expected");
108 check(createCert(pem));
115 check(createCert(pem));
118 private static void check(X509Certificate cert) throws Exception { method in class:ChainStrengthAnalyzerTest
120 ChainStrengthAnalyzer.check(chain);
/libcore/luni/src/main/java/java/security/cert/
H A DPKIXCertPathChecker.java33 * {@link #check(Certificate, Collection) check} method will be called for each
107 * if check(s) fail on the specified certificate.
109 public abstract void check(Certificate cert, Collection<String> unresolvedCritExts) method in class:PKIXCertPathChecker
/libcore/luni/src/test/java/libcore/javax/crypto/spec/
H A DKeyFactoryTestDH.java30 @Override protected void check(KeyPair keyPair) { method in class:KeyFactoryTestDH
H A DKeyFactoryTestDSA.java31 @Override protected void check(KeyPair keyPair) { method in class:KeyFactoryTestDSA
H A DKeyFactoryTestRSA.java32 @Override protected void check(KeyPair keyPair) { method in class:KeyFactoryTestRSA
/libcore/crypto/src/main/java/org/conscrypt/
H A DHandshakeIODataStream.java185 * the fake data if such was provided (to check the size of certificate
242 private void check(int length) { method in class:HandshakeIODataStream
273 check(1);
282 check(1);
291 check(2);
301 check(3);
312 check(4);
324 check(8);
340 check(vector.length);
H A DChainStrengthAnalyzer.java28 public static final void check(X509Certificate[] chain) throws CertificateException { method in class:ChainStrengthAnalyzer
H A DTrustManagerImpl.java197 * chain is pinned appropriately for that host. If null, it does not check for pinned certs.
286 // There's no point in checking trust anchors here, and it will throw off the MD5 check,
288 ChainStrengthAnalyzer.check(newChain);
431 @Override public void check(Certificate c, Collection<String> unresolvedCritExts) method in class:TrustManagerImpl.ExtendedKeyUsagePKIXCertPathChecker
444 // We are here to check EKU, but there is none.
500 // TrustedCertificateIndex, check the KeyStore for a hit
510 * already trusted and failing that check the KeyStore if it is
519 // not trusted and no TrustedCertificateStore to check
/libcore/luni/src/test/java/tests/security/cert/
H A DPKIXCertPathCheckerTest.java79 pc.check(new MyCertificate("", null), new HashSet<String>());
89 public void check(Certificate cert, method in class:PKIXCertPathCheckerTest.MyPKIXCertPathChecker
/libcore/support/src/test/java/tests/security/
H A DKeyFactoryTest.java60 check(new KeyPair(publicKey, privateKey));
63 protected void check(KeyPair keyPair) {} method in class:KeyFactoryTest
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
H A DSelectionKeyTest.java103 Object check = mockSelectionKey.attach(o);
104 assertNull(check);
107 check = mockSelectionKey.attach(null);
108 assertSame(o, check);
110 check = mockSelectionKey.attach(o);
111 assertNull(check);
/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlSerializer.java55 private final void check(boolean close) throws IOException { method in class:KXmlSerializer
169 check(false);
274 check(false);
368 check(false);
472 check(false);
477 check();
497 check(true);
534 check(false);
547 check(false);
568 check(fals
[all...]
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldAndroidMonitorTest.java435 int check;
444 if ((check = CompareAndExchange.toggle) != test) {
447 // " != toggle " + check);
/libcore/luni/src/test/java/tests/api/java/lang/reflect/
H A DConstructorTest.java83 public int check() { method in class:ConstructorTest.ConstructorTestHelper
387 assertEquals("improper instance created", 99, test.check());
/libcore/
H A DNativeCode.mk24 # These two definitions are used to help sanity check what's put in
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
H A DTestUtils.java209 public void check(Certificate arg0, Collection arg1)
223 // just to check this checker state
/libcore/luni/src/main/java/java/text/
H A DSimpleDateFormat.java1287 private static String convertPattern(String template, String fromChars, String toChars, boolean check) { argument
1288 if (!check && fromChars.equals(toChars)) {
1302 } else if (check && !quote && ((next >= 'a' && next <= 'z') || (next >= 'A' && next <= 'Z'))) {
/libcore/crypto/src/main/native/
H A Dorg_conscrypt_NativeCrypto.cpp1468 int check = RSA_check_key(rsa.get()); local
1469 JNI_TRACE("EVP_PKEY_new_RSA(...) RSA_check_key returns %d", check);
5552 * (7) a java.io.FileDescriptor wrapper to check for socket close
7369 // If we have been successful in moving data around, check whether it
7573 // If we have been successful in moving data around, check whether it
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 962 milliseconds