Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 54) sorted by relevance

123

/libcore/ojluni/src/main/java/sun/misc/
DURLClassPath.java174 public URL findResource(String name, boolean check) { in findResource() argument
177 URL url = loader.findResource(name, check); in findResource()
193 public Resource getResource(String name, boolean check) { in getResource() argument
200 Resource res = loader.getResource(name, check); in getResource()
216 final boolean check) { in findResources() argument
227 url = loader.findResource(name, check); in findResources()
263 final boolean check) { in getResources() argument
274 res = loader.getResource(name, check); in getResources()
424 check(url);
437 static void check(URL url) throws IOException {
[all …]
/libcore/ojluni/src/main/java/java/security/cert/
DPKIXCertPathChecker.java164 public abstract void check(Certificate cert, in check() method in PKIXCertPathChecker
175 public void check(Certificate cert) throws CertPathValidatorException { in check() method in PKIXCertPathChecker
176 check(cert, java.util.Collections.<String>emptySet()); in check()
DCertPathChecker.java76 void check(Certificate cert) throws CertPathValidatorException; in check() method
/libcore/ojluni/src/main/java/java/security/
DIdentity.java187 check("setIdentityPublicKey"); in setPublicKey()
209 check("setIdentityInfo"); in setInfo()
249 check("addIdentityCertificate"); in addCertificate()
298 check("removeIdentityCertificate"); in removeCertificate()
413 check("printIdentity"); in toString()
495 private static void check(String directive) { in check() method in Identity
DSigner.java109 check("getSignerPrivateKey"); in getPrivateKey()
134 check("setSignerKeyPair"); in setKeyPair()
176 private static void check(String directive) { in check() method in Signer
DIdentityScope.java164 check("setSystemScope"); in setSystemScope()
251 private static void check(String directive) { in check() method in IdentityScope
DSecureClassLoader.java191 check(); in getPermissions()
221 private void check() { in check() method in SecureClassLoader
DProvider.java214 check("clearProviderProperties."+name); in clear()
230 check("putProviderProperty."+name); in load()
247 check("putProviderProperty."+name); in putAll()
332 check("putProviderProperty."+name); in put()
368 check("removeProviderProperty."+name); in remove()
414 private void check(String directive) { in check() method in Provider
793 check("putProviderProperty." + name); in putService()
891 check("removeProviderProperty." + name); in removeService()
/libcore/ojluni/src/main/java/sun/nio/ch/
DIOStatus.java64 static boolean check(int n) { in check() method in IOStatus
74 static boolean check(long n) { in check() method in IOStatus
DFileChannelImpl.java165 assert IOStatus.check(n); in read()
195 assert IOStatus.check(n); in read()
221 assert IOStatus.check(n); in write()
251 assert IOStatus.check(n); in write()
279 assert IOStatus.check(p); in position()
304 assert IOStatus.check(p); in position()
326 assert IOStatus.check(s); in size()
382 assert IOStatus.check(rv); in truncate()
402 assert IOStatus.check(rv); in force()
728 assert IOStatus.check(n); in readInternal()
[all …]
DSocketChannelImpl.java424 assert IOStatus.check(n); in read()
468 assert IOStatus.check(n); in read()
504 assert IOStatus.check(n); in write()
541 assert IOStatus.check(n); in write()
571 assert IOStatus.check(n); in sendOutOfBandData()
681 assert IOStatus.check(n); in connect()
779 assert IOStatus.check(n); in finishConnect()
DSinkChannelImpl.java174 assert IOStatus.check(n); in write()
197 assert IOStatus.check(n); in write()
DSourceChannelImpl.java178 assert IOStatus.check(n); in read()
209 assert IOStatus.check(n); in read()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSelectionKeyTest.java101 Object check = mockSelectionKey.attach(o); in test_attach() local
102 assertNull(check); in test_attach()
105 check = mockSelectionKey.attach(null); in test_attach()
106 assertSame(o, check); in test_attach()
108 check = mockSelectionKey.attach(o); in test_attach()
109 assertNull(check); in test_attach()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DOCSP.java114 public static RevocationStatus check(X509Certificate cert, in check() method in OCSP
131 OCSPResponse ocspResponse = check(Collections.singletonList(certId), in check()
152 public static RevocationStatus check(X509Certificate cert, in check() method in OCSP
159 return check(cert, issuerCert, responderURI, responderCert, date, in check()
164 public static RevocationStatus check(X509Certificate cert, in check() method in OCSP
179 OCSPResponse ocspResponse = check(Collections.singletonList(certId), in check()
199 static OCSPResponse check(List<CertId> certIds, URI responderURI, in check() method in OCSP
DAlgorithmChecker.java168 public void check(Certificate cert, in check() method in AlgorithmChecker
332 static void check(PublicKey key, X509CRL crl) in check() method in AlgorithmChecker
343 check(key, algorithmId); in check()
352 static void check(PublicKey key, AlgorithmId algorithmId) in check() method in AlgorithmChecker
DReverseBuilder.java360 currentState.untrustedChecker.check(cert, in verifyCert()
443 currentState.revChecker.check(cert, Collections.<String>emptySet()); in verifyCert()
483 currentState.algorithmChecker.check(cert, unresolvedCritExts); in verifyCert()
486 checker.check(cert, unresolvedCritExts); in verifyCert()
DUntrustedChecker.java72 public void check(Certificate cert, in check() method in UntrustedChecker
/libcore/xml/src/main/java/org/kxml2/io/
DKXmlSerializer.java86 private final void check(boolean close) throws IOException { in check() method in KXmlSerializer
207 check(false); in entityRef()
312 check(false); in setPrefix()
398 check(false); in startTag()
502 check(false); in flush()
527 check(true); in endTag()
564 check(false); in text()
577 check(false); in cdsect()
617 check(false); in comment()
625 check(false); in processingInstruction()
/libcore/support/src/test/java/tests/security/
DKeyFactoryTest.java60 check(new KeyPair(publicKey, privateKey)); in testKeyFactory()
63 protected void check(KeyPair keyPair) throws Exception {} in check() method in KeyFactoryTest
/libcore/luni/src/test/java/tests/security/cert/
DPKIXCertPathCheckerTest.java79 pc.check(new MyCertificate("", null), new HashSet<String>()); in testCheck()
89 public void check(Certificate cert, in check() method in PKIXCertPathCheckerTest.MyPKIXCertPathChecker
/libcore/luni/src/test/java/libcore/javax/crypto/spec/
DKeyFactoryTestDSA.java32 protected void check(KeyPair keyPair) throws Exception { in check() method in KeyFactoryTestDSA
DKeyFactoryTestDH.java31 protected void check(KeyPair keyPair) throws Exception { in check() method in KeyFactoryTestDH
DKeyFactoryTestRSA.java33 protected void check(KeyPair keyPair) throws Exception { in check() method in KeyFactoryTestRSA
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java1226 boolean[] check = new boolean[flist.length]; in test_list()
1227 for (int i = 0; i < check.length; i++) { in test_list()
1228 check[i] = false; in test_list()
1233 check[i] = true; in test_list()
1239 for (int i = 0; i < check.length; i++) { in test_list()
1240 if (check[i] == false) { in test_list()
1339 boolean[] check = new boolean[flist.length]; in test_listFiles()
1340 for (int i = 0; i < check.length; i++) { in test_listFiles()
1341 check[i] = false; in test_listFiles()
1346 check[i] = true; in test_listFiles()
[all …]

123