Lines Matching defs:memory
183 RuntimeMemory::RuntimeMemory(SharedMemory memory) : kMemory(std::move(memory)) { in RuntimeMemory()
188 RuntimeMemory::RuntimeMemory(SharedMemory memory, std::unique_ptr<MemoryValidatorBase> validator) in RuntimeMemory()
258 const SharedMemory& memory = memoryAHWB->getMemory(); in copyIBuffers() local
479 std::unique_ptr<RuntimeMemory> memory; in allocate() local
509 auto memory = createSharedMemory(size); in create() local
527 MemoryAshmem::MemoryAshmem(SharedMemory memory, Mapping mapping) in MemoryAshmem()
532 auto memory = createSharedMemoryFromFd(size, prot, fd, offset); in create() local
540 MemoryFd::MemoryFd(SharedMemory memory) : RuntimeMemory(std::move(memory)) {} in MemoryFd()
543 auto memory = createSharedMemoryFromAHWB(const_cast<AHardwareBuffer*>(&ahwb), in create() local
578 auto memory = createSharedMemoryFromAHWB(ahwb, /*takeOWnership=*/true); in create() local
597 MemoryRuntimeAHWB::MemoryRuntimeAHWB(SharedMemory memory, Mapping mapping) in MemoryRuntimeAHWB()