Searched refs:newbuff (Results 1 – 3 of 3) sorted by relevance
| /freebsd-13.1/contrib/lua/src/ |
| H A D | lauxlib.c | 542 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()
|
| /freebsd-13.1/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-13.1/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()
|