Home
last modified time | relevance | path

Searched refs:aligned_ptr (Results 51 – 75 of 198) sorted by relevance

12345678

/dports/devel/tinygo/tinygo-0.14.1/lib/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cc215 void *aligned_ptr = reinterpret_cast<void *>( in HwasanDeallocate() local
218 reinterpret_cast<Metadata *>(allocator.GetMetaData(aligned_ptr)); in HwasanDeallocate()
229 reinterpret_cast<uptr>(aligned_ptr) + orig_size); in HwasanDeallocate()
243 internal_memset(aligned_ptr, flags()->free_fill_byte, fill_size); in HwasanDeallocate()
247 TagMemoryAligned(reinterpret_cast<uptr>(aligned_ptr), TaggedSize(orig_size), in HwasanDeallocate()
250 allocator.Deallocate(t->allocator_cache(), aligned_ptr); in HwasanDeallocate()
257 allocator.Deallocate(cache, aligned_ptr); in HwasanDeallocate()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp190 void *aligned_ptr = reinterpret_cast<void *>( in HwasanDeallocate() local
193 reinterpret_cast<Metadata *>(allocator.GetMetaData(aligned_ptr)); in HwasanDeallocate()
205 reinterpret_cast<uptr>(aligned_ptr) + orig_size); in HwasanDeallocate()
219 internal_memset(aligned_ptr, flags()->free_fill_byte, fill_size); in HwasanDeallocate()
223 TagMemoryAligned(reinterpret_cast<uptr>(aligned_ptr), TaggedSize(orig_size), in HwasanDeallocate()
226 allocator.Deallocate(t->allocator_cache(), aligned_ptr); in HwasanDeallocate()
233 allocator.Deallocate(cache, aligned_ptr); in HwasanDeallocate()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp214 void *aligned_ptr = reinterpret_cast<void *>( in HwasanDeallocate() local
218 reinterpret_cast<Metadata *>(allocator.GetMetaData(aligned_ptr)); in HwasanDeallocate()
230 reinterpret_cast<uptr>(aligned_ptr) + orig_size); in HwasanDeallocate()
244 internal_memset(aligned_ptr, flags()->free_fill_byte, fill_size); in HwasanDeallocate()
264 TagMemoryAligned(reinterpret_cast<uptr>(aligned_ptr), TaggedSize(orig_size), in HwasanDeallocate()
268 allocator.Deallocate(t->allocator_cache(), aligned_ptr); in HwasanDeallocate()
275 allocator.Deallocate(cache, aligned_ptr); in HwasanDeallocate()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp190 void *aligned_ptr = reinterpret_cast<void *>( in HwasanDeallocate() local
193 reinterpret_cast<Metadata *>(allocator.GetMetaData(aligned_ptr)); in HwasanDeallocate()
205 reinterpret_cast<uptr>(aligned_ptr) + orig_size); in HwasanDeallocate()
219 internal_memset(aligned_ptr, flags()->free_fill_byte, fill_size); in HwasanDeallocate()
223 TagMemoryAligned(reinterpret_cast<uptr>(aligned_ptr), TaggedSize(orig_size), in HwasanDeallocate()
226 allocator.Deallocate(t->allocator_cache(), aligned_ptr); in HwasanDeallocate()
233 allocator.Deallocate(cache, aligned_ptr); in HwasanDeallocate()
/dports/lang/gcc11/gcc-11.2.0/libsanitizer/hwasan/
H A Dhwasan_allocator.cpp191 void *aligned_ptr = reinterpret_cast<void *>( in HwasanDeallocate() local
194 reinterpret_cast<Metadata *>(allocator.GetMetaData(aligned_ptr)); in HwasanDeallocate()
206 reinterpret_cast<uptr>(aligned_ptr) + orig_size); in HwasanDeallocate()
220 internal_memset(aligned_ptr, flags()->free_fill_byte, fill_size); in HwasanDeallocate()
224 TagMemoryAligned(reinterpret_cast<uptr>(aligned_ptr), TaggedSize(orig_size), in HwasanDeallocate()
227 allocator.Deallocate(t->allocator_cache(), aligned_ptr); in HwasanDeallocate()
234 allocator.Deallocate(cache, aligned_ptr); in HwasanDeallocate()
/dports/lang/gcc11-devel/gcc-11-20211009/libsanitizer/hwasan/
H A Dhwasan_allocator.cpp191 void *aligned_ptr = reinterpret_cast<void *>( in HwasanDeallocate() local
194 reinterpret_cast<Metadata *>(allocator.GetMetaData(aligned_ptr)); in HwasanDeallocate()
206 reinterpret_cast<uptr>(aligned_ptr) + orig_size); in HwasanDeallocate()
220 internal_memset(aligned_ptr, flags()->free_fill_byte, fill_size); in HwasanDeallocate()
224 TagMemoryAligned(reinterpret_cast<uptr>(aligned_ptr), TaggedSize(orig_size), in HwasanDeallocate()
227 allocator.Deallocate(t->allocator_cache(), aligned_ptr); in HwasanDeallocate()
234 allocator.Deallocate(cache, aligned_ptr); in HwasanDeallocate()
/dports/devel/llvm12/llvm-project-12.0.1.src/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp191 void *aligned_ptr = reinterpret_cast<void *>( in HwasanDeallocate() local
194 reinterpret_cast<Metadata *>(allocator.GetMetaData(aligned_ptr)); in HwasanDeallocate()
206 reinterpret_cast<uptr>(aligned_ptr) + orig_size); in HwasanDeallocate()
220 internal_memset(aligned_ptr, flags()->free_fill_byte, fill_size); in HwasanDeallocate()
224 TagMemoryAligned(reinterpret_cast<uptr>(aligned_ptr), TaggedSize(orig_size), in HwasanDeallocate()
227 allocator.Deallocate(t->allocator_cache(), aligned_ptr); in HwasanDeallocate()
234 allocator.Deallocate(cache, aligned_ptr); in HwasanDeallocate()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp214 void *aligned_ptr = reinterpret_cast<void *>( in HwasanDeallocate() local
218 reinterpret_cast<Metadata *>(allocator.GetMetaData(aligned_ptr)); in HwasanDeallocate()
230 reinterpret_cast<uptr>(aligned_ptr) + orig_size); in HwasanDeallocate()
244 internal_memset(aligned_ptr, flags()->free_fill_byte, fill_size); in HwasanDeallocate()
264 TagMemoryAligned(reinterpret_cast<uptr>(aligned_ptr), TaggedSize(orig_size), in HwasanDeallocate()
268 allocator.Deallocate(t->allocator_cache(), aligned_ptr); in HwasanDeallocate()
275 allocator.Deallocate(cache, aligned_ptr); in HwasanDeallocate()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp191 void *aligned_ptr = reinterpret_cast<void *>( in HwasanDeallocate() local
194 reinterpret_cast<Metadata *>(allocator.GetMetaData(aligned_ptr)); in HwasanDeallocate()
206 reinterpret_cast<uptr>(aligned_ptr) + orig_size); in HwasanDeallocate()
220 internal_memset(aligned_ptr, flags()->free_fill_byte, fill_size); in HwasanDeallocate()
224 TagMemoryAligned(reinterpret_cast<uptr>(aligned_ptr), TaggedSize(orig_size), in HwasanDeallocate()
227 allocator.Deallocate(t->allocator_cache(), aligned_ptr); in HwasanDeallocate()
234 allocator.Deallocate(cache, aligned_ptr); in HwasanDeallocate()
/dports/devel/wasi-compiler-rt11/compiler-rt-11.0.1.src/lib/hwasan/
H A Dhwasan_allocator.cpp190 void *aligned_ptr = reinterpret_cast<void *>( in HwasanDeallocate() local
193 reinterpret_cast<Metadata *>(allocator.GetMetaData(aligned_ptr)); in HwasanDeallocate()
205 reinterpret_cast<uptr>(aligned_ptr) + orig_size); in HwasanDeallocate()
219 internal_memset(aligned_ptr, flags()->free_fill_byte, fill_size); in HwasanDeallocate()
223 TagMemoryAligned(reinterpret_cast<uptr>(aligned_ptr), TaggedSize(orig_size), in HwasanDeallocate()
226 allocator.Deallocate(t->allocator_cache(), aligned_ptr); in HwasanDeallocate()
233 allocator.Deallocate(cache, aligned_ptr); in HwasanDeallocate()
/dports/misc/cxx_atomics_pic/gcc-11.2.0/libsanitizer/hwasan/
H A Dhwasan_allocator.cpp191 void *aligned_ptr = reinterpret_cast<void *>( in HwasanDeallocate() local
194 reinterpret_cast<Metadata *>(allocator.GetMetaData(aligned_ptr)); in HwasanDeallocate()
206 reinterpret_cast<uptr>(aligned_ptr) + orig_size); in HwasanDeallocate()
220 internal_memset(aligned_ptr, flags()->free_fill_byte, fill_size); in HwasanDeallocate()
224 TagMemoryAligned(reinterpret_cast<uptr>(aligned_ptr), TaggedSize(orig_size), in HwasanDeallocate()
227 allocator.Deallocate(t->allocator_cache(), aligned_ptr); in HwasanDeallocate()
234 allocator.Deallocate(cache, aligned_ptr); in HwasanDeallocate()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp214 void *aligned_ptr = reinterpret_cast<void *>( in HwasanDeallocate() local
218 reinterpret_cast<Metadata *>(allocator.GetMetaData(aligned_ptr)); in HwasanDeallocate()
230 reinterpret_cast<uptr>(aligned_ptr) + orig_size); in HwasanDeallocate()
244 internal_memset(aligned_ptr, flags()->free_fill_byte, fill_size); in HwasanDeallocate()
264 TagMemoryAligned(reinterpret_cast<uptr>(aligned_ptr), TaggedSize(orig_size), in HwasanDeallocate()
268 allocator.Deallocate(t->allocator_cache(), aligned_ptr); in HwasanDeallocate()
275 allocator.Deallocate(cache, aligned_ptr); in HwasanDeallocate()
/dports/devel/llvm13/llvm-project-13.0.1.src/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp214 void *aligned_ptr = reinterpret_cast<void *>( in HwasanDeallocate() local
218 reinterpret_cast<Metadata *>(allocator.GetMetaData(aligned_ptr)); in HwasanDeallocate()
230 reinterpret_cast<uptr>(aligned_ptr) + orig_size); in HwasanDeallocate()
244 internal_memset(aligned_ptr, flags()->free_fill_byte, fill_size); in HwasanDeallocate()
264 TagMemoryAligned(reinterpret_cast<uptr>(aligned_ptr), TaggedSize(orig_size), in HwasanDeallocate()
268 allocator.Deallocate(t->allocator_cache(), aligned_ptr); in HwasanDeallocate()
275 allocator.Deallocate(cache, aligned_ptr); in HwasanDeallocate()
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/app/netcache/
H A Dmemory_man.cpp367 size_t aligned_ptr = ptr, new_size = size; in s_SysAllocLongWay() local
370 aligned_ptr = (ptr & kMMAllocPageMask); in s_SysAllocLongWay()
373 aligned_ptr = (ptr & kMMAllocPageMask); in s_SysAllocLongWay()
374 if (aligned_ptr == ptr) { in s_SysAllocLongWay()
377 aligned_ptr += kMMAllocPageSize; in s_SysAllocLongWay()
378 if ((ptr + new_size > aligned_ptr) && (ptr + new_size - aligned_ptr >= size)) { in s_SysAllocLongWay()
381 ptr = aligned_ptr; in s_SysAllocLongWay()
435 if (aligned_ptr == ptr) { in s_SysAllocLongWay()
439 aligned_ptr += kMMAllocPageSize; in s_SysAllocLongWay()
441 s_DoUnmap((void*)(aligned_ptr + size), in s_SysAllocLongWay()
[all …]
/dports/lang/gcc12-devel/gcc-12-20211205/libsanitizer/hwasan/
H A Dhwasan_allocator.cpp233 void *aligned_ptr = reinterpret_cast<void *>( in HwasanDeallocate() local
237 reinterpret_cast<Metadata *>(allocator.GetMetaData(aligned_ptr)); in HwasanDeallocate()
253 reinterpret_cast<uptr>(aligned_ptr) + orig_size); in HwasanDeallocate()
271 internal_memset(aligned_ptr, flags()->free_fill_byte, fill_size); in HwasanDeallocate()
290 TagMemoryAligned(reinterpret_cast<uptr>(aligned_ptr), TaggedSize(orig_size), in HwasanDeallocate()
294 allocator.Deallocate(t->allocator_cache(), aligned_ptr); in HwasanDeallocate()
301 allocator.Deallocate(cache, aligned_ptr); in HwasanDeallocate()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp233 void *aligned_ptr = reinterpret_cast<void *>( in HwasanDeallocate() local
237 reinterpret_cast<Metadata *>(allocator.GetMetaData(aligned_ptr)); in HwasanDeallocate()
253 reinterpret_cast<uptr>(aligned_ptr) + orig_size); in HwasanDeallocate()
271 internal_memset(aligned_ptr, flags()->free_fill_byte, fill_size); in HwasanDeallocate()
290 TagMemoryAligned(reinterpret_cast<uptr>(aligned_ptr), TaggedSize(orig_size), in HwasanDeallocate()
294 allocator.Deallocate(t->allocator_cache(), aligned_ptr); in HwasanDeallocate()
301 allocator.Deallocate(cache, aligned_ptr); in HwasanDeallocate()
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/plugin/clone/include/
H A Dclone_os.h126 auto aligned_ptr = in clone_os_align() local
129 return (aligned_ptr); in clone_os_align()
/dports/net/ntpsec/ntpsec-NTPsec_1_2_1/include/
H A Dntp_types.h110 #define INC_ALIGNED_PTR(b, m) ((void *)aligned_ptr((void *)(b), m))
114 aligned_ptr( in aligned_ptr() function
/dports/devel/android-tools-adb/platform_system_core-android-9.0.0_r3/libmemunreachable/
H A DAllocator.cpp137 void* aligned_ptr = ptr; in MapAligned() local
139 std::align(align, size, aligned_ptr, aligned_size); in MapAligned()
142 if (aligned_ptr != ptr) { in MapAligned()
143 ptrdiff_t extra = reinterpret_cast<uintptr_t>(aligned_ptr) - reinterpret_cast<uintptr_t>(ptr); in MapAligned()
146 ptr = aligned_ptr; in MapAligned()
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/libmemunreachable/
H A DAllocator.cpp137 void* aligned_ptr = ptr; in MapAligned() local
139 std::align(align, size, aligned_ptr, aligned_size); in MapAligned()
142 if (aligned_ptr != ptr) { in MapAligned()
143 ptrdiff_t extra = reinterpret_cast<uintptr_t>(aligned_ptr) - reinterpret_cast<uintptr_t>(ptr); in MapAligned()
146 ptr = aligned_ptr; in MapAligned()
/dports/math/e-antic/flint2-ae7ec89/fmpz/link/
H A Dfmpz_single.c70 void * aligned_ptr, * ptr; in _fmpz_new_mpz() local
82 aligned_ptr = flint_align_ptr(ptr, flint_page_size); in _fmpz_new_mpz()
99 __mpz_struct * page_ptr = (__mpz_struct *)((slong) aligned_ptr + i*flint_page_size); in _fmpz_new_mpz()
/dports/math/e-antic/e-antic-1.0.0-rc.13/libeantic/upstream/antic/fmpz/link/
H A Dfmpz_single.c70 void * aligned_ptr, * ptr; in _fmpz_new_mpz() local
82 aligned_ptr = flint_align_ptr(ptr, flint_page_size); in _fmpz_new_mpz()
99 __mpz_struct * page_ptr = (__mpz_struct *)((slong) aligned_ptr + i*flint_page_size); in _fmpz_new_mpz()
/dports/math/flint2/flint-2.8.4/fmpz/link/
H A Dfmpz_single.c70 void * aligned_ptr, * ptr; in _fmpz_new_mpz() local
82 aligned_ptr = flint_align_ptr(ptr, flint_page_size); in _fmpz_new_mpz()
99 __mpz_struct * page_ptr = (__mpz_struct *)((slong) aligned_ptr + i*flint_page_size); in _fmpz_new_mpz()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/libcxx/test/support/
H A Dcontrolled_allocators.h367 char* aligned_ptr = (char*)::operator new(alloc_size(n*sizeof(T))); in allocate() local
368 assert(is_max_aligned(aligned_ptr)); in allocate()
370 char* unaligned_ptr = aligned_ptr + alignof(T); in allocate()
381 char* aligned_ptr = ((char*)p) - alignof(T); in deallocate() local
382 assert(is_max_aligned(aligned_ptr)); in deallocate()
386 return ::operator delete(static_cast<void*>(aligned_ptr)); in deallocate()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/libcxx/test/support/
H A Dcontrolled_allocators.h367 char* aligned_ptr = (char*)::operator new(alloc_size(n*sizeof(T))); in allocate() local
368 assert(is_max_aligned(aligned_ptr)); in allocate()
370 char* unaligned_ptr = aligned_ptr + alignof(T); in allocate()
381 char* aligned_ptr = ((char*)p) - alignof(T); in deallocate() local
382 assert(is_max_aligned(aligned_ptr)); in deallocate()
386 return ::operator delete(static_cast<void*>(aligned_ptr)); in deallocate()

12345678