Lines Matching refs:UBits
45 typedef uint32_t UBits; typedef
52 UBits b;
57 static UBits barg(lua_State *L, int idx) in barg()
60 UBits b; in barg()
69 b = (UBits)(bn.b >> 32); in barg()
71 b = (UBits)bn.b; in barg()
76 if (sizeof(UBits) == sizeof(lua_Number)) in barg()
79 b = (UBits)(SBits)bn.n; in barg()
100 static int func(lua_State *L) { int i; UBits b = barg(L, 1); \
113 UBits b = barg(L, 1); UBits n = barg(L, 2) & 31; BRET(fn(b, n)) }
122 UBits b = barg(L, 1); in BIT_SH()
129 UBits b = barg(L, 1); in bit_tohex()
165 UBits b; in luaopen_bit()
168 if (b != (UBits)1437217655L || BAD_SAR) { /* Perform a simple self-test. */ in luaopen_bit()
172 if (b == (UBits)1610612736L) in luaopen_bit()
175 if (b == (UBits)1127743488L) in luaopen_bit()