reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/scudo/scudo_allocator.cpp
   90   static INLINE void *getBackendPtr(const void *Ptr, UnpackedHeader *Header) {
   97   static INLINE uptr getUsableSize(const void *Ptr, UnpackedHeader *Header) {
  107   static INLINE uptr getSize(const void *Ptr, UnpackedHeader *Header) {
  116   static INLINE u16 computeChecksum(const void *Ptr, UnpackedHeader *Header) {
  117     UnpackedHeader ZeroChecksumHeader = *Header;
  119     uptr HeaderHolder[sizeof(UnpackedHeader) / sizeof(uptr)];
  131     UnpackedHeader NewUnpackedHeader =
  132         bit_cast<UnpackedHeader>(NewPackedHeader);
  143   void loadHeader(const void *Ptr, UnpackedHeader *NewUnpackedHeader) {
  146     *NewUnpackedHeader = bit_cast<UnpackedHeader>(NewPackedHeader);
  153   static INLINE void storeHeader(void *Ptr, UnpackedHeader *NewUnpackedHeader) {
  163                                            UnpackedHeader *NewUnpackedHeader,
  164                                            UnpackedHeader *OldUnpackedHeader) {
  182     UnpackedHeader Header;
  186     UnpackedHeader NewHeader = Header;
  367     UnpackedHeader Header = {};
  403   void quarantineOrDeallocateChunk(void *Ptr, UnpackedHeader *Header,
  407       UnpackedHeader NewHeader = *Header;
  428       UnpackedHeader NewHeader = *Header;
  465     UnpackedHeader Header;
  507     UnpackedHeader OldHeader;
  522       UnpackedHeader NewHeader = OldHeader;
  551     UnpackedHeader Header;
  609   UnpackedHeader Header = {};
projects/compiler-rt/lib/scudo/scudo_utils.h
   23 INLINE Dest bit_cast(const Source& source) {
   23 INLINE Dest bit_cast(const Source& source) {
   24   static_assert(sizeof(Dest) == sizeof(Source), "Sizes are not equal!");
   24   static_assert(sizeof(Dest) == sizeof(Source), "Sizes are not equal!");
   25   Dest dest;