Home
last modified time | relevance | path

Searched refs:__is_constexpr (Results 1 – 6 of 6) sorted by relevance

/linux/include/linux/
H A Doverflow.h237 __builtin_choose_expr(__is_constexpr(n), \
253 __builtin_choose_expr(__is_constexpr(n), \
355 __builtin_choose_expr(__is_constexpr(count), \
371 __builtin_choose_expr(__is_constexpr(count), \
H A Dcompiler.h335 #define __is_constexpr(x) \ macro
374 #define const_true(x) __builtin_choose_expr(__is_constexpr(x), x, false)
H A Dfortify-string.h258 __builtin_choose_expr(__is_constexpr(__builtin_strlen(p)), \
/linux/tools/include/linux/
H A Dcompiler.h81 #define __is_constexpr(x) \ macro
104 #define const_true(x) __builtin_choose_expr(__is_constexpr(x), x, false)
/linux/lib/tests/
H A Dfortify_kunit.c89 KUNIT_EXPECT_FALSE(test, __is_constexpr(__builtin_strlen(stack))); in fortify_test_known_sizes()
92 KUNIT_EXPECT_TRUE(test, __is_constexpr(__builtin_strlen("88888888"))); in fortify_test_known_sizes()
95 KUNIT_EXPECT_TRUE(test, __is_constexpr(__builtin_strlen(array_of_10))); in fortify_test_known_sizes()
98 KUNIT_EXPECT_FALSE(test, __is_constexpr(__builtin_strlen(ptr_of_11))); in fortify_test_known_sizes()
101 KUNIT_EXPECT_TRUE(test, __is_constexpr(__builtin_strlen(unchanging_12))); in fortify_test_known_sizes()
104 KUNIT_EXPECT_FALSE(test, __is_constexpr(__builtin_strlen(array_unknown))); in fortify_test_known_sizes()
108 KUNIT_EXPECT_FALSE(test, __is_constexpr(__builtin_strlen(test->name))); in fortify_test_known_sizes()
/linux/drivers/hwtracing/coresight/
H A Dcoresight-etm4x.h495 if (__is_constexpr((offset))) \