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()
114 size_t align_bytes = addr & (sizeof(long) - 1); in PtraceRead() local115 if (align_bytes != 0) { in PtraceRead()119 size_t copy_bytes = std::min(sizeof(long) - align_bytes, bytes); in PtraceRead()120 memcpy(dst, reinterpret_cast<uint8_t*>(&data) + align_bytes, copy_bytes); in PtraceRead()