Home
last modified time | relevance | path

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

/third_party/ltp/tools/sparse/sparse-src/
Dbits.h61 static inline int is_power_of_2(long long val) in is_power_of_2() function
Dsimplify.c62 return is_power_of_2(src->value); in is_pow2()
1283 if (value == bits && is_power_of_2(bits)) in simplify_compare_constant()
1289 if (value == bits && is_power_of_2(bits)) in simplify_compare_constant()
/third_party/fsverity-utils/common/
Dcommon_defs.h67 static inline bool is_power_of_2(unsigned long n) in is_power_of_2() function
/third_party/fsverity-utils/programs/
Dfsverity.c183 if (n <= 0 || n >= INT_MAX || !is_power_of_2(n) || *end != '\0') { in parse_block_size_option()
/third_party/fsverity-utils/lib/
Dcompute_digest.c260 if (!is_power_of_2(block_size)) { in libfsverity_compute_digest()
/third_party/f2fs-tools/lib/
Dlibf2fs.c883 static int is_power_of_2(unsigned long n) in is_power_of_2() function
1050 if (!is_power_of_2(dev->zone_size)) in get_device_info()