Searched refs:nonstring (Results 1 – 2 of 2) sorted by relevance
/linux/include/linux/ |
H A D | compiler.h | 210 * If the "nonstring" attribute isn't available, we have to return true 211 * so the __must_*() checks pass when "nonstring" isn't supported. 214 #define __is_cstr(a) (!__annotated(a, nonstring)) 215 #define __is_noncstr(a) (__annotated(a, nonstring)) 221 /* Require C Strings (i.e. NUL-terminated) lack the "nonstring" attribute. */
|
/linux/lib/tests/ |
H A D | string_kunit.c | 582 char nonstring[7] __nonstring = { 'a', 'b', 'c', 'd', 'e', 'f', 'g' }; in string_test_memtostr() local 584 char dest[sizeof(nonstring) + 1]; in string_test_memtostr() 587 KUNIT_EXPECT_EQ(test, sizeof(dest), sizeof(nonstring) + 1); in string_test_memtostr() 589 memtostr(dest, nonstring); in string_test_memtostr() 597 memtostr_pad(dest, nonstring); in string_test_memtostr()
|