Home
last modified time | relevance | path

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

/external/curl/tests/unit/
Dunit1398.c45 rc = curl_msnprintf(output, 4, "%.*s", width, buf);
50 rc = curl_msnprintf(output, 4, "%.*s", width, str);
56 rc = curl_msnprintf(output, 4, "%.*s", width, buf);
61 rc = curl_msnprintf(output, 8, "%.8s", str);
66 rc = curl_msnprintf(output, 8, "%.3s", "0123456789");
71 rc = curl_msnprintf(output, 8, "%-8s", str);
76 rc = curl_msnprintf(output, 8, "%8s", str);
81 rc = curl_msnprintf(output, 4, "%d", 10240);
86 rc = curl_msnprintf(output, 16, "%8s%8s", str, str);
91 rc = curl_msnprintf(output, 16, "%8d%8d", 1234, 5678);
[all …]
/external/curl/tests/libtest/
Dlib557.c1162 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()
[all …]
Dlib650.c160 curl_msnprintf(flbuf, sizeof(flbuf), "%lu", (unsigned long) formlength); in test()
/external/curl/tests/data/
Dtest13985 curl_msnprintf
19 curl_msnprintf unit tests
Dtest113587 curl_msnprintf
/external/google-breakpad/src/third_party/curl/
Dmprintf.h38 CURL_EXTERN int curl_msnprintf(char *buffer, size_t maxlength,
70 # define snprintf curl_msnprintf
/external/curl/docs/examples/
Dcookie_interface.c95 curl_msnprintf(nline, sizeof(nline), "%s\t%s\t%s\t%s\t%.0f\t%s\t%s", in main()
111 curl_msnprintf(nline, sizeof(nline), in main()
Dhttp2-upload.c158 curl_msnprintf(timebuf, sizeof(timebuf), "%02d:%02d:%02d.%06ld", in my_trace()
210 curl_msnprintf(filename, 128, "dl-%d", num); in setup()
218 curl_msnprintf(url, 256, "https://localhost:8443/upload-%d", num); in setup()
Dhttp2-download.c148 curl_msnprintf(filename, 128, "dl-%d", num); in setup()
Dhttp2-serverpush.c176 curl_msnprintf(filename, 128, "push%u", count++); in server_push_callback()
/external/curl/tests/http/clients/
Dh2-upgrade-extreme.c72 curl_msnprintf(idsbuf, sizeof(idsbuf), TRC_IDS_FORMAT_IDS_2, xfer_id, in debug_cb()
76 curl_msnprintf(idsbuf, sizeof(idsbuf), TRC_IDS_FORMAT_IDS_1, xfer_id); in debug_cb()
181 curl_msnprintf(range, sizeof(range), in main()
Dupload-pausing.c79 curl_msnprintf(idsbuf, sizeof(idsbuf), TRC_IDS_FORMAT_IDS_2, xfer_id, in debug_cb()
83 curl_msnprintf(idsbuf, sizeof(idsbuf), TRC_IDS_FORMAT_IDS_1, xfer_id); in debug_cb()
263 curl_msnprintf(resolve_buf, sizeof(resolve_buf)-1, "%s:%s:127.0.0.1", in main()
Dtls-session-reuse.c73 curl_msnprintf(idsbuf, sizeof(idsbuf), TRC_IDS_FORMAT_IDS_2, xfer_id, in debug_cb()
77 curl_msnprintf(idsbuf, sizeof(idsbuf), TRC_IDS_FORMAT_IDS_1, xfer_id); in debug_cb()
223 curl_msnprintf(resolve_buf, sizeof(resolve_buf)-1, "%s:%s:127.0.0.1", in main()
Dh2-pausing.c82 curl_msnprintf(idsbuf, sizeof(idsbuf), TRC_IDS_FORMAT_IDS_2, xfer_id, in debug_cb()
86 curl_msnprintf(idsbuf, sizeof(idsbuf), TRC_IDS_FORMAT_IDS_1, xfer_id); in debug_cb()
272 curl_msnprintf(resolve_buf, sizeof(resolve_buf)-1, "%s:%s:127.0.0.1", in main()
Dhx-download.c88 curl_msnprintf(idsbuf, sizeof(idsbuf), TRC_IDS_FORMAT_IDS_2, xfer_id, in debug_cb()
92 curl_msnprintf(idsbuf, sizeof(idsbuf), TRC_IDS_FORMAT_IDS_1, xfer_id); in debug_cb()
188 curl_msnprintf(t->filename, sizeof(t->filename)-1, "download_%u.data", in my_write_cb()
Dhx-upload.c84 curl_msnprintf(idsbuf, sizeof(idsbuf), TRC_IDS_FORMAT_IDS_2, xfer_id, in debug_cb()
88 curl_msnprintf(idsbuf, sizeof(idsbuf), TRC_IDS_FORMAT_IDS_1, xfer_id); in debug_cb()
187 curl_msnprintf(t->filename, sizeof(t->filename)-1, "download_%u.data", in my_write_cb()
Dh2-serverpush.c169 curl_msnprintf(filename, sizeof(filename)-1, "push%u", count++); in server_push_callback()
/external/curl/lib/
Dcurl_printf.h52 # define msnprintf curl_msnprintf
Dlibcurl.def50 curl_msnprintf
Dmprintf.c972 dlen = (size_t)curl_msnprintf(fptr, left, "%d", width); in formatf()
995 len = curl_msnprintf(fptr, left, ".%d", prec); in formatf()
1095 int curl_msnprintf(char *buffer, size_t maxlength, const char *format, ...) in curl_msnprintf() function
/external/curl/include/curl/
Dmprintf.h62 CURL_EXTERN int curl_msnprintf(char *buffer, size_t maxlength,
/external/curl/docs/libcurl/
Dcurl_mprintf.md19 curl_maprintf, curl_mfprintf, curl_mprintf, curl_msnprintf, curl_msprintf,
31 int curl_msnprintf(char *buffer, size_t maxlength, const char *format, ...);
53 **curl_msprintf()**, **curl_msnprintf()**, **curl_mvsprintf()**, and
56 The functions **curl_msnprintf()** and **curl_mvsnprintf()** write at most
63 **curl_msnprintf()**, respectively, except that they are called with a
/external/curl/packages/vms/
Dgnv_libcurl_symbols.opt168 SYMBOL_VECTOR=(curl_msnprintf=PROCEDURE)
169 SYMBOL_VECTOR=(CURL_MSNPRINTF/curl_msnprintf=PROCEDURE)