Lines Matching refs:gch

491 GCheader gch;  member
500 #define rawgco2ts(o)check_exp((o)->gch.tt==4,&((o)->ts))
502 #define rawgco2u(o)check_exp((o)->gch.tt==7,&((o)->u))
504 #define gco2cl(o)check_exp((o)->gch.tt==6,&((o)->cl))
505 #define gco2h(o)check_exp((o)->gch.tt==5,&((o)->h))
506 #define gco2p(o)check_exp((o)->gch.tt==(8+1),&((o)->p))
507 #define gco2uv(o)check_exp((o)->gch.tt==(8+2),&((o)->uv))
508 #define ngcotouv(o)check_exp((o)==NULL||(o)->gch.tt==(8+2),&((o)->uv))
509 #define gco2th(o)check_exp((o)->gch.tt==8,&((o)->th))
571 #define iswhite(x)test2bits((x)->gch.marked,0,1)
572 #define isblack(x)testbit((x)->gch.marked,2)
575 #define isdead(g,v)((v)->gch.marked&otherwhite(g)&bit2mask(0,1))
576 #define changewhite(x)((x)->gch.marked^=bit2mask(0,1))
577 #define gray2black(x)l_setbit((x)->gch.marked,2)
1054 for(up=L->openupval;up!=NULL;up=up->gch.next)
1271 GCObject*next=p->gch.next;
1274 p->gch.next=newhash[h1];
1315 o=o->gch.next){
1719 #define makewhite(g,x)((x)->gch.marked=cast_byte(((x)->gch.marked&cast_byte(~(bitmask(2)|bit2mask(0…
1720 #define white2gray(x)reset2bits((x)->gch.marked,0,1)
1721 #define black2gray(x)resetbit((x)->gch.marked,2)
1734 switch(o->gch.tt){
1779 u=u->gch.next;
1792 p=&curr->gch.next;
1795 p=&curr->gch.next;
1800 *p=curr->gch.next;
1802 g->tmudata=curr->gch.next=curr;
1804 curr->gch.next=g->tmudata->gch.next;
1805 g->tmudata->gch.next=curr;
1911 switch(o->gch.tt){
1989 switch(o->gch.tt){
2016 if(curr->gch.tt==8)
2018 if((curr->gch.marked^bit2mask(0,1))&deadmask){
2020 p=&curr->gch.next;
2023 *p=curr->gch.next;
2025 g->rootgc=curr->gch.next;
2043 GCObject*o=g->tmudata->gch.next;
2049 g->tmudata->gch.next=udata->uv.next;
2213 o->gch.next=g->rootgc;
2215 o->gch.marked=luaC_white(g);
2216 o->gch.tt=tt;
2221 o->gch.next=g->rootgc;