Home
last modified time | relevance | path

Searched refs:userp (Results 1 – 25 of 70) sorted by relevance

123

/external/curl/lib/
Dhttp_negotiate.c45 const char *userp; in Curl_input_negotiate() local
54 userp = conn->http_proxy.user; in Curl_input_negotiate()
62 userp = conn->user; in Curl_input_negotiate()
71 if(!userp) in Curl_input_negotiate()
72 userp = ""; in Curl_input_negotiate()
93 result = Curl_auth_decode_spnego_message(data, userp, passwdp, service, in Curl_input_negotiate()
108 char *userp; in Curl_output_negotiate() local
115 userp = aprintf("%sAuthorization: Negotiate %s\r\n", proxy ? "Proxy-" : "", in Curl_output_negotiate()
120 conn->allocptr.proxyuserpwd = userp; in Curl_output_negotiate()
124 conn->allocptr.userpwd = userp; in Curl_output_negotiate()
[all …]
Dhttp_digest.c88 const char *userp; in Curl_output_digest() local
98 userp = conn->http_proxy.user; in Curl_output_digest()
105 userp = conn->user; in Curl_output_digest()
113 if(!userp) in Curl_output_digest()
114 userp = ""; in Curl_output_digest()
154 result = Curl_auth_create_digest_http_message(data, userp, passwdp, request, in Curl_output_digest()
Dhttp_ntlm.c122 const char *userp; in Curl_output_ntlm() local
139 userp = conn->http_proxy.user; in Curl_output_ntlm()
146 userp = conn->user; in Curl_output_ntlm()
154 if(!userp) in Curl_output_ntlm()
155 userp = ""; in Curl_output_ntlm()
173 result = Curl_auth_create_ntlm_type1_message(userp, passwdp, ntlm, &base64, in Curl_output_ntlm()
193 result = Curl_auth_create_ntlm_type3_message(conn->data, userp, passwdp, in Curl_output_ntlm()
Dcurl_ntlm_wb.c114 static CURLcode ntlm_wb_init(struct connectdata *conn, const char *userp) in ntlm_wb_init() argument
133 username = userp; in ntlm_wb_init()
156 username = userp; in ntlm_wb_init()
339 const char *userp; in Curl_output_ntlm_wb() local
352 userp = conn->http_proxy.user; in Curl_output_ntlm_wb()
358 userp = conn->user; in Curl_output_ntlm_wb()
365 if(!userp) in Curl_output_ntlm_wb()
366 userp=""; in Curl_output_ntlm_wb()
384 res = ntlm_wb_init(conn, userp); in Curl_output_ntlm_wb()
Dhttp2.c260 void *userp) in send_callback() argument
262 struct connectdata *conn = (struct connectdata *)userp; in send_callback()
449 void *userp) in on_frame_recv() argument
451 struct connectdata *conn = (struct connectdata *)userp; in on_frame_recv()
554 struct connectdata *conn_s = (struct connectdata *)userp; in on_frame_recv()
582 int lib_error_code, void *userp) in on_invalid_frame_recv() argument
585 (void)userp; in on_invalid_frame_recv()
598 const uint8_t *data, size_t len, void *userp) in on_data_chunk_recv() argument
603 struct connectdata *conn = (struct connectdata *)userp; in on_data_chunk_recv()
664 void *userp) in before_frame_send() argument
[all …]
/external/curl/lib/vauth/
Dvauth.h63 const char *userp,
85 const char *userp,
95 const char *userp,
106 const char *userp,
122 CURLcode Curl_auth_create_ntlm_type1_message(const char *userp,
135 const char *userp,
158 const char *userp,
Dcleartext.c61 const char *userp, in Curl_auth_create_plain_message() argument
73 ulen = strlen(userp); in Curl_auth_create_plain_message()
92 memcpy(plainauth, userp, ulen); in Curl_auth_create_plain_message()
94 memcpy(plainauth + ulen + 1, userp, ulen); in Curl_auth_create_plain_message()
Dntlm_sspi.c78 CURLcode Curl_auth_create_ntlm_type1_message(const char *userp, in Curl_auth_create_ntlm_type1_message() argument
109 if(userp && *userp) { in Curl_auth_create_ntlm_type1_message()
113 result = Curl_create_sspi_identity(userp, passwdp, &ntlm->identity); in Curl_auth_create_ntlm_type1_message()
239 const char *userp, in Curl_auth_create_ntlm_type3_message() argument
254 (void) userp; in Curl_auth_create_ntlm_type3_message()
Ddigest_sspi.c88 const char *userp, in Curl_auth_create_digest_md5_message() argument
157 if(userp && *userp) { in Curl_auth_create_digest_md5_message()
159 result = Curl_create_sspi_identity(userp, passwdp, &identity); in Curl_auth_create_digest_md5_message()
374 const char *userp, in Curl_auth_create_digest_http_message() argument
411 if(userp && *userp) { in Curl_auth_create_digest_http_message()
413 if(Curl_create_sspi_identity(userp, passwdp, &identity)) in Curl_auth_create_digest_http_message()
Dntlm.c362 CURLcode Curl_auth_create_ntlm_type1_message(const char *userp, in Curl_auth_create_ntlm_type1_message() argument
391 (void)userp; in Curl_auth_create_ntlm_type1_message()
483 const char *userp, in Curl_auth_create_ntlm_type3_message() argument
530 user = strchr(userp, '\\'); in Curl_auth_create_ntlm_type3_message()
532 user = strchr(userp, '/'); in Curl_auth_create_ntlm_type3_message()
535 domain = userp; in Curl_auth_create_ntlm_type3_message()
540 user = userp; in Curl_auth_create_ntlm_type3_message()
Ddigest.c344 const char *userp, in Curl_auth_create_digest_md5_message() argument
404 Curl_MD5_update(ctxt, (const unsigned char *) userp, in Curl_auth_create_digest_md5_message()
405 curlx_uztoui(strlen(userp))); in Curl_auth_create_digest_md5_message()
488 userp, realm, nonce, in Curl_auth_create_digest_md5_message()
663 const char *userp, in Curl_auth_create_digest_http_message() argument
714 aprintf("%s:%s:%s", userp, digest->realm, passwdp); in Curl_auth_create_digest_http_message()
804 userp_quoted = auth_digest_string_quoted(userp); in Curl_auth_create_digest_http_message()
Dcram.c93 const char *userp, in Curl_auth_create_cram_md5_message() argument
124 userp, digest[0], digest[1], digest[2], digest[3], digest[4], in Curl_auth_create_cram_md5_message()
/external/curl/docs/examples/
Dhttp2-serverpush.c91 void *userp) in my_trace() argument
95 (void)userp; in my_trace()
161 void *userp) in server_push_callback() argument
165 int *transfers = (int *)userp; in server_push_callback()
Dhttp2-upload.c112 void *userp) in my_trace() argument
124 (void)userp; in my_trace()
172 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp) in read_callback() argument
174 struct input *i = userp; in read_callback()
Dgetinmemory.c40 WriteMemoryCallback(void *contents, size_t size, size_t nmemb, void *userp) in WriteMemoryCallback() argument
43 struct MemoryStruct *mem = (struct MemoryStruct *)userp; in WriteMemoryCallback()
Dimap-append.c62 static size_t payload_source(void *ptr, size_t size, size_t nmemb, void *userp) in payload_source() argument
64 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source()
Dsmtp-mail.c63 static size_t payload_source(void *ptr, size_t size, size_t nmemb, void *userp) in payload_source() argument
65 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source()
/external/libbrillo/brillo/http/
Dcurl_api.cc147 void* userp) { in MultiSetSocketCallback() argument
152 return curl_multi_setopt(multi_handle, CURLMOPT_SOCKETDATA, userp); in MultiSetSocketCallback()
158 void* userp) { in MultiSetTimerCallback() argument
163 return curl_multi_setopt(multi_handle, CURLMOPT_TIMERDATA, userp); in MultiSetTimerCallback()
Dcurl_api.h94 void* userp) = 0;
100 void* userp) = 0;
192 void* userp) override;
198 void* userp) override;
/external/curl/tests/libtest/
Dlib554.c41 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp) in read_callback() argument
47 (void)userp; in read_callback()
51 struct WriteThis *pooh = (struct WriteThis *)userp; in read_callback()
Dlib1514.c38 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp) in read_callback() argument
40 struct WriteThis *pooh = (struct WriteThis *)userp; in read_callback()
Dlib513.c26 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp) in read_callback() argument
31 (void)userp; in read_callback()
Dlib508.c33 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp) in read_callback() argument
35 struct WriteThis *pooh = (struct WriteThis *)userp; in read_callback()
Dlib1520.c50 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp) in read_callback() argument
52 struct upload_status *upload_ctx = (struct upload_status *)userp; in read_callback()
Dlib1517.c33 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp) in read_callback() argument
35 struct WriteThis *pooh = (struct WriteThis *)userp; in read_callback()

123