Home
last modified time | relevance | path

Searched refs:__compiletime_strlen (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/lib/
Dfortify_kunit.c27 KUNIT_EXPECT_EQ(test, __compiletime_strlen("88888888"), 8); in known_sizes_test()
28 KUNIT_EXPECT_EQ(test, __compiletime_strlen(array_of_10), 10); in known_sizes_test()
29 KUNIT_EXPECT_EQ(test, __compiletime_strlen(ptr_of_11), 11); in known_sizes_test()
31 KUNIT_EXPECT_EQ(test, __compiletime_strlen(array_unknown), SIZE_MAX); in known_sizes_test()
33 KUNIT_EXPECT_EQ(test, __compiletime_strlen(test->name), SIZE_MAX); in known_sizes_test()
55 return __compiletime_strlen(str); in want_minus_one()
/Linux-v6.1/include/linux/
Dfortify-string.h19 #define __compiletime_strlen(p) \ macro
163 size_t p_len = __compiletime_strlen(p); in strnlen()