/external/chromium_org/third_party/libjingle/source/talk/base/ |
multipart_unittest.cc | 35 #include "talk/base/multipart.h" 41 "multipart/form-data; boundary=123456789987654321"; 46 MultipartStream multipart("multipart/form-data", kTestMultipartBoundary); 48 multipart.GetContentType(&content_type); 51 EXPECT_EQ(talk_base::SS_OPENING, multipart.GetState()); 53 // The multipart stream contains only --boundary--\r\n 54 size_t end_part_size = multipart.GetEndPartSize(); 55 multipart.EndParts(); 56 EXPECT_EQ(talk_base::SS_OPEN, multipart.GetState()) [all...] |
/frameworks/base/core/java/com/android/internal/http/multipart/ |
PartSource.java | 2 * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/methods/multipart/PartSource.java,v 1.6 2004/04/18 23:51:37 jsdever Exp $ 31 package com.android.internal.http.multipart; 37 * An interface for providing access to data when posting MultiPart messages. 57 * @return the fileName used for posting a MultiPart file part
|
ByteArrayPartSource.java | 2 * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/methods/multipart/ByteArrayPartSource.java,v 1.7 2004/04/18 23:51:37 jsdever Exp $ 31 package com.android.internal.http.multipart;
|
FilePartSource.java | 2 * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/methods/multipart/FilePartSource.java,v 1.10 2004/04/18 23:51:37 jsdever Exp $ 31 package com.android.internal.http.multipart;
|
PartBase.java | 2 * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/methods/multipart/PartBase.java,v 1.5 2004/04/18 23:51:37 jsdever Exp $ 31 package com.android.internal.http.multipart;
|
StringPart.java | 2 * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/methods/multipart/StringPart.java,v 1.11 2004/04/18 23:51:37 jsdever Exp $ 31 package com.android.internal.http.multipart; 41 * Simple string parameter for a multipart post 142 * @see org.apache.commons.httpclient.methods.multipart.BasePart#setCharSet(java.lang.String)
|
FilePart.java | 2 * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/methods/multipart/FilePart.java,v 1.19 2004/04/18 23:51:37 jsdever Exp $ 31 package com.android.internal.http.multipart; 43 * This class implements a part of a Multipart post object that
|
MultipartEntity.java | 2 * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/methods/multipart/MultipartRequestEntity.java,v 1.1 2004/10/06 03:39:59 mbecke Exp $ 31 package com.android.internal.http.multipart; 50 * Implements a request entity suitable for an HTTP multipart POST method. 52 * The HTTP multipart POST method is defined in section 3.3 of 55 * The media-type multipart/form-data follows the rules of all multipart 56 * MIME data streams as outlined in RFC 1521. The multipart/form-data contains 67 * multipart posts. Example usage:</p> 88 /** The Content-Type for multipart/form-data. */ 89 private static final String MULTIPART_FORM_CONTENT_TYPE = "multipart/form-data" [all...] |
/external/chromium_org/chrome/browser/extensions/api/webrtc_logging_private/ |
webrtc_logging_private_apitest.cc | 34 // Tell the uploader to save the multipart to a buffer instead of uploading. 35 std::string multipart; local 37 OverrideUploadWithBufferForTesting(&multipart); 82 ASSERT_TRUE(multipart.empty()); 85 // Tests WebRTC diagnostic logging. Sets up the browser to save the multipart 87 // Example of multipart contents: 122 // Tell the uploader to save the multipart to a buffer instead of uploading. 123 std::string multipart; local 125 OverrideUploadWithBufferForTesting(&multipart); 198 ASSERT_FALSE(multipart.empty()) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
mimify.py | 40 mp = re.compile('^content-type:.*multipart/.*boundary="?([^;"\n]*)', re.I|re.S) 124 multipart = None 157 multipart = '--' + mp_res.group(1) 160 if is_repl and (quoted_printable or multipart): 175 ## multipart = line[:-1] 176 while multipart: 177 if line == multipart + '--\n': 179 multipart = None 182 if line == multipart + '\n': 184 nifile = File(ifile, multipart) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
mimify.py | 40 mp = re.compile('^content-type:.*multipart/.*boundary="?([^;"\n]*)', re.I|re.S) 124 multipart = None 157 multipart = '--' + mp_res.group(1) 160 if is_repl and (quoted_printable or multipart): 175 ## multipart = line[:-1] 176 while multipart: 177 if line == multipart + '--\n': 179 multipart = None 182 if line == multipart + '\n': 184 nifile = File(ifile, multipart) [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
BandwidthTestUtil.java | 21 import com.android.internal.http.multipart.FilePart; 22 import com.android.internal.http.multipart.MultipartEntity; 23 import com.android.internal.http.multipart.Part; 24 import com.android.internal.http.multipart.StringPart;
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
MimeBodyPart.java | 91 if (body instanceof com.android.emailcommon.mail.Multipart) { 92 com.android.emailcommon.mail.Multipart multipart = local 93 ((com.android.emailcommon.mail.Multipart)body); 94 multipart.setParent(this); 95 setHeader(MimeHeader.HEADER_CONTENT_TYPE, multipart.getContentType());
|
MimeUtility.java | 29 import com.android.emailcommon.mail.Multipart; 220 if (part.getBody() instanceof Multipart) { 221 Multipart multipart = (Multipart)part.getBody(); local 222 for (int i = 0, count = multipart.getCount(); i < count; i++) { 223 BodyPart bodyPart = multipart.getBodyPart(i); 237 if (part.getBody() instanceof Multipart) { 238 Multipart multipart = (Multipart)part.getBody() local [all...] |
MimeMessage.java | 24 import com.android.emailcommon.mail.Multipart; 408 if (body instanceof Multipart) { 409 Multipart multipart = ((Multipart)body); local 410 multipart.setParent(this); 411 setHeader(MimeHeader.HEADER_CONTENT_TYPE, multipart.getContentType()); 606 MimeMultipart multiPart = new MimeMultipart(e.getContentType()); 607 e.setBody(multiPart); 608 stack.push(multiPart); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
TextFieldInputType.h | 87 virtual bool appendFormData(FormDataList&, bool multipart) const OVERRIDE;
|
InputType.h | 110 virtual bool appendFormData(FormDataList&, bool multipart) const;
|
FileInputType.cpp | 99 bool FileInputType::appendFormData(FormDataList& encoding, bool multipart) const 103 if (!multipart) { 107 // Unlike the multipart case, we have no special handling for the empty 108 // fileList because Netscape doesn't support for non-multipart
|
TextFieldInputType.cpp | 496 bool TextFieldInputType::appendFormData(FormDataList& list, bool multipart) const 498 InputType::appendFormData(list, multipart);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_MimeWriter.py | 88 Content-Type: multipart/knowbot; 95 Content-Type: multipart/knowbot-metadata; 146 Content-Type: multipart/knowbot-code; 176 Content-Type: multipart/knowbot-state;
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_MimeWriter.py | 88 Content-Type: multipart/knowbot; 95 Content-Type: multipart/knowbot-metadata; 146 Content-Type: multipart/knowbot-code; 176 Content-Type: multipart/knowbot-state;
|
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
Rfc822OutputTests.java | 35 import org.apache.james.mime4j.message.Multipart; 248 // Attach a meeting invitation, which needs to be sent as multipart/alternative 274 assertTrue(contentType.getBody().contains("multipart/alternative")); 275 Multipart multipart = (Multipart)mimeMessage.getBody(); local 276 List<BodyPart> partList = multipart.getBodyParts(); 318 assertTrue(contentType.getBody().contains("multipart/mixed")); 319 Multipart multipart = (Multipart)mimeMessage.getBody() local [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/ |
MultipartTest.java | 17 package com.android.internal.http.multipart; 34 File upload = File.createTempFile("Multipart", "test"); 55 StringBuffer contentType = new StringBuffer("multipart/form-data"); 58 assertEquals("Multipart content type error", contentType.toString(), h.getValue()); 114 assertEquals("Multipart content error", output.toString(), os.toString());
|
/packages/apps/Email/src/com/android/email/service/ |
EmailServiceStub.java | 205 final MimeMultipart multipart = new MimeMultipart(); local 206 multipart.setSubType("mixed"); 207 multipart.addBodyPart(storePart); 209 storeMessage.setHeader(MimeHeader.HEADER_CONTENT_TYPE, "multipart/mixed"); 210 storeMessage.setBody(multipart);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
Rfc822Output.java | 165 boolean multipart = attachments.size() > 0; 169 // Simplified case for no multipart - just emit text and be done. 170 if (!multipart) { 173 // continue with multipart headers, then into multipart body 176 // Move to the first attachment; this must succeed because multipart is true 179 // this as multipart/alternative instead of multipart/mixed 187 "multipart/" + multipartType + "; boundary=\"" + multipartBoundary + "\""); 191 // first multipart element is the bod [all...] |