Lines Matching refs:res
76 CURLcode res = CURLE_OK; in once() local
116 res = curl_mime_name(part, "sendfile"); in once()
117 if(!res) in once()
118 res = curl_mime_data_cb(part, datasize, read_callback, in once()
120 if(!res) in once()
121 res = curl_mime_filename(part, "postit2.c"); in once()
125 res = curl_mime_name(part, "sendfile alternative"); in once()
126 if(!res) in once()
127 res = curl_mime_data_cb(part, datasize, read_callback, in once()
129 if(!res) in once()
130 res = curl_mime_filename(part, "file name 2"); in once()
133 if(res) in once()
134 printf("curl_mime_xxx(1) = %s\n", curl_easy_strerror(res)); in once()
154 res = curl_mime_name(part, "callbackdata"); in once()
155 if(!res) in once()
156 res = curl_mime_data_cb(part, datasize, read_callback, in once()
159 if(res) in once()
160 printf("curl_mime_xxx(2) = %s\n", curl_easy_strerror(res)); in once()
172 res = curl_mime_name(part, "filename"); in once()
173 if(!res) in once()
174 res = curl_mime_data(part, in once()
184 if(res) in once()
185 printf("curl_mime_xxx(3) = %s\n", curl_easy_strerror(res)); in once()
196 res = curl_mime_name(part, "submit"); in once()
197 if(!res) in once()
198 res = curl_mime_data(part, in once()
208 if(res) in once()
209 printf("curl_mime_xxx(4) = %s\n", curl_easy_strerror(res)); in once()
219 res = curl_mime_name(part, "somename"); in once()
220 if(!res) in once()
221 res = curl_mime_filename(part, "somefile.txt"); in once()
222 if(!res) in once()
223 res = curl_mime_data(part, "blah blah", 9); in once()
225 if(res) in once()
226 printf("curl_mime_xxx(5) = %s\n", curl_easy_strerror(res)); in once()
241 res = curl_easy_perform(curl); in once()
251 return res; in once()
280 int res; in test() local
287 res = once(URL, TRUE); /* old */ in test()
288 if(!res) in test()
289 res = once(URL, FALSE); /* new */ in test()
291 if(!res) in test()
292 res = cyclic_add(); in test()
296 return res; in test()