Lines Matching refs:bytesToCopy
2427 int bytesToCopy = Math.min(length, oneRun); in read() local
2428 System.arraycopy(mBuffer, mHead, buffer, offset, bytesToCopy); in read()
2429 mHead += bytesToCopy; in read()
2433 mStoredBytes -= bytesToCopy; in read()
2434 length -= bytesToCopy; in read()
2435 offset += bytesToCopy; in read()
2436 totalRead += bytesToCopy; in read()
2474 int bytesToCopy = Math.min(oneRun, length); in write() local
2475 System.arraycopy(buffer, offset, mBuffer, tail, bytesToCopy); in write()
2476 offset += bytesToCopy; in write()
2477 mStoredBytes += bytesToCopy; in write()
2478 length -= bytesToCopy; in write()