/external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/ |
D | MatchingOutputStreamTest.java | 44 private MatchingOutputStream outputStream; field in MatchingOutputStreamTest 50 outputStream = new MatchingOutputStream(inputStream, 3 /* buffer size */); in setup() 56 outputStream.write(data[x] & 0xff); in testWrite_OneByte() 62 outputStream.write(data); in testWrite_WholeBuffer() 67 outputStream = new MatchingOutputStream(inputStream, 32768); // realistic copy buffer size in testWrite_WholeBuffer_RealisticCopyBuffer() 68 outputStream.write(data); in testWrite_WholeBuffer_RealisticCopyBuffer() 74 outputStream.write(data, x, 1); in testWrite_PartialBuffer() 80 outputStream.write(data); in testExpectEof() 81 outputStream.expectEof(); in testExpectEof() 86 outputStream.write(0); in testWrite_OneByte_MatchFail() [all …]
|
/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() 201 protected PrintStream outputStream; field in JPDALogWriter.LogStream 208 public LogStream(PrintStream outputStream) { in LogStream() argument 209 setOutputStream(outputStream); in LogStream() 216 return outputStream; in getOutputStream() 225 public synchronized void setOutputStream(PrintStream outputStream) { in setOutputStream() argument 226 this.outputStream = outputStream; in setOutputStream() [all …]
|
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/bsdiff/ |
D | BsDiffPatchWriter.java | 59 OutputStream outputStream) in writeEntry() argument 62 BsUtil.writeFormattedLong(diffLength, outputStream); in writeEntry() 63 BsUtil.writeFormattedLong(extraLength, outputStream); in writeEntry() 64 BsUtil.writeFormattedLong(oldPositionOffsetForNextEntry, outputStream); in writeEntry() 72 outputStream.write(newData.readUnsignedByte() - oldData.readUnsignedByte()); in writeEntry() 82 outputStream.write(newData.readByte()); in writeEntry() 102 OutputStream outputStream) in generatePatchWithMatcher() argument 226 outputStream); in generatePatchWithMatcher() 247 final OutputStream outputStream, in generatePatch() argument 251 oldData, newData, outputStream, randomAccessObjectFactory, DEFAULT_MINIMUM_MATCH_LENGTH); in generatePatch() [all …]
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
D | HttpDeleteRequestTest.java | 47 … ByteArrayOutputStream outputStream = invokeServer("DELETE " + HttpServerTest.URI + " HTTP/1.1"); in testDeleteRequestThatDoesntSendBackResponseBody_EmptyString() local 58 assertResponse(outputStream, expected); in testDeleteRequestThatDoesntSendBackResponseBody_EmptyString() 65 … ByteArrayOutputStream outputStream = invokeServer("DELETE " + HttpServerTest.URI + " HTTP/1.1"); in testDeleteRequestThatDoesntSendBackResponseBody_NullInputStream() local 76 assertResponse(outputStream, expected); in testDeleteRequestThatDoesntSendBackResponseBody_NullInputStream() 83 … ByteArrayOutputStream outputStream = invokeServer("DELETE " + HttpServerTest.URI + " HTTP/1.1"); in testDeleteRequestThatDoesntSendBackResponseBody_NullString() local 94 assertResponse(outputStream, expected); in testDeleteRequestThatDoesntSendBackResponseBody_NullString() 101 … ByteArrayOutputStream outputStream = invokeServer("DELETE " + HttpServerTest.URI + " HTTP/1.1"); in testDeleteRequestThatSendsBackResponseBody_Accepted() local 113 assertResponse(outputStream, expected); in testDeleteRequestThatSendsBackResponseBody_Accepted() 120 … ByteArrayOutputStream outputStream = invokeServer("DELETE " + HttpServerTest.URI + " HTTP/1.1"); in testDeleteRequestThatSendsBackResponseBody_Success() local 132 assertResponse(outputStream, expected); in testDeleteRequestThatSendsBackResponseBody_Success()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/webcam/ |
D | MjpegServer.java | 40 OutputStream outputStream = socket.getOutputStream(); in handleConnection() local 41 outputStream.write(( in handleConnection() 56 outputStream.write("--BoundaryString\r\n".getBytes()); in handleConnection() 57 outputStream.write("Content-type: image/jpg\r\n".getBytes()); in handleConnection() 58 outputStream.write(("Content-Length: " + data.length + "\r\n\r\n").getBytes()); in handleConnection() 59 outputStream.write(data); in handleConnection() 60 outputStream.write("\r\n\r\n".getBytes()); in handleConnection() 61 outputStream.flush(); in handleConnection()
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | InfoSink.cpp | 43 if (outputStream & EString) { in append() 57 if (outputStream & EStdOut) in append() 63 if (outputStream & EString) { in append() 77 if (outputStream & EStdOut) in append() 83 if (outputStream & EString) { in append() 93 if (outputStream & EStdOut) in append() 99 if (outputStream & EString) { in append() 109 if (outputStream & EStdOut) in append()
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 37 private OutputStream outputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 57 this.outputStream = outputStream; in StubSocket() 91 return outputStream; in getOutputStream()
|
/external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 37 private OutputStream outputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 57 this.outputStream = outputStream; in StubSocket() 91 return outputStream; in getOutputStream()
|
/external/mockftpserver/tags/1.1/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 37 private OutputStream outputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 57 this.outputStream = outputStream; in StubSocket() 91 return outputStream; in getOutputStream()
|
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 37 private OutputStream outputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 57 this.outputStream = outputStream; in StubSocket() 91 return outputStream; in getOutputStream()
|
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 37 private OutputStream outputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 57 this.outputStream = outputStream; in StubSocket() 91 return outputStream; in getOutputStream()
|
/external/mockftpserver/tags/2.3/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 37 private OutputStream outputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 57 this.outputStream = outputStream; in StubSocket() 91 return outputStream; in getOutputStream()
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 37 private OutputStream outputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 57 this.outputStream = outputStream; in StubSocket() 91 return outputStream; in getOutputStream()
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 37 private OutputStream outputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 57 this.outputStream = outputStream; in StubSocket() 91 return outputStream; in getOutputStream()
|
/external/mockftpserver/tags/1.0/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 37 private OutputStream outputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 57 this.outputStream = outputStream; in StubSocket() 91 return outputStream; in getOutputStream()
|
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 37 private OutputStream outputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 57 this.outputStream = outputStream; in StubSocket() 91 return outputStream; in getOutputStream()
|
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 37 private OutputStream outputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 57 this.outputStream = outputStream; in StubSocket() 91 return outputStream; in getOutputStream()
|
/external/mockftpserver/tags/2.0.2/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 37 private OutputStream outputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 57 this.outputStream = outputStream; in StubSocket() 91 return outputStream; in getOutputStream()
|
/external/mockftpserver/tags/2.1/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 37 private OutputStream outputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 57 this.outputStream = outputStream; in StubSocket() 91 return outputStream; in getOutputStream()
|
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 37 private OutputStream outputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 57 this.outputStream = outputStream; in StubSocket() 91 return outputStream; in getOutputStream()
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 37 private OutputStream outputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 57 this.outputStream = outputStream; in StubSocket() 91 return outputStream; in getOutputStream()
|
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 37 private OutputStream outputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 57 this.outputStream = outputStream; in StubSocket() 91 return outputStream; in getOutputStream()
|
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 37 private OutputStream outputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 57 this.outputStream = outputStream; in StubSocket() 91 return outputStream; in getOutputStream()
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 37 private OutputStream outputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 57 this.outputStream = outputStream; in StubSocket() 91 return outputStream; in getOutputStream()
|
/external/mockftpserver/tags/1.2.4/src/test/java/org/mockftpserver/core/socket/ |
D | StubSocket.java | 37 private OutputStream outputStream; field in StubSocket 44 public StubSocket(InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 45 this(null, inputStream, outputStream); in StubSocket() 54 public StubSocket(InetAddress inetAddress, InputStream inputStream, OutputStream outputStream) { in StubSocket() argument 57 this.outputStream = outputStream; in StubSocket() 91 return outputStream; in getOutputStream()
|