Home
last modified time | relevance | path

Searched defs:IsPowerOfTwo (Results 1 – 20 of 20) sorted by relevance

/external/gemmlowp/internal/
Dcommon.h167 struct IsPowerOfTwo { struct
168 static constexpr bool value = !(N & (N - 1));
/external/perfetto/src/profiling/memory/
Dscoped_spinlock.cc26 constexpr bool IsPowerOfTwo(size_t v) { in IsPowerOfTwo() function
Dmalloc_interceptor_glibc_preload.cc32 bool IsPowerOfTwo(size_t v) { in IsPowerOfTwo() function
/external/pdfium/third_party/base/
Dbits.h29 constexpr inline bool IsPowerOfTwo(T value) { in IsPowerOfTwo() function
/external/libchrome/base/
Dbits.h27 constexpr inline bool IsPowerOfTwo(T value) { in IsPowerOfTwo() function
/external/llvm-project/libc/test/src/string/memory_utils/
Dutils_test.cpp27 TEST(UtilsTest, IsPowerOfTwo) { in TEST() argument
/external/OpenCL-CTS/test_conformance/basic/
Dtest_sizeof.cpp151 static int IsPowerOfTwo( cl_ulong x ){ return 0 == (x & (x-1)); } in IsPowerOfTwo() function
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upbc/
Dmessage_layout.h82 static bool IsPowerOfTwo(size_t val) { in IsPowerOfTwo() function
/external/perfetto/src/profiling/perf/
Devent_reader.cc47 bool IsPowerOfTwo(size_t v) { in IsPowerOfTwo() function
Devent_config.cc139 constexpr bool IsPowerOfTwo(size_t v) { in IsPowerOfTwo() function
Devent_config_unittest.cc36 bool IsPowerOfTwo(size_t v) { in IsPowerOfTwo() function
/external/tensorflow/tensorflow/lite/kernels/
Drfft2d.cc53 bool IsPowerOfTwo(uint32_t v) { return v && !(v & (v - 1)); } in IsPowerOfTwo() function
/external/tensorflow/tensorflow/compiler/xla/
Dutil.h444 inline bool IsPowerOfTwo(T x) { in IsPowerOfTwo() function
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.h440 INLINE bool IsPowerOfTwo(uptr x) { in IsPowerOfTwo() function
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.h410 inline bool IsPowerOfTwo(uptr x) { in IsPowerOfTwo() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3806 auto IsPowerOfTwo = [](ConstantSDNode *C) { in visitSDIVLike() local
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp4082 auto IsPowerOfTwo = [](ConstantSDNode *C) { in visitSDIVLike() local
/external/rust/crates/libsqlite3-sys/sqlite3/
Dsqlite3.c14599 #define IsPowerOfTwo(X) (((X)&((X)-1))==0) macro
/external/sqlite/dist/orig/
Dsqlite3.c14571 #define IsPowerOfTwo(X) (((X)&((X)-1))==0) macro
/external/sqlite/dist/
Dsqlite3.c14571 #define IsPowerOfTwo(X) (((X)&((X)-1))==0) macro