Home
last modified time | relevance | path

Searched refs:inStream (Results 1 – 24 of 24) 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/libcore/java/io/
DConsoleTest.java40 private Console createConsole(InputStream inStream, OutputStream outStream) throws Exception { in createConsole() argument
44 return constructor.newInstance(inStream, outStream); in createConsole()
60 ByteArrayInputStream inStream = new ByteArrayInputStream(bytes); in testReadPassword() local
62 Console console = createConsole(inStream, outStream); in testReadPassword()
79 ByteArrayInputStream inStream = new ByteArrayInputStream(bytes); in testReadPasswordWithPrompt() local
81 Console console = createConsole(inStream, outStream); in testReadPasswordWithPrompt()
102 ByteArrayInputStream inStream = new ByteArrayInputStream(bytes); in testCharset() local
104 Console console = createConsole(inStream, outStream); in testCharset()
/libcore/ojluni/src/main/java/sun/security/util/
DHexDumpEncoder.java149 public void encode(InputStream inStream, OutputStream outStream) in encode() argument
159 numBytes = readFully(inStream, tmpbuffer); in encode()
186 ByteArrayInputStream inStream = new ByteArrayInputStream(aBuffer); in encode() local
189 encode(inStream, outStream); in encode()
262 public void encodeBuffer(InputStream inStream, OutputStream outStream) in encodeBuffer() argument
272 numBytes = readFully(inStream, tmpbuffer); in encodeBuffer()
298 ByteArrayInputStream inStream = new ByteArrayInputStream(aBuffer); in encodeBuffer() local
299 encodeBuffer(inStream, aStream); in encodeBuffer()
308 ByteArrayInputStream inStream = new ByteArrayInputStream(aBuffer); in encodeBuffer() local
310 encodeBuffer(inStream, outStream); in encodeBuffer()
/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/luni/src/test/java/libcore/libcore/io/
DStreamsTest.java37 ByteArrayInputStream inStream = new ByteArrayInputStream(bytes); in testReadFully() local
41 Streams.readFully(inStream, dst); in testReadFully()
/libcore/ojluni/src/main/java/java/util/
DProperties.java405 public synchronized void load(InputStream inStream) throws IOException { in load() argument
406 Objects.requireNonNull(inStream, "inStream parameter is null"); in load()
407 load0(new LineReader(inStream)); in load()
471 LineReader(InputStream inStream) { in LineReader() argument
472 this.inStream = inStream; in LineReader()
486 private InputStream inStream; field in Properties.LineReader
498 boolean fromStream = inStream != null; in readLine()
506 inLimit = limit = fromStream ? inStream.read(byteBuf) in readLine()
549 inLimit = limit = inStream.read(byteBuf); in readLine()
591 inLimit = limit = fromStream ? inStream.read(byteBuf) 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/test/java/util/zip/
DCloseInflaterDeflaterTest.java64 private static InputStream inStream = new InputStream() { field in CloseInflaterDeflaterTest
165 DeflaterInputStream def = new DeflaterInputStream(inStream); in testDeflaterInputStream()
/libcore/ojluni/src/main/java/java/io/
DConsole.java634 private Console(InputStream inStream, OutputStream outStream) { in Console() argument
645 inStream, in Console()
/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/hiddenapi/java/io/
DConsole.java38 private Console(java.io.InputStream inStream, java.io.OutputStream outStream) { in Console() 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/annotations/flagged_api/java/util/
DProperties.annotated.java44 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.java234 public synchronized void load(InputStream inStream) throws IOException { in load() argument
240 tempProperties.load(inStream); in load()
/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java1868 try (FileInputStream inStream = new FileInputStream(in)) {
1869 FileDescriptor inFd = inStream.getFD();