Searched refs:NewUnpackedHeader (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/compiler-rt/lib/scudo/standalone/ |
D | chunk.h | 114 UnpackedHeader *NewUnpackedHeader) { in storeHeader() argument 115 NewUnpackedHeader->Checksum = in storeHeader() 116 computeHeaderChecksum(Cookie, Ptr, NewUnpackedHeader); in storeHeader() 117 PackedHeader NewPackedHeader = bit_cast<PackedHeader>(*NewUnpackedHeader); in storeHeader() 122 UnpackedHeader *NewUnpackedHeader) { in loadHeader() argument 124 *NewUnpackedHeader = bit_cast<UnpackedHeader>(NewPackedHeader); in loadHeader() 125 if (UNLIKELY(NewUnpackedHeader->Checksum != in loadHeader() 126 computeHeaderChecksum(Cookie, Ptr, NewUnpackedHeader))) in loadHeader() 131 UnpackedHeader *NewUnpackedHeader, in compareExchangeHeader() argument 133 NewUnpackedHeader->Checksum = in compareExchangeHeader() [all …]
|
/external/scudo/standalone/ |
D | chunk.h | 114 UnpackedHeader *NewUnpackedHeader) { in storeHeader() argument 115 NewUnpackedHeader->Checksum = in storeHeader() 116 computeHeaderChecksum(Cookie, Ptr, NewUnpackedHeader); in storeHeader() 117 PackedHeader NewPackedHeader = bit_cast<PackedHeader>(*NewUnpackedHeader); in storeHeader() 122 UnpackedHeader *NewUnpackedHeader) { in loadHeader() argument 124 *NewUnpackedHeader = bit_cast<UnpackedHeader>(NewPackedHeader); in loadHeader() 125 if (UNLIKELY(NewUnpackedHeader->Checksum != in loadHeader() 126 computeHeaderChecksum(Cookie, Ptr, NewUnpackedHeader))) in loadHeader() 131 UnpackedHeader *NewUnpackedHeader, in compareExchangeHeader() argument 133 NewUnpackedHeader->Checksum = in compareExchangeHeader() [all …]
|
/external/compiler-rt/lib/scudo/ |
D | scudo_allocator.cpp | 113 void loadHeader(UnpackedHeader *NewUnpackedHeader) const { in loadHeader() 118 *NewUnpackedHeader = bit_cast<UnpackedHeader>(NewPackedHeader); in loadHeader() 119 if ((NewUnpackedHeader->Unused_0_ != 0) || in loadHeader() 120 (NewUnpackedHeader->Unused_1_ != 0) || in loadHeader() 121 (NewUnpackedHeader->Checksum != Checksum(NewUnpackedHeader))) { in loadHeader() 127 void storeHeader(UnpackedHeader *NewUnpackedHeader) { in storeHeader() 128 NewUnpackedHeader->Checksum = Checksum(NewUnpackedHeader); in storeHeader() 129 PackedHeader NewPackedHeader = bit_cast<PackedHeader>(*NewUnpackedHeader); in storeHeader() 138 void compareExchangeHeader(UnpackedHeader *NewUnpackedHeader, in compareExchangeHeader() 140 NewUnpackedHeader->Checksum = Checksum(NewUnpackedHeader); in compareExchangeHeader() [all …]
|
/external/llvm-project/compiler-rt/lib/scudo/ |
D | scudo_allocator.cpp | 132 UnpackedHeader NewUnpackedHeader = in isValid() local 134 return (NewUnpackedHeader.Checksum == in isValid() 135 computeChecksum(Ptr, &NewUnpackedHeader)); in isValid() 144 void loadHeader(const void *Ptr, UnpackedHeader *NewUnpackedHeader) { in loadHeader() argument 147 *NewUnpackedHeader = bit_cast<UnpackedHeader>(NewPackedHeader); in loadHeader() 148 if (UNLIKELY(NewUnpackedHeader->Checksum != in loadHeader() 149 computeChecksum(Ptr, NewUnpackedHeader))) in loadHeader() 154 static inline void storeHeader(void *Ptr, UnpackedHeader *NewUnpackedHeader) { in storeHeader() argument 155 NewUnpackedHeader->Checksum = computeChecksum(Ptr, NewUnpackedHeader); in storeHeader() 156 PackedHeader NewPackedHeader = bit_cast<PackedHeader>(*NewUnpackedHeader); in storeHeader() [all …]
|