/src/sys/sys/ |
malloc.h | 72 #define realloc(ptr, size, type, flags) kern_realloc(ptr, size, flags) macro
|
/src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
asan_malloc_win.cc | 105 void *realloc(void *ptr, size_t size) { function in typeref:typename:ALLOCATION_FUNCTION_ATTRIBUTE void * 118 return realloc(ptr, size); 128 return realloc(p, size); 150 // _expand is used in realloc-like functions to resize the buffer if possible. 202 // Realloc should never reallocate in place. 236 TryToOverrideFunction("realloc", (uptr)realloc); 237 TryToOverrideFunction("_realloc_base", (uptr)realloc); 238 TryToOverrideFunction("_realloc_crt", (uptr)realloc);
|
asan_malloc_linux.cc | 13 // We simply define functions like malloc, free, realloc, etc. 159 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { 247 void *(*realloc)(void *oldMem, uptr bytes); member in struct:MallocDebugK 261 void *(*realloc)(void *oldMem, uptr bytes); member in struct:MallocDebugL 267 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)}; 272 WRAP(posix_memalign), WRAP(pvalloc), WRAP(realloc),
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
sanitizer_allocator_testlib.cc | 129 void *realloc(void *p, size_t size) { function in typeref:typename:void *
|
/src/lib/libbsdmalloc/ |
malloc.c | 344 * old malloc man page, it realloc's an already freed block. Usually 351 * however many bytes was given to realloc() and hope it's not huge. 356 realloc(void *cp, size_t nbytes) function in typeref:typename:void * 384 * the memory block being realloc'd is the 500 * These must all be in the same compilation unit as malloc, realloc,
|
/src/lib/libc/stdlib/ |
malloc.c | 39 * returned by malloc/realloc. 75 * Make malloc/free/realloc thread-safe in libc for use with 247 /* always realloc ? */ 1032 /* XXX: We could realloc/shrink the pagedir here I guess. */ 1273 realloc(void *ptr, size_t size) function in typeref:typename:void * 1276 return pubrealloc(ptr, size, " in realloc():");
|
jemalloc.c | 3718 realloc(void *ptr, size_t size) function in typeref:typename:void * 3741 ": (malloc) Error in realloc(): out of " 3756 ": (malloc) Error in realloc(): out of "
|