Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlstate.h60 GCObject **hash;
127 GCObject *allgc; /* list of all collectable objects */
128 GCObject *finobj; /* list of collectable objects with finalizers */
129 GCObject **sweepgc; /* current position of sweep in list 'allgc' */
130 GCObject **sweepfin; /* current position of sweep in list 'finobj' */
131 GCObject *gray; /* list of gray objects */
132 GCObject *grayagain; /* list of objects to be traversed atomically */
133 GCObject *weak; /* list of tables with weak values */
134 GCObject *ephemeron; /* list of ephemeron tables (weak keys) */
135 GCObject *allweak; /* list of all-weak tables */
[all …]
Dlgc.c81 static void reallymarkobject (global_State *g, GCObject *o);
135 void luaC_barrier_ (lua_State *L, GCObject *o, GCObject *v) { in luaC_barrier_()
155 void luaC_barrierback_ (lua_State *L, GCObject *o) { in luaC_barrierback_()
191 GCObject *o = obj2gco(uv); in luaC_checkupvalcolor()
212 GCObject *luaC_newobj (lua_State *L, int tt, size_t sz, GCObject **list, in luaC_newobj()
216 GCObject *o = obj2gco(raw + offset); in luaC_newobj()
243 static void reallymarkobject (global_State *g, GCObject *o) { in reallymarkobject()
312 GCObject *o; in markbeingfnz()
523 GCObject *o = g->gray; in propagatemark()
571 static void propagatelist (global_State *g, GCObject *l) { in propagatelist()
[all …]
Dlgc.h148 LUAI_FUNC GCObject *luaC_newobj (lua_State *L, int tt, size_t sz,
149 GCObject **list, int offset);
150 LUAI_FUNC void luaC_barrier_ (lua_State *L, GCObject *o, GCObject *v);
151 LUAI_FUNC void luaC_barrierback_ (lua_State *L, GCObject *o);
153 LUAI_FUNC void luaC_checkfinalizer (lua_State *L, GCObject *o, Table *mt);
Dlstring.c70 luaM_reallocvector(L, tb->hash, tb->size, newsize, GCObject *); in luaS_resize()
75 GCObject *p = tb->hash[i]; in luaS_resize()
78 GCObject *next = gch(p)->next; /* save next */ in luaS_resize()
89 luaM_reallocvector(L, tb->hash, tb->size, newsize, GCObject *); in luaS_resize()
99 int tag, unsigned int h, GCObject **list) { in createstrobj()
118 GCObject **list; /* (pointer to) list where it will be inserted */ in newshrstr()
134 GCObject *o; in internshrstr()
Dlobject.h70 typedef union GCObject GCObject; typedef
77 #define CommonHeader GCObject *next; lu_byte tt; lu_byte marked
202 { TValue *io=(obj); GCObject *i_g=(x); \
208 val_(io).gc=cast(GCObject *, x_); settt_(io, ctb(x_->tsv.tt)); \
213 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TUSERDATA)); \
218 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TTHREAD)); \
223 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TLCL)); \
228 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TCCL)); \
233 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TTABLE)); \
389 GCObject *gc; /* collectable objects */
[all …]
Dlfunc.c49 GCObject **pp = &L->openupval; in luaF_findupval()
53 GCObject *o = obj2gco(p); in luaF_findupval()
93 GCObject *o = obj2gco(uv); in luaF_close()
Dlapi.c1192 GCObject **owner) { in aux_upvalue()
1233 GCObject *owner = NULL; /* to avoid warnings */ in lua_setupvalue()
Dldo.c144 GCObject *up; in correctstack()