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); \
80 #define NN_UTIL_RETURN_IF_FAILED(result) NN_UTIL_RETURN_IF_FAILED_BASE(result,,,,,) argument
82 #define NN_UTIL_RETURN_IF_FAILED_0(result) NN_UTIL_RETURN_IF_FAILED_BASE(result,,,,,) argument
83 #define NN_UTIL_RETURN_IF_FAILED_1(result, c1) NN_UTIL_RETURN_IF_FAILED_BASE(result,c1,,,,) argument
84 #define NN_UTIL_RETURN_IF_FAILED_2(result, c1, c2) NN_UTIL_RETURN_IF_FAILED_BASE(result,c1,c2,,,) argument
85 #define NN_UTIL_RETURN_IF_FAILED_3(result, c1, c2, c3) NN_UTIL_RETURN_IF_FAILED_BASE(result,c1,c2,c… argument
86 #define NN_UTIL_RETURN_IF_FAILED_4(result, c1, c2, c3, c4) NN_UTIL_RETURN_IF_FAILED_BASE(result,c1,… argument
87 #define NN_UTIL_RETURN_IF_FAILED_5(result, c1, c2, c3, c4, c5) NN_UTIL_RETURN_IF_FAILED_BASE(result… argument
89 #define NN_UTIL_THROW_RESULT(result) \ argument
92 ::nn::Result nn_util_return_if_failure_result = (result); \
97 #define NN_UTIL_PANIC_IF_FAILED(result) \ argument
99 NN_UTIL_BEGIN_CHECK_RESULT(result) \
100 NN_TLOG_("RESULT FAILURE: result = %s\n", #result); \