Searched refs:__compiletime_strlen (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/lib/ |
D | fortify_kunit.c | 30 KUNIT_EXPECT_EQ(test, __compiletime_strlen("88888888"), 8); in known_sizes_test() 31 KUNIT_EXPECT_EQ(test, __compiletime_strlen(array_of_10), 10); in known_sizes_test() 32 KUNIT_EXPECT_EQ(test, __compiletime_strlen(ptr_of_11), 11); in known_sizes_test() 34 KUNIT_EXPECT_EQ(test, __compiletime_strlen(array_unknown), SIZE_MAX); in known_sizes_test() 36 KUNIT_EXPECT_EQ(test, __compiletime_strlen(test->name), SIZE_MAX); in known_sizes_test() 58 return __compiletime_strlen(str); in want_minus_one()
|
/linux-6.6.21/include/linux/ |
D | fortify-string.h | 19 #define __compiletime_strlen(p) \ macro 168 const size_t p_len = __compiletime_strlen(p); in strnlen() 312 len = __compiletime_strlen(q); in strscpy()
|