Searched refs:ceilPow2 (Results 1 – 10 of 10) sorted by relevance
/external/skia/src/gpu/ |
D | GrResourceProvider.cpp | 204 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/ |
D | mathutil.h | 37 inline unsigned int ceilPow2(unsigned int x) in ceilPow2() function
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | mathutil.h | 38 inline unsigned int ceilPow2(unsigned int x) in ceilPow2() function
|
/external/swiftshader/src/Renderer/ |
D | LRUCache.hpp | 96 size = ceilPow2(n); in LRUCache()
|
D | Renderer.cpp | 2134 unitCount = ceilPow2(threadCount); in initializeThreads() 2135 clusterCount = ceilPow2(threadCount); in initializeThreads()
|
/external/angle/src/common/ |
D | PoolAlloc.cpp | 65 mAlignment = gl::ceilPow2(static_cast<unsigned int>(mAlignment)); in initialize()
|
D | mathutil.h | 53 inline unsigned int ceilPow2(unsigned int x) in ceilPow2() function
|
/external/swiftshader/src/System/ |
D | Math.hpp | 187 inline int ceilPow2(int x) in ceilPow2() function
|
/external/swiftshader/src/Common/ |
D | Math.hpp | 219 inline int ceilPow2(int x) in ceilPow2() function
|
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/ |
D | DexMakerTest.java | 1374 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()
|