Home | History | Annotate | Download | only in src

Lines Matching refs:GCObject

81 static void reallymarkobject (global_State *g, GCObject *o);
135 void luaC_barrier_ (lua_State *L, GCObject *o, GCObject *v) {
155 void luaC_barrierback_ (lua_State *L, GCObject *o) {
191 GCObject *o = obj2gco(uv);
212 GCObject *luaC_newobj (lua_State *L, int tt, size_t sz, GCObject **list,
216 GCObject *o = obj2gco(raw + offset);
243 static void reallymarkobject (global_State *g, GCObject *o) {
312 GCObject *o;
523 GCObject *o = g->gray;
571 static void propagatelist (global_State *g, GCObject *l) {
583 GCObject *weak = g->weak; /* save original lists */
584 GCObject *grayagain = g->grayagain;
585 GCObject *ephemeron = g->ephemeron;
597 GCObject *w;
598 GCObject *next = g->ephemeron; /* get ephemeron list */
625 static void clearkeys (global_State *g, GCObject *l, GCObject *f) {
643 static void clearvalues (global_State *g, GCObject *l, GCObject *f) {
663 static void freeobj (lua_State *L, GCObject *o) {
691 static GCObject **sweeplist (lua_State *L, GCObject **p, lu_mem count);
719 static GCObject **sweeplist (lua_State *L, GCObject **p, lu_mem count) {
735 GCObject *curr = *p;
758 static GCObject **sweeptolive (lua_State *L, GCObject **p, int *n) {
759 GCObject ** old = p;
789 static GCObject *udata2finalize (global_State *g) {
790 GCObject *o = g->tobefnz; /* get first element */
847 GCObject **p = &g->finobj;
848 GCObject *curr;
849 GCObject **lastnext = &g->tobefnz;
873 void luaC_checkfinalizer (lua_State *L, GCObject *o, Table *mt) {
880 GCObject **p;
1002 GCObject *origweak, *origall;
1045 g->GCmemtrav = g->strt.size * sizeof(GCObject*);
1094 GCObject *mt = obj2gco(g->mainthread);