/art/libdexfile/dex/ |
hidden_api_access_flags.h | 107 static_assert(IsPowerOfTwo((kAccHiddenApiBits >> kAccFlagsShift) + 1), 118 static_assert(IsPowerOfTwo(0u), "Following statement checks if *at most* one bit is set"); 119 return !IsPowerOfTwo(access_flags_ & kAccVisibilityFlags);
|
/art/cmdline/ |
memory_representation.h | 32 static_assert(IsPowerOfTwo(kDivisor), "Divisor must be a power of 2");
|
/art/libartbase/base/ |
bounded_fifo.h | 30 static_assert(IsPowerOfTwo(kMaxSize), "kMaxSize must be a power of 2.");
|
bit_utils.h | 144 constexpr bool IsPowerOfTwo(T x) { 154 DCHECK((x != 0) && IsPowerOfTwo(x)); 165 DCHECK(IsPowerOfTwo(n));
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
external_constant_pool.cc | 32 CHECK(alignment > 0 && IsPowerOfTwo(static_cast<uint64>(alignment)));
|
/external/compiler-rt/lib/asan/ |
asan_flags.cc | 145 CHECK(IsPowerOfTwo(f->redzone)); 146 CHECK(IsPowerOfTwo(f->max_redzone));
|
asan_allocator.cc | 44 CHECK(IsPowerOfTwo(rz_size)); 250 CHECK(IsPowerOfTwo(options.min_redzone)); 251 CHECK(IsPowerOfTwo(options.max_redzone)); 341 CHECK(IsPowerOfTwo(alignment));
|
/art/runtime/ |
monitor_pool.h | 191 static_assert(IsPowerOfTwo(kChunkSize), "kChunkSize must be power of 2"); 198 static_assert(IsPowerOfTwo(kInitialChunkStorage), "kInitialChunkStorage must be power of 2"); 201 static_assert(IsPowerOfTwo(kMaxChunkLists), "kMaxChunkLists must be power of 2"); 207 static_assert(IsPowerOfTwo(kMaxListSize), "kMaxListSize must be power of 2");
|
indirect_reference_table.h | 184 static_assert(IsPowerOfTwo(sizeof(IrtEntry)), "Unexpected sizeof(IrtEntry)");
|
zip_archive.cc | 54 DCHECK(IsPowerOfTwo(alignment)) << alignment;
|
/external/gemmlowp/internal/ |
common.h | 297 struct IsPowerOfTwo {
|
/frameworks/native/libs/vr/libbroadcastring/include/libbroadcastring/ |
broadcast_ring.h | 156 static constexpr bool IsPowerOfTwo(uint32_t size) { 166 IsPowerOfTwo(Traits::kStaticRecordCount), 254 return IsPowerOfTwo(count) ? count : (NextPowerOf2(count) / 2); 497 if (!IsPowerOfTwo(record_count())) return false;
|
/art/runtime/mirror/ |
dex_cache.h | 147 static_assert(IsPowerOfTwo(kDexCacheTypeCacheSize), 152 static_assert(IsPowerOfTwo(kDexCacheStringCacheSize), 157 static_assert(IsPowerOfTwo(kDexCacheFieldCacheSize), 162 static_assert(IsPowerOfTwo(kDexCacheMethodCacheSize), 168 static_assert(IsPowerOfTwo(kDexCacheMethodTypeCacheSize),
|
array-inl.h | 54 DCHECK(IsPowerOfTwo(component_size)) << component_size;
|
/system/extras/simpleperf/ |
utils.h | 148 bool IsPowerOfTwo(uint64_t value);
|
event_fd.cpp | 154 CHECK(IsPowerOfTwo(mmap_pages));
|
utils.cpp | 112 bool IsPowerOfTwo(uint64_t value) {
|
/art/compiler/optimizing/ |
scheduler_arm64.cc | 101 } else if (IsPowerOfTwo(AbsOrMin(imm))) { 169 } else if (IsPowerOfTwo(AbsOrMin(imm))) {
|
gvn.cc | 47 DCHECK(IsPowerOfTwo(num_buckets_)); 62 DCHECK(IsPowerOfTwo(num_buckets_));
|
nodes_vector.h | 34 DCHECK(IsPowerOfTwo(base)); 41 DCHECK(IsPowerOfTwo(base)); [all...] |
instruction_simplifier.cc | [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_posix.cc | 152 CHECK(IsPowerOfTwo(size)); 153 CHECK(IsPowerOfTwo(alignment));
|
sanitizer_common.h | 440 INLINE bool IsPowerOfTwo(uptr x) { 446 if (IsPowerOfTwo(size)) return size; 455 RAW_CHECK(IsPowerOfTwo(boundary)); 468 CHECK(IsPowerOfTwo(x));
|
sanitizer_win.cc | 118 CHECK(IsPowerOfTwo(size)); 119 CHECK(IsPowerOfTwo(alignment));
|
/external/compiler-rt/lib/scudo/ |
scudo_allocator.cpp | 320 if (!IsPowerOfTwo(Alignment)) { 590 CHECK(IsPowerOfTwo(Alignment));
|