/external/webkit/Source/WebCore/platform/network/ |
D | FormData.cpp | 61 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 …]
|
D | FormData.h | 35 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 41 …FormDataElement(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 44 …FormDataElement(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/ |
D | FormDataStreamCurl.cpp | 52 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()
|
D | ResourceHandleManager.cpp | 469 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/ |
D | FormDataStreamCFNet.cpp | 70 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()
|
D | ResourceHandleCFNet.cpp | 319 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/ |
D | WebHTTPBody.cpp | 74 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/ |
D | FormDataStreamMac.mm | 134 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/ |
D | WebUrlLoaderClient.cpp | 126 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/ |
D | QNetworkReplyHandler.cpp | 54 : 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()
|
D | QNetworkReplyHandler.h | 175 Vector<FormDataElement> m_formElements;
|
/external/webkit/Source/WebKit/android/jni/ |
D | WebCoreFrameBridge.cpp | 1019 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/ |
D | ResourceHandleSoup.cpp | 518 const FormDataElement& element = httpBody->elements()[i]; in addFormElementsToSoupMessage() 520 if (element.m_type == FormDataElement::data) { in addFormElementsToSoupMessage()
|
/external/webkit/Source/WebCore/ |
D | ChangeLog-2011-02-16 | 10201 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
|
D | ChangeLog-2006-05-10 | 32559 (khtml::FormDataElement::FormDataElement):
|
D | ChangeLog-2010-12-06 | 74299 (WebCore::FormDataElement::FormDataElement): 74300 (WebCore::FormDataElement::): 126731 (WebCore::FormDataElement::FormDataElement):
|
D | ChangeLog-2006-12-31 | 49234 (WebCore::FormDataElement::FormDataElement):
|
D | ChangeLog-2010-05-24 | 38662 (WebCore::FormDataElement::FormDataElement):
|
D | ChangeLog-2008-08-10 | 25349 … (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/ |
D | ChangeLog-2011-02-16 | 1496 Add a test case for encode/decode of FormData/FormDataElement
|