Lines Matching refs:forms
729 Curl_formadd_release_local(struct curl_forms * forms, int nargs, int skip) in Curl_formadd_release_local() argument
734 if(Curl_is_formadd_string(forms[nargs].option)) in Curl_formadd_release_local()
735 if(forms[nargs].value) in Curl_formadd_release_local()
736 free((char *) forms[nargs].value); in Curl_formadd_release_local()
738 free((char *) forms); in Curl_formadd_release_local()
743 Curl_formadd_convert(struct curl_forms * forms, in Curl_formadd_convert() argument
751 if(formx < 0 || !forms[formx].value) in Curl_formadd_convert()
755 l = (int) forms[lengthx].value; in Curl_formadd_convert()
757 l = strlen(forms[formx].value) + 1; in Curl_formadd_convert()
765 forms[formx].value, l, ccsid); in Curl_formadd_convert()
777 forms[formx].value = cp; in Curl_formadd_convert()
780 forms[lengthx].value = (char *) l; /* Update length after conversion. */ in Curl_formadd_convert()
794 struct curl_forms * forms; in curl_formadd_ccsid() local
840 forms = (struct curl_forms *) NULL; in curl_formadd_ccsid()
860 if(forms) { in curl_formadd_ccsid()
863 option = forms->option; in curl_formadd_ccsid()
864 value = forms->value; in curl_formadd_ccsid()
865 forms++; in curl_formadd_ccsid()
881 forms = (struct curl_forms *) NULL; /* Leave array mode. */ in curl_formadd_ccsid()
885 if(!forms) { in curl_formadd_ccsid()
886 forms = va_arg(arg, struct curl_forms *); in curl_formadd_ccsid()
902 if(!forms) { in curl_formadd_ccsid()
907 nameccsid = (unsigned int) forms->value; in curl_formadd_ccsid()
908 forms++; in curl_formadd_ccsid()
919 if(!forms) { in curl_formadd_ccsid()
924 contentccsid = (unsigned int) forms->value; in curl_formadd_ccsid()
925 forms++; in curl_formadd_ccsid()
932 if(!forms) in curl_formadd_ccsid()
940 if(!forms) in curl_formadd_ccsid()
948 if(!forms) in curl_formadd_ccsid()
956 if(!forms) in curl_formadd_ccsid()
962 if(!forms) in curl_formadd_ccsid()
968 if(!forms) in curl_formadd_ccsid()
974 if(!forms) in curl_formadd_ccsid()
999 if(!forms) { in curl_formadd_ccsid()
1004 ccsid = (unsigned int) forms->value; in curl_formadd_ccsid()
1005 forms++; in curl_formadd_ccsid()