Home
last modified time | relevance | path

Searched refs:msnprintf (Results 1 – 25 of 103) sorted by relevance

12345

/curl/src/
H A Dtool_progress.c43 msnprintf(max5, 6, "%5" CURL_FORMAT_CURL_OFF_T, bytes); in max5data()
46 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "k", bytes/ONE_KILOBYTE); in max5data()
50 msnprintf(max5, 6, "%2" CURL_FORMAT_CURL_OFF_T ".%0" in max5data()
56 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "M", bytes/ONE_MEGABYTE); in max5data()
60 msnprintf(max5, 6, "%2" CURL_FORMAT_CURL_OFF_T ".%0" in max5data()
66 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "G", bytes/ONE_GIGABYTE); in max5data()
70 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "T", bytes/ONE_TERABYTE); in max5data()
127 msnprintf(r, 9, "%3" CURL_FORMAT_CURL_OFF_T in time2str()
130 msnprintf(r, 9, "%7" CURL_FORMAT_CURL_OFF_T "d", d); in time2str()
220 msnprintf(dlpercen, sizeof(dlpercen), "%3" CURL_FORMAT_CURL_OFF_T, in progress_meter()
[all …]
H A Dtool_dirhie.c130 msnprintf(&dirbuildup[dlen], outlen - dlen, "%s%s", DIR_CHAR, tempdir); in create_dir_hierarchy()
148 msnprintf(dirbuildup, outlen, "%s%s", DIR_CHAR, tempdir); in create_dir_hierarchy()
H A Dtool_cb_dbg.c61 msnprintf(hms_buf, sizeof(hms_buf), "%02d:%02d:%02d", in hms_for_sec()
112 msnprintf(timebuf, sizeof(timebuf), "%s.%06ld ", in tool_debug_cb()
122 msnprintf(idsbuf, sizeof(idsbuf), TRC_IDS_FORMAT_IDS_2, in tool_debug_cb()
126 msnprintf(idsbuf, sizeof(idsbuf), TRC_IDS_FORMAT_IDS_1, xfer_id); in tool_debug_cb()
H A Dtool_help.c286 msnprintf(cmdbuf, sizeof(cmdbuf), "\n -%c, --", a->letter); in tool_help()
288 msnprintf(cmdbuf, sizeof(cmdbuf), "\n --no-%s", a->lname); in tool_help()
290 msnprintf(cmdbuf, sizeof(cmdbuf), "\n %s", category); in tool_help()
/curl/tests/libtest/
H A Dlib518.c60 msnprintf(msgbuff, sizeof(msgbuff), "%s", msg); in store_errmsg()
62 msnprintf(msgbuff, sizeof(msgbuff), "%s, errno %d, %s", msg, in store_errmsg()
106 msnprintf(buf, len, "INFINITY"); in rlim2str()
112 msnprintf(buf, len, "%llu", (unsigned long long)val); in rlim2str()
117 msnprintf(buf, len, "%u", (unsigned int)val); in rlim2str()
119 msnprintf(buf, len, "%lu", (unsigned long)val); in rlim2str()
230 msnprintf(strbuff, sizeof(strbuff), "fds needed %s > system limit %s", in test_rlimit()
318 msnprintf(strbuff, sizeof(strbuff), "opening of %s failed", DEV_NULL); in test_rlimit()
386 msnprintf(strbuff, sizeof(strbuff), "select limit is FD_SETSIZE %d", in test_rlimit()
401 msnprintf(strbuff, sizeof(strbuff), "select limit is FD_SETSIZE %d", in test_rlimit()
[all …]
H A Dlib537.c58 msnprintf(msgbuff, sizeof(msgbuff), "%s", msg); in store_errmsg()
60 msnprintf(msgbuff, sizeof(msgbuff), "%s, errno %d, %s", msg, in store_errmsg()
104 msnprintf(buf, len, "INFINITY"); in rlim2str()
110 msnprintf(buf, len, "%llu", (unsigned long long)val); in rlim2str()
115 msnprintf(buf, len, "%u", (unsigned int)val); in rlim2str()
117 msnprintf(buf, len, "%lu", (unsigned long)val); in rlim2str()
319 msnprintf(strbuff, sizeof(strbuff), "opening of %s failed", DEV_NULL);
353 msnprintf(strbuff, sizeof(strbuff), "closing %s file descriptors",
397 msnprintf(strbuff, sizeof(strbuff), "select limit is FD_SETSIZE %d",
412 msnprintf(strbuff, sizeof(strbuff), "select limit is FD_SETSIZE %d",
[all …]
H A Dlib1510.c49 msnprintf(dnsentry, sizeof(dnsentry), "server%d.example.com:%s:%s", i + 1, in test()
79 msnprintf(target_url, sizeof(target_url), in test()
H A Dlib1512.c54 msnprintf(dnsentry, sizeof(dnsentry), "server.example.curl:%s:%s", in test()
64 msnprintf(target_url, sizeof(target_url), in test()
H A Dlib1506.c51 msnprintf(dnsentry, sizeof(dnsentry), "server%d.example.com:%s:%s", in test()
75 msnprintf(target_url, sizeof(target_url), in test()
H A Dlib2402.c49 msnprintf(dnsentry, sizeof(dnsentry), "localhost:%s:%s", in test()
71 msnprintf(target_url, sizeof(target_url), in test()
H A Dlib1515.c117 msnprintf(dns_entry, sizeof(dns_entry), "testserver.example.com:%s:%s", in test()
128 msnprintf(target_url, sizeof(target_url), in test()
H A Dlib2404.c49 msnprintf(dnsentry, sizeof(dnsentry), "localhost:%s:%s", in test()
71 msnprintf(target_url, sizeof(target_url), in test()
H A Dlib2502.c50 msnprintf(dnsentry, sizeof(dnsentry), "localhost:%s:%s", in test()
72 msnprintf(target_url, sizeof(target_url), in test()
H A Dlib1529.c34 msnprintf(bURL, sizeof(bURL), in test()
H A Dlibntlmconnect.c137 msnprintf(full_url, urllen, "%s0200", url); in test()
141 msnprintf(full_url, urllen, "%s0100", url); in test()
/curl/lib/
H A Dversion.c107 (void)msnprintf(buf, bufsz, "zstd/%u.%u.%u", major, minor, patch); in zstd_version()
123 msnprintf(buf, bufsz, "%s/%u.%u.%u", in oldap_version()
129 msnprintf(buf, bufsz, "OpenLDAP"); in oldap_version()
139 msnprintf(buf, bufsz, "libpsl/%d.%d.%d", in psl_version()
142 msnprintf(buf, bufsz, "libpsl/%s", psl_get_version()); in psl_version()
155 msnprintf(buf, bufsz, "libidn2/%s", idn2_check_version(NULL)); in idn_version()
157 msnprintf(buf, bufsz, "WinIDN"); in idn_version()
159 msnprintf(buf, bufsz, "AppleIDN"); in idn_version()
229 msnprintf(out, sizeof(out), "%s", debugversion); in curl_version()
252 msnprintf(cares_version, sizeof(cares_version), in curl_version()
[all …]
H A Dcurl_printf.h44 # undef msnprintf
52 # define msnprintf curl_msnprintf macro
H A Dstrerror.c855 msnprintf(buf, buflen, "%s", sys_errlist[err]); in Curl_strerror()
864 msnprintf(buf, buflen, "Unknown error %d (%#x)", err, err); in Curl_strerror()
876 msnprintf(buf, buflen, "Unknown error %d", err); in Curl_strerror()
888 msnprintf(buf, buflen, "%s", msg); in Curl_strerror()
890 msnprintf(buf, buflen, "Unknown error %d", err); in Curl_strerror()
897 msnprintf(buf, buflen, "%s", msg); in Curl_strerror()
899 msnprintf(buf, buflen, "Unknown error %d", err); in Curl_strerror()
943 msnprintf(buf, buflen, "Unknown error %lu (0x%08lX)", err, err); in Curl_winapi_strerror()
1079 msnprintf(buf, buflen, in Curl_sspi_strerror()
1088 msnprintf(buf, buflen, "%s (0x%08X) - %s", txt, err, msgbuf); in Curl_sspi_strerror()
[all …]
H A Dprogress.c51 msnprintf(r, 9, "%2" FMT_OFF_T ":%02" FMT_OFF_T ":%02" FMT_OFF_T, h, m, s); in time2str()
59 msnprintf(r, 9, "%3" FMT_OFF_T "d %02" FMT_OFF_T "h", d, h); in time2str()
61 msnprintf(r, 9, "%7" FMT_OFF_T "d", d); in time2str()
77 msnprintf(max5, 6, "%5" FMT_OFF_T, bytes); in max5data()
80 msnprintf(max5, 6, "%4" FMT_OFF_T "k", bytes/ONE_KILOBYTE); in max5data()
84 msnprintf(max5, 6, "%2" FMT_OFF_T ".%0" in max5data()
90 msnprintf(max5, 6, "%4" FMT_OFF_T "M", bytes/ONE_MEGABYTE); in max5data()
94 msnprintf(max5, 6, "%2" FMT_OFF_T ".%0" in max5data()
100 msnprintf(max5, 6, "%4" FMT_OFF_T "G", bytes/ONE_GIGABYTE); in max5data()
104 msnprintf(max5, 6, "%4" FMT_OFF_T "T", bytes/ONE_TERABYTE); in max5data()
[all …]
H A Dinet_ntop.c69 (void)msnprintf(tmp, sizeof(tmp), "%d.%d.%d.%d", in inet_ntop4()
162 tp += msnprintf(tp, 5, "%x", words[i]); in inet_ntop6()
H A Dcurl_trc.c126 len = msnprintf(buffer, (MAXINFO + 1), "[%s] ", feat->name); in trc_infof()
159 len += msnprintf(buffer + len, MAXINFO - len, "[%s] ", in Curl_trc_cf_infof()
162 len += msnprintf(buffer + len, MAXINFO - len, "[%s-%d] ", in Curl_trc_cf_infof()
165 len += msnprintf(buffer + len, MAXINFO - len, "[%s] ", cf->cft->name); in Curl_trc_cf_infof()
H A Dif2ip.c156 msnprintf(scope, sizeof(scope), "%%%u", scopeid); in Curl_if2ip()
165 msnprintf(buf, buf_size, "%s%s", ip, scope); in Curl_if2ip()
/curl/tests/unit/
H A Dunit1650.c208 msnprintf(ptr, len, "%u.%u.%u.%u ", p[0], p[1], p[2], p[3]);
217 msnprintf(ptr, len, "%s%02x%02x", j?":":"", a->ip.v6[j],
223 msnprintf(ptr, len, " ");
230 msnprintf(ptr, len, "%s ", Curl_dyn_ptr(&d.cname[u]));
280 msnprintf((char *)buffer, sizeof(buffer),
H A Dunit1604.c51 msnprintf(buf, 256, "%s,%s", in getflagstr()
64 msnprintf(buf, 256, "%s (%d)", in getcurlcodestr()
/curl/tests/server/
H A Drtspd.c250 msnprintf(logbuf, sizeof(logbuf), "Got request: %s %s %s/%d.%d", in ProcessRequest()
253 msnprintf(logbuf, sizeof(logbuf), "Got a *HUGE* request %s/%d.%d", in ProcessRequest()
284 msnprintf(logbuf, sizeof(logbuf), "Requested test number %ld part %ld", in ProcessRequest()
410 msnprintf(logbuf, sizeof(logbuf), in ProcessRequest()
606 msnprintf(dumpfile, sizeof(dumpfile), "%s/%s", logdir, REQUEST_DUMP); in storerequest()
781 msnprintf(responsedump, sizeof(responsedump), "%s/%s", in send_doc()
822 msnprintf(msgbuf, sizeof(msgbuf), "RTSP_SERVER WE ROOLZ: %" in send_doc()
825 msnprintf(weare, sizeof(weare), in send_doc()
859 msnprintf(partbuf, sizeof(partbuf), "data%ld", req->partno); in send_doc()
1147 msnprintf(loglockfile, sizeof(loglockfile), "%s/%s/rtsp-%s.lock", in main()

Completed in 100 milliseconds

12345