Home
last modified time | relevance | path

Searched refs:sizeLclosure (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/contrib/openzfs/module/lua/
H A Dlfunc.h18 #define sizeLclosure(n) (cast(int, sizeof(LClosure)) + \ macro
H A Dlfunc.c30 Closure *c = &luaC_newobj(L, LUA_TLCL, sizeLclosure(n), NULL, 0)->cl; in luaF_newLclosure()
H A Dlgc.c490 return sizeLclosure(cl->nupvalues); in traverseLclosure()
666 luaM_freemem(L, o, sizeLclosure(gco2lcl(o)->nupvalues)); in freeobj()
/freebsd/contrib/lua/src/
H A Dlfunc.h17 #define sizeLclosure(n) (cast_int(offsetof(LClosure, upvals)) + \ macro
H A Dlfunc.c36 GCObject *o = luaC_newobj(L, LUA_VLCL, sizeLclosure(nupvals)); in luaF_newLclosure()
H A Dlgc.c782 luaM_freemem(L, cl, sizeLclosure(cl->nupvalues)); in freeobj()