Searched refs:memoryPool (Results 1 – 6 of 6) sorted by relevance
820 std::ostream& operator<<(std::ostream& os, const Request::MemoryPool& memoryPool) { in operator <<() argument822 if (std::holds_alternative<SharedMemory>(memoryPool)) { in operator <<()823 os << std::get<SharedMemory>(memoryPool); in operator <<()824 } else if (std::holds_alternative<Request::MemoryDomainToken>(memoryPool)) { in operator <<()825 const auto& token = std::get<Request::MemoryDomainToken>(memoryPool); in operator <<()831 } else if (std::holds_alternative<SharedBuffer>(memoryPool)) { in operator <<()832 const auto& buffer = std::get<SharedBuffer>(memoryPool); in operator <<()
1091 Result<Version> validateRequestMemoryPool(const Request::MemoryPool& memoryPool) { in validateRequestMemoryPool() argument1092 if (std::holds_alternative<Request::MemoryDomainToken>(memoryPool)) { in validateRequestMemoryPool()1093 NN_VALIDATE(std::get<Request::MemoryDomainToken>(memoryPool) != kInvalidMemoryDomainToken); in validateRequestMemoryPool()1096 if (std::holds_alternative<SharedBuffer>(memoryPool)) { in validateRequestMemoryPool()1097 NN_VALIDATE(std::get<SharedBuffer>(memoryPool) != nullptr); in validateRequestMemoryPool()1100 return validateSharedMemory(std::get<SharedMemory>(memoryPool)); in validateRequestMemoryPool()1110 [](const Request::MemoryPool& memoryPool) { in validateRequest() argument1111 const auto* memory = std::get_if<SharedMemory>(&memoryPool); in validateRequest()
1577 Request::MemoryPool uncheckedConvert(const V1_3::Request::MemoryPool& memoryPool) { in uncheckedConvert() argument1578 return handleError(unvalidatedConvert(memoryPool)); in uncheckedConvert()1732 V1_3::Request::MemoryPool convertToV1_3(const Request::MemoryPool& memoryPool) { in convertToV1_3() argument1733 return handleError(V1_3::utils::unvalidatedConvert(memoryPool)); in convertToV1_3()
51 const auto& memoryPool = requestPool.get<RequestMemoryPool::pool>(); in parseInputs() local53 convertFromHAL(mNnapi.get(), memoryPool); in parseInputs()
359 Request::MemoryPool uncheckedConvert(const V1_3::Request::MemoryPool& memoryPool);400 V1_3::Request::MemoryPool convertToV1_3(const Request::MemoryPool& memoryPool);
129 std::ostream& operator<<(std::ostream& os, const Request::MemoryPool& memoryPool);