Searched defs:realloc (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-head/crypto/heimdal/lib/roken/
H A Drealloc.c35 #undef realloc macro
45 return realloc(ptr, size);
/freebsd-head/contrib/ldns/compat/
H A Drealloc.c7 #undef realloc macro
11 void *realloc (void*, size_t);
28 return realloc(ptr, n);
/freebsd-head/contrib/ntp/sntp/unity/
H A Dunity_fixture_malloc_overrides.h13 #define realloc unity_realloc macro
H A Dunity_fixture.c165 #ifdef realloc
166 #undef realloc macro
251 TEST_FAIL_MESSAGE("Buffer overrun detected during realloc()");
/freebsd-head/sys/contrib/ck/include/
H A Dck_malloc.h35 void *(*realloc)(void *, size_t, size_t, bool); member in struct:ck_malloc
/freebsd-head/crypto/openssh/openbsd-compat/
H A Dbsd-malloc.c20 #undef realloc macro
55 return realloc(ptr, size);
/freebsd-head/contrib/openmp/runtime/src/
H A Dkmp_wrapper_malloc.h32 realloc
168 #define realloc(ptr, size) \ macro
/freebsd-head/contrib/compiler-rt/lib/scudo/
H A Dscudo_malloc.cpp31 INTERCEPTOR_ATTRIBUTE void *realloc(void *ptr, size_t size) { function
/freebsd-head/contrib/ntp/sntp/libopts/
H A Dautoopts.c78 void * res = (p == NULL) ? malloc(sz) : realloc(p, sz);
85 #undef realloc macro
86 #define realloc(_p,_s) ao_realloc(_p,_s) macro
/freebsd-head/contrib/unbound/util/
H A Dalloc.h196 # define realloc(p,s) unbound_stat_realloc_lite(p, s, __FILE__, __LINE__, __func__) macro
H A Dalloc.c430 #ifdef realloc
431 #undef realloc macro
433 /** realloc with stats */
440 return realloc(ptr, size);
457 log_info("stat realloc(%p, %u) from %u", ptr+16, (unsigned)size, (unsigned)cursz);
505 log_info("%s:%d %s realloc(%p, %u)", file, line, func,
515 #undef realloc macro
585 /* always free and realloc (no growing) */
600 log_err("realloc(): prefix failed %s:%d %s", file, line, func);
607 log_err("realloc()
[all...]
/freebsd-head/contrib/gcclibs/libmudflap/
H A Dmf-hooks1.c178 #undef realloc macro
179 WRAPPER(void *, realloc, void *buf, size_t c)
181 DECLARE(void * , realloc, void *, size_t);
186 BEGIN_PROTECT (realloc, buf, c);
195 result = (char *) CALL_REAL (realloc, base, size_with_crumple_zones);
212 __mfu_register (result, c, __MF_TYPE_HEAP_I, "realloc region");
/freebsd-head/contrib/unbound/smallapp/
H A Dunbound-host.c52 #undef realloc macro
58 #undef realloc macro
/freebsd-head/sys/netpfil/ipfw/
H A Dip_fw_pfil.c336 bool mem, realloc; local
341 realloc = false;
345 mem = realloc = false;
393 realloc = true;
411 realloc = true;
430 if (realloc && ret == PFIL_PASS)
/freebsd-head/contrib/compiler-rt/lib/asan/
H A Dasan_malloc_linux.cc12 // We simply define functions like malloc, free, realloc, etc.
158 INTERCEPTOR(void*, realloc, void *ptr, uptr size) {
254 void *(*realloc)(void *oldMem, uptr bytes); member in struct:MallocDebugK
268 void *(*realloc)(void *oldMem, uptr bytes); member in struct:MallocDebugL
274 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)};
279 WRAP(posix_memalign), WRAP(pvalloc), WRAP(realloc),
H A Dasan_malloc_win.cc137 void *realloc(void *ptr, size_t size) { function
150 return realloc(ptr, size);
179 // _expand is used in realloc-like functions to resize the buffer if possible.
356 // Pass through even when it's neither since this could be a null realloc or
502 TryToOverrideFunction("realloc", (uptr)realloc);
503 TryToOverrideFunction("_realloc_base", (uptr)realloc);
504 TryToOverrideFunction("_realloc_crt", (uptr)realloc);
/freebsd-head/contrib/gcclibs/libcpp/
H A Dsystem.h403 #undef realloc macro
405 #pragma GCC poison malloc realloc
/freebsd-head/contrib/wpa/src/utils/
H A Dos.h488 #define os_realloc(p, s) realloc((p), (s))
641 #define realloc OS_DO_NOT_USE_realloc macro
/freebsd-head/contrib/tcsh/
H A Dtc.alloc.c60 # define realloc frealloc macro
371 * old malloc man page, it realloc's an already freed block. Usually
378 * however many bytes was given to realloc() and hope it's not huge.
386 realloc(ptr_t cp, size_t nbytes) function
409 * the size of the memory block being realloc'd is the smallest
505 ** ``Protected versions'' of malloc, realloc, calloc, and free
511 ** 3. realloc(0, n) is bad
512 ** 4. realloc(n, 0) is bad
551 if ((ptr = (p ? realloc(p, n) : malloc(n))) == NULL)
H A Dtc.os.h454 # define realloc tcsh_realloc macro
504 extern memalign_t realloc();
/freebsd-head/contrib/gcc/
H A Dsystem.h410 extern void *realloc (void *, size_t);
633 #define really_call_realloc realloc
636 /* Flex and bison use malloc and realloc. Yuk. Note that this means
639 #define realloc xrealloc macro
655 #undef realloc macro
656 #pragma GCC poison malloc realloc
/freebsd-head/contrib/jemalloc/include/jemalloc/
H A Djemalloc.h75 # define je_realloc realloc
379 # define realloc je_realloc macro
/freebsd-head/sys/net/
H A Dpfil.c175 bool realloc = false; local
197 realloc = true;
201 if (realloc && rv == PFIL_PASS)
/freebsd-head/contrib/gdb/gdb/
H A Dremote-vx.c48 #define realloc bogon_realloc /* Sun claims "char *realloc()", not void * */ macro
52 #undef realloc macro
/freebsd-head/stand/libsa/
H A Dstand.h444 #define realloc(x, y) Realloc(x, y, __FILE__, __LINE__) macro
451 #define realloc(x, y) Realloc(x, y, NULL, 0) macro

Completed in 321 milliseconds

12