Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 574) sorted by relevance

12345678910>>...23

/curl/tests/libtest/
H A Dlib1536.c44 if(res) { in test()
46 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
59 if(res) { in test()
61 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
69 if(res) { in test()
71 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
95 if(res) { in test()
97 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
114 if(res) { in test()
116 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
[all …]
H A Dlib1534.c44 if(res) { in test()
46 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
60 if(res) { in test()
62 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
70 if(res) { in test()
72 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
95 if(res) { in test()
97 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
114 if(res) { in test()
116 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
[all …]
H A Dlib1535.c46 if(res) { in test()
48 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
61 if(res) { in test()
63 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
73 if(res) { in test()
75 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
100 if(res) { in test()
102 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
121 if(res) { in test()
123 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
[all …]
H A Dlib643.c119 if(res) in test_once()
141 if(!res) in test_once()
145 if(res) in test_once()
159 if(!res) in test_once()
163 if(res) in test_once()
176 if(!res) in test_once()
180 if(res) in test_once()
192 if(!res) in test_once()
194 if(!res) in test_once()
197 if(res) in test_once()
[all …]
H A Dlib540.c57 if(res) in init()
61 if(res) in init()
65 if(res) in init()
69 if(res) in init()
73 if(res) in init()
77 if(res) in init()
81 if(res) in init()
85 if(res) in init()
89 if(res) in init()
113 if(res) in loop()
[all …]
H A Dlib1532.c34 CURLcode res = CURLE_OK; in test() local
42 res = curl_easy_perform(curl); in test()
43 if(res) { in test()
45 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
50 if(res) { in test()
52 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
58 res = CURLE_HTTP_RETURNED_ERROR; in test()
66 if(res) { in test()
68 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
74 res = CURLE_HTTP_RETURNED_ERROR; in test()
[all …]
H A Dlib1906.c32 CURLcode res = CURLE_OK; in test() local
48 res = curl_easy_perform(curl); in test()
49 if(res != CURLE_COULDNT_CONNECT && res != CURLE_OPERATION_TIMEDOUT) { in test()
52 res, curl_easy_strerror(res), error_buffer); in test()
53 if(res == CURLE_OK) in test()
54 res = TEST_ERR_MAJOR_BAD; /* force an error return */ in test()
57 res = CURLE_OK; /* reset for next use */ in test()
68 res = curl_easy_perform(curl); in test()
69 if(res) in test()
72 res, curl_easy_strerror(res), error_buffer); in test()
[all …]
H A Dlib556.c42 CURLcode res; in test() local
61 res = curl_easy_perform(curl); in test()
63 if(!res) { in test()
76 res = curl_easy_send(curl, sbuf, sblen, &nwritten); in test()
77 if(res && res != CURLE_AGAIN) in test()
86 res = curl_easy_recv(curl, buf, sizeof(buf), &nread); in test()
94 } while((res == CURLE_OK && nread) || (res == CURLE_AGAIN)); in test()
96 if(res && res != CURLE_AGAIN) in test()
97 res = TEST_ERR_FAILURE; in test()
105 return res; in test()
H A Dlib661.c29 CURLcode res; in test() local
42 res = TEST_ERR_MAJOR_BAD; in test()
53 res = curl_easy_perform(curl); in test()
70 res = TEST_ERR_MAJOR_BAD; in test()
107 res = TEST_ERR_MAJOR_BAD; in test()
114 res = TEST_ERR_MAJOR_BAD; in test()
124 if(res) in test()
133 res = TEST_ERR_MAJOR_BAD; in test()
143 if(res) in test()
160 if(res) in test()
[all …]
H A Dlib1558.c32 CURLcode res = CURLE_OK; in test() local
40 res = curl_easy_perform(curl); in test()
41 if(res) { in test()
43 res, curl_easy_strerror(res)); in test()
48 res = curl_easy_getinfo(curl, CURLINFO_PROTOCOL, &protocol); in test()
50 if(res) { in test()
52 res, curl_easy_strerror(res)); in test()
68 return res; /* return the final return code */ in test()
H A Dlib666.c33 CURLcode res = CURLE_OK; in test() local
55 res = TEST_ERR_MAJOR_BAD; in test()
63 res = TEST_ERR_MAJOR_BAD; in test()
69 res = TEST_ERR_MAJOR_BAD; in test()
72 res = curl_mime_name(part, "upfile"); in test()
73 if(res) { in test()
78 if(res) { in test()
83 if(res) { in test()
88 if(res) { in test()
109 res = curl_easy_perform(curl); in test()
[all …]
H A Dlib1542.c42 CURLcode res = CURLE_OK; in test() local
56 res = curl_easy_perform(easy); in test()
57 if(res) in test()
60 res = curl_easy_perform(easy); in test()
61 if(res) in test()
68 res = curl_easy_perform(easy); in test()
69 if(res) in test()
74 res = curl_easy_perform(easy); in test()
75 if(res) in test()
83 return res; in test()
H A Dlib652.c33 CURLcode res = CURLE_OK; in test() local
53 res = TEST_ERR_MAJOR_BAD; in test()
61 res = TEST_ERR_MAJOR_BAD; in test()
67 res = TEST_ERR_MAJOR_BAD; in test()
71 if(res) { in test()
76 if(res) { in test()
81 if(res) { in test()
85 res = curl_mime_encoder(part, "base64"); in test()
86 if(res) { in test()
117 res = curl_easy_perform(curl); in test()
[all …]
H A Dlib570.c35 CURLcode res; in test() local
62 res = TEST_ERR_MAJOR_BAD; in test()
69 res = curl_easy_perform(curl); in test()
72 res = TEST_ERR_MAJOR_BAD; in test()
83 res = TEST_ERR_MAJOR_BAD; in test()
90 res = curl_easy_perform(curl); in test()
91 if(res) in test()
98 res = TEST_ERR_MAJOR_BAD; in test()
107 res = CURLE_OK; in test()
111 res = (CURLcode)1; in test()
[all …]
H A Dlib655.c64 CURLcode res = CURLE_OK; in test() local
73 res = TEST_ERR_MAJOR_BAD; in test()
84 res = curl_easy_perform(curl); in test()
85 if(res != CURLE_COULDNT_RESOLVE_HOST) { in test()
87 "CURLE_COULDNT_RESOLVE_HOST but instead returned error %d\n", res); in test()
88 if(res == CURLE_OK) in test()
89 res = TEST_ERR_FAILURE; in test()
96 res = curl_easy_perform(curl); in test()
97 if(res) { in test()
104 res = TEST_ERR_FAILURE; in test()
[all …]
H A Dlib1511.c32 CURLcode res = CURLE_OK; in test() local
45 res = curl_easy_perform(curl); in test()
46 if(res) in test()
51 res = TEST_ERR_FAILURE; /* not correct */ in test()
58 res = curl_easy_perform(curl); in test()
59 if(res) in test()
64 res = TEST_ERR_FAILURE; /* not correct */ in test()
68 res = TEST_ERR_SUCCESS; /* this is where we should be */ in test()
76 return res; in test()
H A Dlibauthretry.c35 CURLcode res; in send_request() local
53 res = curl_easy_perform(curl); in send_request()
57 return res; in send_request()
87 CURLcode res; in test() local
113 res = send_wrong_password(curl, url, 100, main_auth_scheme); in test()
114 if(res != CURLE_OK) in test()
118 if(res != CURLE_OK) in test()
132 if(res != CURLE_OK) in test()
136 if(res != CURLE_OK) in test()
140 if(res != CURLE_OK) in test()
[all …]
H A Dlib1593.c36 CURLcode res = CURLE_OK; in test() local
49 res = TEST_ERR_MAJOR_BAD; in test()
55 res = curl_easy_perform(curl); in test()
56 if(res) in test()
64 res = curl_easy_getinfo(curl, CURLINFO_CONDITION_UNMET, &unmet); in test()
65 if(res) in test()
69 res = TEST_ERR_FAILURE; in test()
80 return res; in test()
H A Dlib2405.c46 if(res != CURLE_OK) { \
78 CURLcode res = CURLE_OK; in set_easy() local
115 return res; in set_easy()
134 CURLcode res = CURLE_OK; in test_run() local
207 if(!res) in test_run()
208 res = result; in test_run()
225 return res; in test_run()
236 CURLcode res = CURLE_OK; in empty_multi_test() local
283 return res; in empty_multi_test()
295 if(res != CURLE_OK) in test()
[all …]
/curl/docs/examples/
H A Dsendrecv.c38 int res; in wait_on_socket() local
74 return res; in wait_on_socket()
94 CURLcode res; in main() local
101 res = curl_easy_perform(curl); in main()
103 if(res != CURLE_OK) { in main()
104 printf("Error: %s\n", curl_easy_strerror(res)); in main()
111 if(res != CURLE_OK) { in main()
133 } while(res == CURLE_AGAIN); in main()
135 if(res != CURLE_OK) { in main()
158 } while(res == CURLE_AGAIN); in main()
[all …]
H A Dcookie_interface.c40 CURLcode res; in print_cookies() local
47 if(res != CURLE_OK) { in print_cookies()
49 curl_easy_strerror(res)); in print_cookies()
69 CURLcode res; in main() local
79 res = curl_easy_perform(curl); in main()
80 if(res != CURLE_OK) { in main()
100 if(res != CURLE_OK) { in main()
102 curl_easy_strerror(res)); in main()
115 if(res != CURLE_OK) { in main()
123 res = curl_easy_perform(curl); in main()
[all …]
H A Dgetredirect.c34 CURLcode res; in main() local
45 res = curl_easy_perform(curl); in main()
47 if(res != CURLE_OK) in main()
49 curl_easy_strerror(res)); in main()
51 res = curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &response_code); in main()
52 if((res == CURLE_OK) && in main()
58 res = curl_easy_getinfo(curl, CURLINFO_REDIRECT_URL, &location); in main()
60 if((res == CURLE_OK) && location) { in main()
H A Dimap-store.c42 CURLcode res = CURLE_OK; in main() local
59 res = curl_easy_perform(curl); in main()
62 if(res != CURLE_OK) in main()
64 curl_easy_strerror(res)); in main()
71 res = curl_easy_perform(curl); in main()
74 if(res != CURLE_OK) in main()
76 curl_easy_strerror(res)); in main()
83 return (int)res; in main()
/curl/lib/vauth/
H A Dgsasl.c48 int res; in Curl_auth_gsasl_is_supported() local
50 res = gsasl_init(&gsasl->ctx); in Curl_auth_gsasl_is_supported()
51 if(res != GSASL_OK) { in Curl_auth_gsasl_is_supported()
57 if(res != GSASL_OK) { in Curl_auth_gsasl_is_supported()
71 int res; in Curl_auth_gsasl_start() local
72 res = in Curl_auth_gsasl_start()
76 if(res != GSASL_OK) { in Curl_auth_gsasl_start()
83 res = in Curl_auth_gsasl_start()
87 if(res != GSASL_OK) { in Curl_auth_gsasl_start()
103 int res; in Curl_auth_gsasl_token() local
[all …]
/curl/tests/
H A Dpathhelp.pm125 my $res;
130 $res = uc($2) . ":/" . $3;
133 $res = Cwd::abs_path($path);
136 $res =~ s{[/\\]+}{/}g;
137 return $res;
151 my $res;
156 $res = Cwd::abs_path($path);
158 if($res =~ m{^([A-Za-z]):(.*)}) {
159 $res = "/" . lc($1) . $2;
160 $res = '/cygdrive' . $res if(drives_mounted_on_cygdrive());
[all …]

Completed in 32 milliseconds

12345678910>>...23