HomeSort by: relevance | last modified time | path
    Searched refs:gettotalbytes (Results 1 - 4 of 4) sorted by relevancy

  /src/external/mit/lua/dist/src/
lgc.c 1068 debt = gettotalbytes(g) - threshold;
1310 g->GCestimate = gettotalbytes(g); /* base for memory control */
1320 luaE_setdebt(g, -(cast(l_mem, (gettotalbytes(g) / 100)) * g->genminormul));
1415 g->GCestimate = gettotalbytes(g); /* first estimate */;
1449 if (g->GCdebt > 0 && gettotalbytes(g) > majorbase + majorinc) {
1451 if (gettotalbytes(g) < majorbase + (majorinc / 2)) {
1610 g->GCestimate = gettotalbytes(g); /* first estimate */;
1718 lua_assert(g->GCestimate == gettotalbytes(g));
lstate.h 396 #define gettotalbytes(g) cast(lu_mem, (g)->totalbytes + (g)->GCdebt) macro
lstate.c 94 l_mem tb = gettotalbytes(g);
285 lua_assert(gettotalbytes(g) == sizeof(LG));
lapi.c 1167 res = cast_int(gettotalbytes(g) >> 10);
1171 res = cast_int(gettotalbytes(g) & 0x3ff);

Completed in 65 milliseconds