Searched refs:static_assert (Results 1 – 6 of 6) sorted by relevance
77 #ifndef static_assert78 #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) macro
33 static_assert(ARRAY_SIZE(transport_ksyms) == TRANSPORT_NUM);34 static_assert(BITS_PER_TYPE(int) >= TRANSPORT_NUM);
22 static_assert(ATOMIC_INT_LOCK_FREE == 2, "atomic int is not lockless");
445 static_assert(sizeof(footer) == BOOTCONFIG_FOOTER_SIZE); in apply_xbc()
77 static_assert(MEM_TEST_MOVE_SIZE <= MEM_TEST_SIZE,111 static_assert(ATOMIC_BOOL_LOCK_FREE == 2, "atomic bool is not lockless");
85 static_assert(ARRAY_SIZE(colors) - 1 == METRIC_THRESHOLD_GOOD, "missing enum value"); in metric_threshold_classify__color()98 static_assert(ARRAY_SIZE(strs) - 1 == METRIC_THRESHOLD_GOOD, "missing enum value"); in metric_threshold_classify__str()
Completed in 164 milliseconds