Searched defs:realloc (Results 1 - 25 of 29) 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/llvm-project/openmp/runtime/src/
H A Dkmp_wrapper_malloc.h32 realloc
168 #define realloc(ptr, size) \ macro
H A Dkmp_runtime.cpp1128 int realloc); // forward declaration
2966 /* Allocate (realloc == FALSE) * or reallocate (realloc == TRUE)
2968 static void __kmp_alloc_argv_entries(int argc, kmp_team_t *team, int realloc) { argument
2971 if (!realloc || argc > team->t.t_max_argc) {
2975 team->t.t_id, argc, (realloc) ? team->t.t_max_argc : 0));
2977 if (realloc && team->t.t_argv != &team->t.t_inline_argv[0])
/freebsd-head/contrib/llvm-project/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/unbound/smallapp/
H A Dunbound-host.c52 #undef realloc macro
58 #undef realloc macro
/freebsd-head/sys/netpfil/ipfw/
H A Dip_fw_pfil.c338 bool mem, realloc; local
343 realloc = false;
347 mem = realloc = false;
395 realloc = true;
413 realloc = true;
432 if (realloc && ret == PFIL_PASS)
/freebsd-head/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_malloc_linux.cpp12 // 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.cpp134 void *realloc(void *ptr, size_t size) { function
147 return realloc(ptr, size);
176 // _expand is used in realloc-like functions to resize the buffer if possible.
353 // Pass through even when it's neither since this could be a null realloc or
499 TryToOverrideFunction("realloc", (uptr)realloc);
500 TryToOverrideFunction("_realloc_base", (uptr)realloc);
501 TryToOverrideFunction("_realloc_crt", (uptr)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/sys/net/
H A Dpfil.c170 bool realloc = false; local
193 realloc = true;
196 if (realloc && rv == PFIL_PASS)
/freebsd-head/contrib/jemalloc/include/jemalloc/
H A Djemalloc.h79 # define je_realloc realloc
391 # define realloc je_realloc macro
/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.h450 extern void *realloc(void *, size_t);
457 #define realloc(x, y) Realloc(x, y, __FILE__, __LINE__) macro
464 #define realloc(x, y) Realloc(x, y, NULL, 0) macro
/freebsd-head/sys/kern/
H A Dkern_malloc.c114 * When realloc() is called, if the new size is sufficiently smaller than
115 * the old size, realloc() will allocate a new, smaller block to avoid
866 * realloc: change the size of a memory block
869 realloc(void *addr, size_t size, struct malloc_type *mtp, int flags) function
877 ("realloc: bad malloc type magic"));
879 ("realloc: called with spinlock or critical section held"));
881 /* realloc(NULL, ...) is equivalent to malloc(...) */
904 ("realloc: address %p out of range", (void *)addr));
929 * reallocf: same as realloc() but free memory on failure.
936 if ((mem = realloc(add
[all...]
/freebsd-head/usr.sbin/unbound/
H A Dconfig.h1311 # define realloc(p,s) unbound_stat_realloc_log(p, s, __FILE__, __LINE__, __func__) macro

Completed in 190 milliseconds

12