Searched refs:expr (Results 1 – 2 of 2) sorted by relevance
| /zcbor-latest/include/ |
| D | zcbor_print.h | 39 #define zcbor_log_assert(expr, ...) \ argument 41 zcbor_do_print("ASSERTION \n \"" #expr \ 55 #define zcbor_assert(expr, ...) \ argument 57 if (!(expr)) { \ 58 zcbor_log_assert(expr, __VA_ARGS__); \ 62 #define zcbor_assert_state(expr, ...) \ argument 64 if (!(expr)) { \ 65 zcbor_log_assert(expr, __VA_ARGS__); \ 70 #define zcbor_assert(expr, ...) 71 #define zcbor_assert_state(expr, ...)
|
| D | zcbor_common.h | 210 #define ZCBOR_FAIL_IF(expr) \ argument 212 if (expr) { \ 213 zcbor_log("ZCBOR_FAIL_IF(" #expr ") "); \ 225 #define ZCBOR_ERR_IF(expr, err) \ argument 227 if (expr) { \ 228 zcbor_log("ZCBOR_ERR_IF(" #expr ", %d) ", err); \
|