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

/linux-master/lib/
H A Dfortify_kunit.c35 #ifndef __compiletime_strlen
36 # define __compiletime_strlen __builtin_strlen macro
69 KUNIT_EXPECT_EQ(test, __compiletime_strlen("88888888"), 8);
70 KUNIT_EXPECT_EQ(test, __compiletime_strlen(array_of_10), 10);
71 KUNIT_EXPECT_EQ(test, __compiletime_strlen(ptr_of_11), 11);
73 KUNIT_EXPECT_EQ(test, __compiletime_strlen(array_unknown), SIZE_MAX);
75 KUNIT_EXPECT_EQ(test, __compiletime_strlen(test->name), SIZE_MAX);
97 return __compiletime_strlen(str);
/linux-master/include/linux/
H A Dfortify-string.h59 #define __compiletime_strlen(p) \ macro
204 const size_t p_len = __compiletime_strlen(p);
279 len = __compiletime_strlen(q);

Completed in 143 milliseconds