Home
last modified time | relevance | path

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

1234

/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()
103 result = Curl_auth_decode_spnego_message(data, userp, passwdp, service, in Curl_input_negotiate()
120 char *userp; in Curl_output_negotiate() local
155 userp = aprintf("%sAuthorization: Negotiate %s\r\n", proxy ? "Proxy-" : "", in Curl_output_negotiate()
160 conn->allocptr.proxyuserpwd = userp; in Curl_output_negotiate()
164 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()
156 result = Curl_auth_create_digest_http_message(data, userp, passwdp, request, in Curl_output_digest()
Dhttp_ntlm.c125 const char *userp; in Curl_output_ntlm() local
144 userp = conn->http_proxy.user; in Curl_output_ntlm()
154 userp = conn->user; in Curl_output_ntlm()
165 if(!userp) in Curl_output_ntlm()
166 userp = ""; in Curl_output_ntlm()
187 result = Curl_auth_create_ntlm_type1_message(conn->data, userp, passwdp, in Curl_output_ntlm()
209 result = Curl_auth_create_ntlm_type3_message(conn->data, userp, passwdp, in Curl_output_ntlm()
Dcurl_ntlm_wb.c115 static CURLcode ntlm_wb_init(struct connectdata *conn, const char *userp) in ntlm_wb_init() argument
134 username = userp; in ntlm_wb_init()
157 username = userp; in ntlm_wb_init()
347 const char *userp; in Curl_output_ntlm_wb() local
360 userp = conn->http_proxy.user; in Curl_output_ntlm_wb()
366 userp = conn->user; in Curl_output_ntlm_wb()
373 if(!userp) in Curl_output_ntlm_wb()
374 userp = ""; in Curl_output_ntlm_wb()
392 res = ntlm_wb_init(conn, userp); in Curl_output_ntlm_wb()
Dformdata.c74 char *showfilename, char *userp, in AddHttpPost() argument
91 post->userp = userp; in AddHttpPost()
425 if(current_form->userp) in FormAdd()
428 char *userp = in FormAdd() local
430 if(userp) { in FormAdd()
431 current_form->userp = userp; in FormAdd()
432 current_form->value = userp; /* this isn't strictly true but we in FormAdd()
637 form->userp, in FormAdd()
899 fread_func, NULL, NULL, post->userp); in Curl_getformdata()
/external/curl/lib/vauth/
Dvauth.h63 const char *userp,
85 const char *userp,
95 const char *userp,
106 const char *userp,
123 const char *userp,
138 const char *userp,
161 const char *userp,
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()
405 const char *userp, in Curl_auth_create_digest_http_message() argument
443 if((userp && !digest->user) || (!userp && digest->user) || in Curl_auth_create_digest_http_message()
445 (userp && digest->user && strcmp(userp, digest->user)) || in Curl_auth_create_digest_http_message()
500 if(userp && *userp) { in Curl_auth_create_digest_http_message()
502 if(Curl_create_sspi_identity(userp, passwdp, &identity)) { in Curl_auth_create_digest_http_message()
521 if(userp) { in Curl_auth_create_digest_http_message()
522 digest->user = strdup(userp); in Curl_auth_create_digest_http_message()
Dcleartext.c61 const char *userp, in Curl_auth_create_plain_message() argument
73 ulen = strlen(userp); in Curl_auth_create_plain_message()
86 memcpy(plainauth, userp, ulen); in Curl_auth_create_plain_message()
88 memcpy(plainauth + ulen + 1, userp, ulen); in Curl_auth_create_plain_message()
Dntlm_sspi.c83 const char *userp, in Curl_auth_create_ntlm_type1_message() argument
116 if(userp && *userp) { in Curl_auth_create_ntlm_type1_message()
120 result = Curl_create_sspi_identity(userp, passwdp, &ntlm->identity); in Curl_auth_create_ntlm_type1_message()
246 const char *userp, in Curl_auth_create_ntlm_type3_message() argument
261 (void) userp; in Curl_auth_create_ntlm_type3_message()
Ddigest.c355 const char *userp, in Curl_auth_create_digest_md5_message() argument
410 Curl_MD5_update(ctxt, (const unsigned char *) userp, in Curl_auth_create_digest_md5_message()
411 curlx_uztoui(strlen(userp))); in Curl_auth_create_digest_md5_message()
494 userp, realm, nonce, in Curl_auth_create_digest_md5_message()
683 const char *userp, in _Curl_auth_create_digest_http_message() argument
724 hashthis = (unsigned char *) aprintf("%s:%s", userp, digest->realm); in _Curl_auth_create_digest_http_message()
746 aprintf("%s:%s:%s", digest->userhash ? userh : userp, in _Curl_auth_create_digest_http_message()
846 userp_quoted = auth_digest_string_quoted(digest->userhash ? userh : userp); in _Curl_auth_create_digest_http_message()
948 const char *userp, in Curl_auth_create_digest_http_message() argument
958 return _Curl_auth_create_digest_http_message(data, userp, passwdp, in Curl_auth_create_digest_http_message()
[all …]
Dntlm.c369 const char *userp, in Curl_auth_create_ntlm_type1_message() argument
400 (void)userp; in Curl_auth_create_ntlm_type1_message()
494 const char *userp, in Curl_auth_create_ntlm_type3_message() argument
541 user = strchr(userp, '\\'); in Curl_auth_create_ntlm_type3_message()
543 user = strchr(userp, '/'); in Curl_auth_create_ntlm_type3_message()
546 domain = userp; in Curl_auth_create_ntlm_type3_message()
551 user = userp; in Curl_auth_create_ntlm_type3_message()
/external/curl/tests/libtest/
Dlib1540.c35 static int please_continue(void *userp, in please_continue() argument
41 struct transfer_status *st = (struct transfer_status *)userp; in please_continue()
58 void *userp) in header_callback() argument
61 (void)userp; in header_callback()
66 static size_t write_callback(void *ptr, size_t size, size_t nmemb, void *userp) in write_callback() argument
68 struct transfer_status *st = (struct transfer_status *)userp; in write_callback()
Dlib654.c42 static void free_callback(void *userp) in free_callback() argument
44 struct WriteThis *pooh = (struct WriteThis *) userp; in free_callback()
49 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userp) in read_callback() argument
51 struct WriteThis *pooh = (struct WriteThis *)userp; in read_callback()
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()
Dlib582.c106 void *userp, void *socketp) in curlSocketCallback() argument
108 struct ReadWriteSockets* sockets = userp; in curlSocketCallback()
130 static int curlTimerCallback(CURLM *multi, long timeout_ms, void *userp) in curlTimerCallback() argument
132 struct timeval* timeout = userp; in curlTimerCallback()
/external/curl/docs/examples/
Dhttp2-pushinmemory.c43 write_cb(void *contents, size_t size, size_t nmemb, void *userp) in write_cb() argument
46 struct Memory *mem = (struct Memory *)userp; in write_cb()
98 void *userp) in server_push_callback() argument
101 int *transfers = (int *)userp; in server_push_callback()
Dhttp2-serverpush.c93 void *userp) in my_trace() argument
97 (void)userp; in my_trace()
167 void *userp) in server_push_callback() argument
171 int *transfers = (int *)userp; in server_push_callback()
Dhttp2-upload.c106 void *userp) in my_trace() argument
110 struct input *i = (struct input *)userp; in my_trace()
160 static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp) in read_callback() argument
162 struct input *i = userp; in read_callback()
/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/google-breakpad/src/common/linux/
Dlibcurl_wrapper.cc101 size_t nmemb, void *userp) { in WriteCallback() argument
102 if (!userp) in WriteCallback()
105 string *response = reinterpret_cast<string *>(userp); in WriteCallback()
/external/curl/include/curl/
Dmulti.h273 void *userp, /* private callback
289 void *userp); /* private callback
435 void *userp);

1234