Searched refs:luaM_realloc_ (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lmem.h | 25 luaM_realloc_(L, (b), (on)*(e), (n)*(e))) 27 #define luaM_freemem(L, b, s) luaM_realloc_(L, (b), (s), 0) 28 #define luaM_free(L, b) luaM_realloc_(L, (b), sizeof(*(b)), 0) 31 #define luaM_malloc(L,s) luaM_realloc_(L, NULL, 0, (s)) 36 #define luaM_newobject(L,tag,s) luaM_realloc_(L, NULL, tag, (s)) 48 LUAI_FUNC void *luaM_realloc_ (lua_State *L, void *block, size_t oldsize,
|
H A D | lmem.c | 73 void *luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) { in luaM_realloc_() function
|
/freebsd/contrib/lua/src/ |
H A D | lmem.h | 71 (cast(t *, luaM_realloc_(L, v, cast_sizet(oldn) * sizeof(t), \ 80 LUAI_FUNC void *luaM_realloc_ (lua_State *L, void *block, size_t oldsize,
|
H A D | lmem.c | 176 void *luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) { in luaM_realloc_() function 194 void *newblock = luaM_realloc_(L, block, osize, nsize); in luaM_saferealloc_()
|