/third_party/curl/tests/unit/ |
H A D | unit1398.c | 41 /*#define curl_msnprintf snprintf */ 44 rc = curl_msnprintf(output, 4, "%.*s", width, buf); 49 rc = curl_msnprintf(output, 4, "%.*s", width, str); 55 rc = curl_msnprintf(output, 4, "%.*s", width, buf); 60 rc = curl_msnprintf(output, 8, "%.8s", str); 65 rc = curl_msnprintf(output, 8, "%.3s", "0123456789"); 70 rc = curl_msnprintf(output, 8, "%-8s", str); 75 rc = curl_msnprintf(output, 8, "%8s", str); 80 rc = curl_msnprintf(output, 4, "%d", 10240); 85 rc = curl_msnprintf(outpu [all...] |
/third_party/curl/tests/libtest/ |
H A D | lib557.c | 1155 curl_msnprintf(buf, sizeof(buf), "%0*d%s", 2, 9, "foo"); in test_string_formatting() 1158 curl_msnprintf(buf, sizeof(buf), "%*.*s", 5, 2, "foo"); in test_string_formatting() 1161 curl_msnprintf(buf, sizeof(buf), "%*.*s", 2, 5, "foo"); in test_string_formatting() 1164 curl_msnprintf(buf, sizeof(buf), "%*.*s", 0, 10, "foo"); in test_string_formatting() 1167 curl_msnprintf(buf, sizeof(buf), "%-10s", "foo"); in test_string_formatting() 1170 curl_msnprintf(buf, sizeof(buf), "%10s", "foo"); in test_string_formatting() 1173 curl_msnprintf(buf, sizeof(buf), "%*.*s", -10, -10, "foo"); in test_string_formatting() 1189 curl_msnprintf(buf, sizeof(buf), "%3$d %2$d %1$d", 500, 501, 502); in test_pos_arguments() 1192 curl_msnprintf(buf, sizeof(buf), "%3$d %1$d %2$d", 500, 501, 502); in test_pos_arguments() 1197 curl_msnprintf(bu in test_pos_arguments() [all...] |
H A D | lib650.c | 155 curl_msnprintf(flbuf, sizeof(flbuf), "%lu", (unsigned long) formlength); in test()
|
/third_party/curl/tests/http/clients/ |
H A D | h2-upgrade-extreme.c | 75 curl_msnprintf(idsbuf, sizeof(idsbuf), TRC_IDS_FORMAT_IDS_2, in debug_cb() 79 curl_msnprintf(idsbuf, sizeof(idsbuf), TRC_IDS_FORMAT_IDS_1, xfer_id); in debug_cb() 184 curl_msnprintf(range, sizeof(range), "%" PRIu64 "-%" PRIu64, in main()
|
H A D | tls-session-reuse.c | 76 curl_msnprintf(idsbuf, sizeof(idsbuf), TRC_IDS_FORMAT_IDS_2, in debug_cb() 80 curl_msnprintf(idsbuf, sizeof(idsbuf), TRC_IDS_FORMAT_IDS_1, xfer_id); in debug_cb() 219 curl_msnprintf(resolve_buf, sizeof(resolve_buf)-1, in main()
|
H A D | h2-pausing.c | 77 curl_msnprintf(idsbuf, sizeof(idsbuf), TRC_IDS_FORMAT_IDS_2, in debug_cb() 81 curl_msnprintf(idsbuf, sizeof(idsbuf), TRC_IDS_FORMAT_IDS_1, xfer_id); in debug_cb() 217 curl_msnprintf(resolve_buf, sizeof(resolve_buf)-1, in main()
|
H A D | h2-serverpush.c | 175 curl_msnprintf(filename, sizeof(filename)-1, "push%u", count++); in server_push_callback()
|
H A D | h2-download.c | 126 curl_msnprintf(t->filename, sizeof(t->filename)-1, "download_%u.data", in my_write_cb()
|
/third_party/curl/docs/examples/ |
H A D | http2-upload.c | 130 curl_msnprintf(timebuf, sizeof(timebuf), "%02d:%02d:%02d.%06ld", in my_trace() 182 curl_msnprintf(filename, 128, "dl-%d", num); in setup() 190 curl_msnprintf(url, 256, "https://localhost:8443/upload-%d", num); in setup()
|
H A D | http2-download.c | 152 curl_msnprintf(filename, 128, "dl-%d", num); in setup()
|
/third_party/curl/lib/ |
H A D | curl_printf.h | 49 # define msnprintf curl_msnprintf
|
H A D | curlx.h | 82 #define curlx_msnprintf curl_msnprintf
|
H A D | mprintf.c | 967 len = curl_msnprintf(fptr, left, "%d", width); in formatf() 988 len = curl_msnprintf(fptr, left, ".%d", prec); in formatf() 1083 int curl_msnprintf(char *buffer, size_t maxlength, const char *format, ...) in curl_msnprintf() function
|
/third_party/curl/include/curl/ |
H A D | mprintf.h | 55 CURL_EXTERN int curl_msnprintf(char *buffer, size_t maxlength,
|