Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsnprintf.c87 static int load_single_snprintf(char *fmt) in load_single_snprintf() function
106 ASSERT_OK(load_single_snprintf("valid %d"), "valid usage"); in test_snprintf_negative()
108 ASSERT_ERR(load_single_snprintf("0123456789"), "no terminating zero"); in test_snprintf_negative()
109 ASSERT_ERR(load_single_snprintf("%d %d"), "too many specifiers"); in test_snprintf_negative()
110 ASSERT_ERR(load_single_snprintf("%pi5"), "invalid specifier 1"); in test_snprintf_negative()
111 ASSERT_ERR(load_single_snprintf("%a"), "invalid specifier 2"); in test_snprintf_negative()
112 ASSERT_ERR(load_single_snprintf("%"), "invalid specifier 3"); in test_snprintf_negative()
113 ASSERT_ERR(load_single_snprintf("%12345678"), "invalid specifier 4"); in test_snprintf_negative()
114 ASSERT_ERR(load_single_snprintf("%--------"), "invalid specifier 5"); in test_snprintf_negative()
115 ASSERT_ERR(load_single_snprintf("%lc"), "invalid specifier 6"); in test_snprintf_negative()
[all …]