Lines Matching refs:res
34 CURLcode res = CURLE_OK; in test() local
44 res = curl_easy_getinfo(curl, CURLINFO_PROTOCOL, &protocol); in test()
46 if(res) { in test()
48 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
54 res = CURLE_FAILED_INIT; in test()
60 res = curl_easy_perform(curl); in test()
61 if(res) { in test()
63 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
71 res = curl_easy_getinfo(curl, CURLINFO_PROTOCOL, &protocol); in test()
73 if(res) { in test()
75 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
82 res = CURLE_HTTP_RETURNED_ERROR; in test()
93 res = CURLE_FAILED_INIT; in test()
98 res = curl_easy_getinfo(dupe, CURLINFO_PROTOCOL, &protocol); in test()
100 if(res) { in test()
102 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
108 res = CURLE_FAILED_INIT; in test()
119 res = curl_easy_getinfo(curl, CURLINFO_PROTOCOL, &protocol); in test()
121 if(res) { in test()
123 __FILE__, __LINE__, res, curl_easy_strerror(res)); in test()
129 res = CURLE_FAILED_INIT; in test()
137 return res; in test()