Searched refs:gettotalbytes (Results 1 – 4 of 4) sorted by relevance
1282 g->GCestimate = gettotalbytes(g); /* base for memory control */ in atomic2gen()1349 luaE_setdebt(g, -(cast(l_mem, (gettotalbytes(g) / 100)) * g->genminormul)); in setminordebt()1386 g->GCestimate = gettotalbytes(g); /* first estimate */; in stepgenfull()1420 if (g->GCdebt > 0 && gettotalbytes(g) > majorbase + majorinc) { in genstep()1422 if (gettotalbytes(g) < majorbase + (majorinc / 2)) { in genstep()1465 debt = gettotalbytes(g) - threshold; in setpause()1600 g->GCestimate = gettotalbytes(g); /* first estimate */; in singlestep()1704 lua_assert(g->GCestimate == gettotalbytes(g)); in fullinc()
90 l_mem tb = gettotalbytes(g); in luaE_setdebt()280 lua_assert(gettotalbytes(g) == sizeof(LG)); in close_state()
389 #define gettotalbytes(g) cast(lu_mem, (g)->totalbytes + (g)->GCdebt) macro
1149 res = cast_int(gettotalbytes(g) >> 10); in lua_gc()1153 res = cast_int(gettotalbytes(g) & 0x3ff); in lua_gc()
Completed in 13 milliseconds