Searched refs:newbuff (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/lua/src/ |
H A D | lauxlib.c | 553 char *newbuff; in prepbuffsize() local 557 newbuff = (char *)resizebox(L, boxidx, newsize); /* resize it */ in prepbuffsize() 563 newbuff = (char *)resizebox(L, boxidx, newsize); in prepbuffsize() 564 memcpy(newbuff, B->b, B->n * sizeof(char)); /* copy original content */ in prepbuffsize() 566 B->b = newbuff; in prepbuffsize() 568 return newbuff + B->n; in prepbuffsize()
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lauxlib.c | 399 char *newbuff; in luaL_prepbuffsize() local 406 newbuff = (char *)lua_newuserdata(L, newsize * sizeof(char)); in luaL_prepbuffsize() 408 memcpy(newbuff, B->b, B->n * sizeof(char)); in luaL_prepbuffsize() 411 B->b = newbuff; in luaL_prepbuffsize()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | getifaddrs.c | 339 void *newbuff = realloc(buff, bufsize); in nl_getmsg() local 340 if (newbuff == NULL || bufsize < lastbufsize) { in nl_getmsg() 344 buff = newbuff; in nl_getmsg()
|