Lines Matching refs:sscanf

534   CheckInfNan(snprintf, sscanf, "%s",  in TEST()
538 CheckInfNan(snprintf, sscanf, "%s", in TEST()
542 CheckInfNan(snprintf, sscanf, "%s", in TEST()
546 CheckInfNan(snprintf, sscanf, "%s", in TEST()
550 CheckInfNan(snprintf, sscanf, "%s", in TEST()
554 CheckInfNan(snprintf, sscanf, "%s", in TEST()
558 CheckInfNan(snprintf, sscanf, "%s", in TEST()
562 CheckInfNan(snprintf, sscanf, "%s", in TEST()
1048 ASSERT_EQ(9, sscanf(" hello 123 456abAB! 1.23 0x1.2p3 world", in TEST()
1071 CheckScanf(sscanf, "abcd", "%[abc]", 1, "abc"); in TEST()
1073 CheckScanf(sscanf, "abcd", "%[a-c]", 1, "abc"); in TEST()
1074 CheckScanf(sscanf, "-d", "%[a-c]", 0, ""); in TEST()
1075 CheckScanf(sscanf, "ac-bAd", "%[a--c]", 1, "ac-bA"); in TEST()
1077 CheckScanf(sscanf, "abcdefg", "%[a-c-e]", 1, "abcde"); in TEST()
1079 CheckScanf(sscanf, "-a-e-b", "%[e-a]", 1, "-a-e-"); in TEST()
1081 CheckScanf(sscanf, "abcde", "%[^d]", 1, "abc"); in TEST()
1082 CheckScanf(sscanf, "abcdefgh", "%[^c-d]", 1, "ab"); in TEST()
1083 CheckScanf(sscanf, "hgfedcba", "%[^c-d]", 1, "hgfe"); in TEST()
1085 CheckScanf(sscanf, "[[]]x", "%[][]", 1, "[[]]"); in TEST()
1086 CheckScanf(sscanf, "-a-x", "%[-a]", 1, "-a-"); in TEST()
1088 CheckScanf(sscanf, "-a-x", "%[a-]", 1, "-a-"); in TEST()
1090 CheckScanf(sscanf, "+,-/.", "%[+--/]", 1, "+,-/"); in TEST()
1134 ASSERT_EQ(2, sscanf("hello", "%mc%mc", &p1, &p2)); in TEST()
1141 ASSERT_EQ(1, sscanf("hello", "%4mc", &p1)); in TEST()
1149 ASSERT_EQ(1, sscanf("hello world", "%30mc", &p1)); in TEST()
1167 ASSERT_EQ(2, sscanf("hello", "%mlc%mlc", &p1, &p2)); in TEST()
1174 ASSERT_EQ(1, sscanf("hello", "%4mlc", &p1)); in TEST()
1182 ASSERT_EQ(1, sscanf("hello world", "%30mlc", &p1)); in TEST()
1194 CheckScanfM(sscanf, "hello", "%ms", 1, "hello"); in TEST()
1195 CheckScanfM(sscanf, "hello", "%4ms", 1, "hell"); in TEST()
1196 CheckScanfM(sscanf, "hello world", "%30ms", 1, "hello"); in TEST()
1200 CheckScanfM(sscanf, "hello", "%mls", 1, L"hello"); in TEST()
1201 CheckScanfM(sscanf, "hello", "%4mls", 1, L"hell"); in TEST()
1202 CheckScanfM(sscanf, "hello world", "%30mls", 1, L"hello"); in TEST()
1206 CheckScanfM(sscanf, "hello", "%m[a-z]", 1, "hello"); in TEST()
1207 CheckScanfM(sscanf, "hello", "%4m[a-z]", 1, "hell"); in TEST()
1208 CheckScanfM(sscanf, "hello world", "%30m[a-z]", 1, "hello"); in TEST()
1212 CheckScanfM(sscanf, "hello", "%ml[a-z]", 1, L"hello"); in TEST()
1213 CheckScanfM(sscanf, "hello", "%4ml[a-z]", 1, L"hell"); in TEST()
1214 CheckScanfM(sscanf, "hello world", "%30ml[a-z]", 1, L"hello"); in TEST()
1219 ASSERT_EQ(1, sscanf("hello world", "%ls", w)); in TEST()
1224 ASSERT_EQ(0, sscanf("hello world", "%*ls %*ls")); in TEST()
1231 ASSERT_EQ(1, sscanf("\xc4\x80", "%ls%n", w, &pos)); in TEST()
1243 ASSERT_EQ(2, sscanf("1234567890123456789012345678901234567890 world", "%mls %mls", &p1, &p2)); in TEST()
1251 EXPECT_EQ(0, sscanf("b", "ab")); in TEST()
1252 EXPECT_EQ(EOF, sscanf("", "a")); in TEST()
1264 EXPECT_EQ(0, sscanf("\xc0" " foo", "%ls %s", wbuf, buf)); in TEST()
1270 EXPECT_EQ(0, sscanf("d", "%[abc]", buf)); in TEST()
1279 EXPECT_EQ(EOF, sscanf("", "%s", buf)); in TEST()
1292 EXPECT_EQ(1, sscanf("xĀyz", "%l[xy]", buf)); in TEST()
1301 EXPECT_EQ(1, sscanf("xĀyz", "%l[xĀy]", buf)); in TEST()
1310 EXPECT_EQ(1, sscanf("xĀyz", "%l[^ab]", buf)); in TEST()
1319 EXPECT_EQ(1, sscanf("x" in TEST()