Home | History | Annotate | Download | only in src

Lines Matching refs:LUA_NBITS

17 #if !defined(LUA_NBITS)
18 #define LUA_NBITS 32
22 #define ALLONES (~(((~(lua_Unsigned)0) << (LUA_NBITS - 1)) << 1))
28 /* builds a number with 'n' ones (1 <= n <= LUA_NBITS) */
90 if (i >= LUA_NBITS) r = 0;
94 if (i >= LUA_NBITS) r = 0;
116 if (i < 0 || !(r & ((b_uint)1 << (LUA_NBITS - 1))))
119 if (i >= LUA_NBITS) r = ALLONES;
130 i &= (LUA_NBITS - 1); /* i = i % NBITS */
132 r = (r << i) | (r >> (LUA_NBITS - i));
159 if (f + w > LUA_NBITS)