Lines Matching refs:res

62   CURLcode res = CURLE_OK;  in test_once()  local
102 res = curl_mime_name(part, "sendfile"); in test_once()
103 if(!res) in test_once()
104 res = curl_mime_data_cb(part, datasize, read_callback, in test_once()
106 if(!res) in test_once()
107 res = curl_mime_filename(part, "postit2.c"); in test_once()
111 res = curl_mime_name(part, "sendfile alternative"); in test_once()
112 if(!res) in test_once()
113 res = curl_mime_data_cb(part, datasize, read_callback, in test_once()
115 if(!res) in test_once()
116 res = curl_mime_filename(part, "file name 2"); in test_once()
119 if(res) in test_once()
120 printf("curl_mime_xxx(1) = %s\n", curl_easy_strerror(res)); in test_once()
140 res = curl_mime_name(part, "callbackdata"); in test_once()
141 if(!res) in test_once()
142 res = curl_mime_data_cb(part, datasize, read_callback, in test_once()
145 if(res) in test_once()
146 printf("curl_mime_xxx(2) = %s\n", curl_easy_strerror(res)); in test_once()
158 res = curl_mime_name(part, "filename"); in test_once()
159 if(!res) in test_once()
160 res = curl_mime_data(part, "postit2.c", in test_once()
163 if(res) in test_once()
164 printf("curl_mime_xxx(3) = %s\n", curl_easy_strerror(res)); in test_once()
175 res = curl_mime_name(part, "submit"); in test_once()
176 if(!res) in test_once()
177 res = curl_mime_data(part, "send", in test_once()
180 if(res) in test_once()
181 printf("curl_mime_xxx(4) = %s\n", curl_easy_strerror(res)); in test_once()
191 res = curl_mime_name(part, "somename"); in test_once()
192 if(!res) in test_once()
193 res = curl_mime_filename(part, "somefile.txt"); in test_once()
194 if(!res) in test_once()
195 res = curl_mime_data(part, "blah blah", 9); in test_once()
197 if(res) in test_once()
198 printf("curl_mime_xxx(5) = %s\n", curl_easy_strerror(res)); in test_once()
213 res = curl_easy_perform(curl); in test_once()
223 return res; in test_once()
252 CURLcode res; in test() local
259 res = test_once(URL, TRUE); /* old */ in test()
260 if(!res) in test()
261 res = test_once(URL, FALSE); /* new */ in test()
263 if(!res) in test()
264 res = cyclic_add(); in test()
268 return res; in test()