Lines Matching refs:bytes
138 int bytes ; in receive() local
141 bytes = Math.min(aData.length - bytesWritten, _in - _out - 1); in receive()
143 System.arraycopy(aData, bytesWritten, _buffer, _out, bytes); in receive()
147 bytes = Math.min(aData.length - bytesWritten, _buffer.length - _out); in receive()
150 bytes = Math.min(aData.length - bytesWritten, _buffer.length - _out - 1); in receive()
153 System.arraycopy(aData, bytesWritten, _buffer, _out, bytes); in receive()
156 bytesWritten += bytes; in receive()
157 _out += bytes; in receive()
190 int bytes = Math.min(nBytesToRead, _out - _in); in read() local
192 System.arraycopy(_buffer, _in, aReadBytes[0], aReadBytes[0].length - nBytesToRead, bytes); in read()
194 nBytesToRead -= bytes; in read()
195 _in += bytes; in read()
198 int bytes = Math.min(nBytesToRead, _buffer.length - _in); in read() local
200 System.arraycopy(_buffer, _in, aReadBytes[0], aReadBytes[0].length - nBytesToRead, bytes); in read()
202 nBytesToRead -= bytes; in read()
203 _in += bytes; in read()