Home | History | Annotate | Download | only in malloc_debug

Lines Matching refs:Header

56   inline void* GetPointer(const Header* header) {
57 uintptr_t value = reinterpret_cast<uintptr_t>(header);
61 Header* GetHeader(const void* pointer) {
63 return reinterpret_cast<Header*>(value - pointer_offset_);
66 BacktraceHeader* GetAllocBacktrace(const Header* header) {
67 uintptr_t value = reinterpret_cast<uintptr_t>(header);
71 uint8_t* GetFrontGuard(const Header* header) {
72 uintptr_t value = reinterpret_cast<uintptr_t>(header);
76 uint8_t* GetRearGuard(const Header* header) {
77 uintptr_t value = reinterpret_cast<uintptr_t>(GetPointer(header));
78 return reinterpret_cast<uint8_t*>(value + header->real_size());