Home
last modified time | relevance | path

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

/third_party/boost/libs/log/src/
Dbit_tools.hpp32 inline BOOST_CONSTEXPR bool is_power_of_2(T n) BOOST_NOEXCEPT in is_power_of_2() function
/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/e2fsprogs/lib/ext2fs/
Djfs_compat.h71 #define is_power_of_2(x) ((x) != 0 && (((x) & ((x) - 1)) == 0)) macro
/third_party/boost/libs/log/src/windows/
Dipc_reliable_message_queue.cpp494 if (!boost::log::aux::is_power_of_2(hdr->m_block_size)) in adopt_queue()
630 if (!boost::log::aux::is_power_of_2(block_size)) in create()
646 if (!boost::log::aux::is_power_of_2(block_size)) in open_or_create()
/third_party/boost/libs/log/src/posix/
Dipc_reliable_message_queue.cpp503 if (!boost::log::aux::is_power_of_2(hdr->m_block_size)) in adopt_region()
681 if (!boost::log::aux::is_power_of_2(block_size)) in create()
701 if (!boost::log::aux::is_power_of_2(block_size)) in open_or_create()
/third_party/e2fsprogs/e2fsck/
Drevoke.c266 J_ASSERT(is_power_of_2(hash_size)); in jbd2_journal_init_revoke()