Lines Matching refs:forms
687 Curl_formadd_release_local(struct curl_forms *forms, int nargs, int skip) in Curl_formadd_release_local() argument
691 if(Curl_is_formadd_string(forms[nargs].option)) in Curl_formadd_release_local()
692 if(forms[nargs].value) in Curl_formadd_release_local()
693 free((char *) forms[nargs].value); in Curl_formadd_release_local()
695 free((char *) forms); in Curl_formadd_release_local()
700 Curl_formadd_convert(struct curl_forms *forms, in Curl_formadd_convert() argument
707 if(formx < 0 || !forms[formx].value) in Curl_formadd_convert()
711 l = (int) forms[lengthx].value; in Curl_formadd_convert()
713 l = strlen(forms[formx].value) + 1; in Curl_formadd_convert()
721 forms[formx].value, l, ccsid); in Curl_formadd_convert()
733 forms[formx].value = cp; in Curl_formadd_convert()
736 forms[lengthx].value = (char *) l; /* Update length after conversion. */ in Curl_formadd_convert()
749 struct curl_forms *forms; in curl_formadd_ccsid() local
795 forms = (struct curl_forms *) NULL; in curl_formadd_ccsid()
815 if(forms) { in curl_formadd_ccsid()
818 option = forms->option; in curl_formadd_ccsid()
819 value = forms->value; in curl_formadd_ccsid()
820 forms++; in curl_formadd_ccsid()
836 forms = (struct curl_forms *) NULL; /* Leave array mode. */ in curl_formadd_ccsid()
840 if(!forms) { in curl_formadd_ccsid()
841 forms = va_arg(arg, struct curl_forms *); in curl_formadd_ccsid()
857 if(!forms) { in curl_formadd_ccsid()
862 nameccsid = (unsigned int) forms->value; in curl_formadd_ccsid()
863 forms++; in curl_formadd_ccsid()
874 if(!forms) { in curl_formadd_ccsid()
879 contentccsid = (unsigned int) forms->value; in curl_formadd_ccsid()
880 forms++; in curl_formadd_ccsid()
887 if(!forms) in curl_formadd_ccsid()
895 if(!forms) in curl_formadd_ccsid()
903 if(!forms) in curl_formadd_ccsid()
911 if(!forms) in curl_formadd_ccsid()
917 if(!forms) in curl_formadd_ccsid()
923 if(!forms) in curl_formadd_ccsid()
929 if(!forms) in curl_formadd_ccsid()
954 if(!forms) { in curl_formadd_ccsid()
959 ccsid = (unsigned int) forms->value; in curl_formadd_ccsid()
960 forms++; in curl_formadd_ccsid()