Lines Matching refs:result

30 #define NN_UTIL_BEGIN_CHECK_RESULT(result) \  argument
32 ::nn::Result nn_util_result_try_result = (result); \
46 #define NN_UTIL_BEGIN_CHECK_RESULT(result) \ argument
48 ::nn::Result nn_util_result_try_result = (result); \
69 #define NN_UTIL_RETURN_IF_FAILED_BASE(result, s1, s2, s3, s4, s5) \ argument
72 ::nn::Result nn_util_return_if_failure_result = (result); \
87 #define NN_UTIL_RETURN_IF_FAILED(result) NN_UTIL_RETURN_IF_FAILED_BASE(result,,,,,) argument
89 #define NN_UTIL_RETURN_IF_FAILED_0(result) NN_UTIL_RETURN_IF_FAILED_BASE(result,,,,,) argument
90 #define NN_UTIL_RETURN_IF_FAILED_1(result, c1) NN_UTIL_RETURN_IF_FAILED_BASE(result,c1,,,,) argument
91 #define NN_UTIL_RETURN_IF_FAILED_2(result, c1, c2) NN_UTIL_RETURN_IF_FAILED_BASE(result,c1,c2,,,) argument
92 #define NN_UTIL_RETURN_IF_FAILED_3(result, c1, c2, c3) NN_UTIL_RETURN_IF_FAILED_BASE(result,c1,c2,c… argument
93 #define NN_UTIL_RETURN_IF_FAILED_4(result, c1, c2, c3, c4) NN_UTIL_RETURN_IF_FAILED_BASE(result,c1,… argument
94 #define NN_UTIL_RETURN_IF_FAILED_5(result, c1, c2, c3, c4, c5) NN_UTIL_RETURN_IF_FAILED_BASE(result argument
96 #define NN_UTIL_RETURN_IF_FAILED_EXCEPT(result, exceptResult) \ argument
99 ::nn::Result nn_util_return_if_failure_result_except = (result); \
107 #define NN_UTIL_THROW_RESULT(result) return (result) argument
109 #define NN_UTIL_THROW_RESULT(result) \ argument
112 ::nn::Result nn_util_return_throw_result = (result); \
119 #define NN_UTIL_PANIC_IF_FAILED(result) \ argument
121 NN_UTIL_BEGIN_CHECK_RESULT(result) \
122 NN_TLOG_("RESULT FAILURE: result = %s\n", #result); \