Home
last modified time | relevance | path

Searched refs:alignedSize (Results 1 – 9 of 9) sorted by relevance

/hardware/google/aemu/host-common/
Daddress_space_shared_slots_host_memory_allocator.cpp331 const uint32_t alignedSize = align(info->size, (*m_hw->getGuestPageSize)()); in allocate() local
335 uint64_t physAddr = kv.second.allocate(alignedSize); in allocate()
337 return populatePhysAddr(info, physAddr, alignedSize, &kv.second); in allocate()
342 MemBlock newBlock(m_ops, m_hw, std::max(alignedSize, defaultSize)); in allocate()
343 const uint64_t physAddr = newBlock.allocate(alignedSize); in allocate()
354 return populatePhysAddr(info, physAddr, alignedSize, &r.first->second); in allocate()
397 const uint32_t alignedSize, in populatePhysAddr() argument
400 info->size = alignedSize; in populatePhysAddr()
401 if (!m_allocations.insert({physAddr, {alignedSize, owner}}).second) { in populatePhysAddr()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DGeneratedTestHarness.cpp56 constCopySize += op.data.alignedSize(); in createModel()
61 constRefSize += op.data.alignedSize(); in createModel()
DUtils.cpp117 inputSize += op.data.alignedSize(); in createRequest()
139 outputSize += op.data.size() == 0 ? TestBuffer::kAlignment : op.data.alignedSize(); in createRequest()
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DGeneratedTestHarness.cpp63 constCopySize += op.data.alignedSize(); in createModel()
68 constRefSize += op.data.alignedSize(); in createModel()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DUtils.cpp212 inputSize += op.data.alignedSize(); in createRequest()
234 outputSize += op.data.size() == 0 ? TestBuffer::kAlignment : op.data.alignedSize(); in createRequest()
DGeneratedTestHarness.cpp224 *constCopySize += op.data.alignedSize(); in createSubgraph()
232 *constRefSize += op.data.alignedSize(); in createSubgraph()
279 offset += buffer->alignedSize(); in copyTestBuffers()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DGeneratedTestHarness.cpp209 *constCopySize += op.data.alignedSize(); in createSubgraph()
217 *constRefSize += op.data.alignedSize(); in createSubgraph()
263 offset += buffer->alignedSize(); in copyTestBuffers()
397 inputSize += op.data.alignedSize(); in createRequest()
431 outputSize += op.data.size() == 0 ? TestBuffer::kAlignment : op.data.alignedSize(); in createRequest()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DGeneratedTestHarness.cpp89 constCopySize += op.data.alignedSize(); in createModel()
94 constRefSize += op.data.alignedSize(); in createModel()
/hardware/google/gfxstream/host/vulkan/
DVkDecoderGlobalState.cpp4463 VkDeviceSize alignedSize = __ALIGN(localAllocInfo.allocationSize, kPageSizeforBlob); in on_vkAllocateMemory() local
4464 if (alignedSize != localAllocInfo.allocationSize) { in on_vkAllocateMemory()
4467 static_cast<unsigned long long>(alignedSize)); in on_vkAllocateMemory()
4469 localAllocInfo.allocationSize = alignedSize; in on_vkAllocateMemory()
4496 VkDeviceSize alignedSize = __ALIGN(localAllocInfo.allocationSize, kPageSizeforBlob); in on_vkAllocateMemory() local
4497 localAllocInfo.allocationSize = alignedSize; in on_vkAllocateMemory()
5015 uint64_t alignedSize = in vkGetBlobInternal() local