Home
last modified time | relevance | path

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

1234

/external/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()
Dlibntlmconnect.c138 msnprintf(full_url, urllen, "%s0200", url); in test()
142 msnprintf(full_url, urllen, "%s0100", url); in test()
/external/curl/lib/
Dversion.c98 return msnprintf(buf, bufsz, "%u.%u.%u", major, minor, patch); in brotli_version()
129 len = msnprintf(ptr, left, " zlib/%s", zlibVersion()); in curl_version()
134 len = msnprintf(ptr, left, "%s", " brotli/"); in curl_version()
143 len = msnprintf(ptr, left, " c-ares/%s", ares_version(NULL)); in curl_version()
149 len = msnprintf(ptr, left, " libidn2/%s", idn2_check_version(NULL)); in curl_version()
155 len = msnprintf(ptr, left, " libpsl/%s", psl_get_version()); in curl_version()
160 len = msnprintf(ptr, left, " WinIDN"); in curl_version()
166 len = msnprintf(ptr, left, " iconv/%d.%d", in curl_version()
170 len = msnprintf(ptr, left, " iconv"); in curl_version()
176 len = msnprintf(ptr, left, " libssh2/%s", CURL_LIBSSH2_VERSION); in curl_version()
[all …]
Dprogress.c47 msnprintf(r, 9, "%2" CURL_FORMAT_CURL_OFF_T ":%02" CURL_FORMAT_CURL_OFF_T in time2str()
56 msnprintf(r, 9, "%3" CURL_FORMAT_CURL_OFF_T in time2str()
59 msnprintf(r, 9, "%7" CURL_FORMAT_CURL_OFF_T "d", d); in time2str()
75 msnprintf(max5, 6, "%5" CURL_FORMAT_CURL_OFF_T, bytes); in max5data()
78 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "k", bytes/ONE_KILOBYTE); in max5data()
82 msnprintf(max5, 6, "%2" CURL_FORMAT_CURL_OFF_T ".%0" in max5data()
90 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "M", bytes/ONE_MEGABYTE); in max5data()
94 msnprintf(max5, 6, "%2" CURL_FORMAT_CURL_OFF_T ".%0" in max5data()
100 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "G", bytes/ONE_GIGABYTE); in max5data()
104 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "T", bytes/ONE_TERABYTE); in max5data()
[all …]
Dstrerror.c682 msnprintf(buf, max, "Unknown error %d (%#x)", err, err); in Curl_strerror()
696 msnprintf(buf, max, "Unknown error %d", err); in Curl_strerror()
710 msnprintf(buf, max, "Unknown error %d", err); in Curl_strerror()
722 msnprintf(buf, max, "Unknown error %d", err); in Curl_strerror()
730 msnprintf(buf, max, "Unknown error %d", err); in Curl_strerror()
1031 msnprintf(outbuf, outmax, in Curl_sspi_strerror()
1038 msnprintf(txtbuf, sizeof(txtbuf), "%s (0x%08X)", txt, err); in Curl_sspi_strerror()
1074 msnprintf(outbuf, outmax, "%s - %s", str, msg); in Curl_sspi_strerror()
Dcurl_printf.h34 # undef msnprintf
42 # define msnprintf curl_msnprintf macro
Dcurlx.h84 # undef msnprintf
95 # define msnprintf curlx_msnprintf macro
Dbase64.c236 msnprintf(output, 5, "%c%c==", in base64_encode()
242 msnprintf(output, 5, "%c%c%c=", in base64_encode()
249 msnprintf(output, 5, "%c%c%c%c", in base64_encode()
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.c154 msnprintf(scope, sizeof(scope), "%%%u", scopeid); in Curl_if2ip()
162 msnprintf(buf, buf_size, "%s%s", ip, scope); in Curl_if2ip()
/external/curl/tests/unit/
Dunit1650.c203 msnprintf(ptr, len, "%u.%u.%u.%u ", p[0], p[1], p[2], p[3]);
212 msnprintf(ptr, len, "%s%02x%02x", j?":":"", a->ip.v6[j],
218 msnprintf(ptr, len, " ");
225 msnprintf(ptr, len, "%s ", d.cname[u].alloc);
274 msnprintf((char *)buffer, sizeof(buffer),
Dunit1604.c49 msnprintf(buf, 256, "%s,%s,%s,%s", in getflagstr()
66 msnprintf(buf, 256, "%s (%d)", in getcurlcodestr()
/external/curl/tests/server/
Dutil.c90 msnprintf(optr, 4, "%%%02x", *iptr++); in data_to_hex()
124 msnprintf(timebuf, sizeof(timebuf), "%02d:%02d:%02d.%06ld", in logmsg()
155 msnprintf(buf, sizeof(buf), "Unknown error %lu (%#lx)", err, err); in win32_perror()
199 msnprintf(filename, sizeof(filename), TEST_DATA_PATH, path, testno); in test2file()
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()
177 msnprintf(logfilename, sizeof(logfilename), LOGFILE, testnum); in main()
Dsws.c515 msnprintf(logbuf, sizeof(logbuf), "Got request: %s %s HTTP/%d.%d", in ProcessRequest()
518 msnprintf(logbuf, sizeof(logbuf), "Got a *HUGE* request HTTP/%d.%d", in ProcessRequest()
551 msnprintf(logbuf, sizeof(logbuf), "Requested test number %ld part %ld", in ProcessRequest()
571 msnprintf(logbuf, sizeof(logbuf), in ProcessRequest()
651 msnprintf(logbuf, sizeof(logbuf), in ProcessRequest()
702 msnprintf(logbuf, sizeof(logbuf), in ProcessRequest()
1140 msnprintf(msgbuf, sizeof(msgbuf), "WE ROOLZ: %ld\r\n", (long)getpid()); in send_doc()
1143 msnprintf(weare, sizeof(weare), "%s", msgbuf); in send_doc()
1145 msnprintf(weare, sizeof(weare), in send_doc()
1168 msnprintf(partbuf, sizeof(partbuf), "%s%ld", section, req->partno); in send_doc()
[all …]
Drtspd.c385 msnprintf(logbuf, sizeof(logbuf), "Got request: %s %s %s/%d.%d", in ProcessRequest()
388 msnprintf(logbuf, sizeof(logbuf), "Got a *HUGE* request %s/%d.%d", in ProcessRequest()
419 msnprintf(logbuf, sizeof(logbuf), "Requested test number %ld part %ld", in ProcessRequest()
543 msnprintf(logbuf, sizeof(logbuf), in ProcessRequest()
950 msnprintf(msgbuf, sizeof(msgbuf), "RTSP_SERVER WE ROOLZ: %ld\r\n", in send_doc()
953 msnprintf(weare, sizeof(weare), in send_doc()
988 msnprintf(partbuf, sizeof(partbuf), "data%ld", req->partno); in send_doc()
/external/curl/src/
Dtool_setopt.c259 msnprintf(e, 5, "\\%03o", (unsigned)c); in c_escape()
319 msnprintf(preamble, sizeof(preamble), in tool_setopt_flags()
330 msnprintf(preamble, sizeof(preamble), "%*s", strlen(preamble), ""); in tool_setopt_flags()
362 msnprintf(preamble, sizeof(preamble), in tool_setopt_bitmask()
373 msnprintf(preamble, sizeof(preamble), "%*s", strlen(preamble), ""); in tool_setopt_bitmask()
647 msnprintf(buf, sizeof(buf), "%ldL", lval); in tool_setopt()
684 msnprintf(buf, sizeof(buf), in tool_setopt()
Dtool_dirhie.c134 msnprintf(&dirbuildup[dlen], outlen - dlen, "%s%s", DIR_CHAR, tempdir); in create_dir_hierarchy()
140 msnprintf(dirbuildup, outlen, "%s%s", DIR_CHAR, tempdir); in create_dir_hierarchy()
Dtool_cb_prg.c75 msnprintf(buf, sizeof(buf), "%*s\r", bar->width-1, " "); in fly()
182 msnprintf(format, sizeof(format), "\r%%-%ds %%5.1f%%%%", barwidth); in tool_progress_cb()
/external/curl/lib/vauth/
Ddigest.c146 msnprintf((char *) &dest[i * 2], 3, "%02x", source[i]); in auth_digest_md5_to_ascii()
155 msnprintf((char *) &dest[i * 2], 3, "%02x", source[i]); in auth_digest_sha256_to_ascii()
435 msnprintf(&HA1_hex[2 * i], 3, "%02x", digest[i]); in Curl_auth_create_digest_md5_message()
458 msnprintf(&HA2_hex[2 * i], 3, "%02x", digest[i]); in Curl_auth_create_digest_md5_message()
488 msnprintf(&resp_hash_hex[2 * i], 3, "%02x", digest[i]); in Curl_auth_create_digest_md5_message()

1234