Searched refs:pipeSize (Results 1 - 2 of 2) sorted by relevance

/libcore/luni/src/main/java/java/io/
H A DPipedInputStream.java103 * @param pipeSize the size of the buffer in bytes.
104 * @throws IllegalArgumentException if pipeSize is less than or equal to zero.
107 public PipedInputStream(int pipeSize) { argument
108 if (pipeSize <= 0) {
109 throw new IllegalArgumentException("pipe size " + pipeSize + " too small");
111 buffer = new byte[pipeSize];
120 * @param pipeSize the size of the buffer in bytes.
122 * @throws IllegalArgumentException if pipeSize is less than or equal to zero.
125 public PipedInputStream(PipedOutputStream out, int pipeSize) throws IOException { argument
126 this(pipeSize);
[all...]
H A DPipedReader.java103 * @param pipeSize the size of the buffer in chars.
104 * @throws IllegalArgumentException if pipeSize is less than or equal to zero.
107 public PipedReader(int pipeSize) { argument
108 if (pipeSize <= 0) {
109 throw new IllegalArgumentException("pipe size " + pipeSize + " too small");
111 buffer = new char[pipeSize];
120 * @param pipeSize the size of the buffer in chars.
122 * @throws IllegalArgumentException if pipeSize is less than or equal to zero.
125 public PipedReader(PipedWriter out, int pipeSize) throws IOException { argument
126 this(pipeSize);
[all...]

Completed in 43 milliseconds