Home
last modified time | relevance | path

Searched refs:l_castS2U (Results 1 – 6 of 6) sorted by relevance

/l4re-core-master/lua/lib/contrib/src/
A Dlvm.h73 #define intop(op,v1,v2) l_castU2S(l_castS2U(v1) op l_castS2U(v2))
99 : (slot = (l_castS2U(k) - 1u < hvalue(t)->alimit) \
A Dllimits.h138 #if !defined(l_castS2U)
139 #define l_castS2U(i) ((lua_Unsigned)(i)) macro
A Dlvm.c74 #define l_intfitsf(i) ((MAXINTFITSF + l_castS2U(i)) <= (2 * MAXINTFITSF))
222 count = l_castS2U(limit) - l_castS2U(init); in forprep()
224 count /= l_castS2U(step); in forprep()
227 count = l_castS2U(init) - l_castS2U(limit); in forprep()
229 count /= l_castS2U(-(step + 1)) + 1u; in forprep()
719 if (l_unlikely(l_castS2U(n) + 1u <= 1u)) { /* special cases: -1 or 0 */ in luaV_idiv()
739 if (l_unlikely(l_castS2U(n) + 1u <= 1u)) { /* special cases: -1 or 0 */ in luaV_mod()
1513 setivalue(s2v(ra), intop(^, ~l_castS2U(0), ib)); in luaV_execute()
1731 lua_Unsigned count = l_castS2U(ivalue(s2v(ra + 1))); in luaV_execute()
A Dltable.c308 if (l_castS2U(k) - 1u < MAXASIZE) /* 'k' in [1, MAXASIZE]? */ in arrayindex()
720 if (l_castS2U(key) - 1u < t->alimit) /* 'key' in [1, t->alimit]? */ in luaH_getint()
723 (l_castS2U(key) == t->alimit + 1 || in luaH_getint()
724 l_castS2U(key) - 1u < luaH_realasize(t))) { in luaH_getint()
849 if (j <= l_castS2U(LUA_MAXINTEGER) / 2) in hash_search()
A Dlcode.c642 return (l_castS2U(i) + OFFSET_sC <= cast_uint(MAXARG_C)); in fitsC()
1220 return luaK_isKint(e) && (l_castS2U(e->u.ival) <= l_castS2U(MAXARG_C)); in isCint()
A Dlobject.c67 case LUA_OPBNOT: return intop(^, ~l_castS2U(0), v1); in intarith()

Completed in 322 milliseconds