Home
last modified time | relevance | path

Searched refs:formData (Results 1 – 25 of 31) sorted by relevance

12

/external/webkit/Source/WebCore/platform/network/cf/
DFormDataStreamCFNet.cpp56 void setHTTPBody(CFMutableURLRequestRef request, PassRefPtr<FormData> formData) in setHTTPBody() argument
58 if (!formData) { in setHTTPBody()
63 size_t count = formData->elements().size(); in setHTTPBody()
70 const FormDataElement& element = formData->elements()[0]; in setHTTPBody()
82 const FormDataElement& element = formData->elements()[i]; in setHTTPBody()
101 RefPtr<FormData> formData = FormData::create(); in httpBodyFromRequest() local
109 formData->appendFile(filename); in httpBodyFromRequest()
112 formData->appendData(CFDataGetBytePtr(data), CFDataGetLength(data)); in httpBodyFromRequest()
116 return formData.release(); in httpBodyFromRequest()
/external/webkit/Source/WebCore/loader/
DFormSubmission.cpp192 RefPtr<FormData> formData; in create() local
196formData = FormData::createMultiPart(*(static_cast<FormDataList*>(domFormData.get())), domFormData… in create()
197 boundary = formData->boundary().data(); in create()
199formData = FormData::create(*(static_cast<FormDataList*>(domFormData.get())), domFormData->encodin… in create()
202 appendMailtoPostFormDataToURL(actionURL, *formData, encodingType); in create()
203 formData = FormData::create(); in create()
207 formData->setIdentifier(generateFormDataIdentifier()); in create()
210 …od(), actionURL, targetOrBaseTarget, encodingType, formState.release(), formData.release(), bounda… in create()
DFrameLoader.cpp2791 RefPtr<FormData> formData = inRequest.httpBody(); in loadPostRequest() local
2801 workingResourceRequest.setHTTPBody(formData); in loadPostRequest()
3256 RefPtr<FormData> formData = item->formData(); in loadDifferentDocumentItem() local
3266 if (formData) { in loadDifferentDocumentItem()
3267 formData->generateFiles(m_frame->document()); in loadDifferentDocumentItem()
3270 request.setHTTPBody(formData); in loadDifferentDocumentItem()
3277 addExtraFieldsToRequest(request, m_loadType, true, formData); in loadDifferentDocumentItem()
3321 addExtraFieldsToRequest(request, m_loadType, true, formData); in loadDifferentDocumentItem()
/external/webkit/Source/WebCore/platform/network/mac/
DFormDataStreamMac.mm128 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];
[all …]
DResourceRequestMac.mm100 if (FormData* formData = httpBodyFromStream(bodyStream))
101 m_httpBody = formData;
162 RefPtr<FormData> formData = httpBody();
163 if (formData && !formData->isEmpty())
164 WebCore::setHTTPBody(nsRequest, formData);
/external/webkit/Source/WebCore/platform/network/android/
DResourceHandleAndroid.cpp108 FormData* formData = request.httpBody(); in willLoadFromCache() local
109 …return ResourceLoaderAndroid::willLoadFromCache(request.url(), formData ? formData->identifier() :… in willLoadFromCache()
/external/webkit/Source/WebCore/platform/network/
DFormData.cpp123 RefPtr<FormData> formData(create()); in deepCopy() local
125 formData->m_alwaysStream = m_alwaysStream; in deepCopy()
128 formData->m_elements.reserveInitialCapacity(n); in deepCopy()
133 formData->m_elements.append(FormDataElement(e.m_data)); in deepCopy()
137formData->m_elements.append(FormDataElement(e.m_filename, e.m_fileStart, e.m_fileLength, e.m_expec… in deepCopy()
139 formData->m_elements.append(FormDataElement(e.m_filename, e.m_shouldGenerateFile)); in deepCopy()
144 formData->m_elements.append(FormDataElement(e.m_blobURL)); in deepCopy()
149 return formData.release(); in deepCopy()
/external/webkit/Source/WebCore/inspector/front-end/
DResourceHeadersView.js122 var formData = this._resource.requestFormData;
123 if (!formData)
132 this._refreshRequestPayload(formData);
136 _refreshRequestPayload: function(formData) argument
140 …var title = "<div class=\"raw-form-data header-value source-code\">" + formData.escapeHTML() + "</…
/external/webkit/Source/WebKit/android/jni/
DWebHistory.cpp473 const WebCore::FormData* formData = item->formData(); in writeItem() local
474 if (formData) { in writeItem()
475 WTF::String flattenedFormData = formData->flattenToString(); in writeItem()
479 int64_t id = formData->identifier(); in writeItem()
743 WTF::RefPtr<WebCore::FormData> formData; in readItemRecursive() local
750 formData = WebCore::FormData::create(data, formDataSize); in readItemRecursive()
757 formData->setIdentifier(id); in readItemRecursive()
761 if (formData != NULL) { in readItemRecursive()
765 r.setHTTPBody(formData); in readItemRecursive()
DWebCoreFrameBridge.cpp1270 RefPtr<FormData> formData = FormData::create((const void*)bytes, size); in PostUrl() local
1273 formData->setIdentifier(static_cast<int64_t>(WTF::currentTime() * 1000000.0)); in PostUrl()
1274 request.setHTTPBody(formData); in PostUrl()
/external/webkit/Source/WebCore/html/
DHTMLButtonElement.cpp157 bool HTMLButtonElement::appendFormData(FormDataList& formData, bool) in appendFormData() argument
161 formData.appendData(name(), value()); in appendFormData()
/external/webkit/Source/WebKit/chromium/src/
DWebSearchableFormData.cpp256 RefPtr<FormData> formData = FormData::create(encodedString); in WebSearchableFormData() local
257 url.setQuery(formData->flattenToString()); in WebSearchableFormData()
DWebHistoryItem.cpp250 return WebHTTPBody(m_private->formData()); in httpBody()
/external/webkit/Source/WebCore/history/
DHistoryItem.cpp626 void HistoryItem::setFormData(PassRefPtr<FormData> formData) in setFormData() argument
628 m_formData = formData; in setFormData()
636 FormData* HistoryItem::formData() in formData() function in WebCore::HistoryItem
DHistoryItem.h116 FormData* formData();
/external/webkit/Source/WebKit/win/
DWebMutableURLRequest.h165 const PassRefPtr<WebCore::FormData> formData() const;
DWebMutableURLRequest.cpp394 const PassRefPtr<FormData> WebMutableURLRequest::formData() const in formData() function in WebMutableURLRequest
/external/webkit/Source/WebKit/mac/History/
DWebHistoryItem.mm223 if (coreItem->formData()) {
/external/webkit/Source/WebCore/
DChangeLog-2003-10-253280 * khtml/html/html_formimpl.cpp: (HTMLFormElementImpl::formData): Added missing # sign.
3567 * khtml/html/html_formimpl.cpp: (HTMLFormElementImpl::formData):
8424 * khtml/html/html_formimpl.cpp: (HTMLFormElementImpl::formData): Simplify the "change commas
8497 (HTMLFormElementImpl::formData): Removed code that set m_encCharset.
11029 (HTMLFormElementImpl::formData): Remove the call to fixLineBreaks here, which was being used
12516 (HTMLFormElementImpl::formData): Call fixLineBreaks on form data.
12846 (HTMLFormElementImpl::formData): Don't include a Content-Type header at all if we don't
15364 (HTMLFormElementImpl::formData):
15972 (HTMLFormElementImpl::formData)
DChangeLog-2006-05-109277 (WebCore::HTMLFormElement::formData):
11549 (WebCore::HTMLFormElement::formData):
18583 (WebCore::HTMLFormElementImpl::formData):
26700 (WebCore::HTMLFormElementImpl::formData):
30497 (DOM::HTMLFormElementImpl::formData):
35479 (DOM::HTMLFormElementImpl::formData):
37084 I did *not* fix the usage in formData, as the move from KCharSet to
37090 (DOM::HTMLFormElementImpl::formData): cleanup
38183 (DOM::HTMLFormElementImpl::formData):
38924 (DOM::HTMLFormElementImpl::formData):
DChangeLog-2007-10-1411165 (WebCore::HTMLFormElement::formData): Use the above helper instead of code that doesn't
15612 (WebCore::HTMLFormElement::formData):
20062 Give CString an equality operator to fix a bug in HTMLFormElement::formData
20083 (WebCore::HTMLFormElement::formData):
41581 …ement::appendFormData): Use value() instead of m_currValue. Renamed encoding argument to formData.
48709 (WebCore::HTMLFormElement::formData):
50388 (WebCore::HTMLFormElement::formData): Take a parameter with the form boundary string,
50393 string into formData for multipart form posts.
54889 (WebCore::HTMLFormElement::formData):
70025 (WebCore::HistoryItem::formData):
DChangeLog-2005-08-236052 (DOM::HTMLFormElementImpl::formData):
9043 (DOM::HTMLFormElementImpl::formData):
11564 (DOM::HTMLFormElementImpl::formData):
24090 … (DOM::HTMLFormElementImpl::formData): Same here, and also use appendFile rather than appendData
30229 (DOM::HTMLFormElementImpl::formData):
36908 * khtml/html/html_formimpl.cpp: (DOM::HTMLFormElementImpl::formData):
37440 …* khtml/html/html_formimpl.h: Added the FormDataList type, changed the formData function parameters
37445 …(DOM::HTMLFormElementImpl::formData): Changed code to use FormDataList intsead of the old encoding…
54573 (HTMLFormElementImpl::formData):
DChangeLog-2006-12-3111447 (WebCore::HTMLFormElement::formData):
13364 (WebCore::HTMLFormElement::formData):
18506 (WebCore::HTMLFormElement::formData):
28696 (WebCore::HTMLFormElement::formData):
32294 * html/HTMLFormElement.cpp: (WebCore::HTMLFormElement::formData): Ditto.
32655 (WebCore::HTMLFormElement::formData): Updated code for improvements to TextEncoding.
DChangeLog-2005-12-19783 (DOM::HTMLFormElementImpl::formData):
5980 (DOM::HTMLFormElementImpl::formData):
10149 …(DOM::HTMLFormElementImpl::formData): Pass true to the fromUnicode function to request entity enco…
25069 (DOM::HTMLFormElementImpl::formData):
/external/webkit/Source/WebKit/mac/
DChangeLog-2006-02-0911891 (-[WebHistoryItem formData]): Ditto.
13580 (-[WebHistoryItem formData]): Diff being dumb, no change.
28470 (-[WebHistoryItem formData]):
34908 (-[WebHistoryItem formData]):

12