Searched refs:align_bytes (Results 1 – 2 of 2) sorted by relevance
78 size_t align_bytes = addr & (sizeof(word_t) - 1); in Read()79 if (align_bytes != 0) { in Read()83 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()
137 size_t align_bytes = addr & (sizeof(long) - 1); in PtraceRead() local138 if (align_bytes != 0) { in PtraceRead()142 size_t copy_bytes = std::min(sizeof(long) - align_bytes, bytes); in PtraceRead()143 memcpy(dst, reinterpret_cast<uint8_t*>(&data) + align_bytes, copy_bytes); in PtraceRead()