Home
last modified time | relevance | path

Searched refs:l_mem (Results 1 – 5 of 5) sorted by relevance

/external/lua/src/
Dllimits.h25 typedef LUAI_MEM l_mem; typedef
28 typedef ptrdiff_t l_mem; typedef
31 typedef long l_mem; typedef
50 #define MAX_LMEM ((l_mem)(MAX_LUMEM >> 1))
Dlstate.h254 l_mem totalbytes; /* number of bytes currently allocated - GCdebt */
255 l_mem GCdebt; /* bytes allocated not yet compensated by the collector */
387 LUAI_FUNC void luaE_setdebt (global_State *g, l_mem debt);
Dlgc.c860 l_mem olddebt = g->GCdebt; in checkSizes()
1343 luaE_setdebt(g, -(cast(l_mem, (gettotalbytes(g) / 100)) * g->genminormul)); in setminordebt()
1452 l_mem threshold, debt; in setpause()
1454 l_mem estimate = g->GCestimate / PAUSEADJ; /* adjust 'estimate' */ in setpause()
1556 l_mem olddebt = g->GCdebt; in sweepstep()
1641 l_mem debt = (g->GCdebt / WORK2MEM) * stepmul; in incstep()
1642 l_mem stepsize = (g->gcstepsize <= log2maxs(l_mem)) in incstep()
1643 ? ((cast(l_mem, 1) << g->gcstepsize) / WORK2MEM) * stepmul in incstep()
Dlstate.c89 void luaE_setdebt (global_State *g, l_mem debt) { in luaE_setdebt()
90 l_mem tb = gettotalbytes(g); in luaE_setdebt()
Dlapi.c1133 l_mem debt = 1; /* =1 to signal that it did an actual step */ in lua_gc()
1141 debt = cast(l_mem, data) * 1024 + g->GCdebt; in lua_gc()