Home
last modified time | relevance | path

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

/system/libvintf/
Dcheck_vintf.cpp399 android::base::Error& SetErrorCode(std::optional<android::base::Error>* retError, in SetErrorCode() argument
401 if (!retError->has_value()) { in SetErrorCode()
402 retError->emplace(errorCode); in SetErrorCode()
407 (**retError) << "\n"; in SetErrorCode()
409 return **retError; in SetErrorCode()
414 void AddResult(std::optional<android::base::Error>* retError, const android::base::Result<T>& other, in AddResult() argument
417 SetErrorCode(retError, other.error().code()) << other.error() << additionalMessage; in AddResult()
440 std::optional<android::base::Error> retError = std::nullopt; in checkAllFiles() local
445 SetErrorCode(&retError) << compatibleError; in checkAllFiles()
447 SetErrorCode(&retError, -compatibleResult) << compatibleError; in checkAllFiles()
[all …]