Searched refs:ndbuf (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/lib/libresolv2/common/irs/ |
H A D | lcl_pr.c | 201 char *bufp, *ndbuf, *dbuf = NULL; in pr_next() local 225 if ((ndbuf = malloc(bufsiz + GROWBUF)) != NULL) in pr_next() 226 strcpy(ndbuf, bufp); in pr_next() 228 ndbuf = realloc(dbuf, bufsiz + GROWBUF); in pr_next() 229 if (ndbuf) { in pr_next() 230 dbuf = ndbuf; in pr_next()
|
H A D | lcl_nw.c | 224 char *bufp, *ndbuf, *dbuf = NULL; in nw_next() local 247 if ((ndbuf = malloc(bufsiz + GROWBUF)) != NULL) in nw_next() 248 strcpy(ndbuf, bufp); in nw_next() 250 ndbuf = realloc(dbuf, bufsiz + GROWBUF); in nw_next() 251 if (ndbuf) { in nw_next() 252 dbuf = ndbuf; in nw_next()
|
H A D | lcl_ho.c | 327 char *bufp, *ndbuf, *dbuf = NULL; in ho_next() local 353 if ((ndbuf = malloc(bufsiz + GROWBUF)) != NULL) in ho_next() 354 strcpy(ndbuf, bufp); in ho_next() 356 ndbuf = realloc(dbuf, bufsiz + GROWBUF); in ho_next() 357 if (ndbuf) { in ho_next() 358 dbuf = ndbuf; in ho_next()
|