Lines Matching refs:sscanf

540   CheckInfNan(snprintf, sscanf, "%s",  in TEST()
544 CheckInfNan(snprintf, sscanf, "%s", in TEST()
548 CheckInfNan(snprintf, sscanf, "%s", in TEST()
552 CheckInfNan(snprintf, sscanf, "%s", in TEST()
556 CheckInfNan(snprintf, sscanf, "%s", in TEST()
560 CheckInfNan(snprintf, sscanf, "%s", in TEST()
564 CheckInfNan(snprintf, sscanf, "%s", in TEST()
568 CheckInfNan(snprintf, sscanf, "%s", in TEST()
1054 ASSERT_EQ(9, sscanf(" hello 123 456abAB! 1.23 0x1.2p3 world", in TEST()
1077 CheckScanf(sscanf, "abcd", "%[abc]", 1, "abc"); in TEST()
1079 CheckScanf(sscanf, "abcd", "%[a-c]", 1, "abc"); in TEST()
1080 CheckScanf(sscanf, "-d", "%[a-c]", 0, ""); in TEST()
1081 CheckScanf(sscanf, "ac-bAd", "%[a--c]", 1, "ac-bA"); in TEST()
1083 CheckScanf(sscanf, "abcdefg", "%[a-c-e]", 1, "abcde"); in TEST()
1085 CheckScanf(sscanf, "-a-e-b", "%[e-a]", 1, "-a-e-"); in TEST()
1087 CheckScanf(sscanf, "abcde", "%[^d]", 1, "abc"); in TEST()
1088 CheckScanf(sscanf, "abcdefgh", "%[^c-d]", 1, "ab"); in TEST()
1089 CheckScanf(sscanf, "hgfedcba", "%[^c-d]", 1, "hgfe"); in TEST()
1091 CheckScanf(sscanf, "[[]]x", "%[][]", 1, "[[]]"); in TEST()
1092 CheckScanf(sscanf, "-a-x", "%[-a]", 1, "-a-"); in TEST()
1094 CheckScanf(sscanf, "-a-x", "%[a-]", 1, "-a-"); in TEST()
1096 CheckScanf(sscanf, "+,-/.", "%[+--/]", 1, "+,-/"); in TEST()
1140 ASSERT_EQ(2, sscanf("hello", "%mc%mc", &p1, &p2)); in TEST()
1147 ASSERT_EQ(1, sscanf("hello", "%4mc", &p1)); in TEST()
1155 ASSERT_EQ(1, sscanf("hello world", "%30mc", &p1)); in TEST()
1172 ASSERT_EQ(2, sscanf("hello", "%mlc%mlc", &p1, &p2)); in TEST()
1179 ASSERT_EQ(1, sscanf("hello", "%4mlc", &p1)); in TEST()
1187 ASSERT_EQ(1, sscanf("hello world", "%30mlc", &p1)); in TEST()
1198 CheckScanfM(sscanf, "hello", "%ms", 1, "hello"); in TEST()
1199 CheckScanfM(sscanf, "hello", "%4ms", 1, "hell"); in TEST()
1200 CheckScanfM(sscanf, "hello world", "%30ms", 1, "hello"); in TEST()
1204 CheckScanfM(sscanf, "hello", "%mls", 1, L"hello"); in TEST()
1205 CheckScanfM(sscanf, "hello", "%4mls", 1, L"hell"); in TEST()
1206 CheckScanfM(sscanf, "hello world", "%30mls", 1, L"hello"); in TEST()
1210 CheckScanfM(sscanf, "hello", "%m[a-z]", 1, "hello"); in TEST()
1211 CheckScanfM(sscanf, "hello", "%4m[a-z]", 1, "hell"); in TEST()
1212 CheckScanfM(sscanf, "hello world", "%30m[a-z]", 1, "hello"); in TEST()
1216 CheckScanfM(sscanf, "hello", "%ml[a-z]", 1, L"hello"); in TEST()
1217 CheckScanfM(sscanf, "hello", "%4ml[a-z]", 1, L"hell"); in TEST()
1218 CheckScanfM(sscanf, "hello world", "%30ml[a-z]", 1, L"hello"); in TEST()
1223 ASSERT_EQ(1, sscanf("hello world", "%ls", w)); in TEST()
1228 ASSERT_EQ(0, sscanf("hello world", "%*ls %*ls")); in TEST()
1235 ASSERT_EQ(1, sscanf("\xc4\x80", "%ls%n", w, &pos)); in TEST()
1247 ASSERT_EQ(2, sscanf("1234567890123456789012345678901234567890 world", "%mls %mls", &p1, &p2)); in TEST()
1255 EXPECT_EQ(0, sscanf("b", "ab")); in TEST()
1256 EXPECT_EQ(EOF, sscanf("", "a")); in TEST()
1268 EXPECT_EQ(0, sscanf("\xc0" " foo", "%ls %s", wbuf, buf)); in TEST()
1274 EXPECT_EQ(0, sscanf("d", "%[abc]", buf)); in TEST()
1283 EXPECT_EQ(EOF, sscanf("", "%s", buf)); in TEST()
1296 EXPECT_EQ(1, sscanf("xĀyz", "%l[xy]", buf)); in TEST()
1305 EXPECT_EQ(1, sscanf("xĀyz", "%l[xĀy]", buf)); in TEST()
1314 EXPECT_EQ(1, sscanf("xĀyz", "%l[^ab]", buf)); in TEST()
1323 EXPECT_EQ(1, sscanf("x" in TEST()