Lines Matching refs:ret

241   CURLcode ret = CURLE_OK;  in tool2curlparts()  local
247 ret = tool2curlparts(curl, m->prev, mime); in tool2curlparts()
248 if(!ret) { in tool2curlparts()
251 ret = CURLE_OUT_OF_MEMORY; in tool2curlparts()
253 if(!ret) { in tool2curlparts()
257 ret = tool2curlmime(curl, m, &submime); in tool2curlparts()
258 if(!ret) { in tool2curlparts()
259 ret = curl_mime_subparts(part, submime); in tool2curlparts()
260 if(ret) in tool2curlparts()
266 ret = curl_mime_data(part, m->data, CURL_ZERO_TERMINATED); in tool2curlparts()
271 ret = curl_mime_filedata(part, m->data); in tool2curlparts()
272 if(!ret && m->kind == TOOLMIME_FILEDATA && !filename) in tool2curlparts()
273 ret = curl_mime_filename(part, NULL); in tool2curlparts()
281 ret = curl_mime_data_cb(part, m->size, in tool2curlparts()
292 if(!ret && filename) in tool2curlparts()
293 ret = curl_mime_filename(part, filename); in tool2curlparts()
294 if(!ret) in tool2curlparts()
295 ret = curl_mime_type(part, m->type); in tool2curlparts()
296 if(!ret) in tool2curlparts()
297 ret = curl_mime_headers(part, m->headers, 0); in tool2curlparts()
298 if(!ret) in tool2curlparts()
299 ret = curl_mime_encoder(part, m->encoder); in tool2curlparts()
300 if(!ret) in tool2curlparts()
301 ret = curl_mime_name(part, m->name); in tool2curlparts()
303 return ret; in tool2curlparts()
308 CURLcode ret = CURLE_OK; in tool2curlmime() local
312 ret = CURLE_OUT_OF_MEMORY; in tool2curlmime()
314 ret = tool2curlparts(curl, m->subparts, *mime); in tool2curlmime()
315 if(ret) { in tool2curlmime()
319 return ret; in tool2curlmime()