/src/sys/external/isc/libsodium/include/ |
stdlib.h | 2 #include <sys/malloc.h> 3 #undef malloc 5 #define malloc(size) __malloc_should_not_be_used macro
|
/src/sys/sys/ |
malloc.h | 1 /* $NetBSD: malloc.h,v 1.117 2018/10/14 17:37:40 jdolecek Exp $ */ 31 * @(#)malloc.h 8.5 (Berkeley) 5/3/95 40 * flags to malloc 49 * The following are standard, built-in malloc types that are 52 * They are currently not defined, but are still passed to malloc() 70 #define malloc(size, type, flags) kern_malloc(size, flags) macro
|
/src/sys/arch/ia64/stand/ia64/ski/ |
main.c | 63 static char malloc[512*1024]; local in function:ski_main 71 setheap((void *)malloc, (void *)(malloc + 512*1024));
|
/src/bin/sh/ |
options.h | 39 unsigned char malloc; /* if parameter list dynamically allocated */ member in struct:shparam
|
/src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
asan_malloc_win.cc | 12 // Windows-specific malloc interception. 68 void *malloc(size_t size) { function in typeref:typename:ALLOCATION_FUNCTION_ATTRIBUTE void * 75 return malloc(size); 80 return malloc(size); 161 // functions to detect a bit more bugs. Those functions seem to wrap malloc(). 230 TryToOverrideFunction("malloc", (uptr)malloc); 231 TryToOverrideFunction("_malloc_base", (uptr)malloc); 232 TryToOverrideFunction("_malloc_crt", (uptr)malloc);
|
asan_malloc_linux.cc | 12 // Linux-specific malloc interception. 13 // We simply define functions like malloc, free, realloc, etc. 54 // error messages and instead uses malloc followed by free. To avoid pool 141 INTERCEPTOR(void*, malloc, uptr size) { 143 // Hack: dlsym calls malloc before REAL(malloc) is retrieved from dlsym. 197 // We avoid including malloc.h for portability reasons. 244 void *(*malloc)(uptr bytes); member in struct:MallocDebugK 256 void *(*malloc)(uptr bytes); member in struct:MallocDebugL 266 WRAP(malloc), WRAP(free), WRAP(calloc) [all...] |
/src/tests/lib/libc/regex/ |
t_exhaust.c | 67 malloc(size_t l) function in typeref:typename:void * 71 if (m == NULL) m = dlsym(RTLD_NEXT, "malloc"); 85 if (f == NULL) f = dlsym(RTLD_NEXT, "malloc"); 95 char *p = malloc(slen * len + 1); 107 char *p = malloc(dlen + slen + 1);
|
/src/common/lib/libc/cdb/ |
cdbr.c | 58 #define malloc(size) kmem_alloc(size, KM_SLEEP) macro 169 cdbr = malloc(sizeof(*cdbr));
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
sanitizer_allocator_testlib.cc | 9 // Malloc replacement library based on CombinedAllocator. 104 void *malloc(size_t size) { function in typeref:typename:void * 196 void *operator new(size_t size) ALIAS("malloc"); 197 void *operator new[](size_t size) ALIAS("malloc"); 198 void *operator new(size_t size, std::nothrow_t const&) ALIAS("malloc"); 199 void *operator new[](size_t size, std::nothrow_t const&) ALIAS("malloc");
|
/src/lib/libbsdmalloc/ |
malloc.c | 1 /* $NetBSD: malloc.c,v 1.11 2025/01/20 20:00:52 riastradh Exp $ */ 35 static char sccsid[] = "@(#)malloc.c 8.1 (Berkeley) 6/4/93"; 37 __RCSID("$NetBSD: malloc.c,v 1.11 2025/01/20 20:00:52 riastradh Exp $"); 42 * malloc.c (Caltech) 2/21/82 163 * might, depending on the implementation, result in another malloc() 178 malloc(size_t nbytes) function in typeref:typename:void * 188 * First time malloc is called, setup page size and 344 * old malloc man page, it realloc's an already freed block. Usually 365 return (malloc(nbytes)); 423 if ((res = malloc(nbytes)) == NULL) [all...] |
/src/sys/arch/mips/rmi/ |
rmixl_firmware.h | 89 uint64_t malloc; member in struct:rmixlfw_info
|
/src/lib/libc/stdlib/ |
malloc.c | 1 /* $NetBSD: malloc.c,v 1.60 2020/05/15 14:37:21 joerg Exp $ */ 11 * From FreeBSD: malloc.c,v 1.91 2006/01/12 07:28:20 jasone 17 * to internal conditions and consistency in malloc.c. This has a 19 * any good unless you fiddle with the internals of malloc or want 39 * returned by malloc/realloc. 75 * Make malloc/free/realloc thread-safe in libc for use with 90 # define UTRACE_LABEL "malloc", 96 __RCSID("$NetBSD: malloc.c,v 1.60 2020/05/15 14:37:21 joerg Exp $"); 232 /* Pointer to page directory. Allocated "as if with" malloc */ 258 /* sysv behaviour for malloc(0) ? * 1210 malloc(size_t size) function in typeref:typename:void * [all...] |
jemalloc.c | 113 /* __FBSDID("$FreeBSD: src/lib/libc/stdlib/malloc.c,v 1.147 2007/06/15 22:00:16 jasone Exp $"); */ 138 #include <malloc.h> 809 /* Trace malloc/free for ktrace/kdump. */ 816 utrace("malloc", &ut, sizeof(ut)); \ 1232 ": (malloc) Error in munmap(): ", buf, "\n"); 1260 ": (malloc) Error in munmap(): ", buf, "\n"); 1332 * threads that are using brk for something other than malloc. 2626 ": (malloc) Error initializing arena\n", "", ""); 3140 _malloc_message("___ Begin malloc statistics ___\n", "", "", 3239 _malloc_message("--- End malloc statistics ---\n", "", "", "") 3578 malloc(size_t size) function in typeref:typename:void * [all...] |
/src/sys/arch/sparc/sparc/ |
promlib.c | 50 #define malloc(s,t,f) alloc(s) macro 54 #include <sys/malloc.h> 312 buf = malloc(len, M_DEVBUF, M_NOWAIT);
|
/src/sys/dev/ieee1394/ |
firewirereg.h | 261 struct malloc_type *malloc; member in struct:fw_xfer
|