Home
last modified time | relevance | path

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

12345678910>>...14

/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()
384 CURLcode result = CURLE_OK; in pop3_perform_user()
412 CURLcode result = CURLE_OK; in pop3_perform_apop()
465 CURLcode result = CURLE_OK; in pop3_perform_auth()
504 CURLcode result = CURLE_OK; in pop3_perform_authentication()
552 CURLcode result = CURLE_OK; in pop3_perform_command()
606 CURLcode result = CURLE_OK; in pop3_state_servergreet_resp()
665 CURLcode result = CURLE_OK; in pop3_state_capa_resp()
756 CURLcode result = CURLE_OK; in pop3_state_starttls_resp()
780 CURLcode result = CURLE_OK; in pop3_state_auth_resp()
[all …]
Dsmtp.c312 CURLcode result = CURLE_OK; in smtp_perform_ehlo()
338 CURLcode result = CURLE_OK; in smtp_perform_helo()
407 CURLcode result = CURLE_OK; in smtp_perform_auth()
444 CURLcode result = CURLE_OK; in smtp_perform_authentication()
480 CURLcode result = CURLE_OK; in smtp_perform_command()
512 CURLcode result = CURLE_OK; in smtp_perform_mail()
619 CURLcode result = CURLE_OK; in smtp_perform_rcpt_to()
658 CURLcode result = CURLE_OK; in smtp_state_servergreet_resp()
678 CURLcode result = CURLE_OK; in smtp_state_starttls_resp()
701 CURLcode result = CURLE_OK; in smtp_state_ehlo_resp()
[all …]
Dimap.c423 CURLcode result = CURLE_OK; in imap_perform_capability()
489 CURLcode result = CURLE_OK; in imap_perform_login()
529 CURLcode result = CURLE_OK; in imap_perform_authenticate()
567 CURLcode result = CURLE_OK; in imap_perform_authentication()
606 CURLcode result = CURLE_OK; in imap_perform_list()
641 CURLcode result = CURLE_OK; in imap_perform_select()
681 CURLcode result = CURLE_OK; in imap_perform_fetch()
728 CURLcode result = CURLE_OK; in imap_perform_append()
799 CURLcode result = CURLE_OK; in imap_perform_search()
861 CURLcode result = CURLE_OK; in imap_state_capability_resp()
[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)
Daltsvc.c175 return CURLE_OK; in altsvc_add()
189 CURLcode result = CURLE_OK; in altsvc_load()
239 return CURLE_OK; in altsvc_out()
288 return CURLE_OK; in Curl_altsvc_ctrl()
316 CURLcode result = CURLE_OK; in Curl_altsvc_save()
321 return CURLE_OK; in Curl_altsvc_save()
325 return CURLE_OK; in Curl_altsvc_save()
360 return CURLE_OK; in getalnum()
432 return CURLE_OK; in Curl_altsvc_parse()
481 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 …]
/external/curl/docs/examples/
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()
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()
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()
Dimap-store.c40 CURLcode res = CURLE_OK; in main()
60 if(res != CURLE_OK) in main()
72 if(res != CURLE_OK) in main()
/external/curl/lib/vtls/
Dgskit.c185 return CURLE_OK; in gskit_status()
228 return CURLE_OK; in set_enum()
250 return CURLE_OK; in set_buffer()
272 return CURLE_OK; in set_numeric()
292 return CURLE_OK; in set_callback()
323 return CURLE_OK; in set_ciphers()
327 return CURLE_OK; in set_ciphers()
347 result = CURLE_OK; in set_ciphers()
391 result = CURLE_OK; in set_ciphers()
402 result = CURLE_OK; in set_ciphers()
[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 …]
Dnss.c443 return CURLE_OK; in insert_wrapped_ptr()
498 if(insert_wrapped_ptr(&BACKEND->obj_list, obj) != CURLE_OK) { in nss_create_object()
507 return CURLE_OK; in nss_create_object()
578 return CURLE_OK; in nss_cache_crl()
592 if(insert_wrapped_ptr(&nss_crl_list, crl_der) != CURLE_OK) { in nss_cache_crl()
602 return CURLE_OK; in nss_cache_crl()
702 return (SECSuccess == status) ? CURLE_OK : CURLE_SSL_CERTPROBLEM; in nss_load_key()
757 return CURLE_OK; in cert_stuff()
955 CURLcode result = CURLE_OK; in display_conn_info()
1092 return CURLE_OK; in cmp_peer_pubkey()
[all …]
Dgtls.c322 return CURLE_OK; in handshake()
371 return CURLE_OK; in handshake()
428 return CURLE_OK; in set_ssl_version_min_max()
451 return CURLE_OK; in set_ssl_version_min_max()
455 return CURLE_OK; in set_ssl_version_min_max()
459 return CURLE_OK; in set_ssl_version_min_max()
463 return CURLE_OK; in set_ssl_version_min_max()
467 return CURLE_OK; in set_ssl_version_min_max()
471 return CURLE_OK; in set_ssl_version_min_max()
476 return CURLE_OK; in set_ssl_version_min_max()
[all …]
Dmbedtls.c181 return CURLE_OK; in mbedtls_version_from_curl()
184 return CURLE_OK; in mbedtls_version_from_curl()
187 return CURLE_OK; in mbedtls_version_from_curl()
203 CURLcode result = CURLE_OK; in set_ssl_version_min_max()
420 if(result != CURLE_OK) in mbed_connect_step1()
529 return CURLE_OK; in mbed_connect_step1()
551 return CURLE_OK; in mbed_connect_step2()
555 return CURLE_OK; in mbed_connect_step2()
695 return CURLE_OK; in mbed_connect_step2()
702 CURLcode retcode = CURLE_OK; in mbed_connect_step3()
[all …]
Dpolarssl.c161 return CURLE_OK; in polarssl_version_from_curl()
164 return CURLE_OK; in polarssl_version_from_curl()
167 return CURLE_OK; in polarssl_version_from_curl()
183 CURLcode result = CURLE_OK; in set_ssl_version_min_max()
367 if(result != CURLE_OK) in polarssl_connect_step1()
447 return CURLE_OK; in polarssl_connect_step1()
477 return CURLE_OK; in polarssl_connect_step2()
481 return CURLE_OK; in polarssl_connect_step2()
605 return CURLE_OK; in polarssl_connect_step2()
612 CURLcode retcode = CURLE_OK; in polarssl_connect_step3()
[all …]

12345678910>>...14