/external/curl/tests/libtest/ |
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() 137 msnprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_cur); in rlimit() 145 msnprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_max); in rlimit() 203 msnprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_cur); in rlimit() 211 msnprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_max); in rlimit() 238 msnprintf(strbuff2, sizeof(strbuff2), fmt, rl.rlim_cur); in rlimit() 239 msnprintf(strbuff1, sizeof(strbuff1), fmt, num_open.rlim_cur); in rlimit() 240 msnprintf(strbuff, sizeof(strbuff), "fds needed %s > system limit %s", in rlimit() 262 msnprintf(strbuff, sizeof(strbuff), fmt, num_open.rlim_max); in rlimit() [all …]
|
D | lib537.c | 60 msnprintf(msgbuff, sizeof(msgbuff), "%s", msg); in store_errmsg() 62 msnprintf(msgbuff, sizeof(msgbuff), "%s, errno %d, %s", msg, err, in store_errmsg() 137 msnprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_cur); 145 msnprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_max); 197 msnprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_cur); 205 msnprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_max); 235 msnprintf(strbuff, sizeof(strbuff), fmt, num_open.rlim_max); 278 msnprintf(strbuff1, sizeof(strbuff1), fmt, num_open.rlim_max); 279 msnprintf(strbuff, sizeof(strbuff), "unable to allocate an array for %s " 290 msnprintf(strbuff, sizeof(strbuff), fmt, num_open.rlim_max); [all …]
|
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()
|
D | lib1512.c | 54 msnprintf(dnsentry, sizeof(dnsentry), "server.example.curl:%s:%s", in test() 64 msnprintf(target_url, sizeof(target_url), in test()
|
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()
|
D | lib2402.c | 49 msnprintf(dnsentry, sizeof(dnsentry), "localhost:%s:%s", in test() 71 msnprintf(target_url, sizeof(target_url), in test()
|
D | lib2502.c | 49 msnprintf(dnsentry, sizeof(dnsentry), "localhost:%s:%s", in test() 71 msnprintf(target_url, sizeof(target_url), in test()
|
D | lib1515.c | 124 msnprintf(dns_entry, sizeof(dns_entry), "testserver.example.com:%s:%s", in test() 134 msnprintf(target_url, sizeof(target_url), in test()
|
/external/curl/src/ |
D | tool_progress.c | 45 msnprintf(max5, 6, "%5" CURL_FORMAT_CURL_OFF_T, bytes); in max5data() 48 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "k", bytes/ONE_KILOBYTE); in max5data() 52 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() 120 msnprintf(r, 9, "%2" CURL_FORMAT_CURL_OFF_T ":%02" CURL_FORMAT_CURL_OFF_T in time2str() 129 msnprintf(r, 9, "%3" CURL_FORMAT_CURL_OFF_T in time2str() [all …]
|
D | tool_dirhie.c | 131 msnprintf(&dirbuildup[dlen], outlen - dlen, "%s%s", DIR_CHAR, tempdir); in create_dir_hierarchy() 149 msnprintf(dirbuildup, outlen, "%s%s", DIR_CHAR, tempdir); in create_dir_hierarchy()
|
D | tool_setopt.c | 320 msnprintf(preamble, sizeof(preamble), in tool_setopt_flags() 331 msnprintf(preamble, sizeof(preamble), "%*s", strlen(preamble), ""); in tool_setopt_flags() 363 msnprintf(preamble, sizeof(preamble), in tool_setopt_bitmask() 374 msnprintf(preamble, sizeof(preamble), "%*s", strlen(preamble), ""); in tool_setopt_bitmask() 626 msnprintf(buf, sizeof(buf), "%ldL", lval); in tool_setopt() 663 msnprintf(buf, sizeof(buf), in tool_setopt()
|
/external/curl/lib/ |
D | version.c | 95 (void)msnprintf(buf, bufsz, "%u.%u.%u", major, minor, patch); in brotli_version() 108 (void)msnprintf(buf, bufsz, "%u.%u.%u", major, minor, patch); in zstd_version() 189 msnprintf(z_version, sizeof(z_version), "zlib/%s", zlibVersion()); in curl_version() 201 msnprintf(cares_version, sizeof(cares_version), in curl_version() 206 msnprintf(idn_version, sizeof(idn_version), in curl_version() 214 msnprintf(psl_version, sizeof(psl_version), "libpsl/%s", psl_get_version()); 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() 265 msnprintf(ldap_buf, sizeof(ldap_buf), "%s/%u.%u.%u", in curl_version() [all …]
|
D | progress.c | 51 msnprintf(r, 9, "%2" CURL_FORMAT_CURL_OFF_T ":%02" CURL_FORMAT_CURL_OFF_T in time2str() 60 msnprintf(r, 9, "%3" CURL_FORMAT_CURL_OFF_T in time2str() 63 msnprintf(r, 9, "%7" CURL_FORMAT_CURL_OFF_T "d", d); in time2str() 79 msnprintf(max5, 6, "%5" CURL_FORMAT_CURL_OFF_T, bytes); in max5data() 82 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "k", bytes/ONE_KILOBYTE); in max5data() 86 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 | 860 msnprintf(buf, max, "Unknown error %d (%#x)", err, err); in Curl_strerror() 872 msnprintf(buf, max, "Unknown error %d", err); in Curl_strerror() 886 msnprintf(buf, max, "Unknown error %d", err); in Curl_strerror() 895 msnprintf(buf, max, "Unknown error %d", err); in Curl_strerror() 941 msnprintf(buf, buflen, "Unknown error %u (0x%08X)", err, err); in Curl_winapi_strerror() 1073 msnprintf(buf, buflen, in Curl_sspi_strerror() 1083 msnprintf(txtbuf, sizeof(txtbuf), "%s (0x%08X)", txt, err); in Curl_sspi_strerror() 1086 msnprintf(buf, buflen, "%s - %s", txtbuf, msgbuf); in Curl_sspi_strerror()
|
D | curl_printf.h | 36 # undef msnprintf 44 # define msnprintf curl_msnprintf macro
|
D | curlx.h | 99 # undef msnprintf 110 # define msnprintf curlx_msnprintf macro
|
D | http_aws_sigv4.c | 69 msnprintf(dst + (i * 2), SHA256_HEX_LENGTH - (i * 2), "%02x", sha[i]); in sha256_to_hex() 156 msnprintf(date_hdr_key, DATE_HDR_KEY_LEN, "X-%s-Date", provider1); in make_headers() 160 msnprintf(date_full_hdr, DATE_FULL_HDR_LEN, in make_headers() 186 msnprintf(full_host, FULL_HOST_LEN, "host:%s", hostname); in make_headers() 294 key_len = msnprintf(key, sizeof(key), "x-%s-content-sha256", provider1); in parse_content_sha_hdr() 365 msnprintf(header, CONTENT_SHA256_HDR_LEN, in calc_s3_payload_hash()
|
D | inet_ntop.c | 69 (void)msnprintf(tmp, sizeof(tmp), "%d.%d.%d.%d", in inet_ntop4() 161 tp += msnprintf(tp, 5, "%lx", words[i]); in inet_ntop6()
|
D | if2ip.c | 154 msnprintf(scope, sizeof(scope), "%%%u", scopeid); in Curl_if2ip() 163 msnprintf(buf, buf_size, "%s%s", ip, scope); in Curl_if2ip()
|
/external/curl/tests/unit/ |
D | unit1650.c | 206 msnprintf(ptr, len, "%u.%u.%u.%u ", p[0], p[1], p[2], p[3]); 215 msnprintf(ptr, len, "%s%02x%02x", j?":":"", a->ip.v6[j], 221 msnprintf(ptr, len, " "); 228 msnprintf(ptr, len, "%s ", Curl_dyn_ptr(&d.cname[u])); 277 msnprintf((char *)buffer, sizeof(buffer),
|
D | unit1604.c | 51 msnprintf(buf, 256, "%s,%s,%s,%s", in getflagstr() 68 msnprintf(buf, 256, "%s (%d)", in getcurlcodestr()
|
/external/curl/tests/server/ |
D | fake_ntlm.c | 80 msnprintf(&outbuf[0], outsize, "%s", NOTHING_STR); in printable() 102 msnprintf(&outbuf[o], outsize - o, HEX_FMT_STR, inbuf[i]); in printable() 178 msnprintf(logfilename, sizeof(logfilename), LOGFILE, testnum); in main()
|
D | util.c | 92 msnprintf(optr, 4, "%%%02x", *iptr++); in data_to_hex() 127 msnprintf(timebuf, sizeof(timebuf), "%02d:%02d:%02d.%06ld", in logmsg() 159 msnprintf(buf, sizeof(buf), "Unknown error %lu (%#lx)", err, err); in win32_perror() 210 msnprintf(filename, sizeof(filename), ALTTEST_DATA_PATH, ".", testno); in test2fopen() 216 msnprintf(filename, sizeof(filename), TEST_DATA_PATH, path, testno); in test2fopen()
|
D | rtspd.c | 253 msnprintf(logbuf, sizeof(logbuf), "Got request: %s %s %s/%d.%d", in ProcessRequest() 256 msnprintf(logbuf, sizeof(logbuf), "Got a *HUGE* request %s/%d.%d", in ProcessRequest() 287 msnprintf(logbuf, sizeof(logbuf), "Requested test number %ld part %ld", in ProcessRequest() 409 msnprintf(logbuf, sizeof(logbuf), in ProcessRequest() 815 msnprintf(msgbuf, sizeof(msgbuf), "RTSP_SERVER WE ROOLZ: %" in send_doc() 818 msnprintf(weare, sizeof(weare), in send_doc() 852 msnprintf(partbuf, sizeof(partbuf), "data%ld", req->partno); in send_doc()
|
/external/curl/lib/vauth/ |
D | digest.c | 151 msnprintf((char *) &dest[i * 2], 3, "%02x", source[i]); in auth_digest_md5_to_ascii() 160 msnprintf((char *) &dest[i * 2], 3, "%02x", source[i]); in auth_digest_sha256_to_ascii() 420 msnprintf(&HA1_hex[2 * i], 3, "%02x", digest[i]); in Curl_auth_create_digest_md5_message() 443 msnprintf(&HA2_hex[2 * i], 3, "%02x", digest[i]); in Curl_auth_create_digest_md5_message() 473 msnprintf(&resp_hash_hex[2 * i], 3, "%02x", digest[i]); in Curl_auth_create_digest_md5_message()
|