Lines Matching refs:ret
44 status_t processReturn(const char* funcName, const Return<R>& ret, T *retval) { in processReturn() argument
45 if (ret.isOk()) { in processReturn()
47 *retval = static_cast<T>(static_cast<R>(ret)); in processReturn()
50 return processReturn(funcName, ret); in processReturn()
54 status_t processReturn(const char* funcName, const Return<T>& ret) { in processReturn() argument
55 if (!ret.isOk()) { in processReturn()
56 emitError(funcName, ret.description().c_str()); in processReturn()
58 return ret.isOk() ? OK : FAILED_TRANSACTION; in processReturn()
61 status_t processReturn(const char* funcName, const Return<CoreResult>& ret) { in processReturn() argument
62 if (!ret.isOk()) { in processReturn()
63 emitError(funcName, ret.description().c_str()); in processReturn()
65 return ret.isOk() ? analyzeResult(ret) : FAILED_TRANSACTION; in processReturn()
70 const char* funcName, const Return<T>& ret, CoreResult retval) { in processReturn() argument
71 if (!ret.isOk()) { in processReturn()
72 emitError(funcName, ret.description().c_str()); in processReturn()
74 return ret.isOk() ? analyzeResult(retval) : FAILED_TRANSACTION; in processReturn()