Home
last modified time | relevance | path

Searched refs:GCObject (Results 1 – 9 of 9) sorted by relevance

/netbsd-src/external/mit/lua/dist/src/
H A Dlstate.h278 GCObject *allgc; /* list of all collectable objects */
279 GCObject **sweepgc; /* current position of sweep in list */
280 GCObject *finobj; /* list of collectable objects with finalizers */
281 GCObject *gray; /* list of gray objects */
282 GCObject *grayagain; /* list of objects to be traversed atomically */
283 GCObject *weak; /* list of tables with weak values */
284 GCObject *ephemeron; /* list of ephemeron tables (weak keys) */
285 GCObject *allweak; /* list of all-weak tables */
286 GCObject *tobefnz; /* list of userdata to be GC */
287 GCObject *fixedgc; /* list of objects not to be collected */
[all …]
H A Dlgc.c110 static void reallymarkobject (global_State *g, GCObject *o);
128 static GCObject **getgclist (GCObject *o) { in getgclist()
151 static void linkgclist_ (GCObject *o, GCObject **pnext, GCObject **list) { in linkgclist_()
188 static int iscleared (global_State *g, const GCObject *o) { in iscleared()
211 void luaC_barrier_ (lua_State *L, GCObject *o, GCObject *v) { in luaC_barrier_()
233 void luaC_barrierback_ (lua_State *L, GCObject *o) { in luaC_barrierback_()
246 void luaC_fix (lua_State *L, GCObject *o) { in luaC_fix()
261 GCObject *luaC_newobjdt (lua_State *L, int tt, size_t sz, size_t offset) { in luaC_newobjdt()
264 GCObject *o = cast(GCObject *, p + offset); in luaC_newobjdt()
273 GCObject *luaC_newobj (lua_State *L, int tt, size_t sz) { in luaC_newobj()
[all …]
H A Dlgc.h190 LUAI_FUNC void luaC_fix (lua_State *L, GCObject *o);
195 LUAI_FUNC GCObject *luaC_newobj (lua_State *L, int tt, size_t sz);
196 LUAI_FUNC GCObject *luaC_newobjdt (lua_State *L, int tt, size_t sz,
198 LUAI_FUNC void luaC_barrier_ (lua_State *L, GCObject *o, GCObject *v);
199 LUAI_FUNC void luaC_barrierback_ (lua_State *L, GCObject *o);
200 LUAI_FUNC void luaC_checkfinalizer (lua_State *L, GCObject *o, Table *mt);
H A Dlobject.h52 struct GCObject *gc; /* collectable objects */
292 #define CommonHeader struct GCObject *next; lu_byte tt; lu_byte marked
296 typedef struct GCObject { struct
298 } GCObject; typedef
314 { TValue *io = (obj); GCObject *i_g=(x); \
478 GCObject *gclist;
586 GCObject *gclist;
659 CommonHeader; lu_byte nupvalues; GCObject *gclist
760 GCObject *gclist;
H A Dlfunc.c32 GCObject *o = luaC_newobj(L, LUA_VCCL, sizeCclosure(nupvals)); in luaF_newCclosure()
40 GCObject *o = luaC_newobj(L, LUA_VLCL, sizeLclosure(nupvals)); in luaF_newLclosure()
55 GCObject *o = luaC_newobj(L, LUA_VUPVAL, sizeof(UpVal)); in luaF_initupvals()
70 GCObject *o = luaC_newobj(L, LUA_VUPVAL, sizeof(UpVal)); in newupval()
245 GCObject *o = luaC_newobj(L, LUA_VPROTO, sizeof(Proto)); in luaF_newproto()
H A Dlstring.c149 GCObject *o; in createstrobj()
265 GCObject *o; in luaS_newudata()
H A Dltable.c190 GCObject *o = gcvalue(key); in mainpositionTV()
637 GCObject *o = luaC_newobj(L, LUA_VTABLE, sizeof(Table)); in luaH_new()
H A Dlstate.c292 GCObject *o; in lua_newthread()
H A Dlapi.c1368 GCObject **owner) { in aux_upvalue()
1411 GCObject *owner = NULL; /* to avoid warnings */ in lua_setupvalue()