Searched refs:SWSCANF_TEST (Results 1 – 1 of 1) sorted by relevance
/freebsd/lib/libc/tests/stdio/ |
H A D | swscanf_test.c | 153 #define SWSCANF_TEST(string, format, expret, expval, explen) \ macro 172 SWSCANF_TEST(input + 1, L"%b", stc->b.ret, stc->b.val, stc->b.len); in ATF_TC_BODY() 174 SWSCANF_TEST(input, L"%b", stc->b.ret, stc->b.val, stc->b.len ? stc->b.len + 1 : 0); in ATF_TC_BODY() 176 SWSCANF_TEST(input, L"%b", stc->b.ret, -stc->b.val, stc->b.len ? stc->b.len + 1 : 0); in ATF_TC_BODY() 188 SWSCANF_TEST(input + 1, L"%o", stc->o.ret, stc->o.val, stc->o.len); in ATF_TC_BODY() 190 SWSCANF_TEST(input, L"%o", stc->o.ret, stc->o.val, stc->o.len ? stc->o.len + 1 : 0); in ATF_TC_BODY() 192 SWSCANF_TEST(input, L"%o", stc->o.ret, -stc->o.val, stc->o.len ? stc->o.len + 1 : 0); in ATF_TC_BODY() 204 SWSCANF_TEST(input + 1, L"%d", stc->d.ret, stc->d.val, stc->d.len); in ATF_TC_BODY() 206 SWSCANF_TEST(input, L"%d", stc->d.ret, stc->d.val, stc->d.len ? stc->d.len + 1 : 0); in ATF_TC_BODY() 208 SWSCANF_TEST(input, L"%d", stc->d.ret, -stc->d.val, stc->d.len ? stc->d.len + 1 : 0); in ATF_TC_BODY() [all …]
|