Lines Matching refs:copy_bytes
142 size_t copy_bytes = std::min(sizeof(long) - align_bytes, bytes); in PtraceRead() local
143 memcpy(dst, reinterpret_cast<uint8_t*>(&data) + align_bytes, copy_bytes); in PtraceRead()
144 addr += copy_bytes; in PtraceRead()
145 dst = reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(dst) + copy_bytes); in PtraceRead()
146 bytes -= copy_bytes; in PtraceRead()
147 bytes_read += copy_bytes; in PtraceRead()
636 size_t copy_bytes = std::min<size_t>(size, block->decompressed_size - offset); in Read() local
637 memcpy(dst, block->decompressed_data.get() + offset, copy_bytes); in Read()
638 dst += copy_bytes; in Read()
639 addr += copy_bytes; in Read()
640 size -= copy_bytes; in Read()