Searched refs:memoryPool (Results 1 – 6 of 6) sorted by relevance
697 std::ostream& operator<<(std::ostream& os, const Request::MemoryPool& memoryPool) { in operator <<() argument699 if (std::holds_alternative<SharedMemory>(memoryPool)) { in operator <<()700 os << std::get<SharedMemory>(memoryPool); in operator <<()701 } else if (std::holds_alternative<Request::MemoryDomainToken>(memoryPool)) { in operator <<()702 const auto& token = std::get<Request::MemoryDomainToken>(memoryPool); in operator <<()708 } else if (std::holds_alternative<SharedBuffer>(memoryPool)) { in operator <<()709 const auto& buffer = std::get<SharedBuffer>(memoryPool); in operator <<()
1067 Result<Version> validateRequestMemoryPool(const Request::MemoryPool& memoryPool) { in validateRequestMemoryPool() argument1068 if (std::holds_alternative<Request::MemoryDomainToken>(memoryPool)) { in validateRequestMemoryPool()1069 NN_RET_CHECK(std::get<Request::MemoryDomainToken>(memoryPool) != kInvalidMemoryDomainToken); in validateRequestMemoryPool()1072 if (std::holds_alternative<SharedBuffer>(memoryPool)) { in validateRequestMemoryPool()1073 NN_RET_CHECK(std::get<SharedBuffer>(memoryPool) != nullptr); in validateRequestMemoryPool()1076 return validateSharedMemory(std::get<SharedMemory>(memoryPool)); in validateRequestMemoryPool()1086 [](const Request::MemoryPool& memoryPool) { in validateRequest() argument1087 const auto* memory = std::get_if<SharedMemory>(&memoryPool); in validateRequest()
359 Request::MemoryPool uncheckedConvert(const V1_3::Request::MemoryPool& memoryPool);400 V1_3::Request::MemoryPool convertToV1_3(const Request::MemoryPool& memoryPool);
56 const auto& memoryPool = requestPool.get<RequestMemoryPool::pool>(); in parseInputs() local58 convertFromHAL(mNnapi.get(), memoryPool); in parseInputs()
1580 Request::MemoryPool uncheckedConvert(const V1_3::Request::MemoryPool& memoryPool) { in uncheckedConvert() argument1581 return handleError(unvalidatedConvert(memoryPool)); in uncheckedConvert()1735 V1_3::Request::MemoryPool convertToV1_3(const Request::MemoryPool& memoryPool) { in convertToV1_3() argument1736 return handleError(V1_3::utils::unvalidatedConvert(memoryPool)); in convertToV1_3()
128 std::ostream& operator<<(std::ostream& os, const Request::MemoryPool& memoryPool);