OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:IS_POWER_OF_TWO
(Results
1 - 4
of
4
) sorted by null
/device/google/contexthub/firmware/os/inc/
util.h
47
static inline bool
IS_POWER_OF_TWO
(unsigned int n)
63
return
IS_POWER_OF_TWO
(n) ? LOG2_FLOOR(n) : LOG2_FLOOR(n) + 1;
/device/linaro/bootloader/arm-trusted-firmware/include/lib/
utils_def.h
14
#define
IS_POWER_OF_TWO
(x) \
/external/compiler-rt/test/asan/TestCases/
coverage-reset.cc
30
#define
IS_POWER_OF_TWO
(a) ((a & ((a) - 1)) == 0)
39
assert(
IS_POWER_OF_TWO
(main_bit));
44
assert(
IS_POWER_OF_TWO
(foo_bit));
49
assert(
IS_POWER_OF_TWO
(bar_bit));
/external/v8/src/base/
macros.h
180
#define
IS_POWER_OF_TWO
(x) ((x) != 0 && (((x) & ((x) - 1)) == 0))
274
DCHECK(
IS_POWER_OF_TWO
(m));
Completed in 499 milliseconds