Lines Matching refs:AssertCompile
59 * In addition there is a very special family AssertCompile that can be
256 * RTASSERTTYPE is the type the AssertCompile() macro redefines.
263 * RTASSERTVAR is the type the AssertCompile() macro redefines.
293 * This differs from AssertCompile in that it accepts some more expressions
306 /** @def AssertCompile
312 # define AssertCompile(expr) static_assert(!!(expr), #expr)
314 # define AssertCompile(expr) AssertCompileNS(expr)
340 AssertCompile(sizeof(type) == (size))
348 AssertCompile(!(sizeof(type) & ((align) - 1)))
357 AssertCompile(RT_SIZEOFMEMB(type, member) == (size))
366 AssertCompile(!(RT_SIZEOFMEMB(type, member) & ((align) - 1)))
375 AssertCompile(!(RTASSERT_OFFSET_OF(type, member) & ((align) - 1)))
384 AssertCompile(RTASSERT_OFFSET_OF(type, member) == (off))
393 AssertCompile(RTASSERT_OFFSET_OF(type, member1) == RTASSERT_OFFSET_OF(type, member2))
402 AssertCompile(RTASSERT_OFFSET_OF(type, member1) + RT_SIZEOFMEMB(type, member1) == RTASSERT_OFFSET_OF(type, member2))
412 AssertCompile(RTASSERT_OFFSET_OF(type1, member1) == RTASSERT_OFFSET_OF(type2, member2))
422 AssertCompile(RT_SIZEOFMEMB(type1, member1) == RT_SIZEOFMEMB(type2, member2))
433 AssertCompile( RTASSERT_OFFSET_OF(type1, member1) == RTASSERT_OFFSET_OF(type2, member2) \