Home
last modified time | relevance | path

Searched refs:luaM_malloc (Results 1 – 5 of 5) sorted by relevance

/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dlmem.h28 #define luaM_malloc(L,t) luaM_realloc_(L, NULL, 0, (t)) macro
29 #define luaM_new(L,t) cast(t *, luaM_malloc(L, sizeof(t)))
H A Dlstring.c56 ts = cast(TString *, luaM_malloc(L, (l+1)*sizeof(char)+sizeof(TString))); in newlstr()
100 u = cast(Udata *, luaM_malloc(L, s + sizeof(Udata))); in luaS_newudata()
H A Dlfunc.c24 Closure *c = cast(Closure *, luaM_malloc(L, sizeCclosure(nelems))); in luaF_newCclosure()
34 Closure *c = cast(Closure *, luaM_malloc(L, sizeLclosure(nelems))); in luaF_newLclosure()
H A Dlstate.c120 lua_State *L1 = tostate(luaM_malloc(L, state_size(lua_State))); in luaE_newthread()
/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dlmem.h32 #define luaM_malloc(L,s) luaM_realloc_(L, NULL, 0, (s)) macro
33 #define luaM_new(L,t) cast(t *, luaM_malloc(L, sizeof(t)))