/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 …]
|
/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/luni/src/main/java/org/apache/harmony/security/asn1/ |
D | ASN1Any.java | 96 public void encodeASN(BerOutputStream out) { in encodeASN() 100 public void encodeContent(BerOutputStream out) { in encodeContent() 104 public void setEncodingContent(BerOutputStream out) { in setEncodingContent() 108 public int getEncodedLength(BerOutputStream out) { in getEncodedLength()
|
D | ASN1StringType.java | 46 public void setEncodingContent(BerOutputStream out) { in setEncodingContent() 102 public void encodeASN(BerOutputStream out) { in encodeASN() 107 public void encodeContent(BerOutputStream out) { in encodeContent() 111 public void setEncodingContent(BerOutputStream out) { in setEncodingContent()
|
D | ASN1Type.java | 107 DerOutputStream out = new DerOutputStream(this, object); in encode() local 141 public abstract void encodeASN(BerOutputStream out); in encodeASN() 143 public abstract void encodeContent(BerOutputStream out); in encodeContent() 145 public abstract void setEncodingContent(BerOutputStream out); in setEncodingContent() 147 public int getEncodedLength(BerOutputStream out) { //FIXME name in getEncodedLength()
|
D | ASN1Implicit.java | 124 public void encodeASN(BerOutputStream out) { in encodeASN() 134 public void encodeContent(BerOutputStream out) { in encodeContent() 138 public void setEncodingContent(BerOutputStream out) { in setEncodingContent()
|
D | ASN1Set.java | 48 public final void encodeContent(BerOutputStream out) { in encodeContent() 52 public final void setEncodingContent(BerOutputStream out) { in setEncodingContent()
|
D | ASN1Sequence.java | 48 public final void encodeContent(BerOutputStream out) { in encodeContent() 52 public final void setEncodingContent(BerOutputStream out) { in setEncodingContent()
|
D | ASN1SetOf.java | 48 public final void encodeContent(BerOutputStream out) { in encodeContent() 52 public final void setEncodingContent(BerOutputStream out) { in setEncodingContent()
|
D | ASN1SequenceOf.java | 48 public final void encodeContent(BerOutputStream out) { in encodeContent() 52 public final void setEncodingContent(BerOutputStream out) { in setEncodingContent()
|
D | ASN1Enumerated.java | 81 public void encodeContent(BerOutputStream out) { in encodeContent() 85 public void setEncodingContent(BerOutputStream out) { in setEncodingContent()
|
D | ASN1OctetString.java | 79 @Override public void encodeContent(BerOutputStream out) { in encodeContent() 83 @Override public void setEncodingContent(BerOutputStream out) { in setEncodingContent()
|
/libcore/dex/src/main/java/com/android/dex/util/ |
D | ExceptionWithContext.java | 92 public void printStackTrace(PrintStream out) { in printStackTrace() 99 public void printStackTrace(PrintWriter out) { in printStackTrace() 134 public void printContext(PrintStream out) { in printContext() 144 public void printContext(PrintWriter out) { in printContext()
|
/libcore/luni/src/main/java/java/util/prefs/ |
D | XMLParser.java | 150 BufferedWriter out = new BufferedWriter(new OutputStreamWriter(stream, "UTF-8")); in exportPrefs() local 178 Preferences prefs, boolean withSubTree, BufferedWriter out) in exportNode() 196 private static void exportSubTree(Preferences prefs, BufferedWriter out) in exportSubTree() 210 private static void exportEntries(Preferences prefs, BufferedWriter out) in exportEntries() 221 BufferedWriter out) throws IOException { in exportEntries() 236 private static void flushEndTag(String tagName, BufferedWriter out) in flushEndTag() 245 private static void flushEmptyElement(String tagName, BufferedWriter out) in flushEmptyElement() 256 String[] attrValues, BufferedWriter out) throws IOException { in flushEmptyElement() 267 BufferedWriter out) throws IOException { in flushPairs() 277 private static void flushIndent(int ind, BufferedWriter out) in flushIndent() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | DeflaterInputStreamTest.java | 33 ByteArrayOutputStream out = new ByteArrayOutputStream(); in testReadByteByByte() local 54 ByteArrayOutputStream out = new ByteArrayOutputStream(); in inflate() local 67 ByteArrayOutputStream out = new ByteArrayOutputStream(); in testReadWithBuffer() local
|
D | ZipFileTest.java | 91 FileOutputStream out = new FileOutputStream(f); in writeBytes() local 106 ZipOutputStream out = new ZipOutputStream(baos); in testDuplicateEntries() local 135 ZipOutputStream out = new ZipOutputStream(baos); in testStoredEntrySize() local 229 ZipOutputStream out = createZipOutputStream(result); in createZipFile() local 260 ZipOutputStream out = createZipOutputStream(createTemporaryZipFile()); in testSTORED() local 379 ZipOutputStream out = createZipOutputStream(file); in testComments() local 426 ZipOutputStream out = createZipOutputStream(file); in test_getComment_unset() local 442 ZipOutputStream out = createZipOutputStream(file); in test_NUL_in_filename() local 472 ZipOutputStream out = createZipOutputStream(createTemporaryZipFile()); in testCrc() local
|
D | ZipEntryTest.java | 59 ZipOutputStream out = new ZipOutputStream(new FileOutputStream(f)); in test_utf8FileNames() local 108 ZipOutputStream out = createZipOutputStream(f); in testMaxLengthName() local 133 ZipOutputStream out = createZipOutputStream(f); in testMaxLengthExtra() local 160 ZipOutputStream out = createZipOutputStream(f); in testMaxLengthComment() local 178 ZipOutputStream out = createZipOutputStream(f); in testCommentAndExtraInSameOrder() local
|
/libcore/luni/src/main/java/java/io/ |
D | OutputStreamWriter.java | 40 private final OutputStream out; field in OutputStreamWriter 54 public OutputStreamWriter(OutputStream out) { in OutputStreamWriter() 73 public OutputStreamWriter(OutputStream out, final String charsetName) in OutputStreamWriter() 99 public OutputStreamWriter(OutputStream out, Charset cs) { in OutputStreamWriter() 117 public OutputStreamWriter(OutputStream out, CharsetEncoder charsetEncoder) { in OutputStreamWriter()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/ |
D | AlgNameMapperTest.java | 52 PrintStream out = new PrintStream(errBuffer); in testHardcodedAliases() local 86 PrintStream out = new PrintStream(errBuffer); in testNon_Hardcoded_Aliases_Exist() local
|
/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
|