Searched refs:UnpackedHeader (Results 1 – 9 of 9) sorted by relevance
/external/llvm-project/compiler-rt/lib/scudo/standalone/ |
D | chunk.h | 65 struct UnpackedHeader { struct 75 static_assert(sizeof(UnpackedHeader) == sizeof(PackedHeader), ""); argument 104 UnpackedHeader *Header) { in computeHeaderChecksum() 105 UnpackedHeader ZeroChecksumHeader = *Header; in computeHeaderChecksum() 107 uptr HeaderHolder[sizeof(UnpackedHeader) / sizeof(uptr)]; in computeHeaderChecksum() 114 UnpackedHeader *NewUnpackedHeader) { in storeHeader() 122 UnpackedHeader *NewUnpackedHeader) { in loadHeader() 124 *NewUnpackedHeader = bit_cast<UnpackedHeader>(NewPackedHeader); in loadHeader() 131 UnpackedHeader *NewUnpackedHeader, in compareExchangeHeader() 132 UnpackedHeader *OldUnpackedHeader) { in compareExchangeHeader() [all …]
|
D | combined.h | 65 Chunk::UnpackedHeader Header; in recycle() 70 Chunk::UnpackedHeader NewHeader = Header; in recycle() 95 Chunk::UnpackedHeader Header = {}; in allocate() 107 Chunk::UnpackedHeader Header; in deallocate() 116 Chunk::UnpackedHeader NewHeader = Header; in deallocate() 369 Chunk::UnpackedHeader Header; 444 Chunk::UnpackedHeader Header = {}; 498 Chunk::UnpackedHeader Header; 553 Chunk::UnpackedHeader OldHeader; 587 Chunk::UnpackedHeader NewHeader = OldHeader; [all …]
|
/external/scudo/standalone/ |
D | chunk.h | 65 struct UnpackedHeader { struct 75 static_assert(sizeof(UnpackedHeader) == sizeof(PackedHeader), ""); argument 104 UnpackedHeader *Header) { in computeHeaderChecksum() 105 UnpackedHeader ZeroChecksumHeader = *Header; in computeHeaderChecksum() 107 uptr HeaderHolder[sizeof(UnpackedHeader) / sizeof(uptr)]; in computeHeaderChecksum() 114 UnpackedHeader *NewUnpackedHeader) { in storeHeader() 122 UnpackedHeader *NewUnpackedHeader) { in loadHeader() 124 *NewUnpackedHeader = bit_cast<UnpackedHeader>(NewPackedHeader); in loadHeader() 131 UnpackedHeader *NewUnpackedHeader, in compareExchangeHeader() 132 UnpackedHeader *OldUnpackedHeader) { in compareExchangeHeader() [all …]
|
D | combined.h | 64 Chunk::UnpackedHeader Header; in recycle() 69 Chunk::UnpackedHeader NewHeader = Header; in recycle() 92 Chunk::UnpackedHeader Header = {}; in allocate() 110 Chunk::UnpackedHeader Header; in deallocate() 119 Chunk::UnpackedHeader NewHeader = Header; in deallocate() 395 Chunk::UnpackedHeader Header; 481 Chunk::UnpackedHeader Header = {}; 540 Chunk::UnpackedHeader Header; 601 Chunk::UnpackedHeader OldHeader; 635 Chunk::UnpackedHeader NewHeader = OldHeader; [all …]
|
/external/compiler-rt/lib/scudo/ |
D | scudo_allocator.cpp | 68 struct UnpackedHeader { struct 84 COMPILER_CHECK(sizeof(UnpackedHeader) == sizeof(PackedHeader)); 88 struct ScudoChunk : UnpackedHeader { 92 void *AllocBeg(UnpackedHeader *Header) { in AllocBeg() 99 u16 Checksum(UnpackedHeader *Header) const { in Checksum() 113 void loadHeader(UnpackedHeader *NewUnpackedHeader) const { in loadHeader() 118 *NewUnpackedHeader = bit_cast<UnpackedHeader>(NewPackedHeader); in loadHeader() 127 void storeHeader(UnpackedHeader *NewUnpackedHeader) { in storeHeader() 138 void compareExchangeHeader(UnpackedHeader *NewUnpackedHeader, in compareExchangeHeader() 139 UnpackedHeader *OldUnpackedHeader) { in compareExchangeHeader() [all …]
|
/external/llvm-project/compiler-rt/lib/scudo/ |
D | scudo_allocator.cpp | 91 static inline void *getBackendPtr(const void *Ptr, UnpackedHeader *Header) { in getBackendPtr() 98 static inline uptr getUsableSize(const void *Ptr, UnpackedHeader *Header) { in getUsableSize() 108 static inline uptr getSize(const void *Ptr, UnpackedHeader *Header) { in getSize() 117 static inline u16 computeChecksum(const void *Ptr, UnpackedHeader *Header) { in computeChecksum() 118 UnpackedHeader ZeroChecksumHeader = *Header; in computeChecksum() 120 uptr HeaderHolder[sizeof(UnpackedHeader) / sizeof(uptr)]; in computeChecksum() 132 UnpackedHeader NewUnpackedHeader = in isValid() 133 bit_cast<UnpackedHeader>(NewPackedHeader); in isValid() 144 void loadHeader(const void *Ptr, UnpackedHeader *NewUnpackedHeader) { in loadHeader() 147 *NewUnpackedHeader = bit_cast<UnpackedHeader>(NewPackedHeader); in loadHeader() [all …]
|
D | scudo_allocator.h | 39 struct UnpackedHeader { struct 53 COMPILER_CHECK(sizeof(UnpackedHeader) == sizeof(PackedHeader)); argument
|
/external/scudo/standalone/tests/ |
D | chunk_test.cpp | 27 scudo::Chunk::UnpackedHeader Header = {}; in TEST() 43 scudo::Chunk::UnpackedHeader OldHeader = {}; in TEST() 53 scudo::Chunk::UnpackedHeader NewHeader = OldHeader; in TEST() 66 scudo::Chunk::UnpackedHeader Header = {}; in TEST()
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/ |
D | chunk_test.cpp | 27 scudo::Chunk::UnpackedHeader Header = {}; in TEST() 43 scudo::Chunk::UnpackedHeader OldHeader = {}; in TEST() 53 scudo::Chunk::UnpackedHeader NewHeader = OldHeader; in TEST() 66 scudo::Chunk::UnpackedHeader Header = {}; in TEST()
|