Home
last modified time | relevance | path

Searched refs:cast_int (Results 1 – 10 of 10) sorted by relevance

/external/syslinux/com32/lua/src/
Dlapi.c99 int inuse = cast_int(L->top - L->stack) + EXTRA_STACK; in lua_checkstack()
156 : cast_int(L->top - L->ci->func + idx); in lua_absindex()
161 return cast_int(L->top - (L->ci->func + 1)); in lua_gettop()
1042 res = cast_int(gettotalbytes(g) >> 10); in lua_gc()
1046 res = cast_int(gettotalbytes(g) & 0x3ff); in lua_gc()
Dlvm.c474 int total = cast_int(top - 1 - (base + b)); /* yet to concatenate */ in luaV_finishOp()
695 if (cast_int(equalobj(L, rb, rc)) != GETARG_A(i)) in luaV_execute()
839 if (n == 0) n = cast_int(L->top - ra) - 1; in luaV_execute()
868 int n = cast_int(base - ci->func) - cl->p->numparams - 1; in luaV_execute()
Dllimits.h97 #define cast_int(i) cast(int, (i)) macro
Dlgc.h32 #define GCSTEPSIZE (cast_int(100 * sizeof(TString)))
Dldo.c180 int needed = cast_int(L->top - L->stack) + n + EXTRA_STACK; in luaD_growstack()
201 return cast_int(lim - L->stack) + 1; /* part of stack in use */ in stackinuse()
328 n = cast_int(L->top - func) - 1; /* number of real arguments */ in luaD_precall()
Dltable.c81 #define numints cast_int(sizeof(lua_Number)/sizeof(int))
158 i = cast_int(n - gnode(t, 0)); /* key index in hash table */ in findindex()
Dlobject.c43 return ((e+1) << 3) | (cast_int(x) - 8); in luaO_int2fb()
Dldebug.c522 cast_int(o - ci->u.l.base), &name); in luaG_typeerror()
Dlgc.c34 #define GCSWEEPMAX (cast_int((GCSTEPSIZE / GCSWEEPCOST) / 4))
Dlparser.c248 for (i = cast_int(fs->nactvar) - 1; i >= 0; i--) { in searchvar()