Home
last modified time | relevance | path

Searched refs:UnpackedHeader (Results 1 – 4 of 4) sorted by relevance

/external/scudo/standalone/
Dchunk.h65 struct UnpackedHeader { struct
74 static_assert(sizeof(UnpackedHeader) == sizeof(PackedHeader), ""); argument
103 UnpackedHeader *Header) { in computeHeaderChecksum()
104 UnpackedHeader ZeroChecksumHeader = *Header; in computeHeaderChecksum()
106 uptr HeaderHolder[sizeof(UnpackedHeader) / sizeof(uptr)]; in computeHeaderChecksum()
113 UnpackedHeader *NewUnpackedHeader) { in storeHeader()
121 UnpackedHeader *NewUnpackedHeader) { in loadHeader()
123 *NewUnpackedHeader = bit_cast<UnpackedHeader>(NewPackedHeader); in loadHeader()
130 UnpackedHeader *NewUnpackedHeader, in compareExchangeHeader()
131 UnpackedHeader *OldUnpackedHeader) { in compareExchangeHeader()
[all …]
Dcombined.h55 Chunk::UnpackedHeader Header; in recycle()
60 Chunk::UnpackedHeader NewHeader = Header; in recycle()
85 Chunk::UnpackedHeader Header = {}; in allocate()
97 Chunk::UnpackedHeader Header; in deallocate()
106 Chunk::UnpackedHeader NewHeader = Header; in deallocate()
316 Chunk::UnpackedHeader Header;
371 Chunk::UnpackedHeader Header = {};
424 Chunk::UnpackedHeader Header;
478 Chunk::UnpackedHeader OldHeader;
511 Chunk::UnpackedHeader NewHeader = OldHeader;
[all …]
/external/compiler-rt/lib/scudo/
Dscudo_allocator.cpp68 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/scudo/standalone/tests/
Dchunk_test.cpp27 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()