Home
last modified time | relevance | path

Searched refs:requested_size (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddfsan_allocator.cpp28 uptr requested_size; member
115 meta->requested_size = size; in DFsanAllocate()
128 uptr size = meta->requested_size; in dfsan_deallocate()
129 meta->requested_size = 0; in dfsan_deallocate()
145 uptr old_size = meta->requested_size; in DFsanReallocate()
149 meta->requested_size = new_size; in DFsanReallocate()
180 return b->requested_size; in AllocationSize()
/llvm-project-15.0.7/compiler-rt/lib/lsan/
H A Dlsan_allocator.cpp66 m->requested_size = size; in RegisterAllocation()
153 return m->requested_size; in GetMallocUsableSize()
267 if (addr < chunk + m->requested_size) in PointsIntoChunk()
269 if (IsSpecialCaseOfOperatorNew0(chunk, m->requested_size, addr)) in PointsIntoChunk()
295 uptr LsanMetadata::requested_size() const { in requested_size() function in __lsan::LsanMetadata
296 return reinterpret_cast<ChunkMetadata *>(metadata_)->requested_size; in requested_size()
312 if (m->allocated && (uptr)p < (uptr)chunk + m->requested_size) { in IgnoreObjectLocked()
H A Dlsan_common.cpp296 (void *)pp, p, (void *)chunk, (void *)(chunk + m.requested_size()), in ScanRangeForPointers()
297 m.requested_size()); in ScanRangeForPointers()
304 (void *)(chunk + m.requested_size()), m.requested_size()); in ScanRangeForPointers()
526 ScanRangeForPointers(next_chunk, next_chunk + m.requested_size(), frontier, in FloodFillTag()
537 ScanRangeForPointers(chunk, chunk + m.requested_size(), in MarkIndirectlyLeakedCb()
556 (void *)(chunk + m.requested_size()), m.requested_size()); in IgnoredSuppressedCb()
568 (void *)(chunk + m.requested_size()), m.requested_size()); in CollectIgnoredCb()
620 leaks->push_back({chunk, m.stack_trace_id(), m.requested_size(), m.tag()}); in CollectLeaksCb()
H A Dlsan_allocator.h44 uptr requested_size : 54; member
46 uptr requested_size : 32; member
H A Dlsan_common.h290 uptr requested_size() const;
/llvm-project-15.0.7/compiler-rt/lib/msan/
H A Dmsan_allocator.cpp28 uptr requested_size; member
186 meta->requested_size = size; in MsanAllocate()
208 uptr size = meta->requested_size; in MsanDeallocate()
209 meta->requested_size = 0; in MsanDeallocate()
234 uptr old_size = meta->requested_size; in MsanReallocate()
238 meta->requested_size = new_size; in MsanReallocate()
270 return b->requested_size; in AllocationSize()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_report.cpp128 void NORETURN ReportOutOfMemory(uptr requested_size, const StackTrace *stack) { in ReportOutOfMemory() argument
131 ERROR_OOM("allocator is trying to allocate 0x%zx bytes\n", requested_size); in ReportOutOfMemory()
H A Dsanitizer_allocator.cpp79 static void NORETURN ReportInternalAllocatorOutOfMemory(uptr requested_size) { in ReportInternalAllocatorOutOfMemory() argument
82 "0x%zx bytes\n", SanitizerToolName, requested_size); in ReportInternalAllocatorOutOfMemory()
H A Dsanitizer_allocator_report.h35 void NORETURN ReportOutOfMemory(uptr requested_size, const StackTrace *stack);
/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan_report.cpp152 h.tagged_addr + h.requested_size > tagged_addr) { in FindHeapAllocation()
163 UntagAddr(h.tagged_addr) + h.requested_size > UntagAddr(tagged_addr)) { in FindHeapAllocation()
173 untag_4b(h.tagged_addr) + h.requested_size > untag_4b(tagged_addr)) { in FindHeapAllocation()
464 har.requested_size, UntagAddr(har.tagged_addr), in PrintAddressDescription()
465 UntagAddr(har.tagged_addr) + har.requested_size); in PrintAddressDescription()
H A Dhwasan_allocator.h106 u32 requested_size; member
H A Dhwasan_allocator.cpp50 static uptr AlignRight(uptr addr, uptr requested_size) { in AlignRight() argument
51 uptr tail_size = requested_size % kShadowAlignment; in AlignRight()
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_report.h76 void ReportOutOfMemory(uptr requested_size, BufferedStackTrace *stack);
H A Dasan_errors.h264 uptr requested_size; member
270 requested_size(requested_size_) {} in ErrorOutOfMemory()
H A Dasan_report.cpp323 void ReportOutOfMemory(uptr requested_size, BufferedStackTrace *stack) { in ReportOutOfMemory() argument
325 ErrorOutOfMemory error(GetCurrentTidOrInvalid(), stack, requested_size); in ReportOutOfMemory()
H A Dasan_errors.cpp282 ERROR_OOM("allocator is trying to allocate 0x%zx bytes\n", requested_size); in Print()
H A Dasan_allocator.cpp1124 uptr LsanMetadata::requested_size() const { in requested_size() function in __lsan::LsanMetadata
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_alloc.cpp425 static void *bget(kmp_info_t *th, bufsize requested_size) { in bget() argument
427 bufsize size = requested_size; in bget()
622 th, requested_size); /* This can't, I say, can't get into a loop. */ in bget()