Home
last modified time | relevance | path

Searched refs:IS_POT (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/
Dbitscan.h133 return IS_POT(v); in util_is_power_of_two_or_zero()
144 return IS_POT(v); in util_is_power_of_two_or_zero64()
167 return v != 0 && IS_POT(v); in util_is_power_of_two_nonzero()
179 return v != 0 && IS_POT(v); in util_is_power_of_two_nonzero64()
Dmacros.h379 #define IS_POT(v) (((v) & ((v) - 1)) == 0) macro