Searched refs:numChunks (Results 1 – 4 of 4) sorted by relevance
49 const size_t numChunks = NumChunksFor(fSize); in set() local50 std::memset(chunks, 0xFF, sizeof(Chunk) * numChunks); in set()62 const size_t numChunks = NumChunksFor(fSize); in reset() local63 std::memset(chunks, 0, sizeof(Chunk) * numChunks); in reset()79 const size_t numChunks = NumChunksFor(fSize); in forEachSetIndex() local80 for (size_t i = 0; i < numChunks; ++i) { in forEachSetIndex()128 const size_t numChunks = NumChunksFor(fSize); in findFirst() local129 for (size_t i = 0; i < numChunks; ++i) { in findFirst()142 const size_t numChunks = NumChunksFor(fSize); in findFirstUnset() local143 for (size_t i = 0; i < numChunks; ++i) { in findFirstUnset()
107 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; member146 SparseAllocationBuilder& SparseAllocationBuilder::addMemoryHole (const deUint32 numChunks) in addMemoryHole() argument148 m_memoryChunkNdx += numChunks; in addMemoryHole()149 m_chunksPerAllocation[m_allocationNdx] += numChunks; in addMemoryHole()154 SparseAllocationBuilder& SparseAllocationBuilder::addResourceHole (const deUint32 numChunks) in addResourceHole() argument156 m_resourceChunkNdx += numChunks; in addResourceHole()[all …]
542 const size_t numChunks = UnsignedCeilDivide(static_cast<unsigned int>(compressedData.size()), in CompressAndStorePipelineCacheVk() local545 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() local649 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 …]
563 size_t numChunks = 0; in finalizeAddresses() local569 numChunks += sec->chunks.size(); in finalizeAddresses()573 log("Added " + Twine(numChunks - origNumChunks) + " thunks with " + in finalizeAddresses()