Lines Matching refs:curl_msnprintf
1162 curl_msnprintf(buf, sizeof(buf), "%0*d%s", 2, 9, "foo"); in test_string_formatting()
1165 curl_msnprintf(buf, sizeof(buf), "%*.*s", 5, 2, "foo"); in test_string_formatting()
1168 curl_msnprintf(buf, sizeof(buf), "%*.*s", 2, 5, "foo"); in test_string_formatting()
1171 curl_msnprintf(buf, sizeof(buf), "%*.*s", 0, 10, "foo"); in test_string_formatting()
1174 curl_msnprintf(buf, sizeof(buf), "%-10s", "foo"); in test_string_formatting()
1177 curl_msnprintf(buf, sizeof(buf), "%10s", "foo"); in test_string_formatting()
1180 curl_msnprintf(buf, sizeof(buf), "%*.*s", -10, -10, "foo"); in test_string_formatting()
1196 curl_msnprintf(buf, sizeof(buf), "%3$d %2$d %1$d", 500, 501, 502); in test_pos_arguments()
1199 curl_msnprintf(buf, sizeof(buf), "%3$d %1$d %2$d", 500, 501, 502); in test_pos_arguments()
1204 curl_msnprintf(buf, sizeof(buf), "%3$d %d %2$d", 500, 501, 502); in test_pos_arguments()
1220 rc = curl_msnprintf(larger, sizeof(larger), "%325.325f", 0.1); in test_width_precision()
1225 rc = curl_msnprintf(larger, sizeof(larger), "%326.326f", 0.1); in test_width_precision()
1230 rc = curl_msnprintf(larger, sizeof(larger), "%1000.1000f", 0.1); in test_width_precision()
1235 rc = curl_msnprintf(larger, sizeof(larger), "%324.324f", 0.1); in test_width_precision()
1238 rc = curl_msnprintf(larger, sizeof(larger), "%324.0f", 0.1); in test_width_precision()
1241 rc = curl_msnprintf(larger, sizeof(larger), "%0.324f", 0.1); in test_width_precision()
1257 rc = curl_msnprintf(buf, sizeof(buf), "%-20d%% right? %%", 500); in test_weird_arguments()
1261 rc = curl_msnprintf(buf, sizeof(buf), "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" in test_weird_arguments()
1268 rc = curl_msnprintf(buf, sizeof(buf), "%2 AA %d %K", 500, 501, 502); in test_weird_arguments()
1271 rc = curl_msnprintf(buf, sizeof(buf), "%2 %d %K", 500, 501, 502); in test_weird_arguments()
1275 rc = curl_msnprintf(buf, sizeof(buf), in test_weird_arguments()
1327 rc = curl_msnprintf(buf, sizeof(buf), in test_weird_arguments()
1378 curl_msnprintf(buf, sizeof(buf), "%f", 9.0); in test_float_formatting()
1381 curl_msnprintf(buf, sizeof(buf), "%.1f", 9.1); in test_float_formatting()
1384 curl_msnprintf(buf, sizeof(buf), "%.2f", 9.1); in test_float_formatting()
1387 curl_msnprintf(buf, sizeof(buf), "%.0f", 9.1); in test_float_formatting()
1390 curl_msnprintf(buf, sizeof(buf), "%0f", 9.1); in test_float_formatting()
1393 curl_msnprintf(buf, sizeof(buf), "%10f", 9.1); in test_float_formatting()
1396 curl_msnprintf(buf, sizeof(buf), "%10.3f", 9.1); in test_float_formatting()
1399 curl_msnprintf(buf, sizeof(buf), "%-10.3f", 9.1); in test_float_formatting()
1402 curl_msnprintf(buf, sizeof(buf), "%-10.3f", 9.123456); in test_float_formatting()
1405 curl_msnprintf(buf, sizeof(buf), "%.-2f", 9.1); in test_float_formatting()
1408 curl_msnprintf(buf, sizeof(buf), "%*f", 10, 9.1); in test_float_formatting()
1411 curl_msnprintf(buf, sizeof(buf), "%*f", 3, 9.1); in test_float_formatting()
1414 curl_msnprintf(buf, sizeof(buf), "%*f", 6, 9.2987654); in test_float_formatting()
1417 curl_msnprintf(buf, sizeof(buf), "%*f", 6, 9.298765); in test_float_formatting()
1420 curl_msnprintf(buf, sizeof(buf), "%*f", 6, 9.29876); in test_float_formatting()
1423 curl_msnprintf(buf, sizeof(buf), "%.*f", 6, 9.2987654); in test_float_formatting()
1425 curl_msnprintf(buf, sizeof(buf), "%.*f", 5, 9.2987654); in test_float_formatting()
1427 curl_msnprintf(buf, sizeof(buf), "%.*f", 4, 9.2987654); in test_float_formatting()
1429 curl_msnprintf(buf, sizeof(buf), "%.*f", 3, 9.2987654); in test_float_formatting()
1431 curl_msnprintf(buf, sizeof(buf), "%.*f", 2, 9.2987654); in test_float_formatting()
1433 curl_msnprintf(buf, sizeof(buf), "%.*f", 1, 9.2987654); in test_float_formatting()
1435 curl_msnprintf(buf, sizeof(buf), "%.*f", 0, 9.2987654); in test_float_formatting()
1441 curl_msnprintf(buf, sizeof(buf), "%.*f", (1 << 30), 9.2987654); in test_float_formatting()
1444 curl_msnprintf(buf, sizeof(buf), "%10000.10000f", 9.2987654); in test_float_formatting()
1447 curl_msnprintf(buf, sizeof(buf), "%240.10000f", in test_float_formatting()
1453 curl_msnprintf(buf, sizeof(buf), "%*f", INT_MIN, 9.1); in test_float_formatting()
1458 curl_msnprintf(buf, sizeof(buf), "%*f", (1 << 30), 9.1); in test_float_formatting()
1460 curl_msnprintf(buf, sizeof(buf), "%100000f", 9.1); in test_float_formatting()
1463 curl_msnprintf(buf, sizeof(buf), "%f", MAXIMIZE); in test_float_formatting()
1466 curl_msnprintf(buf, 2, "%f", MAXIMIZE); in test_float_formatting()
1468 curl_msnprintf(buf, 3, "%f", MAXIMIZE); in test_float_formatting()
1470 curl_msnprintf(buf, 4, "%f", MAXIMIZE); in test_float_formatting()
1472 curl_msnprintf(buf, 5, "%f", MAXIMIZE); in test_float_formatting()
1474 curl_msnprintf(buf, 6, "%f", MAXIMIZE); in test_float_formatting()
1490 curl_msnprintf(buf, sizeof(buf), "%ho %hx %hX", 0xFA10U, 0xFA10U, 0xFA10U); in test_oct_hex_formatting()
1494 curl_msnprintf(buf, sizeof(buf), "%o %x %X", 0xFA10U, 0xFA10U, 0xFA10U); in test_oct_hex_formatting()
1497 curl_msnprintf(buf, sizeof(buf), "%o %x %X", in test_oct_hex_formatting()
1501 curl_msnprintf(buf, sizeof(buf), "%o %x %X", in test_oct_hex_formatting()
1507 curl_msnprintf(buf, sizeof(buf), "%lo %lx %lX", 0xFA10UL, 0xFA10UL, 0xFA10UL); in test_oct_hex_formatting()
1510 curl_msnprintf(buf, sizeof(buf), "%lo %lx %lX", in test_oct_hex_formatting()
1514 curl_msnprintf(buf, sizeof(buf), "%lo %lx %lX", in test_oct_hex_formatting()
1533 rc = curl_msnprintf(buf, 100, "%d", 9999); in test_return_codes()
1537 rc = curl_msnprintf(buf, 100, "%d", 99999); in test_return_codes()
1542 rc = curl_msnprintf(buf, 5, "%d", 99999); in test_return_codes()
1547 rc = curl_msnprintf(buf, 5, "%s", "helloooooooo"); in test_return_codes()
1552 rc = curl_msnprintf(buf, 6, "%s", "helloooooooo"); in test_return_codes()