Lines Matching defs:to_copy
571 wxUint32 to_copy;
576 to_copy = (len > header->m_size) ? header->m_size : len;
577 memcpy(header->m_data + header->m_position, buffer, to_copy);
579 header->m_position += to_copy;
580 header->m_size -= to_copy;
581 buffer = (((const char *)buffer) + to_copy);
582 len -= to_copy;
583 m_lastcount += to_copy;
624 wxUint32 to_copy;
633 to_copy = (len > header->m_size) ? header->m_size : len;
634 memcpy(buffer, header->m_data + header->m_position, to_copy);
636 header->m_position += to_copy;
637 header->m_size -= to_copy;
638 buffer = (((char *)buffer) + to_copy);
639 len -= to_copy;
640 m_lastcount += to_copy;