Home
last modified time | relevance | path

Searched refs:roundUp (Results 1 – 25 of 58) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DExecutableMemory.cpp267 inline uintptr_t roundUp(uintptr_t x, uintptr_t m) in roundUp() function
276 size_t length = roundUp(bytes, pageSize); in allocateMemoryPages()
334 ASSERT(roundUp(reservation, pageSize) == reservation); in allocateMemoryPages()
371 bytes = roundUp(bytes, memoryPageSize()); in protectMemoryPages()
406 size_t length = roundUp(bytes, pageSize); in deallocateMemoryPages()
/third_party/skia/third_party/externals/angle2/src/common/
Dmathutil_unittest.cpp225 EXPECT_EQ(0u, rx::roundUp(0u, 5u)); in TEST()
226 EXPECT_EQ(5u, rx::roundUp(1u, 5u)); in TEST()
227 EXPECT_EQ(5u, rx::roundUp(4u, 5u)); in TEST()
228 EXPECT_EQ(5u, rx::roundUp(5u, 5u)); in TEST()
Dmathutil.h1368 T roundUp(const T value, const T alignment)
1393 return roundUp(checkedValue, checkedAlignment);
/third_party/flutter/skia/third_party/externals/dawn/src/common/
DBitSetIterator.h28 T roundUp(const T value, const T alignment) { in roundUp() function
91 mOffset = static_cast<unsigned long>(roundUp(N, BitsPerWord)); in Iterator()
/third_party/skia/third_party/externals/dawn/src/common/
DBitSetIterator.h29 T roundUp(const T value, const T alignment) { in roundUp() function
95 mOffset = static_cast<unsigned long>(roundUp(N, kBitsPerWord)); in Iterator()
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dmathutil_unittest.cpp217 EXPECT_EQ(0u, rx::roundUp(0u, 4u)); in TEST()
218 EXPECT_EQ(4u, rx::roundUp(1u, 4u)); in TEST()
219 EXPECT_EQ(4u, rx::roundUp(4u, 4u)); in TEST()
Dmathutil.h1245 T roundUp(const T value, const T alignment)
1263 return roundUp(checkedValue, checkedAlignment);
/third_party/spirv-tools/source/val/
Dvalidate_decorations.cpp185 uint32_t getBaseAlignment(uint32_t member_id, bool roundUp, in getBaseAlignment() argument
209 componentId, roundUp, inherited, constraints, vstate); in getBaseAlignment()
217 baseAlignment = getBaseAlignment(column_type, roundUp, inherited, in getBaseAlignment()
226 component_id, roundUp, inherited, constraints, vstate); in getBaseAlignment()
230 if (roundUp) baseAlignment = align(baseAlignment, 16u); in getBaseAlignment()
235 getBaseAlignment(words[2], roundUp, inherited, constraints, vstate); in getBaseAlignment()
236 if (roundUp) baseAlignment = align(baseAlignment, 16u); in getBaseAlignment()
247 getBaseAlignment(id, roundUp, constraint, constraints, vstate)); in getBaseAlignment()
249 if (roundUp) baseAlignment = align(baseAlignment, 16u); in getBaseAlignment()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_decorations.cpp174 uint32_t getBaseAlignment(uint32_t member_id, bool roundUp, in getBaseAlignment() argument
191 componentId, roundUp, inherited, constraints, vstate); in getBaseAlignment()
199 baseAlignment = getBaseAlignment(column_type, roundUp, inherited, in getBaseAlignment()
208 component_id, roundUp, inherited, constraints, vstate); in getBaseAlignment()
216 getBaseAlignment(words[2], roundUp, inherited, constraints, vstate); in getBaseAlignment()
217 if (roundUp) baseAlignment = align(baseAlignment, 16u); in getBaseAlignment()
228 getBaseAlignment(id, roundUp, constraint, constraints, vstate)); in getBaseAlignment()
230 if (roundUp) baseAlignment = align(baseAlignment, 16u); in getBaseAlignment()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_decorations.cpp174 uint32_t getBaseAlignment(uint32_t member_id, bool roundUp, in getBaseAlignment() argument
191 componentId, roundUp, inherited, constraints, vstate); in getBaseAlignment()
199 baseAlignment = getBaseAlignment(column_type, roundUp, inherited, in getBaseAlignment()
208 component_id, roundUp, inherited, constraints, vstate); in getBaseAlignment()
216 getBaseAlignment(words[2], roundUp, inherited, constraints, vstate); in getBaseAlignment()
217 if (roundUp) baseAlignment = align(baseAlignment, 16u); in getBaseAlignment()
228 getBaseAlignment(id, roundUp, constraint, constraints, vstate)); in getBaseAlignment()
230 if (roundUp) baseAlignment = align(baseAlignment, 16u); in getBaseAlignment()
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-golang/parse-number-fxx-test-data/
DREADME.md96 roundUp := false
103 if roundUp {
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DPixelTransfer11.cpp91 constantBufferDesc.ByteWidth = roundUp<UINT>(sizeof(CopyShaderParams), 32u); in loadResources()
139 parametersOut->RowStride = roundUp(parametersOut->PixelsPerRow, alignmentPixels); in setBufferToTextureCopyParams()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawBufferObjectUtil.cpp65 const auto extraRoom = de::roundUp(allocationOffset, bufferRequirements.alignment); in createAndAlloc()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
DvktDrawBufferObjectUtil.cpp65 const auto extraRoom = de::roundUp(allocationOffset, bufferRequirements.alignment); in createAndAlloc()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DblocklayoutHLSL.cpp165 rx::roundUp<size_t>(encoder.getCurrentOffset(), registerBytes) / registerBytes); in HLSLVariableRegisterCount()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DblocklayoutHLSL.cpp165 rx::roundUp<size_t>(encoder.getCurrentOffset(), registerBytes) / registerBytes); in HLSLVariableRegisterCount()
Dblocklayout.cpp221 mCurrentOffset = rx::roundUp<size_t>(mCurrentOffset, baseAlignment); in align()
284 mCurrentOffset = rx::roundUp(mCurrentOffset, baseAlignment); in getBlockLayoutInfo()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_buffer_pool.mm179 size_t sizeToAllocate = roundUp(sizeInBytes, mAlignment);
343 mNextAllocationOffset = roundUp(mNextAllocationOffset, static_cast<uint32_t>(alignment));
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeDefs.hpp69 template<typename T> inline T roundUp (T x, T y) { DE_ASSERT(y != T(0)); const T mod = x % y; re… in roundUp() function
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DANGLEPerfTest.cpp491 stepsToRun = rx::roundUp(stepsToRun, getStepAlignment()); in calibrateStepsToRun()
527 stepsToRun = rx::roundUp(stepsToRun, getStepAlignment()); in calibrateStepsToRun()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateComputeTests.cpp99 …m_vertexBufferSize = de::roundUp(static_cast<VkDeviceSize>(m_dataSize), getPhysicalDeviceProperti… in BindVertexBuffersData()
868 …const auto bufferSize = de::roundUp(dataSize, getPhysicalDeviceProperties(vki, phyDev).limits.no… in iterateTransfer()
999 …const auto outputBufferSize = de::roundUp(static_cast<VkDeviceSize>(dataSize), getPhysicalDevic… in iterateCompute()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/
DvktDynamicStateComputeTests.cpp99 …m_vertexBufferSize = de::roundUp(static_cast<VkDeviceSize>(m_dataSize), getPhysicalDeviceProperti… in BindVertexBuffersData()
868 …const auto bufferSize = de::roundUp(dataSize, getPhysicalDeviceProperties(vki, phyDev).limits.no… in iterateTransfer()
999 …const auto outputBufferSize = de::roundUp(static_cast<VkDeviceSize>(dataSize), getPhysicalDevic… in iterateCompute()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DProgramVk.h136 return roundUp(mDefaultUniformBlocks[shaderType].uniformData.size(), alignment); in getDefaultUniformAlignedSize()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DPixelTransfer11.cpp140 parametersOut->RowStride = roundUp(parametersOut->PixelsPerRow, alignmentPixels); in setBufferToTextureCopyParams()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
DvktMeshShaderPropertyTestsEXT.cpp1097 …const auto actualVertices = de::roundUp(m_params.itemCount, meshProperties.meshOutputPerVertexGra… in checkSupport()
1105 const auto actualVertices = de::roundUp(1u, meshProperties.meshOutputPerVertexGranularity); in checkSupport()
1106 …const auto actualPrimitives = de::roundUp(m_params.itemCount, meshProperties.meshOutputPerPrimiti… in checkSupport()
1973 const auto actualPoints = de::roundUp(kMaxPoints, granularity); in getParamsFromContext()

123