Home
last modified time | relevance | path

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

12345678910>>...13

/external/curl/src/
Dtool_writeout.c146 if((CURLE_OK == in ourWriteOut()
152 if(CURLE_OK == in ourWriteOut()
157 if(CURLE_OK == in ourWriteOut()
163 if(CURLE_OK == in ourWriteOut()
168 if(CURLE_OK == in ourWriteOut()
173 if(CURLE_OK == in ourWriteOut()
178 if(CURLE_OK == in ourWriteOut()
183 if(CURLE_OK == in ourWriteOut()
189 if(CURLE_OK == in ourWriteOut()
194 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()
87 .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.cc136 if (code == CURLE_OK) { in CreateConnection()
140 if (code == CURLE_OK) { in CreateConnection()
144 if (code == CURLE_OK) { in CreateConnection()
148 if (code == CURLE_OK && !user_agent.empty()) { in CreateConnection()
152 if (code == CURLE_OK && !referer.empty()) { in CreateConnection()
156 if (code == CURLE_OK && !proxy_.empty()) { in CreateConnection()
159 if (code == CURLE_OK) { in CreateConnection()
168 if (code == CURLE_OK && !ip_address_.empty()) { in CreateConnection()
174 if (code == CURLE_OK) { in CreateConnection()
184 if (code == CURLE_OK) { in CreateConnection()
[all …]
/external/curl/tests/unit/
Dunit1302.c33 int res = CURLE_OK; in unit_setup()
57 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK");
63 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK");
69 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK");
75 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK");
81 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK");
87 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK");
93 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK");
100 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK");
106 fail_unless(rc == CURLE_OK, "return code should be CURLE_OK");
[all …]
Dunit1620.c31 return CURLE_OK; in unit_setup()
49 fail_unless(rc == CURLE_OK, "Curl_open() failed");
64 fail_unless(rc == CURLE_OK, "Curl_userdefined() failed");
67 fail_unless(rc == CURLE_OK, "Curl_init_do() failed");
71 fail_unless(rc == CURLE_OK,
75 fail_unless(rc == CURLE_OK,
87 fail_unless(rc == CURLE_OK, "Curl_close() failed");
/external/curl/tests/libtest/
Dlib1156.c49 { 0, CURLE_OK },
50 { F_CONTENTRANGE, CURLE_OK },
51 { F_FAIL, CURLE_OK },
52 { F_FAIL | F_CONTENTRANGE, CURLE_OK },
53 { F_HTTP416, CURLE_OK },
54 { F_HTTP416 | F_CONTENTRANGE, CURLE_OK },
61 { F_RESUME | F_CONTENTRANGE, CURLE_OK },
64 { F_RESUME | F_FAIL | F_CONTENTRANGE, CURLE_OK },
65 { F_RESUME | F_HTTP416 | F_IGNOREBODY, CURLE_OK },
66 { F_RESUME | F_HTTP416 | F_CONTENTRANGE | F_IGNOREBODY, CURLE_OK },
[all …]
Dlibauthretry.c97 if(curl_global_init(CURL_GLOBAL_ALL) != CURLE_OK) { in test()
112 if(res != CURLE_OK) in test()
116 if(res != CURLE_OK) in test()
130 if(res != CURLE_OK) in test()
134 if(res != CURLE_OK) in test()
138 if(res != CURLE_OK) in test()
/external/curl/lib/
Dpop3.c317 CURLcode result = CURLE_OK; in pop3_perform_capa()
341 CURLcode result = CURLE_OK; in pop3_perform_starttls()
360 CURLcode result = CURLE_OK; in pop3_perform_upgrade_tls()
387 CURLcode result = CURLE_OK; in pop3_perform_user()
415 CURLcode result = CURLE_OK; in pop3_perform_apop()
468 CURLcode result = CURLE_OK; in pop3_perform_auth()
507 CURLcode result = CURLE_OK; in pop3_perform_authentication()
555 CURLcode result = CURLE_OK; in pop3_perform_command()
595 CURLcode result = CURLE_OK; in pop3_perform_quit()
611 CURLcode result = CURLE_OK; in pop3_state_servergreet_resp()
[all …]
Dsmtp.c312 CURLcode result = CURLE_OK; in smtp_perform_ehlo()
338 CURLcode result = CURLE_OK; in smtp_perform_helo()
361 CURLcode result = CURLE_OK; in smtp_perform_starttls()
380 CURLcode result = CURLE_OK; in smtp_perform_upgrade_tls()
410 CURLcode result = CURLE_OK; in smtp_perform_auth()
447 CURLcode result = CURLE_OK; in smtp_perform_authentication()
483 CURLcode result = CURLE_OK; in smtp_perform_command()
515 CURLcode result = CURLE_OK; in smtp_perform_mail()
622 CURLcode result = CURLE_OK; in smtp_perform_rcpt_to()
647 CURLcode result = CURLE_OK; in smtp_perform_quit()
[all …]
Dimap.c423 CURLcode result = CURLE_OK; in imap_perform_capability()
446 CURLcode result = CURLE_OK; in imap_perform_starttls()
465 CURLcode result = CURLE_OK; in imap_perform_upgrade_tls()
492 CURLcode result = CURLE_OK; in imap_perform_login()
532 CURLcode result = CURLE_OK; in imap_perform_authenticate()
570 CURLcode result = CURLE_OK; in imap_perform_authentication()
609 CURLcode result = CURLE_OK; in imap_perform_list()
644 CURLcode result = CURLE_OK; in imap_perform_select()
684 CURLcode result = CURLE_OK; in imap_perform_fetch()
731 CURLcode result = CURLE_OK; in imap_perform_append()
[all …]
Daltsvc.c170 return CURLE_OK; in altsvc_add()
184 CURLcode result = CURLE_OK; in altsvc_load()
234 return CURLE_OK; in altsvc_out()
284 return CURLE_OK; in Curl_altsvc_ctrl()
312 CURLcode result = CURLE_OK; in Curl_altsvc_save()
317 return CURLE_OK; in Curl_altsvc_save()
321 return CURLE_OK; in Curl_altsvc_save()
356 return CURLE_OK; in getalnum()
429 return CURLE_OK; in Curl_altsvc_parse()
468 return CURLE_OK; in Curl_altsvc_parse()
[all …]
Dcontent_encoding.c128 if(inflateEnd(z) != Z_OK && result == CURLE_OK) in exit_zlib()
139 CURLcode result = CURLE_OK; in process_trailer()
167 CURLcode result = CURLE_OK; /* Curl_client_write status */ in inflate_stream()
277 return CURLE_OK; in deflate_init_writer()
304 exit_zlib(conn, z, &zp->zlib_init, CURLE_OK); in deflate_close_writer()
347 return CURLE_OK; in gzip_init_writer()
495 return CURLE_OK; in gzip_unencode_write()
529 return CURLE_OK; in gzip_unencode_write()
554 return CURLE_OK; in gzip_unencode_write()
568 exit_zlib(conn, z, &zp->zlib_init, CURLE_OK); in gzip_close_writer()
[all …]
Dnon-ascii.h52 #define Curl_convert_clone(a,b,c,d) ((void)a, CURLE_OK)
56 #define Curl_convert_to_network(a,b,c) ((void)a, CURLE_OK)
57 #define Curl_convert_from_network(a,b,c) ((void)a, CURLE_OK)
58 #define Curl_convert_from_utf8(a,b,c) ((void)a, CURLE_OK)
Dftp.c326 return CURLE_OK; in AcceptServerConnect()
436 return CURLE_OK; in ReceivedServerConnect()
451 CURLcode result = CURLE_OK; in InitiateTransfer()
481 return CURLE_OK; in InitiateTransfer()
497 CURLcode result = CURLE_OK; in AllowServerConnect()
568 CURLcode result = CURLE_OK; in ftp_readresp()
635 CURLcode result = CURLE_OK; in Curl_GetFTPResponse()
800 return CURLE_OK; in ftp_state_user()
811 return CURLE_OK; in ftp_state_pwd()
873 CURLcode result = CURLE_OK; in ftp_state_cwd()
[all …]
/external/curl/lib/vtls/
Dgskit.c183 return CURLE_OK; in gskit_status()
226 return CURLE_OK; in set_enum()
248 return CURLE_OK; in set_buffer()
270 return CURLE_OK; in set_numeric()
290 return CURLE_OK; in set_callback()
321 return CURLE_OK; in set_ciphers()
325 return CURLE_OK; in set_ciphers()
345 result = CURLE_OK; in set_ciphers()
389 result = CURLE_OK; in set_ciphers()
400 result = CURLE_OK; in set_ciphers()
[all …]
Dnss.c434 return CURLE_OK; in insert_wrapped_ptr()
489 if(insert_wrapped_ptr(&BACKEND->obj_list, obj) != CURLE_OK) { in nss_create_object()
498 return CURLE_OK; in nss_create_object()
569 return CURLE_OK; in nss_cache_crl()
576 if(insert_wrapped_ptr(&nss_crl_list, crl_der) != CURLE_OK) { in nss_cache_crl()
591 return CURLE_OK; in nss_cache_crl()
688 return (SECSuccess == status) ? CURLE_OK : CURLE_SSL_CERTPROBLEM; in nss_load_key()
743 return CURLE_OK; in cert_stuff()
939 CURLcode result = CURLE_OK; in display_conn_info()
1076 return CURLE_OK; in cmp_peer_pubkey()
[all …]
Dschannel_verify.c152 result = CURLE_OK; in add_certs_to_store()
178 if(result != CURLE_OK) { in add_certs_to_store()
268 if(result == CURLE_OK) { in add_certs_to_store()
378 result = CURLE_OK; in verify_host()
406 else if(result != CURLE_OK) in verify_host()
420 CURLcode result = CURLE_OK; in Curl_verify_certificate()
441 if(result == CURLE_OK && SSL_CONN_CONFIG(CAfile) && in Curl_verify_certificate()
472 if(result == CURLE_OK) { in Curl_verify_certificate()
498 if(result == CURLE_OK) { in Curl_verify_certificate()
520 if(result == CURLE_OK) { in Curl_verify_certificate()
[all …]
Dgtls.c321 return CURLE_OK; in handshake()
370 return CURLE_OK; in handshake()
427 return CURLE_OK; in set_ssl_version_min_max()
450 return CURLE_OK; in set_ssl_version_min_max()
454 return CURLE_OK; in set_ssl_version_min_max()
458 return CURLE_OK; in set_ssl_version_min_max()
462 return CURLE_OK; in set_ssl_version_min_max()
466 return CURLE_OK; in set_ssl_version_min_max()
470 return CURLE_OK; in set_ssl_version_min_max()
475 return CURLE_OK; in set_ssl_version_min_max()
[all …]
Dmbedtls.c180 return CURLE_OK; in mbedtls_version_from_curl()
183 return CURLE_OK; in mbedtls_version_from_curl()
186 return CURLE_OK; in mbedtls_version_from_curl()
202 CURLcode result = CURLE_OK; in set_ssl_version_min_max()
418 if(result != CURLE_OK) in mbed_connect_step1()
527 return CURLE_OK; in mbed_connect_step1()
556 return CURLE_OK; in mbed_connect_step2()
560 return CURLE_OK; in mbed_connect_step2()
693 return CURLE_OK; in mbed_connect_step2()
700 CURLcode retcode = CURLE_OK; in mbed_connect_step3()
[all …]
Dpolarssl.c160 return CURLE_OK; in polarssl_version_from_curl()
163 return CURLE_OK; in polarssl_version_from_curl()
166 return CURLE_OK; in polarssl_version_from_curl()
182 CURLcode result = CURLE_OK; in set_ssl_version_min_max()
366 if(result != CURLE_OK) in polarssl_connect_step1()
446 return CURLE_OK; in polarssl_connect_step1()
476 return CURLE_OK; in polarssl_connect_step2()
480 return CURLE_OK; in polarssl_connect_step2()
602 return CURLE_OK; in polarssl_connect_step2()
609 CURLcode retcode = CURLE_OK; in polarssl_connect_step3()
[all …]
/external/curl/docs/examples/
Dchkspeed.c167 if(CURLE_OK == res) { in main()
172 if((CURLE_OK == res) && (val>0)) in main()
177 if((CURLE_OK == res) && (val>0)) in main()
183 if((CURLE_OK == res) && (val>0)) in main()
190 if((CURLE_OK == res) && (val>0)) in main()
196 if((CURLE_OK == res) && (val>0)) in main()
Dcookie_interface.c45 if(res != CURLE_OK) { in print_cookies()
78 if(res != CURLE_OK) { in main()
101 if(res != CURLE_OK) { in main()
117 if(res != CURLE_OK) { in main()
126 if(res != CURLE_OK) { in main()
Drtsp.c66 if(res != CURLE_OK) \
72 if(res != CURLE_OK) \
79 CURLcode res = CURLE_OK; in rtsp_options()
91 CURLcode res = CURLE_OK; in rtsp_describe()
113 CURLcode res = CURLE_OK; in rtsp_setup()
126 CURLcode res = CURLE_OK; in rtsp_play()
141 CURLcode res = CURLE_OK; in rtsp_teardown()
232 if(res == CURLE_OK) { in main()
Dhtmltitle.cpp99 if(code != CURLE_OK) { in init()
105 if(code != CURLE_OK) { in init()
111 if(code != CURLE_OK) { in init()
117 if(code != CURLE_OK) { in init()
123 if(code != CURLE_OK) { in init()
282 if(code != CURLE_OK) { in main()

12345678910>>...13