Lines Matching refs:errors

1160   int errors = 0;  in test_string_formatting()  local
1163 errors += string_check(buf, "09foo"); in test_string_formatting()
1166 errors += string_check(buf, " fo"); in test_string_formatting()
1169 errors += string_check(buf, "foo"); in test_string_formatting()
1172 errors += string_check(buf, "foo"); in test_string_formatting()
1175 errors += string_check(buf, "foo "); in test_string_formatting()
1178 errors += string_check(buf, " foo"); in test_string_formatting()
1181 errors += string_check(buf, "foo "); in test_string_formatting()
1183 if(!errors) in test_string_formatting()
1188 return errors; in test_string_formatting()
1193 int errors = 0; in test_pos_arguments() local
1197 errors += string_check(buf, "502 501 500"); in test_pos_arguments()
1200 errors += string_check(buf, "502 500 501"); in test_pos_arguments()
1205 errors += string_check(buf, ""); in test_pos_arguments()
1207 return errors; in test_pos_arguments()
1212 int errors = 0; in test_weird_arguments() local
1218 errors += string_check(buf, "500 % right? %"); in test_weird_arguments()
1225 errors += string_check(buf, "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" in test_weird_arguments()
1229 errors += string_check(buf, "%2 AA 500 %K"); in test_weird_arguments()
1232 errors += string_check(buf, "%2 500 %K"); in test_weird_arguments()
1266 errors++; in test_weird_arguments()
1269 errors += string_check(buf, in test_weird_arguments()
1318 errors++; in test_weird_arguments()
1321 errors += string_check(buf, ""); in test_weird_arguments()
1323 if(errors) in test_weird_arguments()
1326 return errors; in test_weird_arguments()
1334 int errors = 0; in test_float_formatting() local
1337 errors += string_check(buf, "9.000000"); in test_float_formatting()
1340 errors += string_check(buf, "9.1"); in test_float_formatting()
1343 errors += string_check(buf, "9.10"); in test_float_formatting()
1346 errors += string_check(buf, "9"); in test_float_formatting()
1349 errors += string_check(buf, "9.100000"); in test_float_formatting()
1352 errors += string_check(buf, " 9.100000"); in test_float_formatting()
1355 errors += string_check(buf, " 9.100"); in test_float_formatting()
1358 errors += string_check(buf, "9.100 "); in test_float_formatting()
1361 errors += string_check(buf, "9.123 "); in test_float_formatting()
1364 errors += string_check(buf, "9.100000"); in test_float_formatting()
1367 errors += string_check(buf, " 9.100000"); in test_float_formatting()
1370 errors += string_check(buf, "9.100000"); in test_float_formatting()
1373 errors += string_check(buf, "9.298765"); in test_float_formatting()
1376 errors += string_check(buf, "9.298765"); in test_float_formatting()
1379 errors += string_check(buf, "9.298760"); in test_float_formatting()
1382 errors += string_check(buf, "9.298765"); in test_float_formatting()
1384 errors += string_check(buf, "9.29877"); in test_float_formatting()
1386 errors += string_check(buf, "9.2988"); in test_float_formatting()
1388 errors += string_check(buf, "9.299"); in test_float_formatting()
1390 errors += string_check(buf, "9.30"); in test_float_formatting()
1392 errors += string_check(buf, "9.3"); in test_float_formatting()
1394 errors += string_check(buf, "9"); in test_float_formatting()
1400 errors += strlen_check(buf, 325); in test_float_formatting()
1403 errors += strlen_check(buf, 325); in test_float_formatting()
1407 errors += strlen_check(buf, 325); in test_float_formatting()
1412errors += string_check(buf, "9.100000 … in test_float_formatting()
1417errors += string_check(buf, " … in test_float_formatting()
1419errors += string_check(buf, " … in test_float_formatting()
1422 errors += strlen_check(buf, 317); in test_float_formatting()
1425 errors += strlen_check(buf, 1); in test_float_formatting()
1427 errors += strlen_check(buf, 2); in test_float_formatting()
1429 errors += strlen_check(buf, 3); in test_float_formatting()
1431 errors += strlen_check(buf, 4); in test_float_formatting()
1433 errors += strlen_check(buf, 5); in test_float_formatting()
1435 if(!errors) in test_float_formatting()
1440 return errors; in test_float_formatting()
1445 int errors = 0; in test_oct_hex_formatting() local
1449 errors += string_check(buf, "175020 fa10 FA10"); in test_oct_hex_formatting()
1453 errors += string_check(buf, "175020 fa10 FA10"); in test_oct_hex_formatting()
1457 errors += string_check(buf, "37257011060 fabc1230 FABC1230"); in test_oct_hex_formatting()
1461 errors += string_check(buf, "1752746757044321263600 fabcdef123456780 FABCDEF123456780"); in test_oct_hex_formatting()
1466 errors += string_check(buf, "175020 fa10 FA10"); in test_oct_hex_formatting()
1470 errors += string_check(buf, "37257011060 fabc1230 FABC1230"); in test_oct_hex_formatting()
1474 errors += string_check(buf, "1752746757044321263600 fabcdef123456780 FABCDEF123456780"); in test_oct_hex_formatting()
1477 if(!errors) in test_oct_hex_formatting()
1482 return errors; in test_oct_hex_formatting()
1519 int errors = 0; in test() local
1530 errors += test_pos_arguments(); in test()
1532 errors += test_weird_arguments(); in test()
1534 errors += test_unsigned_short_formatting(); in test()
1536 errors += test_signed_short_formatting(); in test()
1538 errors += test_unsigned_int_formatting(); in test()
1540 errors += test_signed_int_formatting(); in test()
1542 errors += test_unsigned_long_formatting(); in test()
1544 errors += test_signed_long_formatting(); in test()
1546 errors += test_curl_off_t_formatting(); in test()
1548 errors += test_string_formatting(); in test()
1550 errors += test_float_formatting(); in test()
1552 errors += test_oct_hex_formatting(); in test()
1554 errors += test_return_codes(); in test()
1556 if(errors) in test()