Lines Matching refs:ret
172 ret = easysrc_add args; \
173 if(ret) \
177 ret = easysrc_addf args; \
178 if(ret) \
183 ret = CURLE_OUT_OF_MEMORY; \
273 CURLcode ret = CURLE_OK; in tool_setopt_enum() local
276 ret = curl_easy_setopt(curl, tag, lval); in tool_setopt_enum()
280 if(config->libcurl && !skip && !ret) { in tool_setopt_enum()
299 if(ret) in tool_setopt_enum()
300 warnf(config, "option %s returned error (%d)", name, (int)ret); in tool_setopt_enum()
303 return ret; in tool_setopt_enum()
311 CURLcode ret = CURLE_OK; in tool_setopt_SSLVERSION() local
314 ret = curl_easy_setopt(curl, tag, lval); in tool_setopt_SSLVERSION()
318 if(config->libcurl && !skip && !ret) { in tool_setopt_SSLVERSION()
343 if(ret) in tool_setopt_SSLVERSION()
344 warnf(config, "option %s returned error (%d)", name, (int)ret); in tool_setopt_SSLVERSION()
347 return ret; in tool_setopt_SSLVERSION()
356 CURLcode ret = CURLE_OK; in tool_setopt_bitmask() local
359 ret = curl_easy_setopt(curl, tag, lval); in tool_setopt_bitmask()
363 if(config->libcurl && !skip && !ret) { in tool_setopt_bitmask()
391 return ret; in tool_setopt_bitmask()
397 CURLcode ret = CURLE_OK; in libcurl_generate_slist() local
418 return ret; in libcurl_generate_slist()
432 CURLcode ret = CURLE_OK; in libcurl_generate_mime_part() local
440 ret = libcurl_generate_mime_part(curl, config, part->prev, mimeno); in libcurl_generate_mime_part()
441 if(ret) in libcurl_generate_mime_part()
442 return ret; in libcurl_generate_mime_part()
450 ret = libcurl_generate_mime(curl, config, part, &submimeno); in libcurl_generate_mime_part()
451 if(!ret) { in libcurl_generate_mime_part()
459 if(!ret) { in libcurl_generate_mime_part()
493 if(!ret && part->encoder) { in libcurl_generate_mime_part()
500 if(!ret && filename) { in libcurl_generate_mime_part()
507 if(!ret && part->name) { in libcurl_generate_mime_part()
514 if(!ret && part->type) { in libcurl_generate_mime_part()
521 if(!ret && part->headers) { in libcurl_generate_mime_part()
524 ret = libcurl_generate_slist(part->headers, &slistno); in libcurl_generate_mime_part()
525 if(!ret) { in libcurl_generate_mime_part()
533 return ret; in libcurl_generate_mime_part()
542 CURLcode ret = CURLE_OK; in libcurl_generate_mime() local
554 ret = libcurl_generate_mime_part(curl, config, in libcurl_generate_mime()
559 return ret; in libcurl_generate_mime()
567 CURLcode ret = curl_easy_setopt(curl, tag, mimepost); in tool_setopt_mimepost() local
570 if(!ret && config->libcurl) { in tool_setopt_mimepost()
571 ret = libcurl_generate_mime(curl, config, in tool_setopt_mimepost()
574 if(!ret) in tool_setopt_mimepost()
579 return ret; in tool_setopt_mimepost()
587 CURLcode ret = CURLE_OK; in tool_setopt_slist() local
589 ret = curl_easy_setopt(curl, tag, list); in tool_setopt_slist()
591 if(config->libcurl && list && !ret) { in tool_setopt_slist()
594 ret = libcurl_generate_slist(list, &i); in tool_setopt_slist()
595 if(!ret) in tool_setopt_slist()
600 return ret; in tool_setopt_slist()
616 CURLcode ret = CURLE_OK; in tool_setopt() local
634 ret = curl_easy_setopt(curl, tag, lval); in tool_setopt()
663 ret = curl_easy_setopt(curl, tag, pval); in tool_setopt()
672 ret = curl_easy_setopt(curl, tag, oval); in tool_setopt()
689 ret = curl_easy_setopt(curl, tag, pblob); in tool_setopt()
694 if(global->libcurl && !skip && !ret) { in tool_setopt()
715 return ret; in tool_setopt()