Lines Matching refs:cis
80 CipherInputStream cis = new CipherInputStream(tis){};
83 if ((byte) cis.read() != data[i]) {
88 if (cis.read() != -1) {
106 CipherInputStream cis = new CipherInputStream(tis, new NullCipher());
109 if ((res = (byte) cis.read()) != data[i]) {
114 if (cis.read() != -1) {
133 CipherInputStream cis = new CipherInputStream(tis, new NullCipher());
139 int got = cis.read(result); // the number of got bytes
153 got += cis.read(result);
156 if (cis.read(result) != -1) {
177 CipherInputStream cis = new CipherInputStream(tis, new NullCipher());
185 cis.read(null, 0, skip);
186 int got = skip + cis.read(result, 0, 1); // the number of got bytes
200 got += cis.read(result, 0, 3);
203 if (cis.read(result, 0, 1) != -1) {
221 CipherInputStream cis = new CipherInputStream(tis, new NullCipher());
225 int skipped = (int) cis.skip(2);
227 int got = skipped + cis.read(result, 0, 1); // the number of got bytes
244 got += cis.read(result, 0, 1);
247 if ((got = cis.read(result, 0, 1)) != -1) {
265 CipherInputStream cis = new CipherInputStream(tis, new NullCipher());
267 + "should be 0.", cis.available(), 0);
283 CipherInputStream cis = new CipherInputStream(tis, new NullCipher());
284 cis.close();
301 CipherInputStream cis = new CipherInputStream(tis, new NullCipher());
303 + "should be false.", cis.markSupported());
323 CipherInputStream cis = new CipherInputStream(bais, c);
325 assertNotNull(cis);