Home
last modified time | relevance | path

Searched refs:inStream (Results 1 – 19 of 19) sorted by relevance

/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
DMyCertificateFactorySpi.java66 public Certificate engineGenerateCertificate(InputStream inStream) in engineGenerateCertificate() argument
68 if (!(inStream instanceof DataInputStream)) { in engineGenerateCertificate()
75 public Collection engineGenerateCertificates(InputStream inStream) in engineGenerateCertificates() argument
77 if (!(inStream instanceof DataInputStream)) { in engineGenerateCertificates()
83 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { in engineGenerateCRL() argument
84 if (!(inStream instanceof DataInputStream)) { in engineGenerateCRL()
91 public Collection engineGenerateCRLs(InputStream inStream) in engineGenerateCRLs() argument
93 if (!(inStream instanceof DataInputStream)) { in engineGenerateCRLs()
99 public CertPath engineGenerateCertPath(InputStream inStream) in engineGenerateCertPath() argument
101 if (!(inStream instanceof DataInputStream)) { in engineGenerateCertPath()
[all …]
/libcore/ojluni/src/main/java/java/security/cert/
DCertificateFactory.java363 public final Certificate generateCertificate(InputStream inStream) in generateCertificate() argument
366 return certFacSpi.engineGenerateCertificate(inStream); in generateCertificate()
402 public final CertPath generateCertPath(InputStream inStream) in generateCertPath() argument
405 return(certFacSpi.engineGenerateCertPath(inStream)); in generateCertPath()
425 public final CertPath generateCertPath(InputStream inStream, in generateCertPath() argument
428 return(certFacSpi.engineGenerateCertPath(inStream, encoding)); in generateCertPath()
488 (InputStream inStream) throws CertificateException { in generateCertificates() argument
489 return certFacSpi.engineGenerateCertificates(inStream); in generateCertificates()
521 public final CRL generateCRL(InputStream inStream) in generateCRL() argument
524 return certFacSpi.engineGenerateCRL(inStream); in generateCRL()
[all …]
DCertificateFactorySpi.java104 public abstract Certificate engineGenerateCertificate(InputStream inStream) in engineGenerateCertificate() argument
124 public CertPath engineGenerateCertPath(InputStream inStream) in engineGenerateCertPath() argument
149 public CertPath engineGenerateCertPath(InputStream inStream, in engineGenerateCertPath() argument
245 engineGenerateCertificates(InputStream inStream) in engineGenerateCertificates() argument
277 public abstract CRL engineGenerateCRL(InputStream inStream) in engineGenerateCRL() argument
314 (InputStream inStream) throws CRLException; in engineGenerateCRLs() argument
/libcore/ojluni/src/main/java/sun/misc/
DCharacterEncoder.java141 public void encode(InputStream inStream, OutputStream outStream) in encode() argument
150 numBytes = readFully(inStream, tmpbuffer); in encode()
178 ByteArrayInputStream inStream = new ByteArrayInputStream(aBuffer); in encode() local
179 encode(inStream, aStream); in encode()
188 ByteArrayInputStream inStream = new ByteArrayInputStream(aBuffer); in encode() local
191 encode(inStream, outStream); in encode()
276 public void encodeBuffer(InputStream inStream, OutputStream outStream) in encodeBuffer() argument
285 numBytes = readFully(inStream, tmpbuffer); in encodeBuffer()
311 ByteArrayInputStream inStream = new ByteArrayInputStream(aBuffer); in encodeBuffer() local
312 encodeBuffer(inStream, aStream); in encodeBuffer()
[all …]
DBASE64Decoder.java106 protected void decodeAtom(PushbackInputStream inStream, OutputStream outStream, int rem) in decodeAtom() argument
116 i = inStream.read(); in decodeAtom()
123 i = readFully(inStream, decode_buffer, 1, rem-1); in decodeAtom()
DCharacterDecoder.java188 ByteArrayInputStream inStream;
192 inStream = new ByteArrayInputStream(inputBuffer);
194 decodeBuffer(inStream, outStream); in decodeBuffer() argument
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DDigestInputStream2Test.java29 ByteArrayInputStream inStream; field in DigestInputStream2Test
42 DigestInputStream dis = new DigestInputStream(inStream, digest); in test_ConstructorLjava_io_InputStreamLjava_security_MessageDigest()
52 DigestInputStream dis = new DigestInputStream(inStream, digest); in test_getMessageDigest()
64 DigestInputStream dis = new DigestInputStream(inStream, noChangeDigest); in test_onZ()
77 dis = new DigestInputStream(inStream, digest); in test_onZ()
94 DigestInputStream dis = new DigestInputStream(inStream, digest); in test_read()
110 DigestInputStream dis = new DigestInputStream(inStream, digest); in test_read$BII()
111 int bytesToRead = inStream.available(); in test_read$BII()
137 DigestInputStream is = new DigestInputStream(inStream, digest); in test_read$BII_Exception()
209 DigestInputStream dis = new DigestInputStream(inStream, null); in test_setMessageDigestLjava_security_MessageDigest()
[all …]
/libcore/luni/src/test/java/tests/security/cert/
DCertificateFactorySpiTest.java395 public Certificate engineGenerateCertificate(InputStream inStream) in engineGenerateCertificate() argument
397 if (inStream == null) { in engineGenerateCertificate()
404 public Collection engineGenerateCertificates(InputStream inStream) in engineGenerateCertificates() argument
406 if (inStream == null) { in engineGenerateCertificates()
412 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { in engineGenerateCRL() argument
413 if (inStream == null) { in engineGenerateCRL()
420 public Collection engineGenerateCRLs(InputStream inStream) in engineGenerateCRLs() argument
422 if (inStream == null) { in engineGenerateCRLs()
/libcore/ojluni/src/main/java/java/util/
DProperties.java336 public synchronized void load(InputStream inStream) throws IOException { in load() argument
337 load0(new LineReader(inStream)); in load()
403 public LineReader(InputStream inStream) { in LineReader() argument
404 this.inStream = inStream; in LineReader()
418 InputStream inStream; field in Properties.LineReader
434 inLimit = (inStream==null)?reader.read(inCharBuf) in readLine()
435 :inStream.read(inByteBuf); in readLine()
447 if (inStream != null) { in readLine()
508 inLimit = (inStream==null) in readLine()
510 :inStream.read(inByteBuf); in readLine()
/libcore/ojluni/annotations/hiddenapi/java/util/
DProperties.java50 public synchronized void load(java.io.InputStream inStream) throws java.io.IOException { in load() argument
158 public LineReader(java.io.InputStream inStream) { in LineReader() argument
178 java.io.InputStream inStream; field in Properties.LineReader
/libcore/ojluni/src/main/java/javax/security/cert/
DX509Certificate.java179 public static final X509Certificate getInstance(InputStream inStream) in getInstance() argument
181 return getInst((Object)inStream); in getInstance()
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DCharacterEncoder.java67 public void encode(java.io.InputStream inStream, java.io.OutputStream outStream) in encode() argument
94 public void encodeBuffer(java.io.InputStream inStream, java.io.OutputStream outStream) in encodeBuffer() argument
DBASE64Decoder.java45 java.io.PushbackInputStream inStream, java.io.OutputStream outStream, int rem) in decodeAtom() argument
/libcore/ojluni/src/main/java/java/io/
DConsole.java538 private Console(InputStream inStream, OutputStream outStream) { in Console() argument
557 inStream, in Console()
/libcore/ojluni/annotations/hiddenapi/java/io/
DConsole.java38 private Console(java.io.InputStream inStream, java.io.OutputStream outStream) { in Console() argument
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DTestCertUtils.java647 public Collection engineGenerateCertificates(InputStream inStream) in engineGenerateCertificates() argument
656 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { in engineGenerateCRL() argument
664 public Collection engineGenerateCRLs(InputStream inStream) in engineGenerateCRLs() argument
/libcore/ojluni/annotations/mmodule/java/security/
DProvider.annotated.java51 public synchronized void load(java.io.InputStream inStream) throws java.io.IOException { throw new … in load() argument
/libcore/ojluni/src/main/java/java/security/
DProvider.java232 public synchronized void load(InputStream inStream) throws IOException { in load() argument
238 tempProperties.load(inStream); in load()
/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java1345 try (FileInputStream inStream = new FileInputStream(in)) { in checkSendfile() argument
1346 FileDescriptor inFd = inStream.getFD(); in checkSendfile()