Home
last modified time | relevance | path

Searched refs:stepmul (Results 1 – 3 of 3) sorted by relevance

/external/lua/src/
Dlbaselib.c230 int stepmul = (int)luaL_optinteger(L, 3, 0); in luaB_collectgarbage() local
232 return pushmode(L, lua_gc(L, o, pause, stepmul, stepsize)); in luaB_collectgarbage()
Dlgc.c1640 int stepmul = (getgcparam(g->gcstepmul) | 1); /* avoid division by 0 */ in incstep() local
1641 l_mem debt = (g->GCdebt / WORK2MEM) * stepmul; in incstep()
1643 ? ((cast(l_mem, 1) << g->gcstepsize) / WORK2MEM) * stepmul in incstep()
1652 debt = (debt / stepmul) * WORK2MEM; /* convert 'work units' to bytes */ in incstep()
Dlapi.c1179 int stepmul = va_arg(argp, int); in lua_gc() local
1184 if (stepmul != 0) in lua_gc()
1185 setgcparam(g->gcstepmul, stepmul); in lua_gc()