Searched refs:cast_int (Results 1 – 10 of 10) sorted by relevance
32 #define GCSTEPSIZE (cast_int(100 * sizeof(TString)))
95 #define cast_int(i) cast(int, (i)) macro
98 int inuse = cast_int(L->top - L->stack) + EXTRA_STACK; in lua_checkstack()155 : cast_int(L->top - L->ci->func + idx); in lua_absindex()160 return cast_int(L->top - (L->ci->func + 1)); in lua_gettop()1041 res = cast_int(gettotalbytes(g) >> 10); in lua_gc()1045 res = cast_int(gettotalbytes(g) & 0x3ff); in lua_gc()
511 int total = cast_int(top - 1 - (base + b)); /* yet to concatenate */ in luaV_finishOp()735 if (cast_int(equalobj(L, rb, rc)) != GETARG_A(i)) in luaV_execute()879 if (n == 0) n = cast_int(L->top - ra) - 1; in luaV_execute()908 int n = cast_int(base - ci->func) - cl->p->numparams - 1; in luaV_execute()
184 int needed = cast_int(L->top - L->stack) + n + EXTRA_STACK; in luaD_growstack()205 return cast_int(lim - L->stack) + 1; /* part of stack in use */ in stackinuse()332 n = cast_int(L->top - func) - 1; /* number of real arguments */ in luaD_precall()
40 return ((e+1) << 3) | (cast_int(x) - 8); in luaO_int2fb()
157 i = cast_int(n - gnode(t, 0)); /* key index in hash table */ in findindex()
536 cast_int(o - ci->u.l.base), &name); in luaG_typeerror()
34 #define GCSWEEPMAX (cast_int((GCSTEPSIZE / GCSWEEPCOST) / 4))
247 for (i = cast_int(fs->nactvar) - 1; i >= 0; i--) { in searchvar()