Home
last modified time | relevance | path

Searched refs:cis (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherInputStream1Test.java67 CipherInputStream cis = new CipherInputStream(tis){}; in testCipherInputStream() local
70 if ((byte) cis.read() != data[i]) { in testCipherInputStream()
75 if (cis.read() != -1) { in testCipherInputStream()
87 CipherInputStream cis = new CipherInputStream(tis, new NullCipher()); in testRead1() local
90 if ((res = (byte) cis.read()) != data[i]) { in testRead1()
95 if (cis.read() != -1) { in testRead1()
108 CipherInputStream cis = new CipherInputStream(tis, new NullCipher()); in testRead2() local
114 int got = cis.read(result); // the number of got bytes in testRead2()
128 got += cis.read(result); in testRead2()
131 if (cis.read(result) != -1) { in testRead2()
[all …]
/libcore/ojluni/src/main/java/sun/misc/
DResource.java72 private InputStream cis; field in Resource
76 if (cis == null) { in cachedInputStream()
77 cis = getInputStream(); in cachedInputStream()
79 return cis; in cachedInputStream()
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherInputStreamTest.java225 CipherInputStream cis = new CipherInputStream(mockIs, cipher); in testCloseTwice() local
226 cis.close(); in testCloseTwice()
227 cis.close(); in testCloseTwice()
327 CipherInputStream cis = new CipherInputStream( in testDecryptCorruptGCM() local
330 cis.read(unencrypted); in testDecryptCorruptGCM()
331 cis.close(); in testDecryptCorruptGCM()