Lines Matching refs:toCopy
309 size_t toCopy = std::min(address + size, in ReadMemory() local
314 toCopy); in ReadMemory()
358 size_t toCopy = std::min(address + size, in WriteMemory() local
362 buffer, toCopy); in WriteMemory()
364 address += toCopy; in WriteMemory()
365 size -= toCopy; in WriteMemory()
366 bytesWritten += toCopy; in WriteMemory()
367 buffer += toCopy; in WriteMemory()
381 size_t toCopy = breakpoint->address - address; in WriteMemory() local
382 if (toCopy > 0) { in WriteMemory()
384 status_t error = _WriteMemory(address, buffer, toCopy, in WriteMemory()
394 if (chunkWritten < toCopy) in WriteMemory()
399 toCopy = std::min(size, (size_t)DEBUG_SOFTWARE_BREAKPOINT_SIZE); in WriteMemory()
400 memcpy(breakpoint->softwareData, buffer, toCopy); in WriteMemory()
402 address += toCopy; in WriteMemory()
403 size -= toCopy; in WriteMemory()
404 bytesWritten += toCopy; in WriteMemory()
405 buffer += toCopy; in WriteMemory()