Searched refs:UsableSize (Results 1 – 3 of 3) sorted by relevance
518 const uptr UsableSize = Chunk::getUsableSize(OldPtr, &OldHeader); in reallocate() local521 if (NewSize <= UsableSize && in reallocate()522 (UsableSize - NewSize) < (SizeClassMap::kMaxSize / 2)) { in reallocate()525 OldHeader.ClassId ? NewSize : UsableSize - NewSize; in reallocate()534 UsableSize - OldHeader.SizeOrUnusedBytes; in reallocate()535 memcpy(NewPtr, OldPtr, Min(NewSize, UsableSize)); in reallocate()
96 TEST(Mman, UsableSize) { in TEST() argument
97 TEST(Mman, UsableSize) { in TEST() argument