Home
last modified time | relevance | path

Searched refs:UsedSize (Results 1 – 17 of 17) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libsanitizer/asan/
H A Dasan_allocator.cpp104 uptr UsedSize() const { in UsedSize() function in __asan::ChunkHeader
116 CHECK_EQ(UsedSize(), size); in SetUsedSize()
161 return (addr >= Beg()) && (addr < Beg() + UsedSize()); in AddrIsInside()
214 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY), in Recycle()
220 thread_stats.really_freed += m->UsedSize(); in Recycle()
364 uptr end = ac->Beg() + ac->UsedSize(); in RePoisonChunk()
645 if (m->UsedSize() >= kChunkHeader2Size) { // Skip Header2 in user area. in QuarantineChunk()
646 uptr size_to_fill = m->UsedSize() - kChunkHeader2Size; in QuarantineChunk()
654 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY), in QuarantineChunk()
659 thread_stats.freed += m->UsedSize(); in QuarantineChunk()
[all …]
H A Dasan_memory_profile.cpp37 total_allocated_user_size_ += cv.UsedSize(); in ProcessChunk()
41 Insert(id, cv.UsedSize()); in ProcessChunk()
43 total_quarantined_user_size_ += cv.UsedSize(); in ProcessChunk()
H A Dasan_allocator.h60 uptr UsedSize() const; // Size requested by the user.
H A Dasan_descriptions.cpp121 descr->chunk_size = chunk.UsedSize(); in GetAccessToHeapChunkInformation()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/asan/
H A Dasan_allocator.cc116 uptr UsedSize(bool locked_version = false) { in UsedSize() function
132 return (addr >= Beg()) && (addr < Beg() + UsedSize(locked_version)); in AddrIsInside()
148 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY), in Recycle()
163 thread_stats.really_freed += m->UsedSize(); in Recycle()
300 uptr end = ac->Beg() + ac->UsedSize(true); in RePoisonChunk()
580 if (m->UsedSize() >= kChunkHeader2Size) { // Skip Header2 in user area. in QuarantineChunk()
581 uptr size_to_fill = m->UsedSize() - kChunkHeader2Size; in QuarantineChunk()
589 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY), in QuarantineChunk()
594 thread_stats.freed += m->UsedSize(); in QuarantineChunk()
601 m->UsedSize()); in QuarantineChunk()
[all …]
H A Dasan_memory_profile.cc38 total_allocated_user_size_ += cv.UsedSize(); in ProcessChunk()
42 Insert(id, cv.UsedSize()); in ProcessChunk()
44 total_quarantined_user_size_ += cv.UsedSize(); in ProcessChunk()
H A Dasan_allocator.h60 uptr UsedSize() const; // Size requested by the user.
H A Dasan_descriptions.cc123 descr->chunk_size = chunk.UsedSize(); in GetAccessToHeapChunkInformation()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/asan/
H A Dasan_allocator.cc114 uptr UsedSize(bool locked_version = false) { in UsedSize() function
130 return (addr >= Beg()) && (addr < Beg() + UsedSize(locked_version)); in AddrIsInside()
146 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY), in Recycle()
161 thread_stats.really_freed += m->UsedSize(); in Recycle()
298 uptr end = ac->Beg() + ac->UsedSize(true); in RePoisonChunk()
578 if (m->UsedSize() >= kChunkHeader2Size) { // Skip Header2 in user area. in QuarantineChunk()
579 uptr size_to_fill = m->UsedSize() - kChunkHeader2Size; in QuarantineChunk()
587 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY), in QuarantineChunk()
592 thread_stats.freed += m->UsedSize(); in QuarantineChunk()
599 m->UsedSize()); in QuarantineChunk()
[all …]
H A Dasan_memory_profile.cc36 total_allocated_user_size_ += cv.UsedSize(); in ProcessChunk()
40 Insert(id, cv.UsedSize()); in ProcessChunk()
42 total_quarantined_user_size_ += cv.UsedSize(); in ProcessChunk()
H A Dasan_allocator.h58 uptr UsedSize() const; // Size requested by the user.
H A Dasan_descriptions.cc121 descr->chunk_size = chunk.UsedSize(); in GetAccessToHeapChunkInformation()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/hwasan/
H A Dhwasan_allocator.h87 uptr UsedSize() const; // Size requested by the user
H A Dhwasan_allocator.cpp62 return Beg() + UsedSize(); in End()
64 uptr HwasanChunkView::UsedSize() const { in UsedSize() function in __hwasan::HwasanChunkView
H A Dhwasan_report.cpp322 untagged_addr, offset, whence, chunk.UsedSize(), chunk.Beg(), in ShowHeapOrGlobalCandidate()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp1950 unsigned UsedSize; in getWinEHFuncletFrameSize() local
1957 UsedSize = getPSPSlotOffsetFromSP(MF) + SlotSize; in getWinEHFuncletFrameSize()
1960 UsedSize = MF.getFrameInfo().getMaxCallFrameSize(); in getWinEHFuncletFrameSize()
1965 unsigned FrameSizeMinusRBP = alignTo(CSSize + UsedSize, getStackAlign()); in getWinEHFuncletFrameSize()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaChecking.cpp612 Optional<llvm::APSInt> UsedSize; in checkFortifiedBuiltinMemoryFunction() local
642 UsedSize = llvm::APSInt::getUnsigned(H.getSizeLowerBound()) in checkFortifiedBuiltinMemoryFunction()
752 if (!UsedSize) { in checkFortifiedBuiltinMemoryFunction()
757 UsedSize = Result.Val.getInt().extOrTrunc(SizeTypeWidth); in checkFortifiedBuiltinMemoryFunction()
760 if (UsedSize.getValue().ule(ObjectSize)) in checkFortifiedBuiltinMemoryFunction()
776 << UsedSize.getValue().toString(/*Radix=*/10)); in checkFortifiedBuiltinMemoryFunction()