Home
last modified time | relevance | path

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

/external/lua/src/
Dlbitlib.c27 #if !defined(LUA_NBITS)
28 #define LUA_NBITS 32 macro
37 #define ALLONES (~(((~(lua_Unsigned)0) << (LUA_NBITS - 1)) << 1))
103 if (i >= LUA_NBITS) r = 0; in b_shift()
107 if (i >= LUA_NBITS) r = 0; in b_shift()
129 if (i < 0 || !(r & ((lua_Unsigned)1 << (LUA_NBITS - 1)))) in b_arshift()
132 if (i >= LUA_NBITS) r = ALLONES; in b_arshift()
143 int i = d & (LUA_NBITS - 1); /* i = d % NBITS */ in b_rot()
146 r = (r << i) | (r >> (LUA_NBITS - i)); in b_rot()
173 if (f + w > LUA_NBITS) in fieldargs()