Home
last modified time | relevance | path

Searched refs:SIZE_T (Results 1 – 25 of 25) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan_allocation_functions.cpp153 INTERCEPTOR_ALIAS(int, posix_memalign, void **memptr, SIZE_T alignment,
154 SIZE_T size);
155 INTERCEPTOR_ALIAS(void *, aligned_alloc, SIZE_T alignment, SIZE_T size);
156 INTERCEPTOR_ALIAS(void *, __libc_memalign, SIZE_T alignment, SIZE_T size);
157 INTERCEPTOR_ALIAS(void *, valloc, SIZE_T size);
160 INTERCEPTOR_ALIAS(void *, calloc, SIZE_T nmemb, SIZE_T size);
161 INTERCEPTOR_ALIAS(void *, realloc, void *ptr, SIZE_T size);
162 INTERCEPTOR_ALIAS(void *, reallocarray, void *ptr, SIZE_T nmemb, SIZE_T size);
163 INTERCEPTOR_ALIAS(void *, malloc, SIZE_T size);
166 INTERCEPTOR_ALIAS(void *, memalign, SIZE_T alignment, SIZE_T size);
[all …]
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Ddfsan_interceptors.cpp36 INTERCEPTOR(void *, reallocarray, void *ptr, SIZE_T nmemb, SIZE_T size) { in INTERCEPTOR()
40 INTERCEPTOR(void *, __libc_memalign, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR()
47 INTERCEPTOR(void *, aligned_alloc, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR()
51 INTERCEPTOR(void *, calloc, SIZE_T nmemb, SIZE_T size) { in INTERCEPTOR()
57 INTERCEPTOR(void *, realloc, void *ptr, SIZE_T size) { in INTERCEPTOR()
63 INTERCEPTOR(void *, malloc, SIZE_T size) { in INTERCEPTOR()
85 INTERCEPTOR(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR()
93 INTERCEPTOR(void *, memalign, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR()
99 INTERCEPTOR(void *, pvalloc, SIZE_T size) { in INTERCEPTOR()
132 INTERCEPTOR(void *, mmap, void *addr, SIZE_T length, int prot, int flags, in INTERCEPTOR()
[all …]
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Windows/
H A Drtlallocateheap_zero.cpp10 using AllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, SIZE_T);
11 using ReAllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, PVOID, SIZE_T);
34 SIZE_T buffer_size = 32; in main()
35 SIZE_T new_buffer_size = buffer_size * 2; in main()
40 for (SIZE_T i = 0; i < buffer_size; ++i) { in main()
49 for (SIZE_T i = 0; i < buffer_size; ++i) { in main()
53 for (SIZE_T i = buffer_size; i < new_buffer_size; ++i) { in main()
61 for (SIZE_T i = 0; i < buffer_size; ++i) { in main()
H A Drtlallocateheap_dll_unload_realloc.cpp14 using AllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, SIZE_T);
16 using RtlReAllocateHeapPtr = PVOID(__stdcall *)(PVOID, ULONG, PVOID, SIZE_T);
H A Dheapalloc_rtl_transfer.cpp10 using AllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, SIZE_T);
11 using ReAllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, PVOID, SIZE_T);
H A Drtlallocateheap.cpp9 using AllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, SIZE_T);
H A Drtlallocateheap_flags_fallback.cpp11 using AllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, SIZE_T);
H A Drtlallocateheap_dll_unload_double_free.cpp14 using AllocateFunctionPtr = PVOID(__stdcall *)(PVOID, ULONG, SIZE_T);
/llvm-project-15.0.7/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp59 DECLARE_REAL(SIZE_T, strnlen, const char *s, SIZE_T maxlen)
123 INTERCEPTOR(SIZE_T, fread_unlocked, void *ptr, SIZE_T size, SIZE_T nmemb, in INTERCEPTOR() argument
169 INTERCEPTOR(void *, memalign, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR()
178 INTERCEPTOR(void *, aligned_alloc, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR()
184 INTERCEPTOR(void *, __libc_memalign, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR()
492 INTERCEPTOR(SIZE_T, strftime, char *s, SIZE_T max, const char *format, in INTERCEPTOR() argument
497 INTERCEPTOR(SIZE_T, strftime_l, char *s, SIZE_T max, const char *format, in INTERCEPTOR() argument
503 INTERCEPTOR(SIZE_T, __strftime_l, char *s, SIZE_T max, const char *format, in INTERCEPTOR() argument
542 INTERCEPTOR(SIZE_T, mbrtowc, wchar_t *dest, const char *src, SIZE_T n, in INTERCEPTOR() argument
900 INTERCEPTOR(void *, calloc, SIZE_T nmemb, SIZE_T size) { in INTERCEPTOR()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc403 SIZE_T *size;
470 INTERCEPTOR(SIZE_T, strnlen, const char *s, SIZE_T maxlen) {
1069 SIZE_T iovlen, SIZE_T maxlen) {
1078 SIZE_T iovlen, SIZE_T maxlen) {
1107 INTERCEPTOR(SIZE_T, fread, void *ptr, SIZE_T size, SIZE_T nmemb, void *file) {
3909 INTERCEPTOR(SIZE_T, confstr, int name, char *buf, SIZE_T len) {
7257 INTERCEPTOR(SIZE_T, wcsnlen, const wchar_t *s, SIZE_T n) {
7632 SIZE_T res;
8252 SIZE_T *oldlenp, void *newp, SIZE_T newlen) {
9661 SIZE_T keylen, const void *data, SIZE_T datalen) {
[all …]
H A Dsanitizer_allocator_dlsym.h42 static void *Callocate(SIZE_T nmemb, SIZE_T size) { in Callocate()
H A Dsanitizer_common_interceptors_netbsd_compat.inc85 INTERCEPTOR(int, getvfsstat, void *buf, SIZE_T bufsize, int flags) {
H A Dsanitizer_common_syscalls.inc135 static void kernel_write_iovec(const __sanitizer_iovec *iovec, SIZE_T iovlen,
136 SIZE_T maxlen) {
137 for (SIZE_T i = 0; i < iovlen && maxlen; ++i) {
146 static void kernel_read_iovec(const __sanitizer_iovec *iovec, SIZE_T iovlen,
147 SIZE_T maxlen) {
149 for (SIZE_T i = 0; i < iovlen && maxlen; ++i) {
3121 __sanitizer_kernel_sigaction_t *oldact, SIZE_T sz) {
3131 __sanitizer_kernel_sigaction_t *oldact, SIZE_T sz) {
3133 SIZE_T oldact_sz = ((char *)&oldact->sa_mask) - ((char *)oldact) + sz;
H A Dsanitizer_common_interceptors_format.inc125 return sizeof(SIZE_T);
/llvm-project-15.0.7/openmp/runtime/src/
H A Dz_Windows_NT_util.cpp52 SIZE_T PeakVirtualSize;
53 SIZE_T VirtualSize;
55 SIZE_T PeakWorkingSetSize;
56 SIZE_T WorkingSetSize;
57 SIZE_T QuotaPeakPagedPoolUsage;
58 SIZE_T QuotaPagedPoolUsage;
60 SIZE_T QuotaNonPagedPoolUsage;
61 SIZE_T PagefileUsage;
62 SIZE_T PeakPagefileUsage;
63 SIZE_T PrivatePageCount;
[all …]
/llvm-project-15.0.7/compiler-rt/lib/interception/
H A Dinterception_type_test.cpp22 COMPILER_CHECK(sizeof(::SIZE_T) == sizeof(size_t));
H A Dinterception.h27 typedef __sanitizer::uptr SIZE_T; typedef
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_interceptors.h38 DECLARE_REAL(SIZE_T, strlen, const char *s)
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_interceptors.h131 DECLARE_REAL(SIZE_T, strlen, const char *s)
H A Dasan_win.cpp141 SIZE_T stack_size, LPTHREAD_START_ROUTINE start_routine, in INTERCEPTOR_WINAPI()
/llvm-project-15.0.7/lldb/source/Plugins/Process/Windows/Common/
H A DProcessDebugger.cpp281 SIZE_T num_of_bytes_read = 0; in ReadMemory()
310 SIZE_T num_of_bytes_written = 0; in WriteMemory()
402 SIZE_T result = ::VirtualQueryEx(handle, addr, &mem_info, sizeof(mem_info)); in GetMemoryRegionInfo()
/llvm-project-15.0.7/compiler-rt/lib/tsan/dd/
H A Ddd_interceptors.cpp231 INTERCEPTOR(SSIZE_T, read, int fd, void *ptr, SIZE_T count) { in INTERCEPTOR()
236 INTERCEPTOR(SSIZE_T, pread, int fd, void *ptr, SIZE_T count, OFF_T offset) { in INTERCEPTOR()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_interceptors_posix.cpp781 void *addr, SIZE_T sz, int prot, int flags, in mmap_interceptor()
2261 typedef int (*dl_iterate_phdr_cb_t)(__sanitizer_dl_phdr_info *info, SIZE_T size,
2274 static int dl_iterate_phdr_cb(__sanitizer_dl_phdr_info *info, SIZE_T size, in dl_iterate_phdr_cb()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_posix.cpp786 void *addr, SIZE_T sz, int prot, int flags, in mmap_interceptor()
2267 typedef int (*dl_iterate_phdr_cb_t)(__sanitizer_dl_phdr_info *info, SIZE_T size,
2280 static int dl_iterate_phdr_cb(__sanitizer_dl_phdr_info *info, SIZE_T size, in dl_iterate_phdr_cb()
/llvm-project-15.0.7/llvm/lib/Support/Windows/
H A DPath.inc890 SIZE_T Result = VirtualQuery(Mapping, &mbi, sizeof(mbi));