/tools/tradefederation/core/src/com/android/tradefed/util/net/ |
HttpMultipartPost.java | 39 private static final String BOUNDARY = "xXxXx"; 64 mBuilder.append(HYPHENS + BOUNDARY + CRLF); 101 mBuilder.append(HYPHENS + BOUNDARY + CRLF); 119 mBuilder.append(HYPHENS + BOUNDARY + HYPHENS); 122 "multipart/form-data;boundary=" + BOUNDARY);
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/ |
hugeshmat04.c | 36 #define BOUNDARY (1024 * 1024 * 1024) 68 buf = shmat(shmid, (void *)BOUNDARY, SHM_RND | 0777);
|
/external/owasp/sanitizer/tools/ |
googlecode_upload.py | 119 BOUNDARY = '----------Googlecode_boundary_reindeer_flotilla' 127 ['--' + BOUNDARY, 140 ['--' + BOUNDARY, 150 body.extend(['--' + BOUNDARY + '--', '']) 152 return 'multipart/form-data; boundary=%s' % BOUNDARY, CRLF.join(body)
|
/external/nist-sip/java/gov/nist/javax/sip/message/ |
MultipartMimeContentImpl.java | 31 private String boundary; field in class:MultipartMimeContentImpl 33 public static String BOUNDARY = "boundary"; 40 this.boundary = contentTypeHeader.getParameter(BOUNDARY); 87 String delimiter = this.getContentTypeHeader().getParameter(BOUNDARY); 128 ContentImpl content = new ContentImpl(rest, boundary);
|
/external/apache-http/android/src/com/android/internal/http/multipart/ |
Part.java | 58 * The boundary 61 protected static final String BOUNDARY = "----------------314159265358979323846"; 64 * The boundary as a byte array. 67 protected static final byte[] BOUNDARY_BYTES = EncodingUtils.getAsciiBytes(BOUNDARY); 70 * The default boundary to be used if {@link #setPartBoundary(byte[])} has not 124 * Return the boundary string. 125 * @return the boundary string 129 return BOUNDARY; 133 * The ASCII bytes to use as the multipart boundary. 163 * Gets the part boundary to be used [all...] |
/external/python/cpython3/Lib/test/ |
test_cgi.py | 126 env = {'boundary': BOUNDARY.encode('latin1'), 238 'CONTENT_TYPE': 'multipart/form-data; boundary={}'.format(BOUNDARY), 255 'CONTENT_TYPE': 'multipart/form-data; boundary={}'.format(BOUNDARY), 274 'CONTENT_TYPE': 'multipart/form-data; boundary={}'.format(BOUNDARY), 300 'CONTENT_TYPE': 'multipart/form-data; boundary=-123', 313 'CONTENT_TYPE': 'multipart/form-data; boundary={}'.format(BOUNDARY_W3) [all...] |
/frameworks/base/wifi/java/android/net/wifi/hotspot2/ |
ConfigParser.java | 60 private static final String BOUNDARY = "boundary="; 77 * Flag indicating if this is the last part (ending with --{boundary}--). 92 * Boundary string (optional), only applies for the outter MIME header. 94 public String boundary = null; field in class:ConfigParser.MimeHeader 112 * Content-Type: multipart/mixed; boundary={boundary} 116 * --{boundary} 121 * --{boundary} 126 * --{boundary} 351 String boundary = null; local [all...] |
/external/google-breakpad/src/testing/gtest/scripts/ |
upload.py | 511 BOUNDARY = '-M-A-G-I-C---B-O-U-N-D-A-R-Y-' 515 lines.append('--' + BOUNDARY) 520 lines.append('--' + BOUNDARY) 526 lines.append('--' + BOUNDARY + '--') 529 content_type = 'multipart/form-data; boundary=%s' % BOUNDARY [all...] |
/external/google-breakpad/src/testing/scripts/ |
upload.py | 511 BOUNDARY = '-M-A-G-I-C---B-O-U-N-D-A-R-Y-' 515 lines.append('--' + BOUNDARY) 520 lines.append('--' + BOUNDARY) 526 lines.append('--' + BOUNDARY + '--') 529 content_type = 'multipart/form-data; boundary=%s' % BOUNDARY [all...] |
/external/googletest/googlemock/scripts/ |
upload.py | 511 BOUNDARY = '-M-A-G-I-C---B-O-U-N-D-A-R-Y-' 515 lines.append('--' + BOUNDARY) 520 lines.append('--' + BOUNDARY) 526 lines.append('--' + BOUNDARY + '--') 529 content_type = 'multipart/form-data; boundary=%s' % BOUNDARY [all...] |
/external/googletest/googletest/scripts/ |
upload.py | 511 BOUNDARY = '-M-A-G-I-C---B-O-U-N-D-A-R-Y-' 515 lines.append('--' + BOUNDARY) 520 lines.append('--' + BOUNDARY) 526 lines.append('--' + BOUNDARY + '--') 529 content_type = 'multipart/form-data; boundary=%s' % BOUNDARY [all...] |
/external/v8/testing/gmock/scripts/ |
upload.py | 511 BOUNDARY = '-M-A-G-I-C---B-O-U-N-D-A-R-Y-' 515 lines.append('--' + BOUNDARY) 520 lines.append('--' + BOUNDARY) 526 lines.append('--' + BOUNDARY + '--') 529 content_type = 'multipart/form-data; boundary=%s' % BOUNDARY [all...] |
/external/v8/testing/gtest/scripts/ |
upload.py | 511 BOUNDARY = '-M-A-G-I-C---B-O-U-N-D-A-R-Y-' 515 lines.append('--' + BOUNDARY) 520 lines.append('--' + BOUNDARY) 526 lines.append('--' + BOUNDARY + '--') 529 content_type = 'multipart/form-data; boundary=%s' % BOUNDARY [all...] |
/external/v8/src/regexp/ |
regexp-ast.cc | 209 case RegExpAssertion::BOUNDARY:
|
regexp-ast.h | 270 BOUNDARY,
|
regexp-parser.cc | 358 new (zone()) RegExpAssertion(RegExpAssertion::BOUNDARY)); [all...] |
/external/valgrind/drd/tests/ |
tsan_unittest.cpp | [all...] |
/prebuilts/go/darwin-x86/src/mime/multipart/ |
multipart_test.go | 228 body := "--BOUNDARY\r\n" + 232 "\r\n--BOUNDARY--\r\n" 235 reader := NewReader(bodyReader, "BOUNDARY") 387 t.Errorf("Reader read past second boundary") 447 // with boundary e89a8ff1c1e83553e304be640612 542 // Single empty part, ended with --boundary immediately after headers. 544 name: "single empty part, --boundary", 552 // Single empty part, ended with \r\n--boundary immediately after headers. 554 name: "single empty part, \r\n--boundary", 601 // Part containing data starting with the boundary, but with additional suffix [all...] |
/prebuilts/go/linux-x86/src/mime/multipart/ |
multipart_test.go | 228 body := "--BOUNDARY\r\n" + 232 "\r\n--BOUNDARY--\r\n" 235 reader := NewReader(bodyReader, "BOUNDARY") 387 t.Errorf("Reader read past second boundary") 447 // with boundary e89a8ff1c1e83553e304be640612 542 // Single empty part, ended with --boundary immediately after headers. 544 name: "single empty part, --boundary", 552 // Single empty part, ended with \r\n--boundary immediately after headers. 554 name: "single empty part, \r\n--boundary", 601 // Part containing data starting with the boundary, but with additional suffix [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/ |
test_email.py | 158 eq(msg.get_boundary(), 'BOUNDARY')
162 # This one has no existing boundary parameter, but the Content-Type:
165 msg.set_boundary('BOUNDARY')
168 eq(value, 'text/plain; charset="us-ascii"; boundary="BOUNDARY"')
169 # This one has a Content-Type: header, with a boundary, stuck in the
173 msg.set_boundary('BOUNDARY')
176 eq(value, 'multipart/mixed; boundary="BOUNDARY"')
180 msg.set_boundary, 'BOUNDARY')
[all...] |
test_email_renamed.py | 159 eq(msg.get_boundary(), 'BOUNDARY')
163 # This one has no existing boundary parameter, but the Content-Type:
166 msg.set_boundary('BOUNDARY')
169 eq(value, 'text/plain; charset="us-ascii"; boundary="BOUNDARY"')
170 # This one has a Content-Type: header, with a boundary, stuck in the
174 msg.set_boundary('BOUNDARY')
177 eq(value, 'multipart/mixed; boundary="BOUNDARY"')
181 msg.set_boundary, 'BOUNDARY')
[all...] |
/external/python/cpython2/Lib/email/test/ |
test_email.py | 164 eq(msg.get_boundary(), 'BOUNDARY') 168 # This one has no existing boundary parameter, but the Content-Type: 171 msg.set_boundary('BOUNDARY') 174 eq(value, 'text/plain; charset="us-ascii"; boundary="BOUNDARY"') 175 # This one has a Content-Type: header, with a boundary, stuck in the 179 msg.set_boundary('BOUNDARY') 182 eq(value, 'multipart/mixed; boundary="BOUNDARY"') 186 msg.set_boundary, 'BOUNDARY') [all...] |
test_email_renamed.py | 159 eq(msg.get_boundary(), 'BOUNDARY') 163 # This one has no existing boundary parameter, but the Content-Type: 166 msg.set_boundary('BOUNDARY') 169 eq(value, 'text/plain; charset="us-ascii"; boundary="BOUNDARY"') 170 # This one has a Content-Type: header, with a boundary, stuck in the 174 msg.set_boundary('BOUNDARY') 177 eq(value, 'multipart/mixed; boundary="BOUNDARY"') 181 msg.set_boundary, 'BOUNDARY') [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/email/test/ |
test_email.py | 159 eq(msg.get_boundary(), 'BOUNDARY') 163 # This one has no existing boundary parameter, but the Content-Type: 166 msg.set_boundary('BOUNDARY') 169 eq(value, 'text/plain; charset="us-ascii"; boundary="BOUNDARY"') 170 # This one has a Content-Type: header, with a boundary, stuck in the 174 msg.set_boundary('BOUNDARY') 177 eq(value, 'multipart/mixed; boundary="BOUNDARY"') 181 msg.set_boundary, 'BOUNDARY') [all...] |
test_email_renamed.py | 159 eq(msg.get_boundary(), 'BOUNDARY') 163 # This one has no existing boundary parameter, but the Content-Type: 166 msg.set_boundary('BOUNDARY') 169 eq(value, 'text/plain; charset="us-ascii"; boundary="BOUNDARY"') 170 # This one has a Content-Type: header, with a boundary, stuck in the 174 msg.set_boundary('BOUNDARY') 177 eq(value, 'multipart/mixed; boundary="BOUNDARY"') 181 msg.set_boundary, 'BOUNDARY') [all...] |