Home
last modified time | relevance | path

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

1234

/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/google/gfxstream/guest/vulkan_enc_unit_tests/
DCommandBufferStagingStream_test.cpp221 CommandBufferStagingStream::Memory memory{ in TEST() local
249 CommandBufferStagingStream::Memory memory{ in TEST() local
281 CommandBufferStagingStream::Memory memory{.deviceMemory = deviceMemPtr, in TEST() local
334 CommandBufferStagingStream::Memory memory{ in TEST() local
401 CommandBufferStagingStream::Memory memory{ in TEST() local
436 CommandBufferStagingStream::Memory memory{ in TEST() local
473 CommandBufferStagingStream::Memory memory{ in TEST() local
496 CommandBufferStagingStream::Memory memory{ in TEST() local
558 CommandBufferStagingStream::Memory memory{ in TEST() local
583 CommandBufferStagingStream::Memory memory{ in TEST() local
[all …]
/hardware/interfaces/tests/memory/1.0/default/
DMemoryTest.cpp33 namespace memory { namespace
44 sp<IMemory> memory = mapMemory(memory_in); in fillMemory() local
/hardware/google/gfxstream/guest/vulkan_enc/
DHostVisibleMemoryVirtualization.cpp35 VkDevice device, VkDeviceMemory memory) in CoherentMemory()
43 VkDevice device, VkDeviceMemory memory) in CoherentMemory()
/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/codegen/vulkan/vulkan-docs-next/proposals/
DVK_EXT_descriptor_buffer.adoc95 ==== Next level update-after-bind
105 ==== Dropping support for abstract descriptor types
117 ==== One buffer, many offsets
138 ==== No mixing and matching descriptor buffers and older model
/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/google/gfxstream/host/vulkan/testing/
DVkDecoderTestDispatch.h55 VkResult vkBindBufferMemory(VkDevice device, VkBuffer buffer, VkDeviceMemory memory, in vkBindBufferMemory()
61 VkResult vkBindImageMemory(VkDevice device, VkImage image, VkDeviceMemory memory, in vkBindImageMemory()
224 void vkFreeMemory(VkDevice device, VkDeviceMemory memory, in vkFreeMemory()
276 VkResult vkMapMemory(VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, in vkMapMemory()
282 void vkUnmapMemory(VkDevice device, VkDeviceMemory memory) { in vkUnmapMemory()
/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/apf/
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/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/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dmemory.adoc5 [[memory]] anchor
/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/guest/mesa/src/vulkan/runtime/
Dvk_buffer.c132 VkDeviceMemory memory, in vk_common_BindBufferMemory()
Dvk_device.c397 VkDeviceMemory memory, in vk_common_MapMemory()
418 VkDeviceMemory memory) in vk_common_UnmapMemory()
469 VkDeviceMemory memory, in vk_common_BindImageMemory()
/hardware/google/aemu/base/
DSharedMemory_win32.cpp64 LARGE_INTEGER memory; in openInternal() local
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCamera2HWICallbacks.cpp343 QCameraGrallocMemory *memory = (QCameraGrallocMemory *)preview_frame->mem_info; in selectScene() local
614 QCameraMemory *memory = (QCameraMemory *)pFrame->mem_info; in TsMakeupProcess() local
734 QCameraGrallocMemory *memory = (QCameraGrallocMemory *) frame->mem_info; in synchronous_stream_cb_routine() local
807 QCameraGrallocMemory *memory = (QCameraGrallocMemory *)super_frame->bufs[0]->mem_info; in preview_stream_cb_routine() local
974 QCameraMemory *memory, uint32_t idx) in sendPreviewCallback()
1412 QCameraGrallocMemory *memory = (QCameraGrallocMemory *)super_frame->bufs[0]->mem_info; in postview_stream_cb_routine() local

1234