Searched refs:newbuff (Results 1 – 2 of 2) sorted by relevance
172 void *newbuff = realloc(buff, bufsize); in nl_getmsg() local173 if (newbuff == NULL || bufsize < lastbufsize) { in nl_getmsg()174 free(newbuff); in nl_getmsg()178 buff = newbuff; in nl_getmsg()
542 char *newbuff; in prepbuffsize() local546 newbuff = (char *)resizebox(L, boxidx, newsize); /* resize it */ in prepbuffsize()553 newbuff = (char *)resizebox(L, boxidx, newsize); in prepbuffsize()554 memcpy(newbuff, B->b, B->n * sizeof(char)); /* copy original content */ in prepbuffsize()556 B->b = newbuff; in prepbuffsize()558 return newbuff + B->n; in prepbuffsize()