Home
last modified time | relevance | path

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

/system/unwinding/libbacktrace/
DBacktracePtrace.cpp83 size_t copy_bytes = MIN(sizeof(word_t) - align_bytes, bytes); in Read()
84 memcpy(buffer, reinterpret_cast<uint8_t*>(&data_word) + align_bytes, copy_bytes); in Read()
85 addr += copy_bytes; in Read()
86 buffer += copy_bytes; in Read()
87 bytes -= copy_bytes; in Read()
88 bytes_read += copy_bytes; in Read()
/system/unwinding/libunwindstack/
DMemory.cpp142 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()
[all …]