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

12

/freebsd-head/contrib/unbound/compat/
H A Dmalloc.c1 /* Just a replacement, if the original malloc is not
5 #undef malloc macro
8 void *malloc ();
18 return malloc (n);
/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/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/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/contrib/gcc/config/i386/
H A Dnetware-libgcc.c2 libgcc_s to use libc's malloc & Co., which associate allocations
50 malloc (size_t size) function
/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/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/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/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/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/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_kmem.c33 #include <sys/malloc.h>
52 #define malloc(size, type, flags) malloc(size) macro
77 p = malloc(size, M_SOLARIS, kmflags);
/freebsd-head/contrib/gcclibs/libmudflap/
H A Dmf-hooks1.c100 #undef malloc macro
101 WRAPPER(void *, malloc, size_t c)
104 DECLARE(void *, malloc, size_t c);
106 BEGIN_PROTECT (malloc, c);
112 result = (char *) CALL_REAL (malloc, size_with_crumple_zones);
118 __mf_register (result, c, __MF_TYPE_HEAP, "malloc region");
141 DECLARE(void *, malloc, size_t);
151 result = (char *) CALL_REAL (malloc, size_with_crumple_zones);
407 DECLARE (void *, malloc, size_t);
450 track = (struct alloca_tracking *) CALL_REAL (malloc,
[all...]
/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/sys/sys/
H A Dmalloc.h33 * @(#)malloc.h 8.5 (Berkeley) 5/3/95
68 * Two malloc type structures are present: malloc_type, which is used by a
70 * malloc-owned statistics and other ABI-sensitive fields, such as the set of
71 * malloc statistics indexed by the compile-time MAXCPU constant.
109 * Public data structure describing a malloc type. Private data is hung off
110 * of ks_handle to avoid encoding internal malloc(9) data structures in
121 * Statistics structure headers for user space. The kern.malloc sysctl
123 * malloc type headers and statistics structures (quantity maxcpus). For
160 * has a chance to include <sys/malloc.h> to get MALLOC_DECLARE() defined.
168 * Function type used when iterating over the list of malloc type
220 #define malloc macro
[all...]
/freebsd-head/contrib/compiler-rt/lib/asan/
H A Dasan_malloc_linux.cc11 // 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/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));
/freebsd-head/contrib/gcclibs/libcpp/
H A Dsystem.h402 #undef malloc macro
405 #pragma GCC poison malloc realloc

Completed in 367 milliseconds

12