Lines Matching refs:formData
38 #import "FormData.h"
59 typedef HashMap<CFReadStreamRef, RefPtr<FormData> > StreamFormDataMap;
128 FormData* formData;
242 FormData* formData = formContext->formData;
245 size_t size = formData->elements().size();
248 newInfo->remainingElements.append(formData->elements()[size - i - 1]);
250 getStreamFormDataMap().set(stream, adoptRef(formData));
386 void setHTTPBody(NSMutableURLRequest *request, PassRefPtr<FormData> formData)
388 if (!formData)
391 size_t count = formData->elements().size();
394 if (count == 1 && !formData->alwaysStream()) {
395 const FormDataElement& element = formData->elements()[0];
408 const FormDataElement& element = formData->elements()[i];
417 RefPtr<FormData> newFormData = FormData::create();
418 newFormData->setAlwaysStream(formData->alwaysStream());
419 newFormData->setIdentifier(formData->identifier());
421 const FormDataElement& element = formData->elements()[i];
442 formData = newFormData;
443 count = formData->elements().size();
450 formData->elements()[i];
472 // Pass the length along with the formData so it does not have to be recomputed.
473 FormContext formContext = { formData.releaseRef(), length };
481 FormData* httpBodyFromStream(NSInputStream* stream)