Lines Matching defs:ASSERT
46 // Users must test "#if ENABLE(ASSERT)", which helps ensure that code
50 /* Disable ASSERT* macros in release mode by default. */
58 #define BACKTRACE_DISABLED !ENABLE(ASSERT)
62 #define ASSERT_MSG_DISABLED !ENABLE(ASSERT)
66 #define ASSERT_ARG_DISABLED !ENABLE(ASSERT)
70 #define FATAL_DISABLED !ENABLE(ASSERT)
74 #define ERROR_DISABLED !ENABLE(ASSERT)
78 #define LOG_DISABLED !ENABLE(ASSERT)
146 To test for unknown errors and verify assumptions, use ASSERT instead, to avoid impacting performance in release builds.
166 Print a backtrace to the same location as ASSERT messages.
180 /* ASSERT, ASSERT_NOT_REACHED, ASSERT_UNUSED
186 /* FIXME: Change to use something other than ASSERT to avoid this conflict with the underlying platform */
187 #undef ASSERT
190 #if ENABLE(ASSERT)
192 #define ASSERT(assertion) \
209 #define ASSERT_UNUSED(variable, assertion) ASSERT(assertion)
215 #define ASSERT(assertion) ((void)0)
244 #define ASSERT_WITH_SECURITY_IMPLICATION(assertion) ASSERT(assertion)
251 #if defined(ADDRESS_SANITIZER) || ENABLE(ASSERT)
365 #if ENABLE(ASSERT)
366 #define RELEASE_ASSERT(assertion) ASSERT(assertion)