Home
last modified time | relevance | path

Searched refs:ce (Results 1 – 25 of 26) sorted by relevance

12

/libcore/luni/src/test/java/libcore/javax/sql/
DOldConnectionEventTest.java32 ConnectionEvent ce = new ConnectionEvent(ipc); in testConstructorConnection() local
34 assertSame(ce2.getSource(),ce.getSource()); in testConstructorConnection()
39 ConnectionEvent ce = new ConnectionEvent(ipc); in testGetSQLException() local
42 assertNull(ce.getSQLException()); in testGetSQLException()
43 assertEquals(ce2.getSQLException(), ce.getSQLException()); in testGetSQLException()
/libcore/ojluni/src/main/java/java/util/zip/
DZipCoder.java77 CharsetEncoder ce = encoder().reset(); in getBytes() local
79 int len = (int)(ca.length * ce.maxBytesPerChar()); in getBytes()
85 if (isUTF8 && ce instanceof ArrayEncoder) { in getBytes()
86 int blen = ((ArrayEncoder)ce).encode(ca, 0, ca.length, ba); in getBytes()
93 CoderResult cr = ce.encode(cb, bb, true); in getBytes()
96 cr = ce.flush(bb); in getBytes()
/libcore/ojluni/src/main/java/sun/net/www/
DURLConnection.java151 String ce = properties.findValue("content-encoding"); in getContentType() local
171 if (ct == null || ce != null && in getContentType()
172 !(ce.equalsIgnoreCase("7bit") in getContentType()
173 || ce.equalsIgnoreCase("8bit") in getContentType()
174 || ce.equalsIgnoreCase("binary"))) in getContentType()
/libcore/ojluni/src/main/java/java/security/cert/
DCertPath.java288 } catch (CertificateException ce) { in writeReplace()
292 nse.initCause(ce); in writeReplace()
334 } catch (CertificateException ce) { in readResolve()
338 nse.initCause(ce); in readResolve()
DX509CRLEntry.java94 } catch (CRLException ce) { in equals()
113 } catch (CRLException ce) { in hashCode()
/libcore/ojluni/src/main/java/sun/security/pkcs/
DPKCS7.java251 } catch (CertificateException ce) { in parseNetscapeCertChain()
271 } catch (CertificateException ce) { in parseNetscapeCertChain()
272 ParsingException pe = new ParsingException(ce.getMessage()); in parseNetscapeCertChain()
273 pe.initCause(ce); in parseNetscapeCertChain()
317 } catch (CertificateException ce) { in parseSignedData()
355 } catch (CertificateException ce) { in parseSignedData()
356 ParsingException pe = new ParsingException(ce.getMessage()); in parseSignedData()
357 pe.initCause(ce); in parseSignedData()
449 } catch (CertificateException ce) { in parseOldSignedData()
473 } catch (CertificateException ce) { in parseOldSignedData()
[all …]
/libcore/ojluni/src/main/java/sun/nio/cs/
DThreadLocalCoders.java131 CharsetEncoder ce = (CharsetEncoder)encoderCache.forName(name); in encoderFor() local
132 ce.reset(); in encoderFor()
133 return ce; in encoderFor()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DAlgorithmChecker.java276 } catch (CertificateException ce) { in check()
277 throw new CertPathValidatorException(ce); in check()
397 } catch (CRLException ce) { in check()
398 throw new CertPathValidatorException(ce); in check()
DAdaptableX509CertSelector.java184 } catch (CertificateException ce) { in match()
191 } catch (CertificateException ce) { in match()
DVertex.java140 } catch (CertificateException ce) { in certToString()
143 ce.printStackTrace(); in certToString()
DConstraintsChecker.java179 } catch (CertificateException ce) { in mergeNameConstraints()
180 throw new CertPathValidatorException(ce); in mergeNameConstraints()
DOCSPResponse.java382 } catch (CertificateException ce) { in OCSPResponse()
383 throw new IOException("Bad encoding in X509 Certificate", ce); in OCSPResponse()
435 } catch (CertificateException ce) { in verify()
437 "Invalid issuer or trusted responder certificate", ce); in verify()
DRevocationChecker.java626 } catch (CRLException ce) {
627 throw new CertPathValidatorException(ce);
674 } catch (CertificateException ce) {
675 throw new CertPathValidatorException(ce);
984 } catch (CertificateException ce) {
988 "error decoding cert: " + ce);
DPolicyChecker.java219 } catch (CertificateException ce) { in checkPolicy()
220 throw new CertPathValidatorException(ce); in checkPolicy()
DOCSP.java308 } catch (CertificateException ce) { in getResponderURI()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixPath.java121 CharsetEncoder ce = (ref != null) ? ref.get() : null; in encode() local
122 if (ce == null) { in encode()
123 ce = Util.jnuEncoding().newEncoder() in encode()
126 encoder.set(new SoftReference<CharsetEncoder>(ce)); in encode()
132 byte[] ba = new byte[(int)(ca.length * (double)ce.maxBytesPerChar())]; in encode()
137 ce.reset(); in encode()
138 CoderResult cr = ce.encode(cb, bb, true); in encode()
143 cr = ce.flush(bb); in encode()
/libcore/ojluni/src/main/java/javax/security/auth/
DSubject.java1225 Iterator<?> ce = c.iterator();
1226 while (ce.hasNext()) {
1227 Object o = ce.next();
1263 Iterator<?> ce = c.iterator();
1264 while (ce.hasNext()) {
1265 Object o = ce.next();
/libcore/ojluni/src/main/java/sun/security/x509/
DNameConstraintsExtension.java456 } catch (CertificateException ce) { in verify()
458 "certificate: " + ce.getMessage()); in verify()
DX509CRLEntryImpl.java533 } catch (CRLException ce) { in compareTo()
DX509CertImpl.java1354 } catch (CertificateException ce) { in getExtension()
1386 } catch (CertificateException ce) { in getUnparseableExtension()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DStreamBuilderTest.java57 private void checkException(Class<? extends Exception> ce, Runnable r) { in checkException() argument
66 assertTrue(ce.isInstance(caught)); in checkException()
/libcore/luni/src/test/java/libcore/java/net/
DOldSocketTest.java1150 } catch (ConnectException ce) { in test_connectLjava_net_SocketAddressI()
1154 + ce.toString(), in test_connectLjava_net_SocketAddressI()
1155 (ce.getMessage() != null && ce.getMessage().contains("ECONNREFUSED"))); in test_connectLjava_net_SocketAddressI()
1171 } catch (ConnectException ce) { in test_connectLjava_net_SocketAddressI()
1175 + ce.toString(), in test_connectLjava_net_SocketAddressI()
1176 (ce.getMessage() != null && ce.getMessage().contains("ECONNREFUSED"))); in test_connectLjava_net_SocketAddressI()
/libcore/ojluni/src/main/java/java/net/
DSocket.java458 } catch (IOException ce) { in Socket()
459 e.addSuppressed(ce); in Socket()
/libcore/ojluni/src/main/java/java/util/jar/
DJarVerifier.java329 } catch (CertificateException ce) { in processEntry()
330 if (debug != null) debug.println("processEntry caught: "+ce); in processEntry()
/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java325 } catch (java.lang.ClassNotFoundException ce) { in test_forNameLjava_lang_StringLbooleanLClassLoader_AndroidOnly()
340 } catch (java.lang.ClassNotFoundException ce) { in test_forNameLjava_lang_StringLbooleanLClassLoader_AndroidOnly()

12