Home
last modified time | relevance | path

Searched refs:newbuff (Results 1 – 5 of 5) 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.c508 char *newbuff; in luaL_prepbuffsize() local
516 newbuff = (char *)resizebox(L, -1, newsize); in luaL_prepbuffsize()
518 newbuff = (char *)newbox(L, newsize); in luaL_prepbuffsize()
519 memcpy(newbuff, B->b, B->n * sizeof(char)); /* copy original content */ in luaL_prepbuffsize()
521 B->b = newbuff; in luaL_prepbuffsize()
/external/curl/lib/
Dsetopt.c1946 char *newbuff = realloc(data->state.buffer, arg + 1); in vsetopt() local
1947 if(!newbuff) { in vsetopt()
1952 data->state.buffer = newbuff; in vsetopt()
Dhttp.c3122 char *newbuff; in header_append() local
3127 newbuff = realloc(data->state.headerbuff, newsize); in header_append()
3128 if(!newbuff) { in header_append()
3133 data->state.headerbuff = newbuff; in header_append()