Home
last modified time | relevance | path

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

/system/core/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/core/libunwindstack/
DMemory.cpp127 size_t copy_bytes = std::min(sizeof(long) - align_bytes, bytes); in PtraceRead() local
128 memcpy(dst, reinterpret_cast<uint8_t*>(&data) + align_bytes, copy_bytes); in PtraceRead()
129 addr += copy_bytes; in PtraceRead()
130 dst = reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(dst) + copy_bytes); in PtraceRead()
131 bytes -= copy_bytes; in PtraceRead()
132 bytes_read += copy_bytes; in PtraceRead()