Searched defs:malloc (Results 1 - 25 of 45) sorted by relevance

12

/freebsd-head/contrib/ldns/compat/
H A Dmalloc.c1 /* 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 Dmalloc.c1 /* 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 Dunity_fixture_malloc_overrides.h11 #define malloc unity_malloc macro
H A Dunity_fixture.c153 #ifdef malloc
154 #undef malloc macro
195 guard = (Guard*)malloc(size + sizeof(Guard) + 4);
/freebsd-head/sys/contrib/ck/include/
H A Dck_malloc.h34 void *(*malloc)(size_t); member in struct:ck_malloc
/freebsd-head/sys/contrib/zstd/lib/freebsd/
H A Dstdlib.h34 #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 Dstdlib.h47 * 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 Dremote-vx68.c43 #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 Dbsd-malloc.c18 #undef malloc macro
31 return malloc(size);
54 return malloc(size);
H A Dgetrrsetbyname-ldns.c59 #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.h34 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 Dkmp_wrapper_malloc.h3 * (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 Dscudo_malloc.cpp9 /// Interceptors for malloc related functions.
27 INTERCEPTOR_ATTRIBUTE void *malloc(size_t size) { function
/freebsd-head/contrib/ntp/sntp/libopts/
H A Dautoopts.c65 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 Dalloc.h42 * 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 Doptions.h40 unsigned char malloc; /* if parameter list dynamically allocated */ member in struct:shparam
/freebsd-head/stand/libsa/
H A Dzalloc_malloc.c34 * 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 Ddn_heap.c40 #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 Dalias_mod.h44 #undef malloc macro
45 #define malloc(x) malloc(x, M_ALIAS, M_NOWAIT|M_ZERO) macro
/freebsd-head/contrib/unbound/smallapp/
H A Dunbound-host.c49 #undef malloc macro
55 #undef malloc macro
/freebsd-head/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_malloc_linux.cpp11 // 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 Dspl_kmem.c35 #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 Dlibnetmap.h251 * 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 Dmalloc.h33 * @(#)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 Dkwset.c43 # undef malloc macro
44 # define malloc xmalloc macro
48 #define obstack_chunk_alloc malloc
96 kwset = (struct kwset *) malloc(sizeof (struct kwset));

Completed in 202 milliseconds

12