Home
last modified time | relevance | path

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

12

/external/webkit/WebCore/platform/network/cf/
DFormDataStreamCFNet.cpp180 FormData* formData = static_cast<FormData*>(context); in formCreate() local
191 size_t size = formData->elements().size(); in formCreate()
194 newInfo->remainingElements.append(formData->elements()[size - i - 1]); in formCreate()
196 getStreamFormDatas().set(stream, adoptRef(formData)); in formCreate()
317 void setHTTPBody(CFMutableURLRequestRef request, PassRefPtr<FormData> formData) in setHTTPBody() argument
319 if (!formData) { in setHTTPBody()
324 size_t count = formData->elements().size(); in setHTTPBody()
331 const FormDataElement& element = formData->elements()[0]; in setHTTPBody()
343 const FormDataElement& element = formData->elements()[i]; in setHTTPBody()
362 RefPtr<FormData> formData = FormData::create(); in httpBodyFromRequest() local
[all …]
/external/webkit/WebCore/platform/network/
DFormData.cpp98 RefPtr<FormData> formData(create()); in deepCopy() local
100 formData->m_alwaysStream = m_alwaysStream; in deepCopy()
103 formData->m_elements.reserveInitialCapacity(n); in deepCopy()
108 formData->m_elements.append(FormDataElement(e.m_data)); in deepCopy()
111 formData->m_elements.append(FormDataElement(e.m_filename, e.m_shouldGenerateFile)); in deepCopy()
115 return formData.release(); in deepCopy()
/external/webkit/WebCore/platform/network/mac/
DFormDataStreamMac.mm120 FormData* formData;
202 FormData* formData = formContext->formData;
205 size_t size = formData->elements().size();
208 newInfo->remainingElements.append(formData->elements()[size - i - 1]);
210 getStreamFormDataMap().set(stream, adoptRef(formData));
337 void setHTTPBody(NSMutableURLRequest *request, PassRefPtr<FormData> formData)
339 if (!formData)
342 size_t count = formData->elements().size();
345 if (count == 1 && !formData->alwaysStream()) {
346 const FormDataElement& element = formData->elements()[0];
[all …]
DResourceRequestMac.mm89 if (FormData* formData = httpBodyFromStream(bodyStream))
90 m_httpBody = formData;
142 RefPtr<FormData> formData = httpBody();
143 if (formData && !formData->isEmpty())
144 WebCore::setHTTPBody(nsRequest, formData);
/external/webkit/WebCore/platform/network/win/
DResourceHandleWin.cpp178 String formData = postData()->flattenToString(); in onHandleCreated() local
184 buffers.dwBufferTotal = formData.length(); in onHandleCreated()
186 d->m_bytesRemainingToWrite = formData.length(); in onHandleCreated()
187 d->m_formDataString = (char*)malloc(formData.length()); in onHandleCreated()
188 d->m_formDataLength = formData.length(); in onHandleCreated()
189 strncpy(d->m_formDataString, formData.latin1(), formData.length()); in onHandleCreated()
/external/webkit/WebCore/platform/network/android/
DResourceHandleAndroid.cpp110 FormData* formData = request.httpBody(); in willLoadFromCache() local
111 …return ResourceLoaderAndroid::willLoadFromCache(request.url(), formData ? formData->identifier() :… in willLoadFromCache()
/external/webkit/WebKit/android/jni/
DWebHistory.cpp404 const WebCore::FormData* formData = item->formData(); in write_item() local
405 if (formData) { in write_item()
406 write_string(v, formData->flattenToString()); in write_item()
408 int64_t id = formData->identifier(); in write_item()
536 WTF::PassRefPtr<WebCore::FormData> formData = NULL; in read_item_recursive() local
558 formData = WebCore::FormData::create(data, l); in read_item_recursive()
569 formData->setIdentifier(id); in read_item_recursive()
576 if (formData != NULL) { in read_item_recursive()
580 r.setHTTPBody(formData); in read_item_recursive()
DWebCoreFrameBridge.cpp1045 RefPtr<FormData> formData = FormData::create((const void*)bytes, size); in PostUrl() local
1048 formData->setIdentifier(static_cast<int64_t>(WTF::currentTime() * 1000000.0)); in PostUrl()
1049 request.setHTTPBody(formData); in PostUrl()
/external/webkit/WebCore/html/
DHTMLButtonElement.cpp161 bool HTMLButtonElement::appendFormData(FormDataList& formData, bool) in appendFormData() argument
165 formData.appendData(name(), value()); in appendFormData()
/external/webkit/WebKit/chromium/src/
DWebSearchableFormData.cpp251 RefPtr<FormData> formData = FormData::create(encodedString); in WebSearchableFormData() local
252 url.setQuery(formData->flattenToString()); in WebSearchableFormData()
DWebHistoryItem.cpp248 return WebHTTPBody(m_private->formData()); in httpBody()
/external/webkit/WebCore/history/
DHistoryItem.cpp501 void HistoryItem::setFormData(PassRefPtr<FormData> formData) in setFormData() argument
503 m_formData = formData; in setFormData()
511 FormData* HistoryItem::formData() in formData() function in WebCore::HistoryItem
DHistoryItem.h111 FormData* formData();
/external/webkit/WebCore/loader/
DFrameLoader.cpp450 void FrameLoader::submitForm(const char* action, const String& url, PassRefPtr<FormData> formData, in submitForm() argument
456 ASSERT(formData); in submitForm()
509 formData->generateFiles(m_frame->page()->chrome()->client()); in submitForm()
515 u.setQuery(formData->flattenToString()); in submitForm()
518 frameRequest.resourceRequest().setHTTPBody(formData); in submitForm()
3365 RefPtr<FormData> formData = inRequest.httpBody(); in loadPostRequest() local
3378 workingResourceRequest.setHTTPBody(formData); in loadPostRequest()
3822 RefPtr<FormData> formData = item->formData(); in navigateToDifferentDocument() local
3832 if (formData) { in navigateToDifferentDocument()
3833 formData->generateFiles(m_frame->page()->chrome()->client()); in navigateToDifferentDocument()
[all …]
/external/webkit/WebCore/inspector/front-end/
DResourceView.js234 _refreshRequestPayload: function(formData) argument
239 …title += "<div class=\"raw-form-data header-value source-code\">" + formData.escapeHTML() + "</div…
/external/webkit/WebKit/win/
DWebMutableURLRequest.h167 const PassRefPtr<WebCore::FormData> formData() const;
DWebMutableURLRequest.cpp413 const PassRefPtr<FormData> WebMutableURLRequest::formData() const in formData() function in WebMutableURLRequest
/external/webkit/WebKit/mac/History/
DWebHistoryItem.mm227 if (coreItem->formData()) {
/external/webkit/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/WebKit/mac/
DChangeLog-2006-02-0911891 (-[WebHistoryItem formData]): Ditto.
13580 (-[WebHistoryItem formData]): Diff being dumb, no change.
28470 (-[WebHistoryItem formData]):
34908 (-[WebHistoryItem formData]):

12