/freebsd/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/tools/regression/redzone9/ |
H A D | redzone.c | 72 p = realloc(p, 10, M_TEMP, M_NOWAIT); in redzone_sysctl() 81 p = realloc(p, 10, M_TEMP, M_NOWAIT); in redzone_sysctl() 90 p = realloc(p, 8192, M_TEMP, M_NOWAIT); in redzone_sysctl() 99 p = realloc(p, 8192, M_TEMP, M_NOWAIT); in redzone_sysctl()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_malloc_linux.cpp | 79 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { in INTERCEPTOR() argument 170 void *(*realloc)(void *oldMem, uptr bytes); member 184 void *(*realloc)(void *oldMem, uptr bytes); member 190 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)}; 195 WRAP(posix_memalign), WRAP(pvalloc), WRAP(realloc),
|
/freebsd/usr.bin/indent/ |
H A D | indent_globs.h | 56 codebuf = (char *) realloc(codebuf, nsize); \ 72 combuf = (char *) realloc(combuf, nsize); \ 85 labbuf = (char *) realloc(labbuf, nsize); \ 96 tokenbuf = (char *) realloc(tokenbuf, nsize); \
|
/freebsd/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/usr.bin/whereis/ |
H A D | whereis.c | 121 *dirlist = realloc(*dirlist, (i + 1) * sizeof(char *)); in scanopts() 208 *cppp = realloc(*cppp, (*ip + 2) * sizeof(char *)); in decolonify() 278 bindirs = realloc(bindirs, (nele + 2) * sizeof(char *)); in defaults() 365 sourcedirs = realloc(sourcedirs, in defaults() 461 bin = realloc(bin, in main() 533 man = realloc(man, in main() 572 src = realloc(src, in main() 640 src = realloc(src, in main()
|
/freebsd/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/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/contrib/libucl/klib/ |
H A D | kvec.h | 66 type *_tp = (type*)realloc((v).a, sizeof(type) * (s)); \ 78 type *_tp = (type*)realloc((v).a, sizeof(type) * _ts); \ 128 #define kv_resize(type, v, s) ((v).m = (s), (v).a = (type*)realloc((v).a, sizeof(type) * (v).m)) 131 (v).a = (type*)realloc((v).a, sizeof(type) * (v).m))
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | bsd-malloc.c | 20 #undef realloc 55 return realloc(ptr, size); in rpl_realloc()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/ |
H A D | nsan_malloc_linux.cpp | 62 INTERCEPTOR(void *, realloc, void *ptr, uptr size) { in INTERCEPTOR() argument 65 void *res = REAL(realloc)(ptr, size); in INTERCEPTOR() 112 INTERCEPT_FUNCTION(realloc); in InitializeMallocInterceptors()
|
/freebsd/contrib/sendmail/libsm/ |
H A D | heap.c | 157 newptr = realloc(ptr, MALLOC_SIZE(size)); 184 newptr = realloc(ptr, MALLOC_SIZE(size)); 540 newptr = realloc(ptr, MALLOC_SIZE(size)); 562 newptr = realloc(ptr, MALLOC_SIZE(size)); 608 newptr = realloc(ptr, MALLOC_SIZE(size)); 631 newptr = realloc(ptr, MALLOC_SIZE(size));
|
/freebsd/lib/libc/net/ |
H A D | nscache.c | 88 cache_data->key = realloc(cache_data->key, in __nss_common_cache_read() 118 buffer = (char *)realloc(buffer, buffer_size); in __nss_common_cache_read() 204 buffer = (char *)realloc(buffer, buffer_size); in __nss_common_cache_write() 299 buffer = (char *)realloc(buffer, buffer_size); in __nss_mp_cache_read() 375 buffer = (char *)realloc(buffer, buffer_size); in __nss_mp_cache_write()
|
/freebsd/contrib/byacc/ |
H A D | mstring.c | 47 char *new_ptr = realloc(buf_ptr, (buf_len * 3) / 2); in msprintf() 74 if ((new_base = realloc(s->base, nl))) in msprintf() 101 if ((s->base = realloc(s->base, len + len + TAIL))) in mputchar()
|
/freebsd/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/usr.sbin/rpc.statd/ |
H A D | statd.c | 106 hosts_bak = realloc(hosts, nhosts * sizeof(char *)); in main() 167 hosts_bak = realloc(hosts, (nhosts + 2) * in main() 180 hosts_bak = realloc(hosts, (nhosts + 1) * sizeof(char *)); in main() 246 port_list = realloc(port_list, in main() 365 sock_fd = realloc(sock_fd, (sock_fdcnt + 1) * sizeof(int)); in create_service()
|
/freebsd/lib/libc/db/recno/ |
H A D | rec_utils.c | 66 p = realloc(t->bt_rkey.data, sizeof(recno_t)); in __rec_ret() 94 p = realloc(t->bt_rdata.data, rl->dsize + 1); in __rec_ret()
|
/freebsd/contrib/lib9p/sbuf/ |
H A D | sbuf.c | 61 s->s_buf = realloc(s->s_buf, (size_t)s->s_capacity); in sbuf_cat() 97 s->s_buf = realloc(s->s_buf, (size_t)s->s_capacity); in sbuf_vprintf()
|
/freebsd/usr.bin/col/ |
H A D | col.c | 305 if ((l->l_line = realloc(l->l_line, in main() 438 if ((sorted = realloc(sorted, in flush_line() 444 if ((count = realloc(count, in flush_line() 556 if ((l = realloc(NULL, sizeof(LINE) * NALLOC)) == NULL) in alloc_line()
|
/freebsd/contrib/netbsd-tests/lib/libcurses/slave/ |
H A D | slave.c | 78 if ((tmpbuf = realloc(cmdbuf, maxlen)) == NULL) in process_commands() 98 tmpargs = realloc(args, in process_commands()
|
/freebsd/contrib/ntp/libjsmn/example/ |
H A D | jsondump.c | 85 js = realloc(js, jslen + r + 1); in main() 98 tok = realloc(tok, sizeof(*tok) * tokcount); in main()
|
/freebsd/usr.sbin/rpc.lockd/ |
H A D | lockd.c | 151 hosts_bak = realloc(hosts, nhosts * sizeof(char *)); in main() 234 hosts_bak = realloc(hosts, (nhosts + 2) * in main() 247 hosts_bak = realloc(hosts, (nhosts + 1) * sizeof(char *)); in main() 377 port_list = realloc(port_list, in main() 542 sock_fd = realloc(sock_fd, (sock_fdcnt + 1) * sizeof(int)); in create_service() 669 addrs = realloc(addrs, 2 * (naddrs + 1) * sizeof(char *)); in create_service()
|
/freebsd/contrib/expat/tests/ |
H A D | memcheck.c | 150 entry->allocation = realloc(ptr, size); in tracking_realloc() 167 void *const reallocated = realloc(ptr, size); in tracking_realloc()
|