Home
last modified time | relevance | path

Searched refs:isPowerOfTwo (Results 1 - 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/utils/
H A DLockFreeQueue.h61 static constexpr bool isPowerOfTwo(uint32_t n) { return (n & (n - 1)) == 0; } in isPowerOfTwo() function in LockFreeQueue
62 static_assert(isPowerOfTwo(CAPACITY), "Capacity must be a power of 2");
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/
H A Dround.hpp37 GLM_FUNC_DECL bool isPowerOfTwo(genIUType Value);
43 GLM_FUNC_DECL vecType<bool, P> isPowerOfTwo(vecType<T, P> const & value);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiObjectManagementTests.cpp349 bool isPowerOfTwo (T value) in isPowerOfTwo() function
358 DE_ASSERT(isPowerOfTwo(align)); in alignToPowerOfTwo()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiObjectManagementTests.cpp349 bool isPowerOfTwo (T value) in isPowerOfTwo() function
358 DE_ASSERT(isPowerOfTwo(align)); in alignToPowerOfTwo()

Completed in 11 milliseconds