/third_party/curl/tests/libtest/ |
D | lib518.c | 58 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 …]
|
D | lib537.c | 59 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 …]
|
D | lib1510.c | 47 msnprintf(dnsentry, sizeof(dnsentry), "server%d.example.com:%s:%s", i + 1, in test() 77 msnprintf(target_url, sizeof(target_url), in test()
|
D | lib1512.c | 52 msnprintf(dnsentry, sizeof(dnsentry), "server.example.curl:%s:%s", in test() 62 msnprintf(target_url, sizeof(target_url), in test()
|
D | lib1506.c | 49 msnprintf(dnsentry, sizeof(dnsentry), "server%d.example.com:%s:%s", in test() 73 msnprintf(target_url, sizeof(target_url), in test()
|
D | lib1515.c | 126 msnprintf(dns_entry, sizeof(dns_entry), "testserver.example.com:%s:%s", in test() 136 msnprintf(target_url, sizeof(target_url), in test()
|
D | chkdecimalpoint.c | 36 chars = msnprintf(zero, TOTAL_STR_LEN, "%.1f", 0.0); in main()
|
/third_party/curl/src/ |
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() 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 …]
|
D | tool_dirhie.c | 135 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()
|
D | tool_setopt.c | 278 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/ |
D | version.c | 84 (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 …]
|
D | progress.c | 49 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 …]
|
D | strerror.c | 747 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()
|
D | curl_printf.h | 34 # undef msnprintf 42 # define msnprintf curl_msnprintf macro
|
D | curlx.h | 97 # undef msnprintf 108 # define msnprintf curlx_msnprintf macro
|
D | base64.c | 244 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()
|
D | urlapi.c | 211 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()
|
D | inet_ntop.c | 58 (void)msnprintf(tmp, sizeof(tmp), "%d.%d.%d.%d", in inet_ntop4() 151 tp += msnprintf(tp, 5, "%lx", words[i]); in inet_ntop6()
|
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()
|
/third_party/curl/tests/unit/ |
D | unit1650.c | 204 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),
|
D | unit1604.c | 49 msnprintf(buf, 256, "%s,%s,%s,%s", in getflagstr() 66 msnprintf(buf, 256, "%s (%d)", in getcurlcodestr()
|
/third_party/curl/tests/server/ |
D | fake_ntlm.c | 78 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()
|
D | util.c | 90 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()
|
D | rtspd.c | 251 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/ |
D | digest.c | 148 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()
|