Home
last modified time | relevance | path

Searched refs:FormDataElement (Results 1 – 20 of 20) sorted by relevance

/external/webkit/Source/WebCore/platform/network/
DFormData.cpp61 FormDataElement& e = m_elements[i]; in FormData()
62 if (e.m_type == FormDataElement::encodedFile) in FormData()
130 const FormDataElement& e = m_elements[i]; in deepCopy()
132 case FormDataElement::data: in deepCopy()
133 formData->m_elements.append(FormDataElement(e.m_data)); in deepCopy()
135 case FormDataElement::encodedFile: in deepCopy()
137 …formData->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()
143 case FormDataElement::encodedBlob: in deepCopy()
144 formData->m_elements.append(FormDataElement(e.m_blobURL)); in deepCopy()
[all …]
DFormData.h35 class FormDataElement {
37 FormDataElement() : m_type(data) { } in FormDataElement() function
38 explicit FormDataElement(const Vector<char>& array) : m_type(data), m_data(array) { } in FormDataElement() function
41FormDataElement(const String& filename, long long fileStart, long long fileLength, double expected… in FormDataElement() function
42 explicit FormDataElement(const KURL& blobURL) : m_type(encodedBlob), m_blobURL(blobURL) { } in FormDataElement() function
44FormDataElement(const String& filename, bool shouldGenerateFile) : m_type(encodedFile), m_filename… in FormDataElement() function
66 inline bool operator==(const FormDataElement& a, const FormDataElement& b)
73 if (a.m_type == FormDataElement::data)
75 if (a.m_type == FormDataElement::encodedFile)
78 if (a.m_type == FormDataElement::encodedBlob)
[all …]
/external/webkit/Source/WebCore/platform/network/curl/
DFormDataStreamCurl.cpp52 Vector<FormDataElement> elements; in read()
59 FormDataElement element = elements[m_formDataElementIndex]; in read()
64 if (element.m_type == FormDataElement::encodedFile) { in read()
106 Vector<FormDataElement> elements; in hasMoreElements()
DResourceHandleManager.cpp469 Vector<FormDataElement> elements = job->firstRequest().httpBody()->elements(); in setupPOST()
506 FormDataElement element = elements[i]; in setupPOST()
507 if (element.m_type == FormDataElement::encodedFile) { in setupPOST()
/external/webkit/Source/WebCore/platform/network/cf/
DFormDataStreamCFNet.cpp70 const FormDataElement& element = formData->elements()[0]; in setHTTPBody()
71 if (element.m_type == FormDataElement::data) { in setHTTPBody()
82 const FormDataElement& element = formData->elements()[i]; in setHTTPBody()
83 if (element.m_type == FormDataElement::data) { in setHTTPBody()
DResourceHandleCFNet.cpp319 const FormDataElement& e = d.elements()[i]; in arrayFromFormData()
320 if (e.m_type == FormDataElement::data) { in arrayFromFormData()
325 ASSERT(e.m_type == FormDataElement::encodedFile); in arrayFromFormData()
/external/webkit/Source/WebKit/chromium/src/
DWebHTTPBody.cpp74 const FormDataElement& element = m_private->elements()[index]; in elementAt()
84 case FormDataElement::data: in elementAt()
88 case FormDataElement::encodedFile: in elementAt()
98 case FormDataElement::encodedBlob: in elementAt()
/external/webkit/Source/WebCore/platform/network/mac/
DFormDataStreamMac.mm134 Vector<FormDataElement> remainingElements; // in reverse order
171 FormDataElement& nextInput = form->remainingElements.last();
173 if (nextInput.m_type == FormDataElement::data) {
395 const FormDataElement& element = formData->elements()[0];
396 if (element.m_type == FormDataElement::data) {
408 const FormDataElement& element = formData->elements()[i];
409 if (element.m_type == FormDataElement::encodedBlob) {
421 const FormDataElement& element = formData->elements()[i];
422 if (element.m_type == FormDataElement::data)
424 else if (element.m_type == FormDataElement::encodedFile)
[all …]
/external/webkit/Source/WebKit/android/WebCoreSupport/
DWebUrlLoaderClient.cpp126 Vector<FormDataElement>::iterator iter; in WebUrlLoaderClient()
127 Vector<FormDataElement> elements = resourceRequest.httpBody()->elements(); in WebUrlLoaderClient()
129 FormDataElement element = *iter; in WebUrlLoaderClient()
132 case FormDataElement::data: in WebUrlLoaderClient()
143 case FormDataElement::encodedFile: in WebUrlLoaderClient()
159 case FormDataElement::encodedBlob: in WebUrlLoaderClient()
/external/webkit/Source/WebCore/platform/network/qt/
DQNetworkReplyHandler.cpp54 : m_formElements(data ? data->elements() : Vector<FormDataElement>()) in FormDataIODevice()
62 if (!m_formElements.isEmpty() && m_formElements[0].m_type == FormDataElement::encodedFile) in FormDataIODevice()
75 const FormDataElement& element = m_formElements[i]; in computeSize()
76 if (element.m_type == FormDataElement::data) in computeSize()
94 if (m_formElements.isEmpty() || m_formElements[0].m_type == FormDataElement::data) in moveToNextElement()
118 const FormDataElement& element = m_formElements[0]; in readData()
121 if (element.m_type == FormDataElement::data) { in readData()
DQNetworkReplyHandler.h175 Vector<FormDataElement> m_formElements;
/external/webkit/Source/WebKit/android/jni/
DWebCoreFrameBridge.cpp1019 const WTF::Vector<WebCore::FormDataElement>& elements = in getPostData()
1028 const WebCore::FormDataElement& e = elements[i]; in getPostData()
1029 if (e.m_type == WebCore::FormDataElement::data) { in getPostData()
1031 } else if (e.m_type == WebCore::FormDataElement::encodedFile) { in getPostData()
1050 const WebCore::FormDataElement& e = elements[i]; in getPostData()
1051 if (e.m_type == WebCore::FormDataElement::data) { in getPostData()
1055 } else if (e.m_type == WebCore::FormDataElement::encodedFile) { in getPostData()
/external/webkit/Source/WebCore/platform/network/soup/
DResourceHandleSoup.cpp518 const FormDataElement& element = httpBody->elements()[i]; in addFormElementsToSoupMessage()
520 if (element.m_type == FormDataElement::data) { in addFormElementsToSoupMessage()
/external/webkit/Source/WebCore/
DChangeLog-2011-02-1610201 Encode/decode FormData and FormDataElement objects consistently
10217 default-constructed FormDataElement. Failing to do this meant that all future uses of the
10220 to correctly set the FormDataElement's type based on this decoded type later in the
DChangeLog-2006-05-1032559 (khtml::FormDataElement::FormDataElement):
DChangeLog-2010-12-0674299 (WebCore::FormDataElement::FormDataElement):
74300 (WebCore::FormDataElement::):
126731 (WebCore::FormDataElement::FormDataElement):
DChangeLog-2006-12-3149234 (WebCore::FormDataElement::FormDataElement):
DChangeLog-2010-05-2438662 (WebCore::FormDataElement::FormDataElement):
DChangeLog-2008-08-1025349 … (WebCore::FormData::appendFile): Passes along a shouldGenerateFile flag to the FormDataElement.
25354 …(WebCore::FormDataElement::FormDataElement): Added a boolean to track whether the file will need t…
/external/webkit/Tools/
DChangeLog-2011-02-161496 Add a test case for encode/decode of FormData/FormDataElement