/curl/src/ |
H A D | tool_progress.c | 43 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 D | tool_dirhie.c | 130 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 D | tool_cb_dbg.c | 61 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 D | tool_help.c | 286 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 D | lib518.c | 60 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 D | lib537.c | 58 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 D | lib1510.c | 49 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 D | lib1512.c | 54 msnprintf(dnsentry, sizeof(dnsentry), "server.example.curl:%s:%s", in test() 64 msnprintf(target_url, sizeof(target_url), in test()
|
H A D | lib1506.c | 51 msnprintf(dnsentry, sizeof(dnsentry), "server%d.example.com:%s:%s", in test() 75 msnprintf(target_url, sizeof(target_url), in test()
|
H A D | lib2402.c | 49 msnprintf(dnsentry, sizeof(dnsentry), "localhost:%s:%s", in test() 71 msnprintf(target_url, sizeof(target_url), in test()
|
H A D | lib1515.c | 117 msnprintf(dns_entry, sizeof(dns_entry), "testserver.example.com:%s:%s", in test() 128 msnprintf(target_url, sizeof(target_url), in test()
|
H A D | lib2404.c | 49 msnprintf(dnsentry, sizeof(dnsentry), "localhost:%s:%s", in test() 71 msnprintf(target_url, sizeof(target_url), in test()
|
H A D | lib2502.c | 50 msnprintf(dnsentry, sizeof(dnsentry), "localhost:%s:%s", in test() 72 msnprintf(target_url, sizeof(target_url), in test()
|
H A D | lib1529.c | 34 msnprintf(bURL, sizeof(bURL), in test()
|
H A D | libntlmconnect.c | 137 msnprintf(full_url, urllen, "%s0200", url); in test() 141 msnprintf(full_url, urllen, "%s0100", url); in test()
|
/curl/lib/ |
H A D | version.c | 107 (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 D | curl_printf.h | 44 # undef msnprintf 52 # define msnprintf curl_msnprintf macro
|
H A D | strerror.c | 855 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 D | progress.c | 51 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 D | inet_ntop.c | 69 (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 D | curl_trc.c | 126 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 D | if2ip.c | 156 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 D | unit1650.c | 208 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 D | unit1604.c | 51 msnprintf(buf, 256, "%s,%s", in getflagstr() 64 msnprintf(buf, 256, "%s (%d)", in getcurlcodestr()
|
/curl/tests/server/ |
H A D | rtspd.c | 250 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()
|