• Home
  • Raw
  • Download

Lines Matching refs:canonical

78     std::vector<UnvalidatedConvertOutput<Type>> canonical;  in unvalidatedConvertVec()  local
79 canonical.reserve(arguments.size()); in unvalidatedConvertVec()
81 canonical.push_back(NN_TRY(nn::unvalidatedConvert(argument))); in unvalidatedConvertVec()
83 return canonical; in unvalidatedConvertVec()
94 auto canonical = NN_TRY(nn::unvalidatedConvert(halObject)); in validatedConvert() local
95 NN_TRY(aidl_hal::utils::compliantVersion(canonical)); in validatedConvert()
96 return canonical; in validatedConvert()
102 std::vector<UnvalidatedConvertOutput<Type>> canonical; in validatedConvert() local
103 canonical.reserve(arguments.size()); in validatedConvert()
105 canonical.push_back(NN_TRY(validatedConvert(argument))); in validatedConvert()
107 return canonical; in validatedConvert()
140 const auto canonical = static_cast<OperandType>(operandType); in unvalidatedConvert() local
141 if (canonical == OperandType::OEM || canonical == OperandType::TENSOR_OEM_BYTE) { in unvalidatedConvert()
142 return NN_ERROR() << "Unable to convert invalid OperandType " << canonical; in unvalidatedConvert()
144 return canonical; in unvalidatedConvert()
150 const auto canonical = static_cast<OperationType>(operationType); in unvalidatedConvert() local
151 if (canonical == OperationType::OEM_OPERATION) { in unvalidatedConvert()
154 return canonical; in unvalidatedConvert()
802 nn::GeneralResult<UnvalidatedConvertOutput<Type>> validatedConvert(const Type& canonical) { in validatedConvert() argument
803 NN_TRY(compliantVersion(canonical)); in validatedConvert()
804 return utils::unvalidatedConvert(canonical); in validatedConvert()