Searched refs:newbuff (Results 1 – 3 of 3) sorted by relevance
| /freebsd/contrib/lua/src/ |
| H A D | lauxlib.c | 556 char *newbuff; in prepbuffsize() local 560 newbuff = (char *)resizebox(L, boxidx, newsize); /* resize it */ in prepbuffsize() 566 newbuff = (char *)resizebox(L, boxidx, newsize); in prepbuffsize() 567 memcpy(newbuff, B->b, B->n * sizeof(char)); /* copy original content */ in prepbuffsize() 569 B->b = newbuff; in prepbuffsize() 571 return newbuff + B->n; in prepbuffsize()
|
| /freebsd/sys/contrib/openzfs/module/lua/ |
| H A D | lauxlib.c | 400 char *newbuff; in luaL_prepbuffsize() local 407 newbuff = (char *)lua_newuserdata(L, newsize * sizeof(char)); in luaL_prepbuffsize() 409 memcpy(newbuff, B->b, B->n * sizeof(char)); in luaL_prepbuffsize() 412 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()
|