Home
last modified time | relevance | path

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

12

/openbsd/src/gnu/llvm/compiler-rt/lib/tsan/rtl/
Dtsan_malloc_mac.cpp42 #define COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size) \ argument
46 *memptr = p; \
49 SCOPED_INTERCEPTOR_RAW(posix_memalign, memptr, alignment, size); \
50 int res = user_posix_memalign(thr, pc, memptr, alignment, size);
Dtsan_mman.h43 int user_posix_memalign(ThreadState *thr, uptr pc, void **memptr, uptr align,
Dtsan_mman.cpp308 int user_posix_memalign(ThreadState *thr, uptr pc, void **memptr, uptr align, in user_posix_memalign() argument
321 *memptr = ptr; in user_posix_memalign()
/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/
Derr2.C3 void apply(foo *(foo::*memptr)()) { in apply() argument
4 this->*memptr(); // ERROR - wrong in apply()
/openbsd/src/gnu/llvm/compiler-rt/lib/dfsan/
Ddfsan_interceptors.cpp85 INTERCEPTOR(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() argument
86 CHECK_NE(memptr, 0); in INTERCEPTOR()
87 int res = __dfsan::dfsan_posix_memalign(memptr, alignment, size); in INTERCEPTOR()
89 dfsan_set_label(0, memptr, sizeof(*memptr)); in INTERCEPTOR()
Ddfsan_allocator.cpp257 int dfsan_posix_memalign(void **memptr, uptr alignment, uptr size) { in dfsan_posix_memalign() argument
269 *memptr = ptr; in dfsan_posix_memalign()
Ddfsan.h106 int dfsan_posix_memalign(void **memptr, uptr alignment, uptr size);
/openbsd/src/gnu/llvm/compiler-rt/lib/hwasan/
Dhwasan_allocation_functions.cpp32 int __sanitizer_posix_memalign(void **memptr, uptr alignment, uptr size) { in __sanitizer_posix_memalign() argument
34 CHECK_NE(memptr, 0); in __sanitizer_posix_memalign()
35 int res = hwasan_posix_memalign(memptr, alignment, size, &stack); in __sanitizer_posix_memalign()
153 INTERCEPTOR_ALIAS(int, posix_memalign, void **memptr, SIZE_T alignment,
Dhwasan.h121 int hwasan_posix_memalign(void **memptr, uptr alignment, uptr size,
Dhwasan_allocator.cpp466 int hwasan_posix_memalign(void **memptr, uptr alignment, uptr size, in hwasan_posix_memalign() argument
478 *memptr = ptr; in hwasan_posix_memalign()
/openbsd/src/gnu/llvm/compiler-rt/lib/lsan/
Dlsan_malloc_mac.cpp39 #define COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size) \ argument
41 int res = lsan_posix_memalign(memptr, alignment, size, stack)
Dlsan_allocator.cpp156 int lsan_posix_memalign(void **memptr, uptr alignment, uptr size, in lsan_posix_memalign() argument
168 *memptr = ptr; in lsan_posix_memalign()
Dlsan_allocator.h101 int lsan_posix_memalign(void **memptr, uptr alignment, uptr size,
Dlsan_interceptors.cpp108 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { in INTERCEPTOR() argument
111 return lsan_posix_memalign(memptr, alignment, size, stack); in INTERCEPTOR()
/openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_testlib.cpp149 int posix_memalign(void **memptr, size_t alignment, size_t size) { in posix_memalign() argument
152 *memptr = allocator.Allocate(&cache, size, alignment); in posix_memalign()
153 SANITIZER_MALLOC_HOOK(*memptr, size); in posix_memalign()
/openbsd/src/gnu/llvm/compiler-rt/lib/asan/
Dasan_malloc_linux.cpp144 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { in INTERCEPTOR() argument
146 return asan_posix_memalign(memptr, alignment, size, &stack); in INTERCEPTOR()
185 int (*posix_memalign)(void **memptr, uptr alignment, uptr size);
Dasan_malloc_mac.cpp41 #define COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size) \ argument
43 int res = asan_posix_memalign(memptr, alignment, size, &stack);
Dasan_allocator.h215 int asan_posix_memalign(void **memptr, uptr alignment, uptr size,
/openbsd/src/gnu/llvm/compiler-rt/include/sanitizer/
Dhwasan_interface.h79 int __sanitizer_posix_memalign(void **memptr, size_t alignment, size_t size);
/openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/
Dsanitizer_malloc_mac.inc170 INTERCEPTOR(int, posix_memalign, void **memptr, size_t alignment, size_t size) {
172 CHECK(memptr);
173 COMMON_MALLOC_POSIX_MEMALIGN(memptr, alignment, size);
/openbsd/src/gnu/llvm/compiler-rt/lib/msan/
Dmsan_allocator.cpp336 int msan_posix_memalign(void **memptr, uptr alignment, uptr size, in msan_posix_memalign() argument
348 *memptr = ptr; in msan_posix_memalign()
Dmsan.h247 int msan_posix_memalign(void **memptr, uptr alignment, uptr size,
Dmsan_interceptors.cpp159 INTERCEPTOR(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() argument
161 CHECK_NE(memptr, 0); in INTERCEPTOR()
162 int res = msan_posix_memalign(memptr, alignment, size, &stack); in INTERCEPTOR()
164 __msan_unpoison(memptr, sizeof(*memptr)); in INTERCEPTOR()
/openbsd/src/sbin/iked/
Dca.c1286 BUF_MEM *memptr; in ca_cert_info() local
1300 BIO_get_mem_ptr(rawserial, &memptr); in ca_cert_info()
1301 if (memptr->data != NULL && memptr->length < INT32_MAX) in ca_cert_info()
1302 log_info("%s: serial: %.*s", msg, (int)memptr->length, in ca_cert_info()
1303 memptr->data); in ca_cert_info()
/openbsd/src/gnu/llvm/compiler-rt/lib/scudo/standalone/
Dwrappers_c.inc109 INTERFACE WEAK int SCUDO_PREFIX(posix_memalign)(void **memptr, size_t alignment,
120 *memptr = Ptr;

12