/freebsd-head/contrib/ldns/compat/ |
H A D | malloc.c | 1 /* Just a replacement, if the original malloc is not 7 #undef malloc macro 11 void *malloc (size_t n); 21 return malloc (n);
|
/freebsd-head/contrib/unbound/compat/ |
H A D | malloc.c | 1 /* Just a replacement, if the original malloc is not 5 #undef malloc macro 9 void *malloc (); 12 void *malloc (size_t n); 23 return malloc (n);
|
/freebsd-head/contrib/ntp/sntp/unity/ |
H A D | unity_fixture_malloc_overrides.h | 11 #define malloc unity_malloc macro
|
H A D | unity_fixture.c | 153 #ifdef malloc 154 #undef malloc macro 195 guard = (Guard*)malloc(size + sizeof(Guard) + 4);
|
/freebsd-head/sys/contrib/ck/include/ |
H A D | ck_malloc.h | 34 void *(*malloc)(size_t); member in struct:ck_malloc
|
/freebsd-head/sys/contrib/zstd/lib/freebsd/ |
H A D | stdlib.h | 34 #include <sys/malloc.h> 38 #undef malloc macro 39 #define malloc(x) (malloc)((x), M_ZSTD, M_WAITOK) macro
|
/freebsd-head/sys/contrib/openzfs/module/zstd/include/ |
H A D | stdlib.h | 47 * Define calloc, malloc, free to make building work. They are never really used 51 #define malloc(sz) NULL macro
|
/freebsd-head/contrib/gdb/gdb/ |
H A D | remote-vx68.c | 43 #ifdef _AIX /* IBM claims "void *malloc()" not char * */ 44 #define malloc bogon_malloc macro 50 #undef malloc macro
|
/freebsd-head/crypto/openssh/openbsd-compat/ |
H A D | bsd-malloc.c | 18 #undef malloc macro 31 return malloc(size); 54 return malloc(size);
|
H A D | getrrsetbyname-ldns.c | 59 #define malloc(x) (xmalloc(x)) macro 136 if ((rrset->rri_name = malloc(len)) == NULL) { 221 rdata->rdi_data = malloc(rdata->rdi_length);
|
/freebsd-head/contrib/llvm-project/clang/lib/Headers/ |
H A D | __clang_hip_runtime_wrapper.h | 34 static inline __device__ void *malloc(size_t __size) { function 39 static inline __device__ void *malloc(size_t __size) { function
|
/freebsd-head/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_wrapper_malloc.h | 3 * (malloc(), free(), and others). 26 underscore!) is declared in <malloc.h>. This header eliminates these 30 malloc 46 void * ptr = malloc( size ); // All the memory leaks will be reported at 94 #include <malloc.h> // Windows* OS: _alloca() declared in "malloc.h". 135 should be used in place of malloc() and free(), this allows enabling native 165 #define malloc(size) _malloc_dbg((size), KMP_MEM_BLOCK, __FILE__, __LINE__) macro 180 #define _malloc_src_loc(size, file, line) malloc((size)) 189 #define _malloc_src_loc(size) malloc((siz [all...] |
/freebsd-head/contrib/llvm-project/compiler-rt/lib/scudo/ |
H A D | scudo_malloc.cpp | 9 /// Interceptors for malloc related functions. 27 INTERCEPTOR_ATTRIBUTE void *malloc(size_t size) { function
|
/freebsd-head/contrib/ntp/sntp/libopts/ |
H A D | autoopts.c | 65 void * res = malloc(sz); 72 #undef malloc macro 73 #define malloc(_s) ao_malloc(_s) macro 78 void * res = (p == NULL) ? malloc(sz) : realloc(p, sz);
|
/freebsd-head/contrib/unbound/util/ |
H A D | alloc.h | 42 * o Avoid locking costs of getting global lock to call malloc(). 75 /** global allocator above this one. NULL for none (malloc/free) */ 193 # define malloc(s) unbound_stat_malloc_lite(s, __FILE__, __LINE__, __func__) macro
|
/freebsd-head/bin/sh/ |
H A D | options.h | 40 unsigned char malloc; /* if parameter list dynamically allocated */ member in struct:shparam
|
/freebsd-head/stand/libsa/ |
H A D | zalloc_malloc.c | 34 * MALLOC.C - malloc equivalent, runs on top of zalloc and uses sbrk 48 #ifdef malloc 49 #undef malloc macro
|
/freebsd-head/sys/netpfil/ipfw/ |
H A D | dn_heap.c | 40 #include <sys/malloc.h> 58 static void *my_malloc(int s) { return malloc(s); } 60 #define malloc(s, t, w) my_malloc(s) macro 407 ht = malloc(l, M_DN_HEAP, M_NOWAIT | M_ZERO);
|
/freebsd-head/sys/netinet/libalias/ |
H A D | alias_mod.h | 44 #undef malloc macro 45 #define malloc(x) malloc(x, M_ALIAS, M_NOWAIT|M_ZERO) macro
|
/freebsd-head/contrib/unbound/smallapp/ |
H A D | unbound-host.c | 49 #undef malloc macro 55 #undef malloc macro
|
/freebsd-head/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_malloc_linux.cpp | 11 // Linux-specific malloc interception. 12 // We simply define functions like malloc, free, realloc, etc. 53 // error messages and instead uses malloc followed by free. To avoid pool 140 INTERCEPTOR(void*, malloc, uptr size) { 142 // Hack: dlsym calls malloc before REAL(malloc) is retrieved from dlsym. 204 // We avoid including malloc.h for portability reasons. 251 void *(*malloc)(uptr bytes); member in struct:MallocDebugK 263 void *(*malloc)(uptr bytes); member in struct:MallocDebugL 273 WRAP(malloc), WRA [all...] |
/freebsd-head/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_kmem.c | 35 #include <sys/malloc.h> 56 #define malloc(size, type, flags) malloc(size) macro 81 p = malloc(MAX(size, 16), M_SOLARIS, kmflags);
|
/freebsd-head/lib/libnetmap/ |
H A D | libnetmap.h | 251 * Creates a new nmport_d using the malloc() method of the current default 476 * @ctx: pointer to the nmctx to use (for errors and malloc/free) 527 struct nmctx *ctx; /* the nmctx for errors and malloc/free */ 578 * - allow the user to override the malloc/free functions used by the library 579 * (malloc() and free() callbacks) 590 nmctx_malloc_cb malloc; member in struct:nmctx
|
/freebsd-head/sys/sys/ |
H A D | malloc.h | 33 * @(#)malloc.h 8.5 (Berkeley) 5/3/95 69 * Two malloc type structures are present: malloc_type, which is used by a 71 * malloc-owned statistics and other ABI-sensitive fields, such as the set of 72 * malloc statistics indexed by the compile-time MAXCPU constant. 110 * Public data structure describing a malloc type. Private data is hung off 111 * of ks_handle to avoid encoding internal malloc(9) data structures in 122 * Statistics structure headers for user space. The kern.malloc sysctl 124 * malloc type headers and statistics structures (quantity maxcpus). For 161 * has a chance to include <sys/malloc.h> to get MALLOC_DECLARE() defined. 169 * Function type used when iterating over the list of malloc type 221 #define malloc macro [all...] |
/freebsd-head/gnu/usr.bin/grep/ |
H A D | kwset.c | 43 # undef malloc macro 44 # define malloc xmalloc macro 48 #define obstack_chunk_alloc malloc 96 kwset = (struct kwset *) malloc(sizeof (struct kwset));
|