Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h67 size_t AllocationSize; variable
78 AllocationSize(allocationSize), ObjAddress(objAddress) { in SectionEntry()
81 (void)AllocationSize; in SectionEntry()
90 assert(OffsetBytes <= AllocationSize && "Offset out of bounds!"); in getAddressWithOffset()
101 assert(OffsetBytes <= AllocationSize && "Offset out of bounds!"); in getLoadAddressWithOffset()
109 assert(StubOffset <= AllocationSize && "Not enough space allocated!"); in advanceStubOffset()
/openbsd-src/gnu/llvm/compiler-rt/lib/dfsan/
H A Ddfsan_allocator.cpp177 static uptr AllocationSize(const void *p) { in AllocationSize() function
295 int __sanitizer_get_ownership(const void *p) { return AllocationSize(p) != 0; } in __sanitizer_get_ownership()
297 uptr __sanitizer_get_allocated_size(const void *p) { return AllocationSize(p); } in __sanitizer_get_allocated_size()
/openbsd-src/gnu/llvm/compiler-rt/lib/msan/
H A Dmsan_allocator.cpp263 static uptr AllocationSize(const void *p) { in AllocationSize() function
374 int __sanitizer_get_ownership(const void *p) { return AllocationSize(p) != 0; } in __sanitizer_get_ownership()
376 uptr __sanitizer_get_allocated_size(const void *p) { return AllocationSize(p); } in __sanitizer_get_allocated_size()
/openbsd-src/gnu/llvm/compiler-rt/lib/asan/
H A Dasan_allocator.cpp792 uptr AllocationSize(uptr p) { in AllocationSize() function
1045 uptr usable_size = instance.AllocationSize(reinterpret_cast<uptr>(ptr)); in asan_malloc_usable_size()
1054 return instance.AllocationSize(reinterpret_cast<uptr>(ptr)); in asan_mz_size()
1171 return instance.AllocationSize(ptr) > 0; in __sanitizer_get_ownership()
1177 uptr allocated_size = instance.AllocationSize(ptr); in __sanitizer_get_allocated_size()
/openbsd-src/gnu/llvm/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp391 static uptr AllocationSize(const void *tagged_ptr) { in AllocationSize() function
626 int __sanitizer_get_ownership(const void *p) { return AllocationSize(p) != 0; } in __sanitizer_get_ownership()
628 uptr __sanitizer_get_allocated_size(const void *p) { return AllocationSize(p); } in __sanitizer_get_allocated_size()
/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Dcombined.h1059 atomic_uptr AllocationSize; member
1268 uptr AllocationSize, u32 DeallocationTrace, in storeRingBufferEntry() argument
1283 atomic_store_relaxed(&Entry->AllocationSize, AllocationSize); in storeRingBufferEntry()
1429 uptr EntrySize = atomic_load_relaxed(&Entry->AllocationSize); in getRingBufferErrorInfo()
/openbsd-src/gnu/llvm/compiler-rt/lib/memprof/
H A Dmemprof_allocator.cpp547 uptr AllocationSize(uptr p) { in AllocationSize() function
686 uptr usable_size = instance.AllocationSize(reinterpret_cast<uptr>(ptr)); in memprof_malloc_usable_size()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExprCXX.cpp2297 std::optional<llvm::APInt> AllocationSize; in BuildCXXNew() local
2300 AllocationSize = SingleEltSize; in BuildCXXNew()
2304 AllocationSize = llvm::APInt(SizeTyWidth, *KnownArraySize) in BuildCXXNew()
2313 Context, AllocationSize.value_or(llvm::APInt::getZero(SizeTyWidth)), in BuildCXXNew()
2338 CallArgs.emplace_back(AllocationSize in BuildCXXNew()