Searched refs:SSCANF_TEST (Results 1 – 1 of 1) sorted by relevance
/freebsd/lib/libc/tests/stdio/ |
H A D | sscanf_test.c | 150 #define SSCANF_TEST(string, format, expret, expval, explen) \ macro 169 SSCANF_TEST(input + 1, "%b", stc->b.ret, stc->b.val, stc->b.len); in ATF_TC_BODY() 171 SSCANF_TEST(input, "%b", stc->b.ret, stc->b.val, stc->b.len ? stc->b.len + 1 : 0); in ATF_TC_BODY() 173 SSCANF_TEST(input, "%b", stc->b.ret, -stc->b.val, stc->b.len ? stc->b.len + 1 : 0); in ATF_TC_BODY() 185 SSCANF_TEST(input + 1, "%o", stc->o.ret, stc->o.val, stc->o.len); in ATF_TC_BODY() 187 SSCANF_TEST(input, "%o", stc->o.ret, stc->o.val, stc->o.len ? stc->o.len + 1 : 0); in ATF_TC_BODY() 189 SSCANF_TEST(input, "%o", stc->o.ret, -stc->o.val, stc->o.len ? stc->o.len + 1 : 0); in ATF_TC_BODY() 201 SSCANF_TEST(input + 1, "%d", stc->d.ret, stc->d.val, stc->d.len); in ATF_TC_BODY() 203 SSCANF_TEST(input, "%d", stc->d.ret, stc->d.val, stc->d.len ? stc->d.len + 1 : 0); in ATF_TC_BODY() 205 SSCANF_TEST(input, "%d", stc->d.ret, -stc->d.val, stc->d.len ? stc->d.len + 1 : 0); in ATF_TC_BODY() [all …]
|