Home
last modified time | relevance | path

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

1234

/third_party/curl/tests/libtest/
Dlib518.c58 msnprintf(msgbuff, sizeof(msgbuff), "%s", msg); in store_errmsg()
60 msnprintf(msgbuff, sizeof(msgbuff), "%s, errno %d, %s", msg, in store_errmsg()
135 msnprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_cur); in rlimit()
143 msnprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_max); in rlimit()
201 msnprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_cur); in rlimit()
209 msnprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_max); in rlimit()
236 msnprintf(strbuff2, sizeof(strbuff2), fmt, rl.rlim_cur); in rlimit()
237 msnprintf(strbuff1, sizeof(strbuff1), fmt, num_open.rlim_cur); in rlimit()
238 msnprintf(strbuff, sizeof(strbuff), "fds needed %s > system limit %s", in rlimit()
260 msnprintf(strbuff, sizeof(strbuff), fmt, num_open.rlim_max); in rlimit()
[all …]
Dlib537.c59 msnprintf(msgbuff, sizeof(msgbuff), "%s", msg); in store_errmsg()
61 msnprintf(msgbuff, sizeof(msgbuff), "%s, errno %d, %s", msg, err, in store_errmsg()
136 msnprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_cur);
144 msnprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_max);
196 msnprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_cur);
204 msnprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_max);
234 msnprintf(strbuff, sizeof(strbuff), fmt, num_open.rlim_max);
277 msnprintf(strbuff1, sizeof(strbuff1), fmt, num_open.rlim_max);
278 msnprintf(strbuff, sizeof(strbuff), "unable to allocate an array for %s "
289 msnprintf(strbuff, sizeof(strbuff), fmt, num_open.rlim_max);
[all …]
Dlib1510.c47 msnprintf(dnsentry, sizeof(dnsentry), "server%d.example.com:%s:%s", i + 1, in test()
77 msnprintf(target_url, sizeof(target_url), in test()
Dlib1512.c52 msnprintf(dnsentry, sizeof(dnsentry), "server.example.curl:%s:%s", in test()
62 msnprintf(target_url, sizeof(target_url), in test()
Dlib1506.c49 msnprintf(dnsentry, sizeof(dnsentry), "server%d.example.com:%s:%s", in test()
73 msnprintf(target_url, sizeof(target_url), in test()
Dlib1515.c126 msnprintf(dns_entry, sizeof(dns_entry), "testserver.example.com:%s:%s", in test()
136 msnprintf(target_url, sizeof(target_url), in test()
Dchkdecimalpoint.c36 chars = msnprintf(zero, TOTAL_STR_LEN, "%.1f", 0.0); in main()
/third_party/curl/src/
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()
58 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "M", bytes/ONE_MEGABYTE); in max5data()
62 msnprintf(max5, 6, "%2" CURL_FORMAT_CURL_OFF_T ".%0" in max5data()
68 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "G", bytes/ONE_GIGABYTE); in max5data()
72 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "T", bytes/ONE_TERABYTE); in max5data()
76 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "P", bytes/ONE_PETABYTE); in max5data()
84 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "M", bytes/ONE_MEGABYTE); in max5data()
125 msnprintf(r, 9, "%2" CURL_FORMAT_CURL_OFF_T ":%02" CURL_FORMAT_CURL_OFF_T in time2str()
[all …]
Dtool_dirhie.c135 msnprintf(&dirbuildup[dlen], outlen - dlen, "%s%s", DIR_CHAR, tempdir); in create_dir_hierarchy()
153 msnprintf(dirbuildup, outlen, "%s%s", DIR_CHAR, tempdir); in create_dir_hierarchy()
Dtool_setopt.c278 msnprintf(e, 5, "\\x%02x", (unsigned)c); in c_escape()
345 msnprintf(preamble, sizeof(preamble), in tool_setopt_flags()
356 msnprintf(preamble, sizeof(preamble), "%*s", strlen(preamble), ""); in tool_setopt_flags()
388 msnprintf(preamble, sizeof(preamble), in tool_setopt_bitmask()
399 msnprintf(preamble, sizeof(preamble), "%*s", strlen(preamble), ""); in tool_setopt_bitmask()
674 msnprintf(buf, sizeof(buf), "%ldL", lval); in tool_setopt()
711 msnprintf(buf, sizeof(buf), in tool_setopt()
/third_party/curl/lib/
Dversion.c84 (void)msnprintf(buf, bufsz, "%u.%u.%u", major, minor, patch); in brotli_version()
97 (void)msnprintf(buf, bufsz, "%u.%u.%u", major, minor, patch); in zstd_version()
181 msnprintf(z_version, sizeof(z_version), "zlib/%s", zlibVersion()); in curl_version()
193 msnprintf(cares_version, sizeof(cares_version), in curl_version()
198 msnprintf(idn_version, sizeof(idn_version), in curl_version()
206 msnprintf(psl_version, sizeof(psl_version), "libpsl/%s", psl_get_version()); in curl_version()
211 msnprintf(iconv_version, sizeof(iconv_version), "iconv/%d.%d", in curl_version()
240 msnprintf(rtmp_version, sizeof(rtmp_version), "librtmp/%d.%d%s", in curl_version()
247 msnprintf(hyper_buf, sizeof(hyper_buf), "Hyper/%s", hyper_version()); in curl_version()
251 msnprintf(gsasl_buf, sizeof(gsasl_buf), "libgsasl/%s", in curl_version()
[all …]
Dprogress.c49 msnprintf(r, 9, "%2" CURL_FORMAT_CURL_OFF_T ":%02" CURL_FORMAT_CURL_OFF_T in time2str()
58 msnprintf(r, 9, "%3" CURL_FORMAT_CURL_OFF_T in time2str()
61 msnprintf(r, 9, "%7" CURL_FORMAT_CURL_OFF_T "d", d); in time2str()
77 msnprintf(max5, 6, "%5" CURL_FORMAT_CURL_OFF_T, bytes); in max5data()
80 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "k", bytes/ONE_KILOBYTE); in max5data()
84 msnprintf(max5, 6, "%2" CURL_FORMAT_CURL_OFF_T ".%0" in max5data()
92 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "M", bytes/ONE_MEGABYTE); in max5data()
96 msnprintf(max5, 6, "%2" CURL_FORMAT_CURL_OFF_T ".%0" in max5data()
102 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "G", bytes/ONE_GIGABYTE); in max5data()
106 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "T", bytes/ONE_TERABYTE); in max5data()
[all …]
Dstrerror.c747 msnprintf(buf, max, "Unknown error %d (%#x)", err, err); in Curl_strerror()
759 msnprintf(buf, max, "Unknown error %d", err); in Curl_strerror()
773 msnprintf(buf, max, "Unknown error %d", err); in Curl_strerror()
785 msnprintf(buf, max, "Unknown error %d", err); in Curl_strerror()
793 msnprintf(buf, max, "Unknown error %d", err); in Curl_strerror()
839 msnprintf(buf, buflen, "Unknown error %u (0x%08X)", err, err); in Curl_winapi_strerror()
971 msnprintf(buf, buflen, in Curl_sspi_strerror()
981 msnprintf(txtbuf, sizeof(txtbuf), "%s (0x%08X)", txt, err); in Curl_sspi_strerror()
984 msnprintf(buf, buflen, "%s - %s", txtbuf, msgbuf); in Curl_sspi_strerror()
Dcurl_printf.h34 # undef msnprintf
42 # define msnprintf curl_msnprintf macro
Dcurlx.h97 # undef msnprintf
108 # define msnprintf curlx_msnprintf macro
Dbase64.c244 msnprintf(output, 5, "%c%c==", in base64_encode()
250 msnprintf(output, 5, "%c%c%c=", in base64_encode()
257 msnprintf(output, 5, "%c%c%c%c", in base64_encode()
Durlapi.c211 msnprintf(optr, 4, "%%%02x", *iptr); in strcpy_url()
572 msnprintf(portbuf, sizeof(portbuf), "%ld", port); in Curl_parse_port()
730 msnprintf(outp, olen, "%u.%u.%u.%u", in ipv4_normalize()
737 msnprintf(outp, olen, "%u.%u.%u.%u", in ipv4_normalize()
744 msnprintf(outp, olen, "%u.%u.%u.%u", in ipv4_normalize()
752 msnprintf(outp, olen, "%u.%u.%u.%u", in ipv4_normalize()
1158 msnprintf(portbuf, sizeof(portbuf), "%u", h->defport); in curl_url_get()
1217 msnprintf(portbuf, sizeof(portbuf), "%u", h->defport); in curl_url_get()
1240 msnprintf(&allochost[hostlen - 1], alen - hostlen + 1, in curl_url_get()
1507 msnprintf(o, 4, "%%%02x", *i); in curl_url_set()
Dinet_ntop.c58 (void)msnprintf(tmp, sizeof(tmp), "%d.%d.%d.%d", in inet_ntop4()
151 tp += msnprintf(tp, 5, "%lx", words[i]); in inet_ntop6()
Dif2ip.c156 msnprintf(scope, sizeof(scope), "%%%u", scopeid); in Curl_if2ip()
165 msnprintf(buf, buf_size, "%s%s", ip, scope); in Curl_if2ip()
/third_party/curl/tests/unit/
Dunit1650.c204 msnprintf(ptr, len, "%u.%u.%u.%u ", p[0], p[1], p[2], p[3]);
213 msnprintf(ptr, len, "%s%02x%02x", j?":":"", a->ip.v6[j],
219 msnprintf(ptr, len, " ");
226 msnprintf(ptr, len, "%s ", Curl_dyn_ptr(&d.cname[u]));
275 msnprintf((char *)buffer, sizeof(buffer),
Dunit1604.c49 msnprintf(buf, 256, "%s,%s,%s,%s", in getflagstr()
66 msnprintf(buf, 256, "%s (%d)", in getcurlcodestr()
/third_party/curl/tests/server/
Dfake_ntlm.c78 msnprintf(&outbuf[0], outsize, "%s", NOTHING_STR); in printable()
100 msnprintf(&outbuf[o], outsize - o, HEX_FMT_STR, inbuf[i]); in printable()
176 msnprintf(logfilename, sizeof(logfilename), LOGFILE, testnum); in main()
Dutil.c90 msnprintf(optr, 4, "%%%02x", *iptr++); in data_to_hex()
125 msnprintf(timebuf, sizeof(timebuf), "%02d:%02d:%02d.%06ld", in logmsg()
157 msnprintf(buf, sizeof(buf), "Unknown error %lu (%#lx)", err, err); in win32_perror()
203 msnprintf(filename, sizeof(filename), ALTTEST_DATA_PATH, ".", testno); in test2fopen()
209 msnprintf(filename, sizeof(filename), TEST_DATA_PATH, path, testno); in test2fopen()
Drtspd.c251 msnprintf(logbuf, sizeof(logbuf), "Got request: %s %s %s/%d.%d", in ProcessRequest()
254 msnprintf(logbuf, sizeof(logbuf), "Got a *HUGE* request %s/%d.%d", in ProcessRequest()
285 msnprintf(logbuf, sizeof(logbuf), "Requested test number %ld part %ld", in ProcessRequest()
407 msnprintf(logbuf, sizeof(logbuf), in ProcessRequest()
813 msnprintf(msgbuf, sizeof(msgbuf), "RTSP_SERVER WE ROOLZ: %ld\r\n", in send_doc()
816 msnprintf(weare, sizeof(weare), in send_doc()
850 msnprintf(partbuf, sizeof(partbuf), "data%ld", req->partno); in send_doc()
/third_party/curl/lib/vauth/
Ddigest.c148 msnprintf((char *) &dest[i * 2], 3, "%02x", source[i]); in auth_digest_md5_to_ascii()
157 msnprintf((char *) &dest[i * 2], 3, "%02x", source[i]); in auth_digest_sha256_to_ascii()
417 msnprintf(&HA1_hex[2 * i], 3, "%02x", digest[i]); in Curl_auth_create_digest_md5_message()
440 msnprintf(&HA2_hex[2 * i], 3, "%02x", digest[i]); in Curl_auth_create_digest_md5_message()
470 msnprintf(&resp_hash_hex[2 * i], 3, "%02x", digest[i]); in Curl_auth_create_digest_md5_message()

1234