/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/ |
D | JPDALogWriter.java | 57 public JPDALogWriter(PrintStream outputStream, String prefix, in JPDALogWriter() argument 61 logStream = new LogStream(outputStream); in JPDALogWriter() 72 public JPDALogWriter(PrintStream outputStream, String prefix) { in JPDALogWriter() argument 73 this(outputStream, prefix, true); in JPDALogWriter() 195 protected PrintStream outputStream; field in JPDALogWriter.LogStream 202 public LogStream(PrintStream outputStream) { in LogStream() argument 203 setOutputStream(outputStream); in LogStream() 210 return outputStream; in getOutputStream() 219 public synchronized void setOutputStream(PrintStream outputStream) { in setOutputStream() argument 220 this.outputStream = outputStream; in setOutputStream() [all …]
|
/external/smack/src/org/jivesoftware/smackx/filetransfer/ |
D | OutgoingFileTransfer.java | 63 private OutputStream outputStream; field in OutgoingFileTransfer 76 if (outputStream == null) { in setOutputStream() 77 this.outputStream = stream; in setOutputStream() 91 return outputStream; in getOutputStream() 117 if (isDone() || outputStream != null) { in sendFile() 124 this.outputStream = negotiateStream(fileName, fileSize, description); in sendFile() 129 return outputStream; in sendFile() 158 if (isDone() || outputStream != null) { in sendFile() 168 OutgoingFileTransfer.this.outputStream = negotiateStream( in sendFile() 170 progress.outputStreamEstablished(OutgoingFileTransfer.this.outputStream); in sendFile() [all …]
|
D | IncomingFileTransfer.java | 131 OutputStream outputStream = null; in recieveFile() 133 outputStream = new FileOutputStream(file); in recieveFile() 135 writeToStream(inputStream, outputStream); in recieveFile() 159 if (outputStream != null) { in recieveFile() 161 outputStream.close(); in recieveFile()
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
D | HttpDeleteRequestTest.java | 17 ByteArrayOutputStream outputStream = invokeServer("DELETE " + URI + " HTTP/1.1"); in testDeleteRequestThatDoesntSendBackResponseBody_EmptyString() local 28 assertResponse(outputStream, expected); in testDeleteRequestThatDoesntSendBackResponseBody_EmptyString() 35 ByteArrayOutputStream outputStream = invokeServer("DELETE " + URI + " HTTP/1.1"); in testDeleteRequestThatDoesntSendBackResponseBody_NullString() local 46 assertResponse(outputStream, expected); in testDeleteRequestThatDoesntSendBackResponseBody_NullString() 53 ByteArrayOutputStream outputStream = invokeServer("DELETE " + URI + " HTTP/1.1"); in testDeleteRequestThatDoesntSendBackResponseBody_NullInputStream() local 64 assertResponse(outputStream, expected); in testDeleteRequestThatDoesntSendBackResponseBody_NullInputStream() 71 ByteArrayOutputStream outputStream = invokeServer("DELETE " + URI + " HTTP/1.1"); in testDeleteRequestThatSendsBackResponseBody_Success() local 83 assertResponse(outputStream, expected); in testDeleteRequestThatSendsBackResponseBody_Success() 90 ByteArrayOutputStream outputStream = invokeServer("DELETE " + URI + " HTTP/1.1"); in testDeleteRequestThatSendsBackResponseBody_Accepted() local 102 assertResponse(outputStream, expected); in testDeleteRequestThatSendsBackResponseBody_Accepted()
|
D | HttpServerTest.java | 41 …protected void assertResponse(ByteArrayOutputStream outputStream, String[] expected) throws IOExce… in assertResponse() argument 42 List<String> lines = getOutputLines(outputStream); in assertResponse() 58 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in invokeServer() local 59 …noHTTPD.HTTPSession session = testServer.createSession(tempFileManager, inputStream, outputStream); in invokeServer() 66 return outputStream; in invokeServer() 69 protected List<String> getOutputLines(ByteArrayOutputStream outputStream) throws IOException { in getOutputLines() argument 70 BufferedReader reader = new BufferedReader(new StringReader(outputStream.toString())); in getOutputLines() 112 …reateSession(TempFileManager tempFileManager, InputStream inputStream, OutputStream outputStream) { in createSession() argument 113 return new HTTPSession(tempFileManager, inputStream, outputStream); in createSession() 116 …empFileManager tempFileManager, InputStream inputStream, OutputStream outputStream, InetAddress in… in createSession() argument [all …]
|
D | HttpKeepAliveTest.java | 56 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in testManyRequests() 57 …TPSession session = testServer.createSession(new TestTempFileManager(), inputStream, outputStream); in testManyRequests() 62 assertResponse(outputStream, expected); in testManyRequests()
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/ |
D | XmlMessageWrapper.java | 86 public void serializeToOutputStream(OutputStream outputStream) in serializeToOutputStream() argument 89 outputStream.write(stringToBytesPadded(mReceiverId, in serializeToOutputStream() 93 outputStream.write(intToBigEndianIntBytes(mPayload.length)); in serializeToOutputStream() 96 outputStream.write(intToBigEndianShortBytes(mProtocolVersion)); in serializeToOutputStream() 99 outputStream.write(mCreatorId); in serializeToOutputStream() 103 outputStream.write(pad); in serializeToOutputStream() 106 outputStream.write(mPayload); in serializeToOutputStream() 118 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(len); in serializeToByteArray() local 119 serializeToOutputStream(outputStream); in serializeToByteArray() 120 return outputStream.toByteArray(); in serializeToByteArray()
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
D | DefaultVideoPosterRequestHandler.java | 31 final PipedOutputStream outputStream = new PipedOutputStream(inputStream); in getInputStream() local 41 closeOutputStream(outputStream); in getInputStream() 49 outputStream); in getInputStream() 50 outputStream.flush(); in getInputStream() 54 closeOutputStream(outputStream); in getInputStream() 63 private static void closeOutputStream(OutputStream outputStream) { in closeOutputStream() argument 65 outputStream.close(); in closeOutputStream()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | JDKPKCS12StoreParameter.java | 13 private OutputStream outputStream; field in JDKPKCS12StoreParameter 19 return outputStream; in getOutputStream() 32 public void setOutputStream(OutputStream outputStream) in setOutputStream() argument 34 this.outputStream = outputStream; in setOutputStream()
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
D | IOHandler.java | 104 private void writeChunks(OutputStream outputStream, byte[] bytes, int length) in writeChunks() argument 108 synchronized (outputStream) { in writeChunks() 113 outputStream.write(bytes, p, chunk); in writeChunks() 116 outputStream.flush(); in writeChunks() 206 OutputStream outputStream = clientSock.getOutputStream(); 207 writeChunks(outputStream, bytes, length); 212 OutputStream outputStream = clientSock.getOutputStream(); 213 writeChunks(outputStream, bytes, length); 280 OutputStream outputStream = clientSock.getOutputStream(); 281 writeChunks(outputStream, bytes, length); [all …]
|
/external/proguard/src/proguard/io/ |
D | DataEntryCopier.java | 62 OutputStream outputStream = dataEntryWriter.getOutputStream(dataEntry); in read() local 63 if (outputStream != null) in read() 70 copyData(inputStream, outputStream); in read() 96 OutputStream outputStream) in copyData() argument 106 outputStream.write(buffer, 0, count); in copyData() 109 outputStream.flush(); in copyData()
|
D | CascadingDataEntryWriter.java | 75 OutputStream outputStream = in getOutputStream() local 80 return outputStream != null ? in getOutputStream() 81 outputStream : in getOutputStream()
|
D | DataEntryClassWriter.java | 69 OutputStream outputStream = dataEntryWriter.getOutputStream(actualDataEntry); in visitProgramClass() local 70 if (outputStream != null) in visitProgramClass() 73 DataOutputStream classOutputStream = new DataOutputStream(outputStream); in visitProgramClass()
|
D | ClassRewriter.java | 68 OutputStream outputStream = dataEntryWriter.getOutputStream(dataEntry); in read() local 69 if (outputStream != null) in read() 72 DataOutputStream classOutputStream = new DataOutputStream(outputStream); in read()
|
D | DataEntryRewriter.java | 54 OutputStream outputStream) in copyData() argument 58 Writer writer = new BufferedWriter(new OutputStreamWriter(outputStream)); in copyData() 63 outputStream.flush(); in copyData()
|
/external/nanohttpd/core/src/main/java/fi/iki/elonen/ |
D | NanoHTTPD.java | 169 OutputStream outputStream = null; in start() 171 outputStream = finalAccept.getOutputStream(); in start() 173 …HTTPSession session = new HTTPSession(tempFileManager, inputStream, outputStream, finalAccept.getI… in start() 184 safeClose(outputStream); in start() 605 protected void send(OutputStream outputStream) { in send() argument 614 PrintWriter pw = new PrintWriter(outputStream); in send() 635 sendAsChunked(outputStream, pw); in send() 641 sendAsFixedLength(outputStream, pending); in send() 643 outputStream.flush(); in send() 670 private void sendAsChunked(OutputStream outputStream, PrintWriter pw) throws IOException { in sendAsChunked() argument [all …]
|
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
D | CompilingClassLoader.java | 178 ByteArrayOutputStream outputStream = byteCodeForClasses.get(className); in getJavaFileForOutput() 179 if (outputStream != null) { in getJavaFileForOutput() 183 outputStream = new ByteArrayOutputStream(256); in getJavaFileForOutput() 184 byteCodeForClasses.put(className, outputStream); in getJavaFileForOutput() 185 return outputStream; in getJavaFileForOutput()
|
/external/objenesis/tck-android/src/org/objenesis/tck/android/ |
D | TckInstrumentation.java | 37 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in onCreate() local 38 PrintStream printStream = new PrintStream(outputStream); in onCreate() 48 String fromStdout = outputStream.toString(); in onCreate()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/ |
D | FileDeferredOutputStream.java | 68 public NakedBufferedOutputStream(OutputStream outputStream) { in NakedBufferedOutputStream() argument 69 super(outputStream); in NakedBufferedOutputStream() 72 public NakedBufferedOutputStream(OutputStream outputStream, int i) { in NakedBufferedOutputStream() argument 73 super(outputStream, i); in NakedBufferedOutputStream()
|
/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
D | IoUtil.java | 65 final ZipOutputStream outputStream = new ZipOutputStream(new FileOutputStream(outputFile)); in copyZipWithoutEmptyDirectories() local 117 outputStream.putNextEntry(outputEntry); in copyZipWithoutEmptyDirectories() 122 outputStream.write(baos.toByteArray()); in copyZipWithoutEmptyDirectories() 126 outputStream.close(); in copyZipWithoutEmptyDirectories()
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/bindings/ |
D | TempFile.js | 195 writeToOutputSteam: function(outputStream, delegate) argument 203 reader.start(outputStream); 209 outputStream.close(); 340 writeToOutputStream: function(outputStream, delegate) argument 343 … this._callsPendingOpen.push(this.writeToOutputStream.bind(this, outputStream, delegate)); 347 this._tempFile.writeToOutputSteam(outputStream, delegate);
|
/external/antlr/antlr-3.4/antlr3-maven-archetype/src/main/resources/archetype-resources/src/main/java/ |
D | Main.java | 221 FileWriter outputStream = new FileWriter(outputName); local 222 outputStream.write(st.toString()); 223 outputStream.close();
|
/external/smack/src/org/jivesoftware/smackx/bytestreams/ibb/ |
D | InBandBytestreamSession.java | 72 private IBBOutputStream outputStream; field in InBandBytestreamSession 100 this.outputStream = new IQIBBOutputStream(); in InBandBytestreamSession() 104 this.outputStream = new MessageIBBOutputStream(); in InBandBytestreamSession() 115 return this.outputStream; in getOutputStream() 170 this.outputStream.closeInternal(false); in closeByPeer() 191 this.outputStream.closeInternal(true); in closeByLocal() 199 this.outputStream.closeInternal(true); in closeByLocal() 203 if (this.inputStream.isClosed && this.outputStream.isClosed) { in closeByLocal()
|
/external/skia/tools/ |
D | skdiff_html.cpp | 238 SkFILEWStream outputStream(outputPath.c_str()); in print_diff_page() local 266 outputStream.writeText( in print_diff_page() 283 print_table_header(&outputStream, matchCount, colorThreshold, differences, in print_diff_page() 298 print_diff_row(&outputStream, *diff, relativePath); in print_diff_page() 305 outputStream.writeText( in print_diff_page() 312 outputStream.flush(); in print_diff_page()
|
/external/chromium_org/third_party/skia/tools/ |
D | skdiff_html.cpp | 238 SkFILEWStream outputStream(outputPath.c_str()); in print_diff_page() local 266 outputStream.writeText( in print_diff_page() 283 print_table_header(&outputStream, matchCount, colorThreshold, differences, in print_diff_page() 298 print_diff_row(&outputStream, *diff, relativePath); in print_diff_page() 305 outputStream.writeText( in print_diff_page() 312 outputStream.flush(); in print_diff_page()
|