Lines Matching +full:- +full:i
5 * SPDX-License-Identifier: BSD-3-Clause
11 // LFS_CONFIG as a header file to include (-DLFS_CONFIG=lfs_config.h).
14 // provided by the config file. To start, I would suggest copying lfs_util.h
65 // macros must not have side-effects as the macros can be removed for a smaller
130 // toolchain-specific implementations. LFS_NO_INTRINSICS falls back to a more
133 // Min/max functions for unsigned 32-bit numbers
144 return a - (a % alignment); in lfs_aligndown()
148 return lfs_aligndown(a + alignment-1, alignment); in lfs_alignup()
154 return 32 - __builtin_clz(a-1); in lfs_npw2()
158 a -= 1; in lfs_npw2()
173 return lfs_npw2((a & -a) + 1) - 1; in lfs_ctz()
182 a = a - ((a >> 1) & 0x55555555); in lfs_popc()
191 return (int)(unsigned)(a - b); in lfs_scmp()
194 // Convert between 32-bit little-endian and native order
218 // Convert between 32-bit big-endian and native order
242 // Calculate CRC-32 with polynomial = 0x04c11db7
246 // Note, memory must be 64-bit aligned