/curl/lib/vauth/ |
H A D | oauth2.c | 70 oauth = aprintf("n,a=%s,\1host=%s\1auth=Bearer %s\1\1", user, host, in Curl_auth_create_oauth_bearer_message() 73 oauth = aprintf("n,a=%s,\1host=%s\1port=%ld\1auth=Bearer %s\1\1", user, in Curl_auth_create_oauth_bearer_message() 101 char *xoauth = aprintf("user=%s\1auth=Bearer %s\1\1", user, bearer); in Curl_auth_create_xoauth_bearer_message()
|
H A D | vauth.c | 64 spn = aprintf("%s/%s@%s", service, host, realm); in Curl_auth_build_spn() 66 spn = aprintf("%s/%s", service, host); in Curl_auth_build_spn() 68 spn = aprintf("%s@%s", service, realm); in Curl_auth_build_spn() 91 utf8_spn = aprintf("%s/%s", service, host); in Curl_auth_build_spn()
|
H A D | digest.c | 476 response = aprintf("username=\"%s\",realm=\"%s\",nonce=\"%s\"," in Curl_auth_create_digest_md5_message() 727 hashthis = aprintf("%s:%s", userp, digest->realm ? digest->realm : ""); in auth_create_digest_http_message() 762 tmp = aprintf("%s:%s:%s", ha1, digest->nonce, digest->cnonce); in auth_create_digest_http_message() 786 hashthis = aprintf("%s:%s", request, uripath); in auth_create_digest_http_message() 802 hashthis2 = aprintf("%s:%s", hashthis, hashed); in auth_create_digest_http_message() 821 hashthis = aprintf("%s:%s:%s", ha1, digest->nonce, ha2); in auth_create_digest_http_message() 868 response = aprintf("username=\"%s\", " in auth_create_digest_http_message() 889 response = aprintf("username=\"%s\", " in auth_create_digest_http_message() 915 tmp = aprintf("%s, opaque=\"%s\"", response, opaque_quoted); in auth_create_digest_http_message() 926 tmp = aprintf("%s, algorithm=%s", response, digest->algorithm); in auth_create_digest_http_message() [all …]
|
H A D | cram.c | 85 response = aprintf( in Curl_auth_create_cram_md5_message()
|
/curl/lib/ |
H A D | curl_printf.h | 48 # undef aprintf 56 # define aprintf curl_maprintf macro
|
H A D | http_digest.c | 152 path = (unsigned char *) aprintf("%.*s", (int)urilen, uripath); in Curl_output_digest() 167 *allocuserpwd = aprintf("%sAuthorization: Digest %s\r\n", in Curl_output_digest()
|
H A D | http_aws_sigv4.c | 197 fullhost = aprintf("host:%s", hostname); in make_headers() 261 *date_header = aprintf("%s: %s\r\n", date_hdr_key, timestamp); in make_headers() 756 aprintf("%s\n" /* HTTPRequestMethod */ in Curl_output_aws_sigv4() 776 request_type = aprintf("%s4_request", provider0); in Curl_output_aws_sigv4() 780 credential_scope = aprintf("%s/%s/%s/%s", in Curl_output_aws_sigv4() 798 str_to_sign = aprintf("%s4-HMAC-SHA256\n" /* Algorithm */ in Curl_output_aws_sigv4() 811 secret = aprintf("%s4%s", provider0, in Curl_output_aws_sigv4() 826 auth_headers = aprintf("Authorization: %s4-HMAC-SHA256 " in Curl_output_aws_sigv4()
|
H A D | http_ntlm.c | 221 *allocuserpwd = aprintf("%sAuthorization: NTLM %s\r\n", in Curl_output_ntlm() 240 *allocuserpwd = aprintf("%sAuthorization: NTLM %s\r\n", in Curl_output_ntlm()
|
H A D | fopen.c | 122 tempstore = aprintf("%s%s.tmp", dir, randbuf); in Curl_fopen()
|
H A D | netrc.c | 385 filealloc = aprintf("%s%s.netrc", home, DIR_CHAR); in Curl_parsenetrc() 395 filealloc = aprintf("%s%s_netrc", home, DIR_CHAR); in Curl_parsenetrc()
|
H A D | gopher.c | 154 gopherpath = aprintf("%s?%s", path, query); in gopher_do()
|
H A D | c-hyper.c | 551 char *req = aprintf("%s %s HTTP/1.1\r\n", method, path); in debug_request() 615 ptr = aprintf("%.*s\r\n", (int)linelen, line); in Curl_hyper_header() 872 pq = aprintf("%s?%s", data->state.up.path, data->state.up.query); in Curl_http() 1052 char *altused = aprintf("Alt-Used: %s:%d\r\n", in Curl_http() 1077 data->state.aptr.ref = aprintf("Referer: %s\r\n", data->state.referer); in Curl_http() 1100 aprintf("Accept-Encoding: %s\r\n", data->set.str[STRING_ENCODING]); in Curl_http()
|
H A D | rtsp.c | 349 aprintf("Transport: %s\r\n", in rtsp_do() 375 aprintf("Accept-Encoding: %s\r\n", data->set.str[STRING_ENCODING]); in rtsp_do() 412 data->state.aptr.ref = aprintf("Referer: %s\r\n", data->state.referer); in rtsp_do() 428 data->state.aptr.rangeline = aprintf("Range: %s\r\n", data->state.range); in rtsp_do()
|
H A D | http_negotiate.c | 200 userp = aprintf("%sAuthorization: Negotiate %s\r\n", proxy ? "Proxy-" : "", in Curl_output_negotiate()
|
H A D | http.c | 294 out = aprintf("%s:%s", user ? user : "", pwd ? pwd : ""); in http_output_basic() 308 *userp = aprintf("%sAuthorization: Basic %s\r\n", in http_output_basic() 338 *userp = aprintf("Authorization: Bearer %s\r\n", in http_output_bearer() 1742 aptr->host = aprintf("Host:%s\r\n", &ptr[5]); in Curl_http_host() 1761 aptr->host = aprintf("Host: %s%s%s:%d\r\n", in Curl_http_host() 2330 data->state.aptr.rangeline = aprintf("Range: bytes=%s\r\n", in Curl_http_range() 2364 aprintf("Content-Range: bytes %s/%" FMT_OFF_T "\r\n", in Curl_http_range() 2458 data->state.aptr.te = aprintf("Connection: %s%sTE\r\n" TE_HEADER, in Curl_transferencode() 2544 pq = aprintf("%s?%s", data->state.up.path, data->state.up.query); in Curl_http() 2566 aprintf("Accept-Encoding: %s\r\n", data->set.str[STRING_ENCODING]); in Curl_http() [all …]
|
H A D | smtp.c | 633 from = aprintf("<%s@%s>", address, host.name); in smtp_perform_mail() 640 from = aprintf("<%s>", address); in smtp_perform_mail() 674 auth = aprintf("<%s@%s>", address, host.name); in smtp_perform_mail() 681 auth = aprintf("<%s>", address); in smtp_perform_mail() 726 size = aprintf("%" FMT_OFF_T, data->state.infilesize); in smtp_perform_mail()
|
H A D | cf-h1-proxy.c | 550 authority = aprintf("%s%s%s:%d", ipv6_ip ? "[":"", hostname, in CONNECT_host() 557 host_header = aprintf("Host: %s\r\n", authority); in CONNECT_host() 685 char *se = aprintf("CONNECT %s HTTP/1.1\r\n", authority); in start_CONNECT()
|
/curl/tests/libtest/ |
H A D | lib661.c | 48 newURL = aprintf("%s/folderA/661", URL); in test() 58 newURL = aprintf("%s/folderB/661", URL); in test() 75 newURL = aprintf("%s/folderA/661", URL); in test() 86 newURL = aprintf("%s/folderB/661", URL); in test() 94 newURL = aprintf("%s/folderA/661", URL); in test()
|
/curl/src/ |
H A D | tool_findfile.c | 75 c = aprintf("%s" DIR_CHAR "%c%s", home, pref[i], &fname[1]); in checkhome() 77 c = aprintf("%s" DIR_CHAR "%s", home, fname); in checkhome() 121 char *c = aprintf("%s%s", home, conf_list[i].append); in findfile()
|
H A D | tool_operhlp.c | 142 newpath = aprintf("%s%s", path, encfile); in add_file_name_to_url() 145 newpath = aprintf("%s/%s", path, encfile); in add_file_name_to_url() 249 char *alt = aprintf("%s/%s", tdir, *filename); in get_url_file_name()
|
H A D | tool_ipfs.c | 82 ipfs_path = aprintf("%s/.ipfs/", home); in ipfs_gateway() 89 gateway_composed_file_path = aprintf("%sgateway", ipfs_path); in ipfs_gateway() 239 pathbuffer = aprintf("%s%s/%s%s", gwpath, protocol, cid, in ipfs_url_rewrite()
|
H A D | tool_cb_hdr.c | 222 outs->filename = aprintf("%s/%s", per->config->output_dir, in tool_header_cb() 253 char *clone = aprintf("%.*s", (int)cb, (char *)str); in tool_header_cb()
|
/curl/tests/unit/ |
H A D | unit1305.c | 97 data_key = aprintf("%s:%d", "dummy", 0); in create_node()
|
H A D | unit1609.c | 141 entry_id = (void *)aprintf("%s:%d", tests[i].host, tests[i].port);
|
H A D | unit1607.c | 140 entry_id = (void *)aprintf("%s:%d", tests[i].host, tests[i].port);
|