Home
last modified time | relevance | path

Searched refs:cast_uint (Results 1 – 8 of 8) sorted by relevance

/freebsd-13.1/contrib/lua/src/
H A Dltable.c123 unsigned int u = cast_uint(i) + cast_uint(ni); in l_hashfloat()
124 return cast_int(u <= cast_uint(INT_MAX) ? u : ~u); in l_hashfloat()
290 return cast_uint(k); /* 'key' is an appropriate array index */ in arrayindex()
703 t->alimit = cast_uint(key); /* probably '#t' is here now */ in luaH_getint()
H A Dlopcodes.h148 #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)
H A Dlmem.h46 cast_uint((MAX_SIZET/sizeof(t))))
H A Dlapi.c948 if (!(cast_uint(n) - 1u < cast_uint(uvalue(o)->nuvalue))) in lua_setiuservalue()
1330 if (!(cast_uint(n) - 1u < cast_uint(f->nupvalues))) in aux_upvalue()
1340 if (!(cast_uint(n) - 1u < cast_uint(p->sizeupvalues))) in aux_upvalue()
H A Dllimits.h129 #define cast_uint(i) cast(unsigned int, (i)) macro
H A Dlstring.c44 unsigned int h = seed ^ cast_uint(l); in luaS_hash()
H A Dlstate.c73 unsigned int h = cast_uint(time(NULL)); in luai_makeseed()
H A Dlcode.c647 return (l_castS2U(i) + OFFSET_sC <= cast_uint(MAXARG_C)); in fitsC()