Home
last modified time | relevance | path

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

/redis-3.2.3/deps/lua/src/
H A Dlstate.h39 GCObject **hash;
75 GCObject *rootgc; /* list of all collectable objects */
76 GCObject **sweepgc; /* position of sweep in `rootgc' */
77 GCObject *gray; /* list of gray objects */
78 GCObject *grayagain; /* list of objects to be traversed atomically */
79 GCObject *weak; /* list of weak tables (to be cleared) */
80 GCObject *tmudata; /* last element of list of userdata to be GC */
123 GCObject *openupval; /* list of open upvalues in this stack */
124 GCObject *gclist;
136 union GCObject { union
[all …]
H A Dlobject.h36 typedef union GCObject GCObject; typedef
43 #define CommonHeader GCObject *next; lu_byte tt; lu_byte marked
60 GCObject *gc;
130 i_o->value.gc=cast(GCObject *, (x)); i_o->tt=LUA_TSTRING; \
135 i_o->value.gc=cast(GCObject *, (x)); i_o->tt=LUA_TUSERDATA; \
140 i_o->value.gc=cast(GCObject *, (x)); i_o->tt=LUA_TTHREAD; \
145 i_o->value.gc=cast(GCObject *, (x)); i_o->tt=LUA_TFUNCTION; \
150 i_o->value.gc=cast(GCObject *, (x)); i_o->tt=LUA_TTABLE; \
155 i_o->value.gc=cast(GCObject *, (x)); i_o->tt=LUA_TPROTO; \
248 GCObject *gclist;
[all …]
H A Dlstring.c23 GCObject **newhash; in luaS_resize()
28 newhash = luaM_newvector(L, newsize, GCObject *); in luaS_resize()
33 GCObject *p = tb->hash[i]; in luaS_resize()
35 GCObject *next = p->gch.next; /* save next */ in luaS_resize()
76 GCObject *o; in luaS_newlstr()
H A Dlgc.c116 GCObject *u = g->tmudata; in marktmu()
131 GCObject **p = &g->mainthread->next; in luaC_separateudata()
132 GCObject *curr; in luaC_separateudata()
278 GCObject *o = g->gray; in propagatemark()
351 static void cleartable (GCObject *l) { in cleartable()
378 static void freeobj (lua_State *L, GCObject *o) { in freeobj()
407 static GCObject **sweeplist (lua_State *L, GCObject **p, lu_mem count) { in sweeplist()
408 GCObject *curr; in sweeplist()
661 void luaC_barrierf (lua_State *L, GCObject *o, GCObject *v) { in luaC_barrierf()
676 GCObject *o = obj2gco(t); in luaC_barrierback()
[all …]
H A Dlgc.h104 LUAI_FUNC void luaC_link (lua_State *L, GCObject *o, lu_byte tt);
106 LUAI_FUNC void luaC_barrierf (lua_State *L, GCObject *o, GCObject *v);
H A Dlfunc.c55 GCObject **pp = &L->openupval; in luaF_findupval()
100 GCObject *o = obj2gco(uv); in luaF_close()
H A Dldo.c128 GCObject *up; in correctstack()