Home
last modified time | relevance | path

Searched refs:CURLE_OK (Results 1 – 25 of 278) sorted by relevance

12345678910>>...12

/external/curl/src/
Dtool_writeout.c131 if((CURLE_OK == in ourWriteOut()
137 if(CURLE_OK == in ourWriteOut()
142 if(CURLE_OK == in ourWriteOut()
148 if(CURLE_OK == in ourWriteOut()
153 if(CURLE_OK == in ourWriteOut()
158 if(CURLE_OK == in ourWriteOut()
163 if(CURLE_OK == in ourWriteOut()
168 if(CURLE_OK == in ourWriteOut()
174 if(CURLE_OK == in ourWriteOut()
179 if(CURLE_OK == in ourWriteOut()
[all …]
/external/libbrillo/brillo/http/
Dhttp_transport_curl_unittest.cc37 .WillOnce(Return(CURLE_OK)); in SetUp()
39 .WillOnce(Return(CURLE_OK)); in SetUp()
41 .WillOnce(Return(CURLE_OK)); in SetUp()
43 .WillRepeatedly(Return(CURLE_OK)); in SetUp()
60 .WillOnce(Return(CURLE_OK)); in TEST_F()
63 .WillOnce(Return(CURLE_OK)); in TEST_F()
66 .WillOnce(Return(CURLE_OK)); in TEST_F()
68 .WillOnce(Return(CURLE_OK)); in TEST_F()
84 .WillOnce(Return(CURLE_OK)); in TEST_F()
86 .WillOnce(Return(CURLE_OK)); in TEST_F()
[all …]
Dhttp_connection_curl_unittest.cc94 if (code != CURLE_OK) in DoPerform()
116 return CURLE_OK; in WriteString()
156 .WillOnce(Return(CURLE_OK)); in SetUp()
186 .WillOnce(Return(CURLE_OK)); in TEST_F()
188 .WillOnce(Return(CURLE_OK)); in TEST_F()
194 .WillOnce(Return(CURLE_OK)); in TEST_F()
197 .WillOnce(Return(CURLE_OK)); in TEST_F()
199 .WillOnce(Return(CURLE_OK)); in TEST_F()
202 .WillOnce(Return(CURLE_OK)); in TEST_F()
205 .WillOnce(Return(CURLE_OK)); in TEST_F()
[all …]
Dhttp_transport_curl.cc135 if (code == CURLE_OK) { in CreateConnection()
139 if (code == CURLE_OK) { in CreateConnection()
143 if (code == CURLE_OK) { in CreateConnection()
147 if (code == CURLE_OK && !user_agent.empty()) { in CreateConnection()
151 if (code == CURLE_OK && !referer.empty()) { in CreateConnection()
155 if (code == CURLE_OK && !proxy_.empty()) { in CreateConnection()
158 if (code == CURLE_OK) { in CreateConnection()
169 if (code == CURLE_OK) { in CreateConnection()
179 if (code == CURLE_OK) { in CreateConnection()
183 if (code == CURLE_OK && method != request_type::kPost) { in CreateConnection()
[all …]
/external/curl/tests/unit/
Dunit1302.c36 return CURLE_OK; in unit_setup()
53 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK");
59 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK");
65 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK");
71 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK");
77 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK");
83 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK");
89 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK");
96 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK");
102 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK");
[all …]
/external/libweave/examples/provider/
Dcurl_http_client.cc70 CHECK_EQ(CURLE_OK, curl_easy_setopt(curl.get(), CURLOPT_HTTPGET, 1L)); in SendRequestBlocking()
73 CHECK_EQ(CURLE_OK, curl_easy_setopt(curl.get(), CURLOPT_HTTPPOST, 1L)); in SendRequestBlocking()
77 CHECK_EQ(CURLE_OK, curl_easy_setopt(curl.get(), CURLOPT_CUSTOMREQUEST, in SendRequestBlocking()
82 CHECK_EQ(CURLE_OK, curl_easy_setopt(curl.get(), CURLOPT_URL, url.c_str())); in SendRequestBlocking()
88 CHECK_EQ(CURLE_OK, curl_easy_setopt(curl.get(), CURLOPT_HTTPHEADER, chunk)); in SendRequestBlocking()
91 CHECK_EQ(CURLE_OK, in SendRequestBlocking()
96 CHECK_EQ(CURLE_OK, in SendRequestBlocking()
98 CHECK_EQ(CURLE_OK, in SendRequestBlocking()
100 CHECK_EQ(CURLE_OK, curl_easy_setopt(curl.get(), CURLOPT_HEADERFUNCTION, in SendRequestBlocking()
103 CHECK_EQ(CURLE_OK, in SendRequestBlocking()
[all …]
/external/curl/lib/
Dpop3.c349 CURLcode result = CURLE_OK; in pop3_perform_capa()
373 CURLcode result = CURLE_OK; in pop3_perform_starttls()
392 CURLcode result = CURLE_OK; in pop3_perform_upgrade_tls()
419 CURLcode result = CURLE_OK; in pop3_perform_user()
447 CURLcode result = CURLE_OK; in pop3_perform_apop()
500 CURLcode result = CURLE_OK; in pop3_perform_auth()
539 CURLcode result = CURLE_OK; in pop3_perform_authentication()
587 CURLcode result = CURLE_OK; in pop3_perform_command()
627 CURLcode result = CURLE_OK; in pop3_perform_quit()
643 CURLcode result = CURLE_OK; in pop3_state_servergreet_resp()
[all …]
Dnon-ascii.h53 #define Curl_convert_clone(a,b,c,d) ((void)a, CURLE_OK)
57 #define Curl_convert_to_network(a,b,c) ((void)a, CURLE_OK)
58 #define Curl_convert_from_network(a,b,c) ((void)a, CURLE_OK)
59 #define Curl_convert_from_utf8(a,b,c) ((void)a, CURLE_OK)
60 #define Curl_convert_form(a,b) CURLE_OK
Dsmtp.c347 CURLcode result = CURLE_OK; in smtp_perform_ehlo()
373 CURLcode result = CURLE_OK; in smtp_perform_helo()
396 CURLcode result = CURLE_OK; in smtp_perform_starttls()
415 CURLcode result = CURLE_OK; in smtp_perform_upgrade_tls()
445 CURLcode result = CURLE_OK; in smtp_perform_auth()
482 CURLcode result = CURLE_OK; in smtp_perform_authentication()
518 CURLcode result = CURLE_OK; in smtp_perform_command()
550 CURLcode result = CURLE_OK; in smtp_perform_mail()
625 CURLcode result = CURLE_OK; in smtp_perform_rcpt_to()
650 CURLcode result = CURLE_OK; in smtp_perform_quit()
[all …]
Dimap.c460 CURLcode result = CURLE_OK; in imap_perform_capability()
484 CURLcode result = CURLE_OK; in imap_perform_starttls()
503 CURLcode result = CURLE_OK; in imap_perform_upgrade_tls()
530 CURLcode result = CURLE_OK; in imap_perform_login()
570 CURLcode result = CURLE_OK; in imap_perform_authenticate()
608 CURLcode result = CURLE_OK; in imap_perform_authentication()
646 CURLcode result = CURLE_OK; in imap_perform_list()
681 CURLcode result = CURLE_OK; in imap_perform_select()
721 CURLcode result = CURLE_OK; in imap_perform_fetch()
755 CURLcode result = CURLE_OK; in imap_perform_append()
[all …]
Dsendf.c174 CURLcode result = CURLE_OK; in Curl_sendf()
227 CURLcode result = CURLE_OK; in Curl_write()
235 return CURLE_OK; in Curl_write()
241 return CURLE_OK; in Curl_write()
243 case CURLE_OK: in Curl_write()
259 *code = CURLE_OK; in Curl_send_plain()
316 *code = CURLE_OK; in Curl_recv_plain()
370 return CURLE_OK; in pausewrite()
388 return CURLE_OK; in Curl_client_chop_write()
413 return CURLE_OK; in Curl_client_chop_write()
[all …]
Dftp.c363 return CURLE_OK; in AcceptServerConnect()
473 return CURLE_OK; in ReceivedServerConnect()
489 CURLcode result = CURLE_OK; in InitiateTransfer()
524 return CURLE_OK; in InitiateTransfer()
540 CURLcode result = CURLE_OK; in AllowServerConnect()
613 CURLcode result = CURLE_OK; in ftp_readresp()
682 CURLcode result = CURLE_OK; in Curl_GetFTPResponse()
846 return CURLE_OK; in ftp_state_user()
857 return CURLE_OK; in ftp_state_pwd()
920 CURLcode result = CURLE_OK; in ftp_state_cwd()
[all …]
Dsmb.c283 return CURLE_OK; in smb_connect()
301 return CURLE_OK; in smb_recv_message()
307 return CURLE_OK; in smb_recv_message()
312 return CURLE_OK; in smb_recv_message()
329 return CURLE_OK; in smb_recv_message()
379 return CURLE_OK; in smb_send()
390 return CURLE_OK; in smb_flush()
403 return CURLE_OK; in smb_flush()
610 return CURLE_OK; in smb_send_and_recv()
647 return CURLE_OK; in smb_connection_state()
[all …]
Dasyn-ares.c108 return CURLE_OK; in Curl_resolver_global_init()
140 return CURLE_OK; in Curl_resolver_init()
169 return CURLE_OK; in Curl_resolver_duphandle()
315 CURLcode result = CURLE_OK; in Curl_resolver_is_resolved()
355 CURLcode result = CURLE_OK; in Curl_resolver_wait_resolv()
599 return CURLE_OK; in Curl_set_dns_servers()
605 result = CURLE_OK; in Curl_set_dns_servers()
633 return CURLE_OK; in Curl_set_dns_interface()
658 return CURLE_OK; in Curl_set_dns_local_ip4()
684 return CURLE_OK; in Curl_set_dns_local_ip6()
/external/curl/lib/vtls/
Dgskit.c173 return CURLE_OK; in gskit_status()
216 return CURLE_OK; in set_enum()
238 return CURLE_OK; in set_buffer()
260 return CURLE_OK; in set_numeric()
280 return CURLE_OK; in set_callback()
310 return CURLE_OK; in set_ciphers()
314 return CURLE_OK; in set_ciphers()
334 result = CURLE_OK; in set_ciphers()
378 result = CURLE_OK; in set_ciphers()
389 result = CURLE_OK; in set_ciphers()
[all …]
Daxtls.c159 return CURLE_OK; in connect_prep()
272 return CURLE_OK; in connect_prep()
385 != CURLE_OK) in connect_finish()
388 return CURLE_OK; in connect_finish()
409 if(conn_step != CURLE_OK) { in Curl_axtls_connect_nonblocking()
429 return CURLE_OK; in Curl_axtls_connect_nonblocking()
438 if(conn_step != CURLE_OK) { in Curl_axtls_connect_nonblocking()
447 return CURLE_OK; in Curl_axtls_connect_nonblocking()
473 if(conn_step != CURLE_OK) { in Curl_axtls_connect()
501 if(conn_step != CURLE_OK) { in Curl_axtls_connect()
[all …]
Dschannel.c262 if((result != CURLE_OK) || (outbuf.cbBuffer != (size_t) written)) { in schannel_connect_step1()
271 connssl->recv_unrecoverable_err = CURLE_OK; in schannel_connect_step1()
278 return CURLE_OK; in schannel_connect_step1()
362 return CURLE_OK; in schannel_connect_step2()
364 else if((result != CURLE_OK) || (nread == 0)) { in schannel_connect_step2()
418 return CURLE_OK; in schannel_connect_step2()
429 return CURLE_OK; in schannel_connect_step2()
444 if((result != CURLE_OK) || in schannel_connect_step2()
503 return CURLE_OK; in schannel_connect_step2()
519 return CURLE_OK; in schannel_connect_step2()
[all …]
/external/curl/tests/libtest/
Dlibauthretry.c97 if (curl_global_init(CURL_GLOBAL_ALL) != CURLE_OK) { in test()
111 if (res != CURLE_OK) in test()
116 if (res != CURLE_OK) in test()
131 if (res != CURLE_OK) in test()
136 if (res != CURLE_OK) in test()
141 if (res != CURLE_OK) in test()
Dlib512.c37 if(code == CURLE_OK) { in test()
49 if(code == CURLE_OK) { in test()
52 if(code == CURLE_OK) in test()
/external/curl/docs/examples/
Dchkspeed.c148 if(CURLE_OK == res) { in main()
153 if((CURLE_OK == res) && (val>0)) in main()
158 if((CURLE_OK == res) && (val>0)) in main()
163 if((CURLE_OK == res) && (val>0)) in main()
169 if((CURLE_OK == res) && (val>0)) in main()
174 if((CURLE_OK == res) && (val>0)) in main()
Dcookie_interface.c42 if (res != CURLE_OK) { in print_cookies()
73 if (res != CURLE_OK) { in main()
94 if (res != CURLE_OK) { in main()
109 if (res != CURLE_OK) { in main()
117 if (res != CURLE_OK) { in main()
Drtsp.c61 if ((res = curl_easy_setopt((A), (B), (C))) != CURLE_OK) \
66 if ((res = curl_easy_perform((A))) != CURLE_OK) \
73 CURLcode res = CURLE_OK; in rtsp_options()
85 CURLcode res = CURLE_OK; in rtsp_describe()
107 CURLcode res = CURLE_OK; in rtsp_setup()
120 CURLcode res = CURLE_OK; in rtsp_play()
132 CURLcode res = CURLE_OK; in rtsp_teardown()
217 if (res == CURLE_OK) { in main()
Dhtmltitle.cpp99 if (code != CURLE_OK) in init()
107 if (code != CURLE_OK) in init()
115 if (code != CURLE_OK) in init()
123 if (code != CURLE_OK) in init()
131 if (code != CURLE_OK) in init()
297 if (code != CURLE_OK) in main()
Dsendrecv.c76 if(CURLE_OK != res) in main()
88 if(CURLE_OK != res) in main()
108 if(CURLE_OK != res) in main()
123 if(CURLE_OK != res) in main()
Dimap-store.c34 CURLcode res = CURLE_OK; in main()
54 if(res != CURLE_OK) in main()
66 if(res != CURLE_OK) in main()

12345678910>>...12