Searched refs:cast_uint (Results 1 – 10 of 10) sorted by relevance
110 if (ui <= cast_uint(INT_MAX)) in hashint()140 unsigned int u = cast_uint(i) + cast_uint(ni); in l_hashfloat()141 return cast_int(u <= cast_uint(INT_MAX) ? u : ~u); in l_hashfloat()320 return cast_uint(k); /* 'key' is an appropriate array index */ in arrayindex()736 t->alimit = cast_uint(key); /* probably '#t' is here now */ in luaH_getint()
148 #define SETARG_sBx(i,b) SETARG_Bx((i),cast_uint((b)+OFFSET_sBx))153 setarg(i, cast_uint((j)+OFFSET_sJ), POS_sJ, SIZE_sJ)
46 cast_uint((MAX_SIZET/sizeof(t))))
980 if (!(cast_uint(n) - 1u < cast_uint(uvalue(o)->nuvalue))) in lua_setiuservalue()1362 if (!(cast_uint(n) - 1u < cast_uint(f->nupvalues))) in aux_upvalue()1372 if (!(cast_uint(n) - 1u < cast_uint(p->sizeupvalues))) in aux_upvalue()
142 #define cast_uint(i) cast(unsigned int, (i)) macro
44 unsigned int h = seed ^ cast_uint(l); in luaS_hash()
173 while (cast_uint(level - L->tbclist.p) > MAXDELTA) { in luaF_newtbcupval()
73 unsigned int h = cast_uint(time(NULL)); in luai_makeseed()
66 int i = cast_uint(pc) / MAXIWTHABS - 1; /* get an estimate */ in getbaseline()
667 return (l_castS2U(i) + OFFSET_sC <= cast_uint(MAXARG_C)); in fitsC()