Lines Matching +full:0 +full:xffff
156 uint32_t r = 0; in lfs_npw2()
159 s = (a > 0xffff) << 4; a >>= s; r |= s; in lfs_npw2()
160 s = (a > 0xff ) << 3; a >>= s; r |= s; in lfs_npw2()
161 s = (a > 0xf ) << 2; a >>= s; r |= s; in lfs_npw2()
162 s = (a > 0x3 ) << 1; a >>= s; r |= s; in lfs_npw2()
168 // lfs_ctz(0) may be undefined
182 a = a - ((a >> 1) & 0x55555555); in lfs_popc()
183 a = (a & 0x33333333) + ((a >> 2) & 0x33333333); in lfs_popc()
184 return (((a + (a >> 4)) & 0xf0f0f0f) * 0x1010101) >> 24; in lfs_popc()
207 return (((uint8_t*)&a)[0] << 0) | in lfs_fromle32()
231 return (((uint8_t*)&a)[0] << 24) | in lfs_frombe32()
234 (((uint8_t*)&a)[3] << 0); in lfs_frombe32()
242 // Calculate CRC-32 with polynomial = 0x04c11db7