Searched refs:cast_int (Results 1 – 20 of 20) sorted by relevance
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | lobject.c | 42 else return ((e+1) << 3) | (cast_int(x) - 8); in luaO_int2fb() 166 luaV_concat(L, n+1, cast_int(L->top - L->base) - 1); in luaO_pushvfstring()
|
| H A D | llimits.h | 80 #define cast_int(i) cast(int, (i)) macro
|
| H A D | ldo.c | 74 int inuse = cast_int(L->ci - L->base_ci); in restore_stack_limit() 192 ar.i_ci = cast_int(L->ci - L->base_ci); in luaD_callhook() 285 int nargs = cast_int(L->top - func) - 1; in luaD_precall() 405 luaV_execute(L, cast_int(L->ci - L->base_ci)); in resume()
|
| H A D | lstring.c | 38 lua_assert(cast_int(h%newsize) == lmod(h, newsize)); in luaS_resize()
|
| H A D | lapi.c | 160 return cast_int(L->top - L->base); in lua_gettop() 919 res = cast_int(g->totalbytes >> 10); in lua_gc() 923 res = cast_int(g->totalbytes & 0x3ff); in lua_gc() 995 luaV_concat(L, n, cast_int(L->top - L->base) - 1); in lua_concat()
|
| H A D | ltable.c | 69 #define numints cast_int(sizeof(lua_Number)/sizeof(int)) 150 i = cast_int(n - gnode(t, 0)); /* key index in hash table */ in findindex()
|
| H A D | lvm.c | 703 n = cast_int(L->top - ra) - 1; in luaV_execute() 706 if (c == 0) c = cast_int(*pc++); in luaV_execute() 747 int n = cast_int(ci->base - ci->func) - cl->p->numparams - 1; in luaV_execute()
|
| H A D | ldebug.c | 95 ar->i_ci = cast_int(ci - L->base_ci); in lua_getstack() 571 getobjname(L, L->ci, cast_int(o - L->base), &name) : in luaG_typeerror()
|
| H A D | lgc.c | 242 int ci_used = cast_int(L->ci - L->base_ci); /* number of `ci' in use */ in checkstacksizes() 243 int s_used = cast_int(max - L->stack); /* part of stack in use */ in checkstacksizes()
|
| H A D | lcode.c | 235 lua_assert(luaO_rawequalObj(&fs->f->k[cast_int(nvalue(idx))], v)); in addk() 236 return cast_int(nvalue(idx)); in addk()
|
| /f-stack/freebsd/contrib/openzfs/module/lua/ |
| H A D | lgc.h | 33 #define GCSTEPSIZE (cast_int(100 * sizeof(TString)))
|
| H A D | llimits.h | 94 #define cast_int(i) cast(int, (i)) macro
|
| H A D | lapi.c | 96 int inuse = cast_int(L->top - L->stack) + EXTRA_STACK; in lua_checkstack() 153 : cast_int(L->top - L->ci->func + idx); in lua_absindex() 158 return cast_int(L->top - (L->ci->func + 1)); in lua_gettop() 1039 res = cast_int(gettotalbytes(g) >> 10); in lua_gc() 1043 res = cast_int(gettotalbytes(g) & 0x3ff); in lua_gc()
|
| H A D | lobject.c | 39 return ((e+1) << 3) | (cast_int(x) - 8); in luaO_int2fb()
|
| H A D | ldo.c | 250 int needed = cast_int(L->top - L->stack) + n + EXTRA_STACK; in luaD_growstack() 271 return cast_int(lim - L->stack) + 1; /* part of stack in use */ in stackinuse() 398 n = cast_int(L->top - func) - 1; /* number of real arguments */ in luaD_precall()
|
| H A D | lvm.c | 512 int total = cast_int(top - 1 - (base + b)); /* yet to concatenate */ in luaV_finishOp() 736 if (cast_int(equalobj(L, rb, rc)) != GETARG_A(i)) in luaV_execute() 880 if (n == 0) n = cast_int(L->top - ra) - 1; in luaV_execute() 909 int n = cast_int(base - ci->func) - cl->p->numparams - 1; in luaV_execute()
|
| H A D | ltable.c | 157 i = cast_int(n - gnode(t, 0)); /* key index in hash table */ in findindex()
|
| H A D | ldebug.c | 536 cast_int(o - ci->u.l.base), &name); in luaG_typeerror()
|
| H A D | lgc.c | 33 #define GCSWEEPMAX (cast_int((GCSTEPSIZE / GCSWEEPCOST) / 4))
|
| H A D | lparser.c | 246 for (i = cast_int(fs->nactvar) - 1; i >= 0; i--) { in searchvar()
|