Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlgc.h32 #define GCSTEPSIZE (cast_int(100 * sizeof(TString)))
H A Dllimits.h95 #define cast_int(i) cast(int, (i)) macro
H A Dlapi.c98 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()
H A Dlvm.c511 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()
H A Dldo.c184 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()
H A Dlobject.c40 return ((e+1) << 3) | (cast_int(x) - 8); in luaO_int2fb()
H A Dltable.c157 i = cast_int(n - gnode(t, 0)); /* key index in hash table */ in findindex()
H A Dldebug.c536 cast_int(o - ci->u.l.base), &name); in luaG_typeerror()
H A Dlgc.c34 #define GCSWEEPMAX (cast_int((GCSTEPSIZE / GCSWEEPCOST) / 4))
H A Dlparser.c247 for (i = cast_int(fs->nactvar) - 1; i >= 0; i--) { in searchvar()