Lines Matching defs:result

698   CURLFORMcode result;
700 result = FormAdd(httppost, last_post, arg);
702 return result;
715 CURLcode result;
719 result = Curl_getformdata(NULL, &toppart, form, NULL);
720 if(!result)
721 result = Curl_mime_prepare_headers(NULL, &toppart, "multipart/form-data",
724 while(!result) {
732 result = CURLE_READ_ERROR;
734 result = CURLE_ABORTED_BY_CALLBACK;
739 return (int) result;
819 CURLcode result = CURLE_OK;
827 return result; /* no input => no output! */
831 result = CURLE_OUT_OF_MEMORY;
833 if(!result)
834 result = curl_mime_subparts(finalform, form);
837 for(; !result && post; post = post->next) {
843 result = CURLE_OUT_OF_MEMORY;
844 if(!result)
845 result = setname(part, post->name, post->namelength);
846 if(!result) {
849 result = CURLE_OUT_OF_MEMORY;
851 if(!result)
852 result = curl_mime_subparts(part, multipart);
856 for(file = post; !result && file; file = file->more) {
860 result = CURLE_OUT_OF_MEMORY;
863 if(!result)
864 result = curl_mime_headers(part, file->contentheader, 0);
867 if(!result && file->contenttype)
868 result = curl_mime_type(part, file->contenttype);
871 if(!result && !post->more)
872 result = setname(part, post->name, post->namelength);
875 if(!result) {
885 to result as expected. This feature has been kept for backward
887 result = curl_mime_data_cb(part, (curl_off_t) -1,
893 result = curl_mime_filedata(part, file->contents);
894 if(!result && (post->flags & HTTPPOST_READFILE))
895 result = curl_mime_filename(part, NULL);
898 result = curl_mime_data(part, post->buffer,
905 result = curl_mime_data_cb(part, clen,
914 result = curl_mime_data(part, post->contents, uclen);
919 if(!result && post->showfilename)
922 result = curl_mime_filename(part, post->showfilename);
926 if(result)
929 return result;