Home
last modified time | relevance | path

Searched refs:halObject (Results 1 – 10 of 10) sorted by relevance

/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/
DUtils.h37 nn::Result<void> validate(const Type& halObject) { in validate() argument
38 const auto maybeCanonical = nn::convert(halObject); in validate()
46 bool valid(const Type& halObject) { in valid() argument
47 const auto result = utils::validate(halObject); in valid()
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DUtils.h35 nn::Result<void> validate(const Type& halObject) { in validate() argument
36 const auto maybeCanonical = nn::convert(halObject); in validate()
44 bool valid(const Type& halObject) { in valid() argument
45 const auto result = utils::validate(halObject); in valid()
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DUtils.h46 nn::Result<void> validate(const Type& halObject) { in validate() argument
47 const auto maybeCanonical = nn::convert(halObject); in validate()
55 bool valid(const Type& halObject) { in valid() argument
56 const auto result = utils::validate(halObject); in valid()
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DUtils.h46 nn::Result<void> validate(const Type& halObject) { in validate() argument
47 const auto maybeCanonical = nn::convert(halObject); in validate()
55 bool valid(const Type& halObject) { in valid() argument
56 const auto result = utils::validate(halObject); in valid()
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DUtils.h35 nn::Result<void> validate(const Type& halObject) { in validate() argument
36 const auto maybeCanonical = nn::convert(halObject); in validate()
44 bool valid(const Type& halObject) { in valid() argument
45 const auto result = utils::validate(halObject); in valid()
/hardware/interfaces/neuralnetworks/1.1/utils/src/
DConversions.cpp61 GeneralResult<UnvalidatedConvertOutput<Type>> validatedConvert(const Type& halObject) { in validatedConvert() argument
62 auto canonical = NN_TRY(nn::unvalidatedConvert(halObject)); in validatedConvert()
178 hidl_vec<UnvalidatedConvertOutput<Type>> halObject(arguments.size()); in unvalidatedConvert() local
180 halObject[i] = NN_TRY(unvalidatedConvert(arguments[i])); in unvalidatedConvert()
182 return halObject; in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DConversions.cpp75 GeneralResult<UnvalidatedConvertOutput<Type>> validatedConvert(const Type& halObject) { in validatedConvert() argument
76 auto canonical = NN_TRY(nn::unvalidatedConvert(halObject)); in validatedConvert()
349 hidl_vec<UnvalidatedConvertOutput<Type>> halObject(arguments.size()); in unvalidatedConvert() local
351 halObject[i] = NN_TRY(unvalidatedConvert(arguments[i])); in unvalidatedConvert()
353 return halObject; in unvalidatedConvert()
383 hidl_vec<UnvalidatedConvertOutput<Type>> halObject(arguments.size()); in validatedConvert() local
385 halObject[i] = NN_TRY(validatedConvert(arguments[i])); in validatedConvert()
387 return halObject; in validatedConvert()
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DConversions.cpp71 GeneralResult<UnvalidatedConvertOutput<Type>> validatedConvert(const Type& halObject) { in validatedConvert() argument
72 auto canonical = NN_TRY(nn::unvalidatedConvert(halObject)); in validatedConvert()
250 hidl_vec<UnvalidatedConvertOutput<Type>> halObject(arguments.size()); in unvalidatedConvert() local
252 halObject[i] = NN_TRY(utils::unvalidatedConvert(arguments[i])); in unvalidatedConvert()
254 return halObject; in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DConversions.cpp90 GeneralResult<UnvalidatedConvertOutput<Type>> validatedConvert(const Type& halObject) { in validatedConvert() argument
91 auto canonical = NN_TRY(nn::unvalidatedConvert(halObject)); in validatedConvert()
412 hidl_vec<UnvalidatedConvertOutput<Type>> halObject(arguments.size()); in unvalidatedConvert() local
414 halObject[i] = NN_TRY(unvalidatedConvert(arguments[i])); in unvalidatedConvert()
416 return halObject; in unvalidatedConvert()
446 hidl_vec<UnvalidatedConvertOutput<Type>> halObject(arguments.size()); in validatedConvert() local
448 halObject[i] = NN_TRY(validatedConvert(arguments[i])); in validatedConvert()
450 return halObject; in validatedConvert()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp94 GeneralResult<UnvalidatedConvertOutput<Type>> validatedConvert(const Type& halObject) { in validatedConvert() argument
95 auto canonical = NN_TRY(nn::unvalidatedConvert(halObject)); in validatedConvert()
592 std::vector<UnvalidatedConvertOutput<Type>> halObject; in unvalidatedConvertVec() local
593 halObject.reserve(arguments.size()); in unvalidatedConvertVec()
595 halObject.push_back(NN_TRY(unvalidatedConvert(argument))); in unvalidatedConvertVec()
597 return halObject; in unvalidatedConvertVec()
615 std::vector<UnvalidatedConvertOutput<Type>> halObject(arguments.size()); in validatedConvert() local
617 halObject[i] = NN_TRY(validatedConvert(arguments[i])); in validatedConvert()
619 return halObject; in validatedConvert()