Searched refs:lua_Unsigned (Results 1 – 14 of 14) sorted by relevance
/l4re-core-master/lua/lib/contrib/src/ |
A D | lmathlib.c | 165 lua_pushboolean(L, (lua_Unsigned)a < (lua_Unsigned)b); in math_ult() 283 #define Rand64 lua_Unsigned 503 return ((lua_Unsigned)trim32(x.h) << 31 << 1) | (lua_Unsigned)trim32(x.l); in I2UInt() 507 static Rand64 Int2I (lua_Unsigned n) { in Int2I() 532 static lua_Unsigned project (lua_Unsigned ran, lua_Unsigned n, in project() 537 lua_Unsigned lim = n; in project() 559 lua_Unsigned p; in math_random() 586 p = project(I2UInt(rv), (lua_Unsigned)up - (lua_Unsigned)low, state); in math_random() 593 lua_Unsigned n1, lua_Unsigned n2) { in setseed() 612 lua_Unsigned seed1 = (lua_Unsigned)time(NULL); in randseed() [all …]
|
A D | ltablib.c | 73 luaL_argcheck(L, (lua_Unsigned)pos - 1u < (lua_Unsigned)e, 2, in tinsert() 95 luaL_argcheck(L, (lua_Unsigned)pos - 1u <= (lua_Unsigned)size, 1, in tremove() 194 lua_Unsigned n; in tunpack() 198 n = (lua_Unsigned)e - i; /* number of elements minus 1 (avoid overflows) */ in tunpack()
|
A D | lstrlib.c | 201 lua_Unsigned c = (lua_Unsigned)luaL_checkinteger(L, i); in str_char() 202 luaL_argcheck(L, c <= (lua_Unsigned)UCHAR_MAX, i, "value out of range"); in str_char() 1511 static void packint (luaL_Buffer *b, lua_Unsigned n, in packint() 1567 packint(&b, (lua_Unsigned)n, h.islittle, size, (n < 0)); in str_pack() 1573 luaL_argcheck(L, (lua_Unsigned)n < ((lua_Unsigned)1 << (size * NB)), in str_pack() 1575 packint(&b, (lua_Unsigned)n, h.islittle, size, 0); in str_pack() 1618 packint(&b, (lua_Unsigned)len, h.islittle, size, 0); /* pack length */ in str_pack() 1673 lua_Unsigned res = 0; in unpackint() 1678 res |= (lua_Unsigned)(unsigned char)str[islittle ? i : size - 1 - i]; in unpackint() 1682 lua_Unsigned mask = (lua_Unsigned)1 << (size*NB - 1); in unpackint()
|
A D | lutf8lib.c | 152 lua_Unsigned code = (lua_Unsigned)luaL_checkinteger(L, arg); in pushutfchar()
|
A D | ltable.c | 844 static lua_Unsigned hash_search (Table *t, lua_Unsigned j) { in hash_search() 845 lua_Unsigned i; in hash_search() 861 lua_Unsigned m = (i + j) / 2; in hash_search() 912 lua_Unsigned luaH_getn (Table *t) { in luaH_getn()
|
A D | ltable.h | 56 LUAI_FUNC lua_Unsigned luaH_getn (Table *t);
|
A D | lauxlib.h | 276 #define luaL_checkunsigned(L,a) ((lua_Unsigned)luaL_checkinteger(L,a)) 278 ((lua_Unsigned)luaL_optinteger(L,a,(lua_Integer)(d)))
|
A D | lua.h | 97 typedef LUA_UNSIGNED lua_Unsigned; typedef 194 LUA_API lua_Unsigned (lua_rawlen) (lua_State *L, int idx); 407 #define lua_tounsignedx(L,i,is) ((lua_Unsigned)lua_tointegerx(L,i,is))
|
A D | loslib.c | 264 if (!(res >= 0 ? (lua_Unsigned)res <= (lua_Unsigned)INT_MAX + delta in getfield()
|
A D | llimits.h | 139 #define l_castS2U(i) ((lua_Unsigned)(i))
|
A D | lobject.c | 273 #define MAXBY10 cast(lua_Unsigned, LUA_MAXINTEGER / 10) 277 lua_Unsigned a = 0; in l_str2int()
|
A D | lvm.c | 71 #define MAXINTFITSF ((lua_Unsigned)1 << NBM) 220 lua_Unsigned count; in forprep() 1238 lua_Unsigned n; in luaV_execute() 1291 lua_Unsigned n; in luaV_execute() 1731 lua_Unsigned count = l_castS2U(ivalue(s2v(ra + 1))); in luaV_execute()
|
A D | lbaselib.c | 61 lua_Unsigned n = 0; in b_str2int()
|
A D | lapi.c | 420 LUA_API lua_Unsigned lua_rawlen (lua_State *L, int idx) { in lua_rawlen()
|
Completed in 33 milliseconds