Home
last modified time | relevance | path

Searched refs:newbuff (Results 1 – 3 of 3) sorted by relevance

/external/curl/docs/examples/
Dfopen.c99 char *newbuff; in write_callback() local
109 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()
/external/iputils/ninfod/
Dni_ifaddrs.c172 void *newbuff = realloc(buff, bufsize); in nl_getmsg() local
173 if (newbuff == NULL || bufsize < lastbufsize) { in nl_getmsg()
174 free(newbuff); in nl_getmsg()
178 buff = newbuff; in nl_getmsg()
/external/lua/src/
Dlauxlib.c542 char *newbuff; in prepbuffsize() local
546 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()