Lines Matching refs:lifetime
87 GeneralResult<Operand::LifeTime> unvalidatedConvert(const hal::V1_0::OperandLifeTime& lifetime) { in unvalidatedConvert() argument
88 return static_cast<Operand::LifeTime>(lifetime); in unvalidatedConvert()
132 .lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)), in unvalidatedConvert()
183 const auto lifetime = argument.hasNoValue ? Request::Argument::LifeTime::NO_VALUE in unvalidatedConvert() local
186 .lifetime = lifetime, in unvalidatedConvert()
273 nn::GeneralResult<OperandLifeTime> unvalidatedConvert(const nn::Operand::LifeTime& lifetime) { in unvalidatedConvert() argument
274 if (lifetime == nn::Operand::LifeTime::POINTER) { in unvalidatedConvert()
278 return static_cast<OperandLifeTime>(lifetime); in unvalidatedConvert()
317 .lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)), in unvalidatedConvert()
367 if (requestArgument.lifetime == nn::Request::Argument::LifeTime::POINTER) { in unvalidatedConvert()
371 const bool hasNoValue = requestArgument.lifetime == nn::Request::Argument::LifeTime::NO_VALUE; in unvalidatedConvert()