Lines Matching defs:exp

64 #define NN_ASSERT(exp)  argument
76 #define NN_ASSERTMSG(exp, ...) argument
89 #define NN_ASSERTMSG_WITH_RESULT(exp, result, ...) argument
107 #define NN_ALIGN_ASSERT(exp, align) argument
120 #define NN_EQUAL_ASSERT(exp, equ) argument
132 #define NN_FLOAT_ASSERT(exp) argument
144 #define NN_MIN_ASSERT(exp, min) argument
156 #define NN_MAX_ASSERT(exp, max) argument
169 #define NN_MINMAX_ASSERT(exp, min, max) argument
181 #define NN_NOT_EQUAL_ASSERT(exp, equ) argument
192 #define NN_NULL_ASSERT(exp) argument
226 #define NN_RESULT_ASSERT(exp) argument
231 #define NN_ASSERT_RESULT(exp) argument
232 #define NN_ASSERT_WITH_RESULT(exp, result) argument
246 #define NN_COMPILER_ASSERT(exp) argument
336 … #define NN_ASSERTMSG(exp, ...) \ argument
342 #define NN_ASSERTMSG_WITH_RESULT(exp, result, ...) NN_ASSERTMSG(exp, __VA_ARGS__) argument
346 #define NN_ASSERTMSG(exp, ...) \ argument
348 #define NN_ASSERTMSG_WITH_RESULT(exp, result, ...) \ argument
352 #define NN_ASSERTMSG(exp, ...) \ argument
354 #define NN_ASSERTMSG_WITH_RESULT(exp, result, ...) \ argument
360 #define NN_ASSERTMSG(exp, ...) ((void)0) argument
361 #define NN_ASSERTMSG_WITH_RESULT(exp, result, ...) ((void)0) argument
366 #define NN_TASSERTMSG_(exp, ...) NN_ASSERTMSG(exp, __VA_ARGS__) argument
367 #define NN_SASSERTMSG_(exp, ...) NN_ASSERTMSG(exp, __VA_ARGS__) argument
368 #define NN_TASSERTMSG_WITH_RESULT_(exp, result, ...) NN_ASSERTMSG(exp, __VA_ARGS__) argument
369 #define NN_SASSERTMSG_WITH_RESULT_(exp, result, ...) NN_ASSERTMSG(exp, __VA_ARGS__) argument
373 #define NN_TASSERTMSG_(exp, ...) \ argument
375 #define NN_SASSERTMSG_(exp, ...) \ argument
377 #define NN_TASSERTMSG_WITH_RESULT_(exp, result, ...) \ argument
379 #define NN_SASSERTMSG_WITH_RESULT_(exp, result, ...) \ argument
383 #define NN_TASSERTMSG_(exp, ...) \ argument
385 #define NN_SASSERTMSG_(exp, ...) \ argument
387 #define NN_TASSERTMSG_WITH_RESULT_(exp, result, ...) \ argument
389 #define NN_SASSERTMSG_WITH_RESULT_(exp, result, ...) \ argument
395 #define NN_TASSERTMSG_(exp, ...) ((void)0) argument
396 #define NN_SASSERTMSG_(exp, ...) ((void)0) argument
397 #define NN_TASSERTMSG_WITH_RESULT_(exp, result, ...) ((void)0) argument
398 #define NN_SASSERTMSG_WITH_RESULT_(exp, result, ...) ((void)0) argument
407 #define NN_ASSERT( exp) NN_ASSERTMSG( (exp), "%s", #exp) argument
408 #define NN_TASSERT_(exp) NN_TASSERTMSG_((exp), "%s", #exp) argument
409 #define NN_SASSERT_(exp) NN_SASSERTMSG_((exp), "%s", #exp) argument
411 …#define NN_RESULT_ASSERT( exp) NN_ASSERTMSG_WITH_RESULT( (exp).IsSuccess(), (exp), "… argument
412 …#define NN_RESULT_TASSERT_(exp) NN_TASSERTMSG_WITH_RESULT_((exp).IsSuccess(), (exp), "… argument
414 …#define NN_NULL_ASSERT( exp) NN_ASSERTMSG( (exp) != NULL, "%s must not be NULL", … argument
415 …#define NN_NULL_TASSERT_(exp) NN_TASSERTMSG_( (exp) != NULL, "%s must not be NULL", … argument
417 …#define NN_ALIGN_ASSERT( exp, align) NN_ASSERTMSG( ((uptr)(exp)) % (align) == 0, "%s(=0x%… argument
418 …#define NN_ALIGN_TASSERT_(exp, align) NN_TASSERTMSG_( ((uptr)(exp)) % (align) == 0, "%s(=0x%… argument
420 …#define NN_MIN_ASSERT( exp, min) NN_ASSERTMSG( (exp) >= (min), "%s(=%d) must be >= %s… argument
421 …#define NN_MIN_TASSERT_(exp, min) NN_TASSERTMSG_( (exp) >= (min), "%s(=%d) must be >= %s… argument
423 …#define NN_MAX_ASSERT( exp, max) NN_ASSERTMSG( (exp) <= (max), "%s(=%d) must be <= %s… argument
424 …#define NN_MAX_TASSERT_(exp, max) NN_TASSERTMSG_( (exp) <= (max), "%s(=%d) must be <= %s… argument
426 …#define NN_MINMAX_ASSERT( exp, min, max) NN_ASSERTMSG( (exp) >= (min) && (exp) <= (max), "%s(… argument
427 …#define NN_MINMAX_TASSERT_(exp, min, max) NN_TASSERTMSG_( (exp) >= (min) && (exp) <= (max), "%s(… argument
429 …#define NN_EQUAL_ASSERT( exp, equ) NN_ASSERTMSG( (exp) == (equ), "%s(=%d) must be == %s… argument
430 …#define NN_EQUAL_TASSERT_(exp, equ) NN_TASSERTMSG_( (exp) == (equ), "%s(=%d) must be == %s… argument
432 …#define NN_NOT_EQUAL_ASSERT( exp, equ) NN_ASSERTMSG( (exp) != (equ), "%s(=%d) must be != %s… argument
433 …#define NN_NOT_EQUAL_TASSERT_(exp, equ) NN_TASSERTMSG_( (exp) != (equ), "%s(=%d) must be != %s… argument
441 …#define NN_ASSERT_WITH_RESULT( exp, result) NN_ASSERTMSG_WITH_RESULT( (exp), (result), "%s",… argument
442 …#define NN_TASSERT_WITH_RESULT_(exp, result) NN_TASSERTMSG_WITH_RESULT_( (exp), (result), "%s",… argument
443 …#define NN_SASSERT_WITH_RESULT_(exp, result) NN_SASSERTMSG_WITH_RESULT_( (exp), (result), "%s",… argument
445 …#define NN_FLOAT_ASSERT(exp) NN_ASSERTMSG((-FLT_MAX <= (exp) && (exp) <= FLT_MAX), … argument
446 …#define NN_FLOAT_TASSERT_(exp) NN_TASSERTMSG_((-FLT_MAX <= (exp) && (exp) <= FLT_MAX)… argument
447 #define NN_FLOAT_SASSERT_(exp) NN_FLOAT_TASSERT_exp) argument
450 #define NN_ASSERT_RESULT(exp) NN_RESULT_ASSERT(exp) argument
451 #define NN_TASSERT_RESULT_(exp) NN_RESULT_TASSERT_(exp) argument
486 #define NN_PANIC_IF_FALSE(exp) (void) ( (exp) || (NN_PANIC ("Failed condition."), 0) ) argument
487 #define NN_TPANIC_IF_FALSE_(exp) (void) ( (exp) || (NN_TPANIC_("Failed condition."), 0) ) argument
489 #define NN_PANIC_IF_NULL( exp) NN_PANIC_IF_FALSE( exp) argument
490 #define NN_TPANIC_IF_NULL_(exp) NN_TPANIC_IF_FALSE_(exp) argument
518 #define NN_WARNING(exp, ...) \ argument
521 #define NN_WARNING(exp, ...) ((void)0) argument
524 #define NN_WARNING(exp, ...) ((void)0) argument
529 #define NN_TWARNING_(exp, ...) \ argument
531 #define NN_SWARNING_(exp, ...) \ argument
534 #define NN_TWARNING_(exp, ...) ((void)0) argument
535 #define NN_SWARNING_(exp, ...) ((void)0) argument
538 #define NN_TWARNING_(exp, ...) ((void)0) argument
539 #define NN_SWARNING_(exp, ...) ((void)0) argument