| /freebsd-12.1/contrib/compiler-rt/lib/asan/ |
| H A D | asan_malloc_win.cc | 105 void *realloc(void *ptr, size_t size) { in realloc() function 118 return realloc(ptr, size); in _realloc_base() 128 return realloc(p, size); in _recalloc() 236 TryToOverrideFunction("realloc", (uptr)realloc); in ReplaceSystemMalloc() 237 TryToOverrideFunction("_realloc_base", (uptr)realloc); in ReplaceSystemMalloc() 238 TryToOverrideFunction("_realloc_crt", (uptr)realloc); in ReplaceSystemMalloc()
|
| H A D | asan_malloc_linux.cc | 159 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { in INTERCEPTOR() argument 247 void *(*realloc)(void *oldMem, uptr bytes); member 261 void *(*realloc)(void *oldMem, uptr bytes); member 267 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)}; 272 WRAP(posix_memalign), WRAP(pvalloc), WRAP(realloc),
|
| /freebsd-12.1/contrib/ldns/compat/ |
| H A D | realloc.c | 7 #undef realloc 11 void *realloc (void*, size_t); 28 return realloc(ptr, n); in rpl_realloc()
|
| /freebsd-12.1/tools/regression/redzone9/ |
| H A D | redzone.c | 75 p = realloc(p, 10, M_TEMP, M_NOWAIT); in redzone_sysctl() 84 p = realloc(p, 10, M_TEMP, M_NOWAIT); in redzone_sysctl() 93 p = realloc(p, 8192, M_TEMP, M_NOWAIT); in redzone_sysctl() 102 p = realloc(p, 8192, M_TEMP, M_NOWAIT); in redzone_sysctl()
|
| /freebsd-12.1/usr.bin/indent/ |
| H A D | indent_globs.h | 59 codebuf = (char *) realloc(codebuf, nsize); \ 75 combuf = (char *) realloc(combuf, nsize); \ 88 labbuf = (char *) realloc(labbuf, nsize); \ 99 tokenbuf = (char *) realloc(tokenbuf, nsize); \
|
| /freebsd-12.1/contrib/pf/libevent/ |
| H A D | select.c | 231 if ((readset_in = realloc(sop->event_readset_in, fdsz)) == NULL) in select_resize() 234 if ((readset_out = realloc(sop->event_readset_out, fdsz)) == NULL) in select_resize() 237 if ((writeset_in = realloc(sop->event_writeset_in, fdsz)) == NULL) in select_resize() 240 if ((writeset_out = realloc(sop->event_writeset_out, fdsz)) == NULL) in select_resize() 243 if ((r_by_fd = realloc(sop->event_r_by_fd, in select_resize() 247 if ((w_by_fd = realloc(sop->event_w_by_fd, in select_resize()
|
| H A D | poll.c | 239 tmp_event_set = realloc(pop->event_set, in poll_add() 247 tmp_event_r_back = realloc(pop->event_r_back, in poll_add() 256 tmp_event_w_back = realloc(pop->event_w_back, in poll_add() 278 realloc(pop->idxplus1_by_fd, new_count * sizeof(int)); in poll_add()
|
| /freebsd-12.1/usr.bin/whereis/ |
| H A D | whereis.c | 124 *dirlist = realloc(*dirlist, (i + 1) * sizeof(char *)); in scanopts() 211 *cppp = realloc(*cppp, (*ip + 2) * sizeof(char *)); in decolonify() 281 bindirs = realloc(bindirs, (nele + 2) * sizeof(char *)); in defaults() 368 sourcedirs = realloc(sourcedirs, in defaults() 464 bin = realloc(bin, in main() 536 man = realloc(man, in main() 575 src = realloc(src, in main() 643 src = realloc(src, in main()
|
| /freebsd-12.1/contrib/elftoolchain/libdwarf/ |
| H A D | libdwarf_rw.c | 207 *block = realloc(*block, (size_t) *size); in _dwarf_write_lsb_alloc() 263 *block = realloc(*block, (size_t) *size); in _dwarf_write_msb_alloc() 332 *block = realloc(*block, (size_t) *size); in _dwarf_write_sleb128_alloc() 395 *block = realloc(*block, (size_t) *size); in _dwarf_write_uleb128_alloc() 489 *block = realloc(*block, (size_t) *size); in _dwarf_write_string_alloc() 533 *block = realloc(*block, (size_t) *size); in _dwarf_write_block_alloc() 564 *block = realloc(*block, (size_t) *size); in _dwarf_write_padding_alloc()
|
| /freebsd-12.1/crypto/heimdal/lib/roken/ |
| H A D | realloc.c | 35 #undef realloc 45 return realloc(ptr, size); in rk_realloc()
|
| H A D | getcap.c | 423 record = realloc(record, newsize); in getent() 565 record = realloc(record, newsize); in getent() 605 realloc(record, (size_t)(rp - record))) == NULL) { in getent() 946 if ((nmem = realloc(mem, size + SFRAG)) == NULL) { in cgetstr() 963 if ((nmem = realloc(mem, (size_t)(mp - mem))) == NULL) { in cgetstr() 1026 if ((mem = realloc(mem, size + SFRAG)) == NULL) in cgetustr() 1040 if ((mem = realloc(mem, (size_t)(mp - mem))) == NULL) in cgetustr()
|
| /freebsd-12.1/contrib/gcclibs/libmudflap/ |
| H A D | mf-hooks1.c | 178 #undef realloc 179 WRAPPER(void *, realloc, void *buf, size_t c) in WRAPPER() argument 181 DECLARE(void * , realloc, void *, size_t); in WRAPPER() 186 BEGIN_PROTECT (realloc, buf, c); in WRAPPER() 195 result = (char *) CALL_REAL (realloc, base, size_with_crumple_zones); in WRAPPER()
|
| /freebsd-12.1/crypto/openssh/openbsd-compat/ |
| H A D | bsd-malloc.c | 20 #undef realloc 55 return realloc(ptr, size); in rpl_realloc()
|
| /freebsd-12.1/contrib/sendmail/libsm/ |
| H A D | heap.c | 150 newptr = realloc(ptr, MALLOC_SIZE(size)); 177 newptr = realloc(ptr, MALLOC_SIZE(size)); 533 newptr = realloc(ptr, MALLOC_SIZE(size)); 555 newptr = realloc(ptr, MALLOC_SIZE(size)); 601 newptr = realloc(ptr, MALLOC_SIZE(size)); 624 newptr = realloc(ptr, MALLOC_SIZE(size));
|
| /freebsd-12.1/gnu/usr.bin/grep/ |
| H A D | xmalloc.c | 29 void *realloc (); 99 p = realloc (p, n); in xrealloc()
|
| /freebsd-12.1/contrib/byacc/ |
| H A D | mstring.c | 49 char *new_ptr = realloc(buf_ptr, (buf_len * 3) / 2); in msprintf() 76 if ((new_base = realloc(s->base, nl))) in msprintf() 104 if ((s->base = realloc(s->base, len + len + TAIL))) in mputchar()
|
| /freebsd-12.1/lib/libc/net/ |
| H A D | nscache.c | 91 cache_data->key = realloc(cache_data->key, in __nss_common_cache_read() 121 buffer = (char *)realloc(buffer, buffer_size); in __nss_common_cache_read() 207 buffer = (char *)realloc(buffer, buffer_size); in __nss_common_cache_write() 302 buffer = (char *)realloc(buffer, buffer_size); in __nss_mp_cache_read() 378 buffer = (char *)realloc(buffer, buffer_size); in __nss_mp_cache_write()
|
| /freebsd-12.1/contrib/gcclibs/libiberty/ |
| H A D | xmalloc.c | 87 void *realloc (void *, size_t); 179 newmem = realloc (oldmem, size); in xrealloc()
|
| /freebsd-12.1/contrib/binutils/libiberty/ |
| H A D | xmalloc.c | 87 void *realloc (void *, size_t); 179 newmem = realloc (oldmem, size); in xrealloc()
|
| /freebsd-12.1/sys/contrib/ck/src/ |
| H A D | ck_array.c | 56 if (allocator->realloc == NULL || in ck_array_init() 89 target = array->allocator->realloc(target, in ck_array_put() 112 target = array->allocator->realloc(target, in ck_array_put()
|
| /freebsd-12.1/usr.sbin/rpc.statd/ |
| H A D | statd.c | 103 hosts_bak = realloc(hosts, nhosts * sizeof(char *)); in main() 164 hosts_bak = realloc(hosts, (nhosts + 2) * in main() 177 hosts_bak = realloc(hosts, (nhosts + 1) * sizeof(char *)); in main() 243 port_list = realloc(port_list, in main() 358 sock_fd = realloc(sock_fd, (sock_fdcnt + 1) * sizeof(int)); in create_service()
|
| /freebsd-12.1/sys/kern/ |
| H A D | kern_osd.c | 127 osdm[type].osd_methods = realloc(osdm[type].osd_methods, in osd_register() 176 osdm[type].osd_destructors = realloc(osdm[type].osd_destructors, in osd_deregister() 180 osdm[type].osd_methods = realloc(osdm[type].osd_methods, in osd_deregister() 257 newptr = realloc(osd->osd_slots, sizeof(void *) * slot, in osd_set_reserved() 367 osd->osd_slots = realloc(osd->osd_slots, in do_osd_del()
|
| /freebsd-12.1/usr.bin/colldef/ |
| H A D | parse.y | 140 if ((__collate_chain_pri_table = realloc(__collate_chain_pri_table, 226 if ((__collate_chain_pri_table = realloc(__collate_chain_pri_table, 280 if ((__collate_chain_pri_table = realloc(__collate_chain_pri_table, 311 if ((__collate_chain_pri_table = realloc(__collate_chain_pri_table,
|
| /freebsd-12.1/lib/libc/db/recno/ |
| H A D | rec_utils.c | 72 p = realloc(t->bt_rkey.data, sizeof(recno_t)); in __rec_ret() 100 p = realloc(t->bt_rdata.data, rl->dsize + 1); in __rec_ret()
|
| /freebsd-12.1/contrib/ntp/sntp/libopts/ |
| H A D | autoopts.c | 78 void * res = (p == NULL) ? malloc(sz) : realloc(p, sz); in ao_realloc() 85 #undef realloc 86 #define realloc(_p,_s) ao_realloc(_p,_s) macro
|