Home
last modified time | relevance | path

Searched refs:ceilPow2 (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/gpu/
DGrResourceProvider.cpp204 int ceilPow2 = SkNextPow2(value); in MakeApprox() local
206 return ceilPow2; in MakeApprox()
209 int floorPow2 = ceilPow2 >> 1; in MakeApprox()
215 return ceilPow2; in MakeApprox()
474 size_t ceilPow2 = GrNextSizePow2(allocSize); in createBuffer() local
475 size_t floorPow2 = ceilPow2 >> 1; in createBuffer()
477 allocSize = (allocSize <= mid) ? mid : ceilPow2; in createBuffer()
/external/swiftshader/src/OpenGL/libGLES_CM/
Dmathutil.h37 inline unsigned int ceilPow2(unsigned int x) in ceilPow2() function
/external/swiftshader/src/OpenGL/libGLESv2/
Dmathutil.h38 inline unsigned int ceilPow2(unsigned int x) in ceilPow2() function
/external/swiftshader/src/Renderer/
DLRUCache.hpp96 size = ceilPow2(n); in LRUCache()
DRenderer.cpp2134 unitCount = ceilPow2(threadCount); in initializeThreads()
2135 clusterCount = ceilPow2(threadCount); in initializeThreads()
/external/angle/src/common/
DPoolAlloc.cpp65 mAlignment = gl::ceilPow2(static_cast<unsigned int>(mAlignment)); in initialize()
Dmathutil.h53 inline unsigned int ceilPow2(unsigned int x) in ceilPow2() function
/external/swiftshader/src/System/
DMath.hpp187 inline int ceilPow2(int x) in ceilPow2() function
/external/swiftshader/src/Common/
DMath.hpp219 inline int ceilPow2(int x) in ceilPow2() function
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DDexMakerTest.java1374 Method ceilPow2 = getMethod(); in testWhileLoop() local
1375 assertEquals(1, ceilPow2.invoke(null, 1)); in testWhileLoop()
1376 assertEquals(2, ceilPow2.invoke(null, 2)); in testWhileLoop()
1377 assertEquals(4, ceilPow2.invoke(null, 3)); in testWhileLoop()
1378 assertEquals(16, ceilPow2.invoke(null, 10)); in testWhileLoop()
1379 assertEquals(128, ceilPow2.invoke(null, 100)); in testWhileLoop()
1380 assertEquals(1024, ceilPow2.invoke(null, 1000)); in testWhileLoop()