Lines Matching refs:nBytesToRead
171 …public synchronized int read(/*OUT*/byte[][] aReadBytes, int nBytesToRead) throws com.sun.star.io.… in read() argument
172 aReadBytes[0] = new byte[nBytesToRead]; in read()
174 if(DEBUG) System.err.println("##### PipedConnection.read - bytes:" + nBytesToRead + " at:" + _in); in read()
177 while(nBytesToRead > 0 && (_in != _out || !_closed)) { in read()
190 int bytes = Math.min(nBytesToRead, _out - _in); in read()
192 System.arraycopy(_buffer, _in, aReadBytes[0], aReadBytes[0].length - nBytesToRead, bytes); in read()
194 nBytesToRead -= bytes; in read()
198 int bytes = Math.min(nBytesToRead, _buffer.length - _in); in read()
200 System.arraycopy(_buffer, _in, aReadBytes[0], aReadBytes[0].length - nBytesToRead, bytes); in read()
202 nBytesToRead -= bytes; in read()
209 if(nBytesToRead > 0) { // not all bytes read in read()
210 byte tmp[] = new byte[aReadBytes[0].length - nBytesToRead]; in read()