OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cast_int
(Results
1 - 19
of
19
) sorted by relevancy
/src/external/mit/lua/dist/src/
lfunc.h
16
#define sizeCclosure(n) (
cast_int
(offsetof(CClosure, upvalue)) + \
17
cast_int
(sizeof(TValue)) * (n))
19
#define sizeLclosure(n) (
cast_int
(offsetof(LClosure, upvals)) + \
20
cast_int
(sizeof(TValue *)) * (n))
ldebug.h
16
#define pcRel(pc, p) (
cast_int
((pc) - (p)->code) - 1)
llex.h
54
#define NUM_RESERVED (
cast_int
(TK_WHILE-FIRST_RESERVED + 1))
ltable.c
50
#define MAXABITS
cast_int
(sizeof(int) * CHAR_BIT - 1)
115
return hashmod(t,
cast_int
(ui));
146
return
cast_int
(u <= cast_uint(INT_MAX) ? u : ~u);
352
i =
cast_int
(nodefromval(n) - gnode(t, 0)); /* key index in hash table */
369
for (i -= asize;
cast_int
(i) < sizenode(t); i++) { /* hash part */
503
for (i = 0; i <
cast_int
(size); i++) {
712
gnext(othern) =
cast_int
(f - othern); /* rechain to point to 'f' */
715
gnext(f) +=
cast_int
(mp - f); /* correct 'next' */
723
gnext(f) =
cast_int
((mp + gnext(mp)) - f); /* chain new position */
725
gnext(mp) =
cast_int
(f - mp)
[
all
...]
lcode.c
556
k =
cast_int
(ivalue(idx));
683
luaK_codeAsBx(fs, OP_LOADI, reg,
cast_int
(i));
693
luaK_codeAsBx(fs, OP_LOADF, reg,
cast_int
(fi));
1291
*pi = int2sC(
cast_int
(i));
1325
t->u.ind.idx =
cast_int
(k->u.ival); /* int. constant in proper range */
1396
return cast(OpCode, (
cast_int
(opr) -
cast_int
(baser)) +
cast_int
(base));
1404
return cast(OpCode, (
cast_int
(opr) -
cast_int
(OPR_MINUS))
[
all
...]
lopcodes.h
123
#define getarg(i,pos,size) (
cast_int
(((i)>>(pos)) & MASK1(size,0)))
138
#define TESTARG_k(i) check_exp(checkopm(i, iABC), (
cast_int
(((i) & (1u << POS_k)))))
lobject.c
292
#define MAXLASTD
cast_int
(LUA_MAXINTEGER % 10)
484
char *bf = getbuff(buff,
cast_int
(slen));
486
addsize(buff,
cast_int
(slen));
llimits.h
147
#define
cast_int
(i) cast(int, (i))
macro
lstate.h
149
#define stacksize(th)
cast_int
((th)->stack_last.p - (th)->stack.p)
ldo.c
259
int needed =
cast_int
(L->top.p - L->stack.p) + n;
288
res =
cast_int
(lim - L->stack.p) + 1; /* part of stack in use */
529
int narg =
cast_int
(L->top.p - func) - 1;
604
int narg =
cast_int
(L->top.p - func) - 1; /* number of real arguments */
864
:
cast_int
(L->top.p - (L->ci->func.p + 1));
lfunc.c
132
int idx =
cast_int
(level - L->ci->func.p); /* variable index */
lstring.c
32
#define MAXSTRTB
cast_int
(luaM_limitN(MAX_INT, TString*))
ltm.c
252
int actual =
cast_int
(L->top.p - ci->func.p) - 1; /* number of arguments */
lapi.c
178
:
cast_int
(L->top.p - L->ci->func.p) + idx;
183
return
cast_int
(L->top.p - (L->ci->func.p + 1));
1081
ci->u2.funcidx =
cast_int
(savestack(L, c.func));
1167
res =
cast_int
(gettotalbytes(g) >> 10);
1171
res =
cast_int
(gettotalbytes(g) & 0x3ff);
lundump.c
93
return
cast_int
(loadUnsigned(S, INT_MAX));
lvm.c
814
#define NBITS
cast_int
(sizeof(lua_Integer) * CHAR_BIT)
893
int total =
cast_int
(top - 1 - (base + a)); /* yet to concatenate */
1801
b =
cast_int
(L->top.p - ra);
1822
n =
cast_int
(L->top.p - ra); /* get what is available */
1956
n =
cast_int
(L->top.p - ra) - 1; /* get up to the top */
lobject.h
801
(check_exp((size&(size-1))==0, (
cast_int
((s) & ((size)-1)))))
lstate.c
341
luaD_reallocstack(L,
cast_int
(ci->top.p - L->stack.p), 0);
lparser.c
396
for (i =
cast_int
(fs->nactvar) - 1; i >= 0; i--) {
Completed in 54 milliseconds
Indexes created Sun Jun 14 00:25:39 UTC 2026