Searched refs:l_castS2U (Results 1 – 5 of 5) sorted by relevance
46 #define intop(op,v1,v2) l_castU2S(l_castS2U(v1) op l_castS2U(v2))
121 #if !defined(l_castS2U)122 #define l_castS2U(i) ((lua_Unsigned)(i)) macro
518 if (l_castS2U(key) - 1 < t->sizearray) in luaH_getint()638 if (j > l_castS2U(LUA_MAXINTEGER) / 2) { /* overflow? */ in unbound_search()
553 if (l_castS2U(n) + 1u <= 1u) { /* special cases: -1 or 0 */ in luaV_div()573 if (l_castS2U(n) + 1u <= 1u) { /* special cases: -1 or 0 */ in luaV_mod()1050 setivalue(ra, intop(^, ~l_castS2U(0), ib)); in luaV_execute()
97 case LUA_OPBNOT: return intop(^, ~l_castS2U(0), v1); in intarith()