Searched refs:IsPowerOfTwo (Results 1 – 4 of 4) sorted by relevance
156 CHECK(IsPowerOfTwo(mmap_pages)); in CreateMappedBuffer()257 CHECK(IsPowerOfTwo(aux_buffer_size)); in CreateAuxBuffer()
154 bool IsPowerOfTwo(uint64_t value);
175 bool IsPowerOfTwo(uint64_t value) { in IsPowerOfTwo() function
829 if (v > std::numeric_limits<size_t>::max() || !IsPowerOfTwo(v) || v % sysconf(_SC_PAGE_SIZE)) { in ParseOptions()913 if (!IsPowerOfTwo(value->uint_value) || in ParseOptions()