Home
last modified time | relevance | path

Searched defs:memory (Results 1 – 25 of 64) sorted by relevance

123

/hardware/interfaces/neuralnetworks/utils/common/test/
DResilientBufferTest.cpp118 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local
132 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local
147 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local
164 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local
178 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local
192 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local
207 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local
224 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local
/hardware/interfaces/tests/memory/1.0/default/
DMemoryTest.cpp33 namespace memory { namespace
44 sp<IMemory> memory = mapMemory(memory_in); in fillMemory() local
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/src/
DBuffer.cpp44 const auto memory = NN_TRY(convertInput(dst)); in copyTo() local
51 const auto memory = NN_TRY(convertInput(src)); in copyFrom() local
DBurst.cpp54 for (const auto& memory : memories) { in getMemoriesCallback() local
131 void Burst::MemoryCache::addCacheEntryLocked(int32_t slot, nn::SharedMemory memory) { in addCacheEntryLocked()
/hardware/google/gfxstream/host/
DVirtioGpuRingBlob.cpp29 … std::variant<std::unique_ptr<AlignedMemory>, std::unique_ptr<SharedMemory>> memory) : in RingBlob()
67 auto memory = std::make_unique<AlignedMemory>(alignment, size); in CreateWithHostMemory() local
DVirtioGpuRingBlobSnapshot.proto29 bytes memory = 5; field
DVirtioGpuResource.cpp288 RingBlobMemory memory; in Create() local
428 auto& memory = std::get<RingBlobMemory>(*mBlobMemory); in Map() local
436 auto& memory = std::get<ExternalMemoryMapping>(*mBlobMemory); in Map() local
483 auto& memory = std::get<ExternalMemoryInfo>(*mBlobMemory); in GetVulkanInfo() local
508 auto& memory = std::get<ExternalMemoryMapping>(*mBlobMemory); in GetCaching() local
512 auto& memory = std::get<ExternalMemoryInfo>(*mBlobMemory); in GetCaching() local
895 auto& memory = std::get<RingBlobMemory>(*mBlobMemory); in ExportBlob() local
910 auto& memory = std::get<ExternalMemoryInfo>(*mBlobMemory); in ExportBlob() local
974 auto& memory = std::get<RingBlobMemory>(*mBlobMemory); in Snapshot() local
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DBurst.cpp88 const nn::SharedMemory& memory) { in getOrCacheMemory()
124 Burst::MemoryCache::getMemoryIfAvailable(const nn::SharedMemory& memory) { in getMemoryIfAvailable()
141 void Burst::MemoryCache::tryFreeMemory(const nn::SharedMemory& memory, int64_t identifier) { in tryFreeMemory()
202 if (const auto* memory = std::get_if<nn::SharedMemory>(&memoryPool)) { in execute() local
285 if (const auto* memory = std::get_if<nn::SharedMemory>(&memoryPool)) { in createReusableExecution() local
DUtils.cpp63 nn::GeneralResult<Memory> clone(const Memory& memory) { in clone()
DConversions.cpp364 GeneralResult<SharedMemory> unvalidatedConvert(const aidl_hal::Memory& memory) { in unvalidatedConvert()
660 nn::GeneralResult<Memory> unvalidatedConvert(const nn::Memory::Ashmem& memory) { in unvalidatedConvert()
679 nn::GeneralResult<Memory> unvalidatedConvert(const nn::Memory::Fd& memory) { in unvalidatedConvert()
705 nn::GeneralResult<Memory> unvalidatedConvert(const nn::Memory::HardwareBuffer& memory) { in unvalidatedConvert()
857 nn::GeneralResult<Memory> unvalidatedConvert(const nn::SharedMemory& memory) { in unvalidatedConvert()
1073 [](const nn::SharedMemory& memory) -> nn::GeneralResult<RequestMemoryPool> { in unvalidatedConvert()
1168 nn::GeneralResult<Memory> convert(const nn::SharedMemory& memory) { in convert()
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DConversions.cpp98 nn::GeneralResult<nn::SharedMemory> createSharedMemoryFromHidlMemory(const hidl_memory& memory) { in createSharedMemoryFromHidlMemory()
288 GeneralResult<SharedMemory> unvalidatedConvert(const hidl_memory& memory) { in unvalidatedConvert()
441 nn::GeneralResult<hidl_memory> createHidlMemoryFrom(const nn::Memory::Ashmem& memory) { in createHidlMemoryFrom()
447 nn::GeneralResult<hidl_memory> createHidlMemoryFrom(const nn::Memory::Fd& memory) { in createHidlMemoryFrom()
457 nn::GeneralResult<hidl_memory> createHidlMemoryFrom(const nn::Memory::HardwareBuffer& memory) { in createHidlMemoryFrom()
480 nn::GeneralResult<hidl_memory> createHidlMemoryFrom(const nn::Memory::Unknown& memory) { in createHidlMemoryFrom()
570 nn::GeneralResult<hidl_memory> unvalidatedConvert(const nn::SharedMemory& memory) { in unvalidatedConvert()
/hardware/interfaces/soundtrigger/2.1/default/
DSoundTriggerHw.cpp45 sp<IMemory> memory; in memoryAsVector() local
67 sp<IMemory> memory; in moveVectorToMemory() local
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DUtils.cpp113 const auto& memory = std::get<nn::Memory::Ashmem>(sharedMemory->handle); in convertSharedMemoryToReadonly() local
117 const auto& memory = std::get<nn::Memory::Fd>(sharedMemory->handle); in convertSharedMemoryToReadonly() local
DMemoryDomainTests.cpp693 size_t getSize(const Memory& memory) { in getSize()
711 auto memory = utils::convert(sharedMemory).value(); in allocateSharedMemory() local
716 void testCopyFrom(const std::shared_ptr<IBuffer>& buffer, const Memory& memory, in testCopyFrom()
727 void testCopyTo(const std::shared_ptr<IBuffer>& buffer, const Memory& memory, in testCopyTo()
739 Memory memory = allocateSharedMemory(kTestOperandDataSize); in initializeDeviceMemory() local
794 Memory memory = allocateSharedMemory(kTestOperandDataSize); in TEST_P() local
820 Memory memory = allocateSharedMemory(kTestOperandDataSize); in TEST_P() local
846 Memory memory = allocateSharedMemory(kTestOperandDataSize); in TEST_P() local
/hardware/google/gfxstream/host/vulkan/testing/
DVkDecoderTestDispatch.h57 VkResult vkBindBufferMemory(VkDevice device, VkBuffer buffer, VkDeviceMemory memory, in vkBindBufferMemory()
63 VkResult vkBindImageMemory(VkDevice device, VkImage image, VkDeviceMemory memory, in vkBindImageMemory()
236 void vkFreeMemory(VkDevice device, VkDeviceMemory memory, in vkFreeMemory()
291 VkResult vkMapMemory(VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, in vkMapMemory()
297 void vkUnmapMemory(VkDevice device, VkDeviceMemory memory) { in vkUnmapMemory()
/hardware/google/apf/v4/
Dapf_interpreter.c29 #define APF_TRACE_HOOK(pc, regs, program, program_len, packet, packet_len, memory, memory_len) \ argument
70 uint32_t memory[MEMORY_ITEMS] = {}; in accept_packet() local
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/
DBurst.cpp83 const auto& memory = std::get<nn::SharedMemory>(pool); in ensureAllMemoriesAreCached() local
134 Value Burst::ThreadSafeMemoryCache::add(int64_t token, const nn::SharedMemory& memory, in add()
/hardware/google/aemu/base/
DSharedMemory_win32.cpp64 LARGE_INTEGER memory; in openInternal() local
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DBurst.cpp96 const auto memory = NN_TRY(memoryCache->getMemory(slot)); in getMemoriesHelper() local
124 const nn::SharedMemory& memory) { in cacheMemory()
170 void Burst::MemoryCache::freeMemory(const nn::SharedMemory& memory) { in freeMemory()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DMemoryDomainTests.cpp665 hidl_memory memory = nn::allocateSharedMemory(size); in allocateSharedMemory() local
670 void testCopyFrom(const sp<IBuffer>& buffer, const hidl_memory& memory, in testCopyFrom()
677 void testCopyTo(const sp<IBuffer>& buffer, const hidl_memory& memory, in testCopyTo()
685 hidl_memory memory = nn::allocateSharedMemory(kTestOperandDataSize); in initializeDeviceMemory() local
738 hidl_memory memory = allocateSharedMemory(kTestOperandDataSize); in TEST_P() local
764 hidl_memory memory = allocateSharedMemory(kTestOperandDataSize); in TEST_P() local
790 hidl_memory memory = allocateSharedMemory(kTestOperandDataSize); in TEST_P() local
850 hidl_memory memory = allocateSharedMemory(size); in createSharedMemoryPool() local
/hardware/google/gfxstream/host/vulkan/
DVkCommonOperations.h216 VkDeviceMemory memory = VK_NULL_HANDLE; member
292 ExternalMemoryInfo memory; member
321 ExternalMemoryInfo memory; member
609 ExternalMemoryInfo memory; member
/hardware/google/gfxstream/common/detector/
DGraphicsDetectorVkExternalMemoryHost.cpp185 auto memory = VK_EXPECT_RV_OR_STRING(device->allocateMemoryUnique(memoryAllocateInfo)); in CheckImportingSharedMemory() local
/hardware/interfaces/soundtrigger/2.3/default/
DSoundTriggerHw.cpp465 sp<IMemory> memory; in convertRecognitionConfigToHalHeader() local
604 sp<IMemory> memory; in memoryAsVector() local
626 sp<IMemory> memory; in moveVectorToMemory() local
/hardware/interfaces/soundtrigger/2.2/default/
DSoundTriggerHw.cpp548 sp<IMemory> memory; in memoryAsVector() local
570 sp<IMemory> memory; in moveVectorToMemory() local
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DConversions.cpp405 nn::GeneralResult<hidl_memory> unvalidatedConvert(const nn::SharedMemory& memory) { in unvalidatedConvert()
437 nn::GeneralResult<Request::MemoryPool> makeMemoryPool(const nn::SharedMemory& memory) { in makeMemoryPool()
728 nn::GeneralResult<hidl_memory> convert(const nn::SharedMemory& memory) { in convert()

123