Searched refs:__is_constexpr (Results 1 – 8 of 8) sorted by relevance
| /linux-6.15/drivers/gpu/drm/i915/ |
| H A D | i915_reg_defs.h | 22 BUILD_BUG_ON_ZERO(__is_constexpr(__n) && \ 35 BUILD_BUG_ON_ZERO(__is_constexpr(__n) && \ 49 BUILD_BUG_ON_ZERO(__is_constexpr(__high) && \ 50 __is_constexpr(__low) && \ 64 BUILD_BUG_ON_ZERO(__is_constexpr(__high) && \ 65 __is_constexpr(__low) && \ 79 BUILD_BUG_ON_ZERO(__is_constexpr(__high) && \ 80 __is_constexpr(__low) && \ 100 BUILD_BUG_ON_ZERO(!__is_constexpr(__mask)) + \ 173 __is_constexpr(__low) && \ [all …]
|
| /linux-6.15/include/linux/ |
| H A D | overflow.h | 237 __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 D | compiler.h | 343 #define __is_constexpr(x) \ macro 382 #define const_true(x) __builtin_choose_expr(__is_constexpr(x), x, false)
|
| H A D | fortify-string.h | 258 __builtin_choose_expr(__is_constexpr(__builtin_strlen(p)), \
|
| /linux-6.15/tools/include/linux/ |
| H A D | bits.h | 25 __is_constexpr((l) > (h)), (l) > (h), 0)))
|
| H A D | compiler.h | 81 #define __is_constexpr(x) \ macro
|
| /linux-6.15/lib/tests/ |
| H A D | fortify_kunit.c | 89 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-6.15/drivers/hwtracing/coresight/ |
| H A D | coresight-etm4x.h | 495 if (__is_constexpr((offset))) \
|