Home
last modified time | relevance | path

Searched refs:realloc (Results 1 – 25 of 825) sorted by relevance

12345678910>>...33

/freebsd-13.1/contrib/ldns/compat/
H A Drealloc.c7 #undef realloc
11 void *realloc (void*, size_t);
28 return realloc(ptr, n); in rpl_realloc()
/freebsd-13.1/tools/regression/redzone9/
H A Dredzone.c75 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-13.1/usr.bin/indent/
H A Dindent_globs.h59 codebuf = (char *) realloc(codebuf, nsize); \
75 combuf = (char *) realloc(combuf, nsize); \
88 labbuf = (char *) realloc(labbuf, nsize); \
99 tokenbuf = (char *) realloc(tokenbuf, nsize); \
/freebsd-13.1/crypto/heimdal/lib/roken/
H A Drealloc.c35 #undef realloc
45 return realloc(ptr, size); in rk_realloc()
H A Dgetcap.c423 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-13.1/contrib/pf/libevent/
H A Dselect.c231 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 Dpoll.c239 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-13.1/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_malloc_linux.cpp142 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { in INTERCEPTOR() argument
238 void *(*realloc)(void *oldMem, uptr bytes); member
252 void *(*realloc)(void *oldMem, uptr bytes); member
258 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)};
263 WRAP(posix_memalign), WRAP(pvalloc), WRAP(realloc),
/freebsd-13.1/usr.bin/whereis/
H A Dwhereis.c124 *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-13.1/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_rw.c207 *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-13.1/crypto/openssh/openbsd-compat/
H A Dbsd-malloc.c20 #undef realloc
55 return realloc(ptr, size); in rpl_realloc()
/freebsd-13.1/contrib/libucl/klib/
H A Dkvec.h66 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-13.1/contrib/sendmail/libsm/
H A Dheap.c150 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-13.1/contrib/byacc/
H A Dmstring.c47 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-13.1/lib/libc/net/
H A Dnscache.c91 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-13.1/sys/netpfil/ipfw/
H A Dip_fw_pfil.c338 bool mem, realloc; in ipfw_check_frame() local
343 realloc = false; in ipfw_check_frame()
347 mem = realloc = false; in ipfw_check_frame()
397 realloc = true; in ipfw_check_frame()
415 realloc = true; in ipfw_check_frame()
434 if (realloc && ret == PFIL_PASS) in ipfw_check_frame()
/freebsd-13.1/sys/contrib/ck/src/
H A Dck_array.c56 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-13.1/lib/libc/db/recno/
H A Drec_utils.c72 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-13.1/contrib/lib9p/sbuf/
H A Dsbuf.c61 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-13.1/sys/kern/
H A Dkern_osd.c127 osdm[type].osd_methods = realloc(osdm[type].osd_methods, in osd_register()
177 osdm[type].osd_destructors = realloc(osdm[type].osd_destructors, in osd_deregister()
181 osdm[type].osd_methods = realloc(osdm[type].osd_methods, in osd_deregister()
259 newptr = realloc(osd->osd_slots, sizeof(void *) * slot, in osd_set_reserved()
370 osd->osd_slots = realloc(osd->osd_slots, in do_osd_del()
/freebsd-13.1/usr.sbin/rpc.statd/
H A Dstatd.c108 hosts_bak = realloc(hosts, nhosts * sizeof(char *)); in main()
169 hosts_bak = realloc(hosts, (nhosts + 2) * in main()
182 hosts_bak = realloc(hosts, (nhosts + 1) * sizeof(char *)); in main()
248 port_list = realloc(port_list, in main()
367 sock_fd = realloc(sock_fd, (sock_fdcnt + 1) * sizeof(int)); in create_service()
/freebsd-13.1/contrib/ntp/sntp/libopts/
H A Dautoopts.c78 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
/freebsd-13.1/contrib/ntp/libjsmn/example/
H A Djsondump.c85 js = realloc(js, jslen + r + 1); in main()
98 tok = realloc(tok, sizeof(*tok) * tokcount); in main()
/freebsd-13.1/contrib/netbsd-tests/lib/libcurses/slave/
H A Dslave.c78 if ((tmpbuf = realloc(cmdbuf, maxlen)) == NULL) in process_commands()
98 tmpargs = realloc(args, in process_commands()
/freebsd-13.1/usr.bin/col/
H A Dcol.c320 if ((l->l_line = realloc(l->l_line, in main()
453 if ((sorted = realloc(sorted, in flush_line()
459 if ((count = realloc(count, in flush_line()
571 if ((l = realloc(NULL, sizeof(LINE) * NALLOC)) == NULL) in alloc_line()

12345678910>>...33