Lines Matching defs:bytesToCopy
143 unsigned bytesToCopy = min(length, segmentFreeSpace);
146 memcpy(segment, data, bytesToCopy);
147 if (static_cast<unsigned>(length) == bytesToCopy)
150 length -= bytesToCopy;
151 data += bytesToCopy;
154 bytesToCopy = min(length, segmentSize);
205 unsigned bytesToCopy = min(bytesLeft, segmentSize);
206 memcpy(destination, m_segments[i], bytesToCopy);
207 destination += bytesToCopy;
208 bytesLeft -= bytesToCopy;