Home
last modified time | relevance | path

Searched refs:UsableSize (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_allocator.cpp518 const uptr UsableSize = Chunk::getUsableSize(OldPtr, &OldHeader); in reallocate() local
521 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()
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_mman_test.cc96 TEST(Mman, UsableSize) { in TEST() argument
/external/llvm-project/compiler-rt/lib/tsan/tests/unit/
Dtsan_mman_test.cpp97 TEST(Mman, UsableSize) { in TEST() argument