Home
last modified time | relevance | path

Searched refs:numChunks (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/utils/
DSkBitSet.h49 const size_t numChunks = NumChunksFor(fSize); in set() local
50 std::memset(chunks, 0xFF, sizeof(Chunk) * numChunks); in set()
62 const size_t numChunks = NumChunksFor(fSize); in reset() local
63 std::memset(chunks, 0, sizeof(Chunk) * numChunks); in reset()
79 const size_t numChunks = NumChunksFor(fSize); in forEachSetIndex() local
80 for (size_t i = 0; i < numChunks; ++i) { in forEachSetIndex()
128 const size_t numChunks = NumChunksFor(fSize); in findFirst() local
129 for (size_t i = 0; i < numChunks; ++i) { in findFirst()
142 const size_t numChunks = NumChunksFor(fSize); in findFirstUnset() local
143 for (size_t i = 0; i < numChunks; ++i) { in findFirstUnset()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferTests.cpp107 SparseAllocationBuilder& addMemoryHole (const deUint32 numChunks = 1u);
108 SparseAllocationBuilder& addResourceHole (const deUint32 numChunks = 1u);
109 SparseAllocationBuilder& addMemoryBind (const deUint32 numChunks = 1u);
110 …moryBind (const deUint32 allocationNdx, const deUint32 chunkOffset, const deUint32 numChunks = 1u);
127 deUint32 numChunks; member
146 SparseAllocationBuilder& SparseAllocationBuilder::addMemoryHole (const deUint32 numChunks) in addMemoryHole() argument
148 m_memoryChunkNdx += numChunks; in addMemoryHole()
149 m_chunksPerAllocation[m_allocationNdx] += numChunks; in addMemoryHole()
154 SparseAllocationBuilder& SparseAllocationBuilder::addResourceHole (const deUint32 numChunks) in addResourceHole() argument
156 m_resourceChunkNdx += numChunks; in addResourceHole()
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
DRendererVk.cpp542 const size_t numChunks = UnsignedCeilDivide(static_cast<unsigned int>(compressedData.size()), in CompressAndStorePipelineCacheVk() local
545 static_cast<unsigned int>(numChunks)); in CompressAndStorePipelineCacheVk()
547 for (size_t chunkIndex = 0; chunkIndex < numChunks; ++chunkIndex) in CompressAndStorePipelineCacheVk()
549 if (chunkIndex == numChunks - 1) in CompressAndStorePipelineCacheVk()
560 ASSERT(numChunks <= UINT8_MAX); in CompressAndStorePipelineCacheVk()
561 keyData.data()[0] = static_cast<uint8_t>(numChunks); in CompressAndStorePipelineCacheVk()
643 size_t numChunks = keyData.data()[0]; in GetAndDecompressPipelineCacheVk() local
649 ANGLE_VK_CHECK(displayVk, compressedData.resize(chunkSize * numChunks), in GetAndDecompressPipelineCacheVk()
653 for (size_t chunkIndex = 0; chunkIndex < numChunks; ++chunkIndex) in GetAndDecompressPipelineCacheVk()
663 WARN() << "Failed to get pipeline cache chunk " << chunkIndex << " of " << numChunks; in GetAndDecompressPipelineCacheVk()
[all …]
/external/llvm-project/lld/COFF/
DWriter.cpp563 size_t numChunks = 0; in finalizeAddresses() local
569 numChunks += sec->chunks.size(); in finalizeAddresses()
573 log("Added " + Twine(numChunks - origNumChunks) + " thunks with " + in finalizeAddresses()