Searched defs:is_power_of_two (Results 1 – 8 of 8) sorted by relevance
29 is_power_of_two(unsigned long n) in is_power_of_two() function
220 bool is_power_of_two(int number) { return number && !(number & (number - 1)); } in is_power_of_two() function
37 static int is_power_of_two(int N) { in is_power_of_two() function
300 #define is_power_of_two(x) (((x) & ((x)-1)) == 0) macro
53 #define is_power_of_two(x) (((x) & ((x)-1)) == 0) macro
4351 static bool is_power_of_two(size_t val) { in is_power_of_two() function
5217 static bool is_power_of_two(size_t val) { in is_power_of_two() function