/external/curl/lib/ |
D | pop3.c | 92 static CURLcode pop3_regular_transfer(struct connectdata *conn, bool *done); 93 static CURLcode pop3_do(struct connectdata *conn, bool *done); 94 static CURLcode pop3_done(struct connectdata *conn, CURLcode status, 96 static CURLcode pop3_connect(struct connectdata *conn, bool *done); 97 static CURLcode pop3_disconnect(struct connectdata *conn, bool dead); 98 static CURLcode pop3_multi_statemach(struct connectdata *conn, bool *done); 101 static CURLcode pop3_doing(struct connectdata *conn, bool *dophase_done); 102 static CURLcode pop3_setup_connection(struct connectdata *conn); 103 static CURLcode pop3_parse_url_options(struct connectdata *conn); 104 static CURLcode pop3_parse_url_path(struct connectdata *conn); [all …]
|
D | url.h | 30 CURLcode Curl_init_do(struct Curl_easy *data, struct connectdata *conn); 31 CURLcode Curl_open(struct Curl_easy **curl); 32 CURLcode Curl_init_userdefined(struct UserDefined *set); 33 CURLcode Curl_setopt(struct Curl_easy *data, CURLoption option, 35 CURLcode Curl_dupset(struct Curl_easy * dst, struct Curl_easy * src); 37 CURLcode Curl_close(struct Curl_easy *data); /* opposite of curl_open() */ 38 CURLcode Curl_connect(struct Curl_easy *, struct connectdata **, 40 CURLcode Curl_disconnect(struct connectdata *, bool dead_connection); 41 CURLcode Curl_protocol_connect(struct connectdata *conn, bool *done); 42 CURLcode Curl_protocol_connecting(struct connectdata *conn, bool *done); [all …]
|
D | smtp.c | 91 static CURLcode smtp_regular_transfer(struct connectdata *conn, bool *done); 92 static CURLcode smtp_do(struct connectdata *conn, bool *done); 93 static CURLcode smtp_done(struct connectdata *conn, CURLcode status, 95 static CURLcode smtp_connect(struct connectdata *conn, bool *done); 96 static CURLcode smtp_disconnect(struct connectdata *conn, bool dead); 97 static CURLcode smtp_multi_statemach(struct connectdata *conn, bool *done); 100 static CURLcode smtp_doing(struct connectdata *conn, bool *dophase_done); 101 static CURLcode smtp_setup_connection(struct connectdata *conn); 102 static CURLcode smtp_parse_url_options(struct connectdata *conn); 103 static CURLcode smtp_parse_url_path(struct connectdata *conn); [all …]
|
D | imap.c | 90 static CURLcode imap_regular_transfer(struct connectdata *conn, bool *done); 91 static CURLcode imap_do(struct connectdata *conn, bool *done); 92 static CURLcode imap_done(struct connectdata *conn, CURLcode status, 94 static CURLcode imap_connect(struct connectdata *conn, bool *done); 95 static CURLcode imap_disconnect(struct connectdata *conn, bool dead); 96 static CURLcode imap_multi_statemach(struct connectdata *conn, bool *done); 99 static CURLcode imap_doing(struct connectdata *conn, bool *dophase_done); 100 static CURLcode imap_setup_connection(struct connectdata *conn); 102 static CURLcode imap_sendf(struct connectdata *conn, const char *fmt, ...); 103 static CURLcode imap_parse_url_options(struct connectdata *conn); [all …]
|
D | http.h | 64 CURLcode Curl_add_bufferf(Curl_send_buffer *in, const char *fmt, ...); 65 CURLcode Curl_add_buffer(Curl_send_buffer *in, const void *inptr, size_t size); 66 CURLcode Curl_add_buffer_send(Curl_send_buffer *in, 72 CURLcode Curl_add_timecondition(struct Curl_easy *data, 74 CURLcode Curl_add_custom_headers(struct connectdata *conn, 79 CURLcode Curl_http(struct connectdata *conn, bool *done); 80 CURLcode Curl_http_done(struct connectdata *, CURLcode, bool premature); 81 CURLcode Curl_http_connect(struct connectdata *conn, bool *done); 82 CURLcode Curl_http_setup_conn(struct connectdata *conn); 91 CURLcode Curl_http_input_auth(struct connectdata *conn, bool proxy, [all …]
|
D | sendf.h | 27 CURLcode Curl_sendf(curl_socket_t sockfd, struct connectdata *, 54 CURLcode Curl_client_chop_write(struct connectdata *conn, int type, char *ptr, 56 CURLcode Curl_client_write(struct connectdata *conn, int type, char *ptr, 60 CURLcode Curl_read_plain(curl_socket_t sockfd, 66 size_t len, CURLcode *code); 68 const void *mem, size_t len, CURLcode *code); 71 CURLcode Curl_read(struct connectdata *conn, curl_socket_t sockfd, 75 CURLcode Curl_write(struct connectdata *conn, 81 CURLcode Curl_write_plain(struct connectdata *conn,
|
D | transfer.h | 27 CURLcode Curl_pretransfer(struct Curl_easy *data); 28 CURLcode Curl_second_connect(struct connectdata *conn); 29 CURLcode Curl_posttransfer(struct Curl_easy *data); 41 CURLcode Curl_follow(struct Curl_easy *data, char *newurl, 45 CURLcode Curl_readwrite(struct connectdata *conn, 50 CURLcode Curl_readrewind(struct connectdata *conn); 51 CURLcode Curl_fillreadbuffer(struct connectdata *conn, int bytes, int *nreadp); 52 CURLcode Curl_retry_request(struct connectdata *conn, char **url);
|
D | curl_rtmp.c | 48 static CURLcode rtmp_setup_connection(struct connectdata *conn); 49 static CURLcode rtmp_do(struct connectdata *conn, bool *done); 50 static CURLcode rtmp_done(struct connectdata *conn, CURLcode, bool premature); 51 static CURLcode rtmp_connect(struct connectdata *conn, bool *done); 52 static CURLcode rtmp_disconnect(struct connectdata *conn, bool dead); 181 static CURLcode rtmp_setup_connection(struct connectdata *conn) in rtmp_setup_connection() 197 static CURLcode rtmp_connect(struct connectdata *conn, bool *done) in rtmp_connect() 231 static CURLcode rtmp_do(struct connectdata *conn, bool *done) in rtmp_do() 248 static CURLcode rtmp_done(struct connectdata *conn, CURLcode status, in rtmp_done() 258 static CURLcode rtmp_disconnect(struct connectdata *conn, in rtmp_disconnect() [all …]
|
D | ftp.c | 108 static CURLcode ftp_sendquote(struct connectdata *conn, 110 static CURLcode ftp_quit(struct connectdata *conn); 111 static CURLcode ftp_parse_url_path(struct connectdata *conn); 112 static CURLcode ftp_regular_transfer(struct connectdata *conn, bool *done); 119 static CURLcode ftp_state_prepare_transfer(struct connectdata *conn); 120 static CURLcode ftp_state_mdtm(struct connectdata *conn); 121 static CURLcode ftp_state_quote(struct connectdata *conn, 123 static CURLcode ftp_nb_type(struct connectdata *conn, 127 static CURLcode ftp_do(struct connectdata *conn, bool *done); 128 static CURLcode ftp_done(struct connectdata *conn, [all …]
|
D | smb.c | 55 static CURLcode smb_setup_connection(struct connectdata *conn); 56 static CURLcode smb_connect(struct connectdata *conn, bool *done); 57 static CURLcode smb_connection_state(struct connectdata *conn, bool *done); 58 static CURLcode smb_request_state(struct connectdata *conn, bool *done); 59 static CURLcode smb_done(struct connectdata *conn, CURLcode status, 61 static CURLcode smb_disconnect(struct connectdata *conn, bool dead); 64 static CURLcode smb_parse_url_path(struct connectdata *conn); 181 CURLcode result; 232 static CURLcode smb_setup_connection(struct connectdata *conn) in smb_setup_connection() 245 static CURLcode smb_connect(struct connectdata *conn, bool *done) in smb_connect() [all …]
|
D | pingpong.h | 72 CURLcode (*statemach_act)(struct connectdata *conn); 84 CURLcode Curl_pp_statemach(struct pingpong *pp, bool block); 104 CURLcode Curl_pp_sendf(struct pingpong *pp, 117 CURLcode Curl_pp_vsendf(struct pingpong *pp, 126 CURLcode Curl_pp_readresp(curl_socket_t sockfd, 132 CURLcode Curl_pp_flushsend(struct pingpong *pp); 135 CURLcode Curl_pp_disconnect(struct pingpong *pp);
|
D | tftp.c | 148 static CURLcode tftp_rx(tftp_state_data_t *state, tftp_event_t event); 149 static CURLcode tftp_tx(tftp_state_data_t *state, tftp_event_t event); 150 static CURLcode tftp_connect(struct connectdata *conn, bool *done); 151 static CURLcode tftp_disconnect(struct connectdata *conn, 153 static CURLcode tftp_do(struct connectdata *conn, bool *done); 154 static CURLcode tftp_done(struct connectdata *conn, 155 CURLcode, bool premature); 156 static CURLcode tftp_setup_connection(struct connectdata * conn); 157 static CURLcode tftp_multi_statemach(struct connectdata *conn, bool *done); 158 static CURLcode tftp_doing(struct connectdata *conn, bool *dophase_done); [all …]
|
D | curl_ntlm_core.h | 67 CURLcode Curl_ntlm_core_mk_lm_hash(struct Curl_easy *data, 72 CURLcode Curl_ntlm_core_mk_nt_hash(struct Curl_easy *data, 78 CURLcode Curl_hmac_md5(const unsigned char *key, unsigned int keylen, 82 CURLcode Curl_ntlm_core_mk_ntlmv2_hash(const char *user, size_t userlen, 87 CURLcode Curl_ntlm_core_mk_ntlmv2_resp(unsigned char *ntlmv2hash, 93 CURLcode Curl_ntlm_core_mk_lmv2_resp(unsigned char *ntlmv2hash,
|
D | easy.c | 97 static CURLcode win32_init(void) in win32_init() 138 CURLcode result = Curl_sspi_global_init(); in win32_init() 223 static CURLcode global_init(long flags, bool memoryfuncs) in global_init() 298 CURLcode curl_global_init(long flags) in curl_global_init() 307 CURLcode curl_global_init_mem(long flags, curl_malloc_callback m, in curl_global_init_mem() 372 CURLcode result; in curl_easy_init() 401 CURLcode curl_easy_setopt(struct Curl_easy *data, CURLoption tag, ...) in curl_easy_setopt() 404 CURLcode result; in curl_easy_setopt() 588 static CURLcode wait_or_timeout(struct Curl_multi *multi, struct events *ev) in wait_or_timeout() 592 CURLcode result = CURLE_OK; in wait_or_timeout() [all …]
|
D | openldap.c | 60 static CURLcode ldap_setup_connection(struct connectdata *conn); 61 static CURLcode ldap_do(struct connectdata *conn, bool *done); 62 static CURLcode ldap_done(struct connectdata *conn, CURLcode, bool); 63 static CURLcode ldap_connect(struct connectdata *conn, bool *done); 64 static CURLcode ldap_connecting(struct connectdata *conn, bool *done); 65 static CURLcode ldap_disconnect(struct connectdata *conn, bool dead); 149 static CURLcode ldap_setup_connection(struct connectdata *conn) in ldap_setup_connection() 155 CURLcode status; in ldap_setup_connection() 188 static CURLcode ldap_connect(struct connectdata *conn, bool *done) in ldap_connect() 216 CURLcode result; in ldap_connect() [all …]
|
D | non-ascii.c | 54 CURLcode Curl_convert_clone(struct Curl_easy *data, in Curl_convert_clone() 60 CURLcode result; in Curl_convert_clone() 82 CURLcode Curl_convert_to_network(struct Curl_easy *data, in Curl_convert_to_network() 87 CURLcode result = data->set.convtonetwork(buffer, length); in Curl_convert_to_network() 142 CURLcode Curl_convert_from_network(struct Curl_easy *data, in Curl_convert_from_network() 147 CURLcode result = data->set.convfromnetwork(buffer, length); in Curl_convert_from_network() 202 CURLcode Curl_convert_from_utf8(struct Curl_easy *data, in Curl_convert_from_utf8() 207 CURLcode result = data->set.convfromutf8(buffer, length); in Curl_convert_from_utf8() 317 CURLcode Curl_convert_form(struct Curl_easy *data, struct FormData *form) in Curl_convert_form() 319 CURLcode result; in Curl_convert_form()
|
D | hostip.h | 148 CURLcode Curl_async_resolved(struct connectdata *conn, 161 CURLcode Curl_addrinfo_callback(struct connectdata *conn, 212 CURLcode Curl_set_dns_servers(struct Curl_easy *data, char *servers); 218 CURLcode Curl_set_dns_interface(struct Curl_easy *data, 225 CURLcode Curl_set_dns_local_ip4(struct Curl_easy *data, 232 CURLcode Curl_set_dns_local_ip6(struct Curl_easy *data, 248 CURLcode Curl_loadhostpairs(struct Curl_easy *data);
|
D | file.c | 84 static CURLcode file_do(struct connectdata *, bool *done); 85 static CURLcode file_done(struct connectdata *conn, 86 CURLcode status, bool premature); 87 static CURLcode file_connect(struct connectdata *conn, bool *done); 88 static CURLcode file_disconnect(struct connectdata *conn, 90 static CURLcode file_setup_connection(struct connectdata *conn); 117 static CURLcode file_setup_connection(struct connectdata *conn) in file_setup_connection() 132 static CURLcode file_range(struct connectdata *conn) in file_range() 186 static CURLcode file_connect(struct connectdata *conn, bool *done) in file_connect() 260 static CURLcode file_done(struct connectdata *conn, in file_done() [all …]
|
D | rtsp.c | 60 static CURLcode rtsp_do(struct connectdata *conn, bool *done); 61 static CURLcode rtsp_done(struct connectdata *conn, CURLcode, bool premature); 62 static CURLcode rtsp_connect(struct connectdata *conn, bool *done); 63 static CURLcode rtsp_disconnect(struct connectdata *conn, bool dead); 76 static CURLcode rtsp_rtp_readwrite(struct Curl_easy *data, 81 static CURLcode rtsp_setup_connection(struct connectdata *conn); 98 CURLcode rtp_client_write(struct connectdata *conn, char *ptr, size_t len); 125 static CURLcode rtsp_setup_connection(struct connectdata *conn) in rtsp_setup_connection() 170 static CURLcode rtsp_connect(struct connectdata *conn, bool *done) in rtsp_connect() 172 CURLcode httpStatus; in rtsp_connect() [all …]
|
/external/libbrillo/brillo/http/ |
D | curl_api.h | 31 virtual CURLcode EasySetOptInt(CURL* curl, CURLoption option, int value) = 0; 32 virtual CURLcode EasySetOptStr(CURL* curl, 35 virtual CURLcode EasySetOptPtr(CURL* curl, 38 virtual CURLcode EasySetOptCallback(CURL* curl, 41 virtual CURLcode EasySetOptOffT(CURL* curl, 47 inline CURLcode EasySetOptCallback(CURL* curl, in EasySetOptCallback() 55 virtual CURLcode EasyPerform(CURL* curl) = 0; 58 virtual CURLcode EasyGetInfoInt(CURL* curl, 61 virtual CURLcode EasyGetInfoDbl(CURL* curl, 64 virtual CURLcode EasyGetInfoStr(CURL* curl, [all …]
|
D | mock_curl_api.h | 25 MOCK_METHOD3(EasySetOptInt, CURLcode(CURL*, CURLoption, int)); 26 MOCK_METHOD3(EasySetOptStr, CURLcode(CURL*, CURLoption, const std::string&)); 27 MOCK_METHOD3(EasySetOptPtr, CURLcode(CURL*, CURLoption, void*)); 28 MOCK_METHOD3(EasySetOptCallback, CURLcode(CURL*, CURLoption, intptr_t)); 29 MOCK_METHOD3(EasySetOptOffT, CURLcode(CURL*, CURLoption, curl_off_t)); 30 MOCK_METHOD1(EasyPerform, CURLcode(CURL*)); 31 MOCK_CONST_METHOD3(EasyGetInfoInt, CURLcode(CURL*, CURLINFO, int*)); 32 MOCK_CONST_METHOD3(EasyGetInfoDbl, CURLcode(CURL*, CURLINFO, double*)); 33 MOCK_CONST_METHOD3(EasyGetInfoStr, CURLcode(CURL*, CURLINFO, std::string*)); 34 MOCK_CONST_METHOD3(EasyGetInfoPtr, CURLcode(CURL*, CURLINFO, void**)); [all …]
|
D | curl_api.cc | 43 CURLcode CurlApi::EasySetOptInt(CURL* curl, CURLoption option, int value) { in EasySetOptInt() 52 CURLcode CurlApi::EasySetOptStr(CURL* curl, in EasySetOptStr() 60 CURLcode CurlApi::EasySetOptPtr(CURL* curl, CURLoption option, void* value) { in EasySetOptPtr() 66 CURLcode CurlApi::EasySetOptCallback(CURL* curl, in EasySetOptCallback() 74 CURLcode CurlApi::EasySetOptOffT(CURL* curl, in EasySetOptOffT() 82 CURLcode CurlApi::EasyPerform(CURL* curl) { in EasyPerform() 86 CURLcode CurlApi::EasyGetInfoInt(CURL* curl, CURLINFO info, int* value) const { in EasyGetInfoInt() 89 CURLcode code = curl_easy_getinfo(curl, info, &data); in EasyGetInfoInt() 95 CURLcode CurlApi::EasyGetInfoDbl(CURL* curl, in EasyGetInfoDbl() 102 CURLcode CurlApi::EasyGetInfoStr(CURL* curl, in EasyGetInfoStr() [all …]
|
/external/curl/lib/vauth/ |
D | vauth.h | 59 CURLcode Curl_auth_create_plain_message(struct Curl_easy *data, 65 CURLcode Curl_auth_create_login_message(struct Curl_easy *data, 70 CURLcode Curl_auth_create_external_message(struct Curl_easy *data, 76 CURLcode Curl_auth_decode_cram_md5_message(const char *chlg64, char **outptr, 80 CURLcode Curl_auth_create_cram_md5_message(struct Curl_easy *data, 87 CURLcode Curl_auth_create_digest_md5_message(struct Curl_easy *data, 95 CURLcode Curl_auth_decode_digest_http_message(const char *chlg, 99 CURLcode Curl_auth_create_digest_http_message(struct Curl_easy *data, 113 CURLcode Curl_auth_create_ntlm_type1_message(const char *userp, 120 CURLcode Curl_auth_decode_ntlm_type2_message(struct Curl_easy *data, [all …]
|
/external/curl/lib/vtls/ |
D | vtls.h | 66 CURLcode Curl_ssl_connect(struct connectdata *conn, int sockindex); 67 CURLcode Curl_ssl_connect_nonblocking(struct connectdata *conn, 74 CURLcode Curl_ssl_shutdown(struct connectdata *conn, int sockindex); 75 CURLcode Curl_ssl_set_engine(struct Curl_easy *data, const char *engine); 77 CURLcode Curl_ssl_set_engine_default(struct Curl_easy *data); 81 CURLcode Curl_ssl_initsessions(struct Curl_easy *, size_t); 90 CURLcode Curl_ssl_init_certinfo(struct Curl_easy * data, int num); 91 CURLcode Curl_ssl_push_certinfo_len(struct Curl_easy * data, int certnum, 94 CURLcode Curl_ssl_push_certinfo(struct Curl_easy * data, int certnum, 125 CURLcode Curl_ssl_addsessionid(struct connectdata *conn, [all …]
|
/external/curl/src/ |
D | tool_easysrc.h | 38 extern CURLcode easysrc_init(void); 39 extern CURLcode easysrc_add(struct slist_wc **plist, const char *bupf); 40 extern CURLcode easysrc_addf(struct slist_wc **plist, 42 extern CURLcode easysrc_perform(void); 43 extern CURLcode easysrc_cleanup(void);
|