Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_allocator.cpp106 uptr UsedSize() const { in UsedSize() function in __asan::ChunkHeader
118 CHECK_EQ(UsedSize(), size); in SetUsedSize()
163 return (addr >= Beg()) && (addr < Beg() + UsedSize()); in AddrIsInside()
202 if (m->UsedSize() >= kChunkHeader2Size) { // Skip Header2 in user area. in FillChunk()
203 uptr size_to_fill = m->UsedSize() - kChunkHeader2Size; in FillChunk()
219 PoisonShadow(m->Beg(), RoundUpTo(m->UsedSize(), ASAN_SHADOW_GRANULARITY), in PreQuarantine()
242 PoisonShadow(m->Beg(), RoundUpTo(m->UsedSize(), ASAN_SHADOW_GRANULARITY), in Recycle()
249 thread_stats.really_freed += m->UsedSize(); in Recycle()
408 uptr end = ac->Beg() + ac->UsedSize(); in RePoisonChunk()
694 m->UsedSize()); in QuarantineChunk()
[all …]
H A Dasan_memory_profile.cpp36 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_descriptions.cpp121 descr->chunk_size = chunk.UsedSize(); in GetAccessToHeapChunkInformation()
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.h106 uptr UsedSize() const; // Size requested by the user
H A Dhwasan_allocator.cpp58 return Beg() + UsedSize(); in End()
60 uptr HwasanChunkView::UsedSize() const { in UsedSize() function in __hwasan::HwasanChunkView
80 return (addr >= Beg()) && (addr < Beg() + UsedSize()); in AddrIsInside()
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_allocator.cpp155 uptr UsedSize() { in UsedSize() function
559 uptr memcpy_size = Min(new_size, m->UsedSize()); in Reallocate()
622 return reinterpret_cast<MemprofChunk *>(p - kChunkHeaderSize)->UsedSize(); in AllocationSizeFast()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DXCOFFEmitter.cpp114 uint64_t UsedSize = RelSize * InitSection.Relocations.size(); in initRelocations() local
132 CurrentOffset += UsedSize; in initRelocations()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp2315 unsigned UsedSize; in getWinEHFuncletFrameSize() local
2322 UsedSize = getPSPSlotOffsetFromSP(MF) + SlotSize; in getWinEHFuncletFrameSize()
2325 UsedSize = MF.getFrameInfo().getMaxCallFrameSize(); in getWinEHFuncletFrameSize()
2330 unsigned FrameSizeMinusRBP = alignTo(CSSize + UsedSize, getStackAlign()); in getWinEHFuncletFrameSize()