Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
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()
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()
115 ASSERT_ERR(load_single_snprintf("%lc"), "invalid specifier 6"); in test_snprintf_negative()
116 ASSERT_ERR(load_single_snprintf("%llc"), "invalid specifier 7"); in test_snprintf_negative()
117 ASSERT_ERR(load_single_snprintf("\x80"), "non ascii character"); in test_snprintf_negative()
[all …]

Completed in 4 milliseconds