Home
last modified time | relevance | path

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

/picolibc-latest/test/libc-testsuite/
Dsscanf.c35 #define TEST_S(s, x, m) ( \ macro
96 TEST_S(a, "hello,", ""); in test_sscanf()
97 TEST_S(b, "world", ""); in test_sscanf()
103 TEST_S(a, "hello,", ""); in test_sscanf()
104 TEST_S(b, "world", ""); in test_sscanf()
105 TEST_S(c, "\n", ""); in test_sscanf()
108 TEST_S(a, "hell", ""); in test_sscanf()
109 TEST_S(b, "o,", ""); in test_sscanf()
112 TEST_S(a, "hell", ""); in test_sscanf()
113 TEST_S(b, "o,", ""); in test_sscanf()
[all …]
Dstring.c47 #define TEST_S(s, x, m) do { \ macro
65 TEST_S(s, "abc", "strcpy gave incorrect string"); in test_string()
67 TEST_S(s, "abc", "strcpy gave incorrect string"); in test_string()
69 TEST_S(s, "abc", "strcpy gave incorrect string"); in test_string()
71 TEST_S(s, "abc", "strcpy gave incorrect string"); in test_string()
74 TEST_S(s, "bc", "strcpy gave incorrect string"); in test_string()
76 TEST_S(s, "c", "strcpy gave incorrect string"); in test_string()
78 TEST_S(s, "", "strcpy gave incorrect string"); in test_string()
96 TEST_S(s, "abc123", "strncat gave incorrect string"); in test_string()
107 TEST_S(s, "abc", "strtok result"); in test_string()
[all …]
Dsnprintf.c44 #define TEST_S(s, x, m) ( \ macro
179 TEST_S(b, "123", "incorrect output"); in test_snprintf()
209 TEST_S(b, "123456", "incorrect output"); in test_snprintf()
212 TEST_S(b, "123456", "incorrect output"); in test_snprintf()
215 TEST_S(b, "123456", "incorrect output"); in test_snprintf()
218 TEST_S(b, "123456", "incorrect output"); in test_snprintf()
223 TEST_S(b, "123456", "incorrect output"); in test_snprintf()
237 TEST_S(b, int_tests[j].expect, "bad integer conversion"); in test_snprintf()
245 TEST_S(b, fp_tests[j].expect, "bad floating point conversion"); in test_snprintf()