Searched refs:newbuff (Results 1 – 3 of 3) sorted by relevance
99 char *newbuff; in write_callback() local109 newbuff = realloc(url->buffer, url->buffer_len + (size - rembuff)); in write_callback()110 if(newbuff == NULL) { in write_callback()117 url->buffer = newbuff; in write_callback()
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()