Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlbitlib.c17 #if !defined(LUA_NBITS)
18 #define LUA_NBITS 32 macro
22 #define ALLONES (~(((~(lua_Unsigned)0) << (LUA_NBITS - 1)) << 1))
90 if (i >= LUA_NBITS) r = 0; in b_shift()
94 if (i >= LUA_NBITS) r = 0; in b_shift()
116 if (i < 0 || !(r & ((b_uint)1 << (LUA_NBITS - 1)))) in b_arshift()
119 if (i >= LUA_NBITS) r = ALLONES; in b_arshift()
130 i &= (LUA_NBITS - 1); /* i = i % NBITS */ in b_rot()
133 r = (r << i) | (r >> (LUA_NBITS - i)); in b_rot()
160 if (f + w > LUA_NBITS) in fieldargs()