/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
D | ASCIICharsetEncoderTest.java | 85 ByteBuffer out = ByteBuffer.allocate(10); in testMultiStepEncode() local 140 ByteBuffer out = ByteBuffer.allocate(0x10); in testInternalState() local 162 ByteBuffer out = ByteBuffer.allocate(0x10); in testInternalState_Reset() local 170 ByteBuffer out = ByteBuffer.allocate(0x10); in testInternalState_Reset() local 177 ByteBuffer out = ByteBuffer.allocate(0x10); in testInternalState_Reset() local 189 ByteBuffer out = ByteBuffer.allocate(0x10); in testInternalState_Encoding() local 196 ByteBuffer out = ByteBuffer.allocate(0x10); in testInternalState_Encoding() local 204 ByteBuffer out = ByteBuffer.allocate(0x10); in testInternalState_Encoding() local 214 ByteBuffer out = ByteBuffer.allocate(0x10); in testInternalState_Encoding() local 228 ByteBuffer out = ByteBuffer.allocate(0x10); in testInternalState_Encoding() local [all …]
|
D | CharsetDecoderTest.java | 214 CharBuffer out = decoder.decode(ByteBuffer.allocate(0)); in implTestDecodeByteBuffer() local 223 assertCharBufferValue(getString(), out); in implTestDecodeByteBuffer() local 231 assertCharBufferValue(getString(), out); in implTestDecodeByteBuffer() local 236 CharBuffer out; in testDecodeByteBufferException() local 256 assertCharBufferValue(getString(), out); in testDecodeByteBufferException() local 280 assertCharBufferValue(getString(), out); in testDecodeByteBufferException() local 309 CharBuffer out = CharBuffer.allocate(100); in implTestDecodeByteBufferCharBuffer() local 333 assertCharBufferValue(getString(), out); in implTestDecodeByteBufferCharBuffer() local 346 assertCharBufferValue(getString(), out); in implTestDecodeByteBufferCharBuffer() local 360 assertCharBufferValue(getString() + getString() + getString(), out); in implTestDecodeByteBufferCharBuffer() local [all …]
|
D | CharsetEncoderTest.java | 283 ByteBuffer out = ByteBuffer.allocate(5); in testFlushIllegalState() local 313 ByteBuffer out = ByteBuffer.allocate(5); in testFlushAfterConstructing() local 373 ByteBuffer out = ByteBuffer.allocate(5); in testEncodeTrueIllegalState() local 423 ByteBuffer out = ByteBuffer.allocate(5); in testEncodeFalseIllegalState() local 575 ByteBuffer out = encoder.encode(CharBuffer.wrap("")); in testEncodeCharBuffer() local 627 ByteBuffer out; in testEncodeCharBufferException() local 691 void assertByteArray(ByteBuffer out, byte[] expected) { in assertByteArray() 707 ByteBuffer out = ByteBuffer.allocate(200); in testEncodeCharBufferByteBufferboolean() local 830 ByteBuffer out = ByteBuffer.allocate(100); in implTestEncodeCharBufferByteBufferbooleanException() local 898 private void assertCodingErrorAction(boolean endOfInput, ByteBuffer out, in assertCodingErrorAction() [all …]
|
D | CharsetDecoder2Test.java | 61 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { in decodeLoop() 159 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { in decodeLoop() 173 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { in encodeLoop() 188 CharBuffer out = CharBuffer.allocate(1); in testDecodeLjava_nio_ByteBuffer_ReplaceOverflow() local 219 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { in decodeLoop()
|
/libcore/support/src/test/java/org/apache/harmony/testframework/ |
D | SinkTester.java | 97 OutputStream out = create(); in sinkTestNoWriting() local 105 OutputStream out = create(); in sinkTestWriteZeroBytes() local 118 OutputStream out = create(); in sinkTestWriteByteByByte() local 134 OutputStream out = create(); in sinkTestWriteArray() local 156 OutputStream out = create(); in sinkTestWriteOffset() local 184 OutputStream out = create(); in sinkTestWriteLargeArray() local 193 OutputStream out = create(); in sinkTestWriteAfterClose() local 208 OutputStream out = create(); in sinkTestWriteAfterCloseSuppressed() local
|
D | CharSinkTester.java | 96 Writer out = create(); in sinkTestNoWriting() local 104 Writer out = create(); in sinkTestWriteZeroChars() local 117 Writer out = create(); in sinkTestWriteCharByChar() local 129 Writer out = create(); in sinkTestWriteArray() local 141 Writer out = create(); in sinkTestWriteOffset() local 172 Writer out = create(); in sinkTestWriteLargeArray() local 181 Writer out = create(); in sinkTestWriteAfterClose() local 196 Writer out = create(); in sinkTestWriteAfterCloseSuppressed() local
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
D | OldCharsetEncoderDecoderBufferTest.java | 41 CharBuffer out = CharBuffer.wrap(cBuf); in testDecoderOutputBuffer() local 44 out, false); in testDecoderOutputBuffer() local 53 decoder.decode(ByteBuffer.wrap(new byte[]{(byte)'x'}), out, true); in testDecoderOutputBuffer() local 71 CharBuffer out = CharBuffer.wrap(new char[10]); in testDecoderInputBuffer() local 99 ByteBuffer out = ByteBuffer.wrap(buffer); in testEncoderOutputBuffer() local 129 ByteBuffer out = ByteBuffer.wrap(new byte[10]); in testEncoderInputBuffer() local
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | DeflaterOutputStream.java | 79 public DeflaterOutputStream(OutputStream out, in DeflaterOutputStream() 107 public DeflaterOutputStream(OutputStream out, Deflater def, int size) { in DeflaterOutputStream() 125 public DeflaterOutputStream(OutputStream out, in DeflaterOutputStream() 142 public DeflaterOutputStream(OutputStream out, Deflater def) { in DeflaterOutputStream() 162 public DeflaterOutputStream(OutputStream out, boolean syncFlush) { in DeflaterOutputStream() 175 public DeflaterOutputStream(OutputStream out) { in DeflaterOutputStream()
|
D | GZIPOutputStream.java | 66 public GZIPOutputStream(OutputStream out, int size) throws IOException { in GZIPOutputStream() 87 public GZIPOutputStream(OutputStream out, int size, boolean syncFlush) in GZIPOutputStream() 108 public GZIPOutputStream(OutputStream out) throws IOException { in GZIPOutputStream() 128 public GZIPOutputStream(OutputStream out, boolean syncFlush) in GZIPOutputStream()
|
D | InflaterOutputStream.java | 76 public InflaterOutputStream(OutputStream out) { in InflaterOutputStream() 89 public InflaterOutputStream(OutputStream out, Inflater infl) { in InflaterOutputStream() 103 public InflaterOutputStream(OutputStream out, Inflater infl, int bufLen) { in InflaterOutputStream()
|
/libcore/ojluni/src/main/java/java/io/ |
D | OutputStreamWriter.java | 94 public OutputStreamWriter(OutputStream out, String charsetName) in OutputStreamWriter() 108 public OutputStreamWriter(OutputStream out) { in OutputStreamWriter() 129 public OutputStreamWriter(OutputStream out, Charset cs) { in OutputStreamWriter() 148 public OutputStreamWriter(OutputStream out, CharsetEncoder enc) { in OutputStreamWriter()
|
D | BufferedOutputStream.java | 58 public BufferedOutputStream(OutputStream out) { in BufferedOutputStream() 71 public BufferedOutputStream(OutputStream out, int size) { in BufferedOutputStream()
|
D | FilterWriter.java | 46 protected Writer out; field in FilterWriter 54 protected FilterWriter(Writer out) { in FilterWriter()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | DeflaterInputStreamTest.java | 38 ByteArrayOutputStream out = new ByteArrayOutputStream(); in testReadByteByByte() local 59 ByteArrayOutputStream out = new ByteArrayOutputStream(); in inflate() local 73 ByteArrayOutputStream out = new ByteArrayOutputStream(); in testReadWithBuffer() local
|
D | ZipEntryTest.java | 80 ZipOutputStream out = new ZipOutputStream(new FileOutputStream(f)); in test_utf8FileNames() local 129 ZipOutputStream out = createZipOutputStream(f); in testMaxLengthName() local 154 ZipOutputStream out = createZipOutputStream(f); in testMaxLengthExtra() local 191 ZipOutputStream out = createZipOutputStream(f); in checkSetTime() local 242 ZipOutputStream out = createZipOutputStream(f); in testMaxLengthComment() local 260 ZipOutputStream out = createZipOutputStream(f); in testCommentAndExtraInSameOrder() local
|
D | ZipOutputStreamTest.java | 83 ZipOutputStream out = in testCreateEmpty() local 96 try (ZipOutputStream out = new ZipOutputStream(new ByteArrayOutputStream())) { in testNullComment() 113 try (ZipOutputStream out = new ZipOutputStream(bos)) { in testPutNextEntryUsingCurrentTime()
|
D | AbstractZipFileTest.java | 94 FileOutputStream out = new FileOutputStream(f); in writeBytes() local 109 ZipOutputStream out = createZipOutputStream(baos); in testDuplicateEntries() local 138 ZipOutputStream out = createZipOutputStream(baos); in testStoredEntrySize() local 223 protected void writeEntries(ZipOutputStream out, int entryCount, long entrySize, in writeEntries() 262 ZipOutputStream out = createZipOutputStream(createTemporaryZipFile()); in testSTORED() local 381 ZipOutputStream out = createZipOutputStream(file); in testComments() local 428 ZipOutputStream out = createZipOutputStream(file); in test_getComment_unset() local 445 ZipOutputStream out = createZipOutputStream(file); in test_NUL_in_filename() local 476 ZipOutputStream out = createZipOutputStream(createTemporaryZipFile()); in testCrc() local 515 ZipOutputStream out = createZipOutputStream(zip); in testArchivesWithRelativePaths() local
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | Ser.java | 136 public void writeExternal(ObjectOutput out) throws IOException { in writeExternal() 140 static void write(Object object, DataOutput out) throws IOException { in write() 144 private static void writeInternal(byte type, Object object, DataOutput out) throws IOException { in writeInternal() 221 static void writeOffset(ZoneOffset offset, DataOutput out) throws IOException { in writeOffset() 250 static void writeEpochSec(long epochSec, DataOutput out) throws IOException { in writeEpochSec()
|
/libcore/support/src/test/java/tests/support/ |
D | Streams.java | 38 ByteArrayOutputStream out = new ByteArrayOutputStream(); in streamToBytes() local 51 StringWriter out = new StringWriter(); in streamToString() local
|
D | Support_GetLocal.java | 45 FileOutputStream out = new FileOutputStream(temp); in getLocalFile() local 65 FileOutputStream out = new FileOutputStream(temp); in getExternalLocalFile() local 81 ByteArrayOutputStream out = new ByteArrayOutputStream(256); in getStream() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | PipedOutputStreamTest.java | 36 public PReader(PipedOutputStream out) { in PReader() 78 PipedOutputStream out; field in PipedOutputStreamTest 177 PipedOutputStream out = new PipedOutputStream(pis); in test_write$BII_2() local
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldOutputStreamWriterTest.java | 125 Support_OutputStream out = new Support_OutputStream(); in test_ConstructorLjava_io_OutputStreamLjava_nio_charset_Charset() local 151 Support_OutputStream out = new Support_OutputStream(); in test_ConstructorLjava_io_OutputStreamLjava_nio_charset_CharsetEncoder() local 341 Support_OutputStream out = new Support_OutputStream(500); in test_write$CII() local 434 Support_OutputStream out = new Support_OutputStream(500); in test_writeI() local 486 Support_OutputStream out = new Support_OutputStream(500); in test_writeLjava_lang_StringII() local
|
D | OldAndroidPipedStreamTest.java | 43 final PipedOutputStream out = new PipedOutputStream(in); in testA() local 110 final PipedOutputStream out = new PipedOutputStream(in); in testB() local 195 final PipedOutputStream out = new PipedOutputStream(in); in testC() local
|
/libcore/ojluni/src/main/java/sun/nio/cs/ |
D | StreamEncoder.java | 49 public static StreamEncoder forOutputStreamWriter(OutputStream out, in forOutputStreamWriter() 64 public static StreamEncoder forOutputStreamWriter(OutputStream out, in forOutputStreamWriter() 71 public static StreamEncoder forOutputStreamWriter(OutputStream out, in forOutputStreamWriter() 166 private final OutputStream out; field in StreamEncoder 174 private StreamEncoder(OutputStream out, Object lock, Charset cs) { in StreamEncoder() 181 private StreamEncoder(OutputStream out, Object lock, CharsetEncoder enc) { in StreamEncoder()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | GZIPOutputStreamTest.java | 38 TestGZIPOutputStream(OutputStream out) throws IOException { in TestGZIPOutputStream() 42 TestGZIPOutputStream(OutputStream out, int size) throws IOException { in TestGZIPOutputStream() 182 GZIPOutputStream out = new GZIPOutputStream(pout, true /* syncFlush */); in testSyncFlush() local
|