Lines Matching refs:tos
56 TestOutputStream tos = new TestOutputStream();
57 CipherOutputStream cos = new CipherOutputStream(tos);
60 byte[] result = tos.toByteArray();
72 TestOutputStream tos = new TestOutputStream();
73 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher());
78 byte[] result = tos.toByteArray();
90 TestOutputStream tos = new TestOutputStream();
91 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher());
94 byte[] result = tos.toByteArray();
105 TestOutputStream tos = new TestOutputStream();
106 CipherOutputStream cos = new CipherOutputStream(tos, new NullCipher());
111 byte[] result = tos.toByteArray();
148 TestOutputStream tos = new TestOutputStream();
149 CipherOutputStream cos = new CipherOutputStream(tos);
152 byte[] result = tos.toByteArray();
164 TestOutputStream tos = new TestOutputStream();
165 CipherOutputStream cos = new CipherOutputStream(tos);
168 byte[] result = tos.toByteArray();
173 + "of its underlying output stream.", tos.wasClosed());