Home
last modified time | relevance | path

Searched refs:copy_bytes (Results 1 – 2 of 2) sorted by relevance

/system/unwinding/libunwindstack/
DMemoryXz.cpp111 size_t copy_bytes = std::min<size_t>(size, block->decompressed_size - offset); in Read() local
112 memcpy(dst, block->decompressed_data.get() + offset, copy_bytes); in Read()
113 dst += copy_bytes; in Read()
114 addr += copy_bytes; in Read()
115 size -= copy_bytes; in Read()
DMemory.cpp131 size_t copy_bytes = std::min(sizeof(long) - align_bytes, bytes); in PtraceRead() local
132 memcpy(dst, reinterpret_cast<uint8_t*>(&data) + align_bytes, copy_bytes); in PtraceRead()
133 addr += copy_bytes; in PtraceRead()
134 dst = reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(dst) + copy_bytes); in PtraceRead()
135 bytes -= copy_bytes; in PtraceRead()
136 bytes_read += copy_bytes; in PtraceRead()