/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
D | ExecutableMemory.cpp | 267 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/ |
D | mathutil_unittest.cpp | 225 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()
|
D | mathutil.h | 1368 T roundUp(const T value, const T alignment) 1393 return roundUp(checkedValue, checkedAlignment);
|
/third_party/flutter/skia/third_party/externals/dawn/src/common/ |
D | BitSetIterator.h | 28 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/ |
D | BitSetIterator.h | 29 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/ |
D | mathutil_unittest.cpp | 217 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()
|
D | mathutil.h | 1245 T roundUp(const T value, const T alignment) 1263 return roundUp(checkedValue, checkedAlignment);
|
/third_party/spirv-tools/source/val/ |
D | validate_decorations.cpp | 185 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/ |
D | validate_decorations.cpp | 174 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/ |
D | validate_decorations.cpp | 174 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/ |
D | README.md | 96 roundUp := false 103 if roundUp {
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | PixelTransfer11.cpp | 91 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/ |
D | vktDrawBufferObjectUtil.cpp | 65 const auto extraRoom = de::roundUp(allocationOffset, bufferRequirements.alignment); in createAndAlloc()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
D | vktDrawBufferObjectUtil.cpp | 65 const auto extraRoom = de::roundUp(allocationOffset, bufferRequirements.alignment); in createAndAlloc()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | blocklayoutHLSL.cpp | 165 rx::roundUp<size_t>(encoder.getCurrentOffset(), registerBytes) / registerBytes); in HLSLVariableRegisterCount()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | blocklayoutHLSL.cpp | 165 rx::roundUp<size_t>(encoder.getCurrentOffset(), registerBytes) / registerBytes); in HLSLVariableRegisterCount()
|
D | blocklayout.cpp | 221 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/ |
D | mtl_buffer_pool.mm | 179 size_t sizeToAllocate = roundUp(sizeInBytes, mAlignment); 343 mNextAllocationOffset = roundUp(mNextAllocationOffset, static_cast<uint32_t>(alignment));
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
D | deDefs.hpp | 69 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/ |
D | ANGLEPerfTest.cpp | 491 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/ |
D | vktDynamicStateComputeTests.cpp | 99 …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/ |
D | vktDynamicStateComputeTests.cpp | 99 …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/ |
D | ProgramVk.h | 136 return roundUp(mDefaultUniformBlocks[shaderType].uniformData.size(), alignment); in getDefaultUniformAlignedSize()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | PixelTransfer11.cpp | 140 parametersOut->RowStride = roundUp(parametersOut->PixelsPerRow, alignmentPixels); in setBufferToTextureCopyParams()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/ |
D | vktMeshShaderPropertyTestsEXT.cpp | 1097 …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()
|