Home
last modified time | relevance | path

Searched refs:SizeOrUnusedBytes (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_allocator.cpp109 const uptr SizeOrUnusedBytes = Header->SizeOrUnusedBytes; in getSize() local
111 return SizeOrUnusedBytes; in getSize()
113 getBackendPtr(Ptr, Header)) - getHeaderSize() - SizeOrUnusedBytes; in getSize()
384 Header.SizeOrUnusedBytes = Size; in allocate()
392 Header.SizeOrUnusedBytes = PageSize - TrailingBytes; in allocate()
524 NewHeader.SizeOrUnusedBytes = in reallocate()
533 const uptr OldSize = OldHeader.ClassId ? OldHeader.SizeOrUnusedBytes : in reallocate()
534 UsableSize - OldHeader.SizeOrUnusedBytes; in reallocate()
624 Header.SizeOrUnusedBytes = MaxSizeOrUnusedBytes; in performSanityChecks()
625 if (Header.SizeOrUnusedBytes != MaxSizeOrUnusedBytes) in performSanityChecks()
Dscudo_allocator.h42 u64 SizeOrUnusedBytes : 20; // Size for Primary backed allocations, amount of member
/external/llvm-project/compiler-rt/lib/scudo/standalone/
Dcombined.h97 Header.SizeOrUnusedBytes = sizeof(QuarantineBatch); in allocate()
114 DCHECK_EQ(Header.SizeOrUnusedBytes, sizeof(QuarantineBatch)); in deallocate()
409 uptr PrevEnd = TaggedUserPtr + Header.SizeOrUnusedBytes;
459 Header.SizeOrUnusedBytes =
576 OldSize = OldHeader.SizeOrUnusedBytes;
580 (reinterpret_cast<uptr>(OldPtr) + OldHeader.SizeOrUnusedBytes);
588 NewHeader.SizeOrUnusedBytes =
885 R->allocation_size = Header.SizeOrUnusedBytes; in getErrorInfo()
911 R->allocation_size = Header.SizeOrUnusedBytes; in getErrorInfo()
1008 Header.SizeOrUnusedBytes = MaxSizeOrUnusedBytes; in performSanityChecks()
[all …]
Dchunk.h70 uptr SizeOrUnusedBytes : 20; member
/external/scudo/standalone/
Dcombined.h94 Header.SizeOrUnusedBytes = sizeof(QuarantineBatch); in allocate()
117 DCHECK_EQ(Header.SizeOrUnusedBytes, sizeof(QuarantineBatch)); in deallocate()
435 uptr PrevEnd = TaggedUserPtr + Header.SizeOrUnusedBytes;
496 Header.SizeOrUnusedBytes =
624 OldSize = OldHeader.SizeOrUnusedBytes;
628 OldHeader.SizeOrUnusedBytes);
636 NewHeader.SizeOrUnusedBytes =
1042 Header.SizeOrUnusedBytes = MaxSizeOrUnusedBytes; in performSanityChecks()
1043 if (UNLIKELY(Header.SizeOrUnusedBytes != MaxSizeOrUnusedBytes)) in performSanityChecks()
1061 const uptr SizeOrUnusedBytes = Header->SizeOrUnusedBytes; in getSize() local
[all …]
Dchunk.h70 uptr SizeOrUnusedBytes : 20; member
/external/scudo/standalone/tests/
Dchunk_test.cpp46 OldHeader.SizeOrUnusedBytes = Size; in TEST()
/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/
Dchunk_test.cpp46 OldHeader.SizeOrUnusedBytes = Size; in TEST()