Searched refs:gettotalbytes (Results 1 – 4 of 4) sorted by relevance
99 l_mem tb = gettotalbytes(g); in luaE_setdebt()250 lua_assert(gettotalbytes(g) == sizeof(LG)); in close_state()
243 #define gettotalbytes(g) cast(lu_mem, (g)->totalbytes + (g)->GCdebt) macro
947 debt = gettotalbytes(g) - threshold; in setpause()1067 g->GCestimate = gettotalbytes(g); /* first estimate */; in singlestep()1171 lua_assert(g->GCestimate == gettotalbytes(g)); in luaC_fullgc()
1061 res = cast_int(gettotalbytes(g) >> 10); in lua_gc()1065 res = cast_int(gettotalbytes(g) & 0x3ff); in lua_gc()