Home
last modified time | relevance | path

Searched refs:curl_msnprintf (Results 1 - 14 of 14) sorted by relevance

/third_party/curl/tests/unit/
H A Dunit1398.c41 /*#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 Dlib557.c1155 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 Dlib650.c155 curl_msnprintf(flbuf, sizeof(flbuf), "%lu", (unsigned long) formlength); in test()
/third_party/curl/tests/http/clients/
H A Dh2-upgrade-extreme.c75 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 Dtls-session-reuse.c76 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 Dh2-pausing.c77 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 Dh2-serverpush.c175 curl_msnprintf(filename, sizeof(filename)-1, "push%u", count++); in server_push_callback()
H A Dh2-download.c126 curl_msnprintf(t->filename, sizeof(t->filename)-1, "download_%u.data", in my_write_cb()
/third_party/curl/docs/examples/
H A Dhttp2-upload.c130 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 Dhttp2-download.c152 curl_msnprintf(filename, 128, "dl-%d", num); in setup()
/third_party/curl/lib/
H A Dcurl_printf.h49 # define msnprintf curl_msnprintf
H A Dcurlx.h82 #define curlx_msnprintf curl_msnprintf
H A Dmprintf.c967 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 Dmprintf.h55 CURL_EXTERN int curl_msnprintf(char *buffer, size_t maxlength,

Completed in 8 milliseconds