Searched refs:realloc (Results 251 - 275 of 756) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/contrib/jemalloc/include/jemalloc/
H A Djemalloc.h65 # define je_realloc realloc
330 # define realloc je_realloc macro
/freebsd-11-stable/contrib/pf/libevent/
H A Dkqueue.c168 newchange = realloc(kqop->changes,
176 newresult = realloc(kqop->events,
181 * the next realloc will pick it up.
/freebsd-11-stable/contrib/byacc/test/yacc/
H A Dcode_error.code.c257 newss = (YYINT *)realloc(data->s_base, newsize * sizeof(*newss));
264 newvs = (YYSTYPE *)realloc(data->l_base, newsize * sizeof(*newvs));
H A Derr_syntax18.tab.c275 newss = (YYINT *)realloc(data->s_base, newsize * sizeof(*newss));
282 newvs = (YYSTYPE *)realloc(data->l_base, newsize * sizeof(*newvs));
H A Derr_syntax12.tab.c279 newss = (YYINT *)realloc(data->s_base, newsize * sizeof(*newss));
286 newvs = (YYSTYPE *)realloc(data->l_base, newsize * sizeof(*newvs));
H A Derr_syntax11.tab.c273 newss = (YYINT *)realloc(data->s_base, newsize * sizeof(*newss));
280 newvs = (YYSTYPE *)realloc(data->l_base, newsize * sizeof(*newvs));
H A Derr_syntax20.tab.c271 newss = (YYINT *)realloc(data->s_base, newsize * sizeof(*newss));
278 newvs = (YYSTYPE *)realloc(data->l_base, newsize * sizeof(*newvs));
H A Derr_syntax10.tab.c267 newss = (YYINT *)realloc(data->s_base, newsize * sizeof(*newss));
274 newvs = (YYSTYPE *)realloc(data->l_base, newsize * sizeof(*newvs));
H A Derror.tab.c273 newss = (YYINT *)realloc(data->s_base, newsize * sizeof(*newss));
280 newvs = (YYSTYPE *)realloc(data->l_base, newsize * sizeof(*newvs));
H A Dempty.tab.c268 newss = (YYINT *)realloc(data->s_base, newsize * sizeof(*newss));
275 newvs = (YYSTYPE *)realloc(data->l_base, newsize * sizeof(*newvs));
H A Drename_debug.c153 newss = (YYINT *)realloc(data->s_base, newsize * sizeof(*newss));
160 newvs = (YYSTYPE *)realloc(data->l_base, newsize * sizeof(*newvs));
H A Dpure_error.tab.c282 newss = (YYINT *)realloc(data->s_base, newsize * sizeof(*newss));
289 newvs = (YYSTYPE *)realloc(data->l_base, newsize * sizeof(*newvs));
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/
H A DmibII_tcp.c113 if ((ptr = realloc(xinpgen, len)) == NULL) {
141 oid = realloc(tcpoids, tcp_total * sizeof(tcpoids[0]));
/freebsd-11-stable/usr.sbin/ppp/
H A Dudp.c147 iov[*niov].iov_base = realloc(d, sz);
184 dev = realloc(dev, sizeof *dev); /* Reduce to the correct size */
/freebsd-11-stable/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-11-stable/contrib/tcsh/
H A Dtc.os.h454 # define realloc tcsh_realloc macro
504 extern memalign_t realloc();
/freebsd-11-stable/contrib/file/src/
H A Dvasprintf.c157 ptr = (char *)realloc((void *)(s->buffer_base), len);
613 s->buffer_base = (char *)realloc((void *)(s->buffer_base), save_len + 1);
/freebsd-11-stable/contrib/byacc/test/btyacc/
H A Dbtyacc_demo.tab.c1214 newss = (YYINT *)realloc(data->s_base, newsize * sizeof(*newss));
1221 newvs = (YYSTYPE *)realloc(data->l_base, newsize * sizeof(*newvs));
1229 newps = (YYLTYPE *)realloc(data->p_base, newsize * sizeof(*newps));
1383 if ((yylexemes = realloc(yylexemes, s * sizeof(YYINT))) == NULL) goto yyenomem;
1384 if ((yylvals = realloc(yylvals, s * sizeof(YYSTYPE))) == NULL) goto yyenomem;
1386 if ((yylpsns = realloc(yylpsns, s * sizeof(YYLTYPE))) == NULL) goto yyenomem;
2161 if ((yylexemes = realloc(yylexemes, s * sizeof(YYINT))) == NULL)
2163 if ((yylvals = realloc(yylvals, s * sizeof(YYSTYPE))) == NULL)
2166 if ((yylpsns = realloc(yylpsns, s * sizeof(YYLTYPE))) == NULL)
H A Dexpr.oxout.tab.c1827 newss = (YYINT *)realloc(data->s_base, newsize * sizeof(*newss));
1834 newvs = (YYSTYPE *)realloc(data->l_base, newsize * sizeof(*newvs));
1842 newps = (YYLTYPE *)realloc(data->p_base, newsize * sizeof(*newps));
1996 if ((yylexemes = realloc(yylexemes, s * sizeof(YYINT))) == NULL) goto yyenomem;
1997 if ((yylvals = realloc(yylvals, s * sizeof(YYSTYPE))) == NULL) goto yyenomem;
1999 if ((yylpsns = realloc(yylpsns, s * sizeof(YYLTYPE))) == NULL) goto yyenomem;
2573 if ((yylexemes = realloc(yylexemes, s * sizeof(YYINT))) == NULL)
2575 if ((yylvals = realloc(yylvals, s * sizeof(YYSTYPE))) == NULL)
2578 if ((yylpsns = realloc(yylpsns, s * sizeof(YYLTYPE))) == NULL)
/freebsd-11-stable/usr.bin/xlint/lint2/
H A Dread.c248 if ((inpfns = realloc(inpfns, (ninpfns * 2) * sizeof (short)))
944 if ((tlst = realloc(tlst, (tlstlen * 2) * sizeof (type_t *)))
1053 if ((strg = realloc(strg, slen * 2)) == NULL)
1084 if ((buf = realloc(buf, blen = len + 1)) == NULL)
1116 if ((fnames = realloc(fnames, (nfnames * 2) * sizeof (char *)))
/freebsd-11-stable/usr.bin/sed/
H A Dcompile.c531 if ((s->new = realloc(text, size)) == NULL)
532 err(1, "realloc");
544 if ((text = realloc(text, asize)) == NULL)
545 err(1, "realloc");
715 y->multis = realloc(y->multis,
764 if ((text = realloc(text, asize)) == NULL)
765 err(1, "realloc");
769 if ((p = realloc(text, size + 1)) == NULL)
770 err(1, "realloc");
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_switch.c611 uint8_t *new_lft = realloc(p_sw->lft, lft_size);
637 if (!(new_lft = realloc(p_sw->new_lft, p_sw->lft_size)))
652 hops = realloc(p_sw->hops, (max_lids + 1) * sizeof(hops[0]));
/freebsd-11-stable/usr.sbin/portsnap/make_index/
H A Dmake_index.c293 d = realloc(d, *nd * sizeof(DEP));
295 err(1, "realloc(d)");
421 * pointers as needed (using realloc).
457 if ((pp = realloc(pp, pplen * sizeof(PORT *))) == NULL)
458 err(1, "realloc(pp)");
465 if ((pp = realloc(pp, pplen * sizeof(PORT *))) == NULL)
466 err(1, "realloc(pp)");
502 * pointers as needed (using realloc).
/freebsd-11-stable/contrib/elftoolchain/elfcopy/
H A Darchive.c131 ecp->as = realloc(ecp->as, ecp->as_cap);
133 err(EXIT_FAILURE, "realloc failed");
164 ecp->s_so = realloc(ecp->s_so, ecp->s_so_cap);
166 err(EXIT_FAILURE, "realloc failed");
177 ecp->s_sn = realloc(ecp->s_sn, ecp->s_sn_cap);
179 err(EXIT_FAILURE, "realloc failed");
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/nfs/
H A Dtst.call3.c315 * make realloc() do the wrong thing.
397 argbuf = realloc(argbuf, test->argsize);
398 resbuf = realloc(resbuf, test->ressize);
400 perror("realloc() failed");

Completed in 184 milliseconds

<<11121314151617181920>>