Home
last modified time | relevance | path

Searched refs:curl_msnprintf (Results 1 – 20 of 20) sorted by relevance

/third_party/curl/tests/unit/
Dunit1398.c44 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(output, 16, "%8s%8s", str, str);
90 rc = curl_msnprintf(output, 16, "%8d%8d", 1234, 5678);
[all …]
/third_party/curl/tests/libtest/
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(buf, sizeof(buf), "%3$d %d %2$d", 500, 501, 502); in test_pos_arguments()
[all …]
Dlib650.c155 curl_msnprintf(flbuf, sizeof(flbuf), "%lu", (unsigned long) formlength); in test()
/third_party/curl/tests/data/
Dtest13985 curl_msnprintf
19 curl_msnprintf unit tests
Dtest113585 curl_msnprintf
/third_party/curl/tests/http/clients/
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()
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()
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()
Dh2-serverpush.c175 curl_msnprintf(filename, sizeof(filename)-1, "push%u", count++); in server_push_callback()
Dh2-download.c126 curl_msnprintf(t->filename, sizeof(t->filename)-1, "download_%u.data", in my_write_cb()
/third_party/curl/docs/examples/
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()
Dhttp2-download.c152 curl_msnprintf(filename, 128, "dl-%d", num); in setup()
/third_party/curl/docs/libcurl/
Dcurl_mprintf.md16 curl_maprintf, curl_mfprintf, curl_mprintf, curl_msnprintf, curl_msprintf
28 int curl_msnprintf(char *buffer, size_t maxlength, const char *format, ...);
50 **curl_msprintf()**, **curl_msnprintf()**, **curl_mvsprintf()**, and
53 The functions **curl_msnprintf()** and **curl_mvsnprintf()** write at most
60 **curl_msnprintf()**, respectively, except that they are called with a
/third_party/curl/lib/
Dcurl_printf.h49 # define msnprintf curl_msnprintf
Dcurlx.h82 #define curlx_msnprintf curl_msnprintf
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/
Dmprintf.h55 CURL_EXTERN int curl_msnprintf(char *buffer, size_t maxlength,
/third_party/curl/
Dlibcurl.def48 curl_msnprintf
Dcurl.map81 curl_msnprintf;
/third_party/curl/packages/vms/
Dgnv_libcurl_symbols.opt168 SYMBOL_VECTOR=(curl_msnprintf=PROCEDURE)
169 SYMBOL_VECTOR=(CURL_MSNPRINTF/curl_msnprintf=PROCEDURE)