/tools/tradefederation/core/tests/src/com/android/tradefed/util/net/ |
HttpMultipartPostTest.java | 38 private static final String CRLF = "\r\n"; 53 String expectedContents = "--xXxXx" + CRLF 54 + "Content-Disposition: form-data; name=\"param1\"" + CRLF 55 + CRLF + "value1" + CRLF + "--xXxXx" + CRLF 57 + mFile.getAbsolutePath() + "\"" + CRLF 58 + "Content-Type: text/plain" + CRLF 59 + CRLF + "Test data" 60 + CRLF + "--xXxXx--" + CRLF + CRLF [all...] |
/tools/tradefederation/core/src/com/android/tradefed/util/net/ |
HttpMultipartPost.java | 41 private static final String CRLF = "\r\n"; 64 mBuilder.append(HYPHENS + BOUNDARY + CRLF); 66 "Content-Disposition: form-data; name=\"%s\"%s%s", name, CRLF, 67 CRLF)); 69 mBuilder.append(CRLF); 101 mBuilder.append(HYPHENS + BOUNDARY + CRLF); 104 name, fileName, CRLF)); 105 mBuilder.append(String.format("Content-Type: %s%s", CONTENT_TYPE, CRLF)); 106 mBuilder.append(CRLF); 110 mBuilder.append(CRLF); [all...] |
/external/curl/docs/cmdline-opts/ |
crlf.d | 1 Long: crlf 2 Help: Convert LF to CRLF in upload 5 Convert LF to CRLF in upload. Useful for MVS (OS/390).
|
/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/ |
MultipartTest.java | 59 final String CRLF = "\r\n"; 64 output.append(CRLF); 67 output.append(CRLF); 69 output.append(CRLF); 71 output.append(CRLF); 72 output.append(CRLF); 74 output.append(CRLF); 78 output.append(CRLF); 86 output.append(CRLF); 88 output.append(CRLF); [all...] |
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
BluetoothMapBmessageBuilder.java | 27 private final static String CRLF = "\r\n"; 71 int bodyLen = MSG_BEGIN.length() + MSG_END.length() + 3 * CRLF.length() 74 mBmsg.append(BMSG_BEGIN).append(CRLF); 76 mBmsg.append(BMSG_VERSION).append(CRLF); 77 mBmsg.append(BMSG_STATUS).append(bmsg.mBmsgStatus).append(CRLF); 78 mBmsg.append(BMSG_TYPE).append(bmsg.mBmsgType).append(CRLF); 79 mBmsg.append(BMSG_FOLDER).append(bmsg.mBmsgFolder).append(CRLF); 86 mBmsg.append(BENV_BEGIN).append(CRLF); 93 mBmsg.append(BBODY_BEGIN).append(CRLF); 96 mBmsg.append(BBODY_ENCODING).append(bmsg.mBbodyEncoding).append(CRLF); [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
BmessageBuilder.java | 27 private final static String CRLF = "\r\n"; 70 int bodyLen = MSG_BEGIN.length() + MSG_END.length() + 3 * CRLF.length() 73 mBmsg.append(BMSG_BEGIN).append(CRLF); 75 mBmsg.append(BMSG_VERSION).append(CRLF); 76 mBmsg.append(BMSG_STATUS).append(bmsg.mBmsgStatus).append(CRLF); 77 mBmsg.append(BMSG_TYPE).append(bmsg.mBmsgType).append(CRLF); 78 mBmsg.append(BMSG_FOLDER).append(bmsg.mBmsgFolder).append(CRLF); 85 mBmsg.append(BENV_BEGIN).append(CRLF); 92 mBmsg.append(BBODY_BEGIN).append(CRLF); 95 mBmsg.append(BBODY_ENCODING).append(bmsg.mBbodyEncoding).append(CRLF); [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
HTTP.java | 37 public static final String CRLF = "\r\n"; 121 * The result will end with two CRLF pairs. 148 sb.append(CRLF); 157 sb.append(CRLF); 160 sb.append(CRLF);
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
MultipartBuilder.java | 71 private static final byte[] CRLF = { '\r', '\n' }; 243 sink.write(CRLF); 250 .write(CRLF); 258 .write(CRLF); 265 .write(CRLF); 272 sink.write(CRLF); 280 sink.write(CRLF); 286 sink.write(CRLF);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/ |
HTTPMessage.java | 23 public static final String CRLF = "\r\n";
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
TextBody.java | 37 out.write(Base64.encode(bytes, Base64.CRLF));
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
TextBody.java | 40 out.write(Base64.encode(bytes, Base64.CRLF));
|
/tools/apksig/src/main/java/com/android/apksig/internal/jar/ |
ManifestWriter.java | 35 private static final byte[] CRLF = new byte[] {'\r', '\n'}; 71 out.write(CRLF); 96 out.write(CRLF); 105 out.write(CRLF);
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
Email.java | 38 static final String CRLF = "\r\n"; 127 fullMsg.append(join(headers, CRLF)); 128 fullMsg.append(CRLF); 129 fullMsg.append(CRLF);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/ |
quoprimime.py | 51 CRLF = '\r\n'
213 if line.endswith(CRLF):
215 elif line[-1] in CRLF:
255 if lines[lineno].endswith(CRLF) or lines[lineno][-1] in CRLF:
|
base64mime.py | 42 CRLF = '\r\n'
181 return dec.replace(CRLF, convert_eols)
|
/external/python/cpython2/Lib/email/ |
quoprimime.py | 51 CRLF = '\r\n' 213 if line.endswith(CRLF): 215 elif line[-1] in CRLF: 255 if lines[lineno].endswith(CRLF) or lines[lineno][-1] in CRLF:
|
base64mime.py | 42 CRLF = '\r\n' 181 return dec.replace(CRLF, convert_eols)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/email/ |
quoprimime.py | 51 CRLF = '\r\n' 213 if line.endswith(CRLF): 215 elif line[-1] in CRLF: 255 if lines[lineno].endswith(CRLF) or lines[lineno][-1] in CRLF:
|
base64mime.py | 42 CRLF = '\r\n' 181 return dec.replace(CRLF, convert_eols)
|
/prebuilts/gdb/linux-x86/lib/python2.7/email/ |
quoprimime.py | 51 CRLF = '\r\n' 213 if line.endswith(CRLF): 215 elif line[-1] in CRLF: 255 if lines[lineno].endswith(CRLF) or lines[lineno][-1] in CRLF:
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/ |
quoprimime.py | 51 CRLF = '\r\n' 213 if line.endswith(CRLF): 215 elif line[-1] in CRLF: 255 if lines[lineno].endswith(CRLF) or lines[lineno][-1] in CRLF:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
quoprimime.py | 51 CRLF = '\r\n' 213 if line.endswith(CRLF): 215 elif line[-1] in CRLF: 255 if lines[lineno].endswith(CRLF) or lines[lineno][-1] in CRLF:
|
/external/apache-http/src/org/apache/http/impl/io/ |
AbstractSessionOutputBuffer.java | 59 private static final byte[] CRLF = new byte[] {HTTP.CR, HTTP.LF}; 149 write(CRLF); 177 write(CRLF);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/ |
gopher.py | 37 CRLF = '\r\n'
53 s.send(selector + CRLF)
66 if line[-2:] == CRLF:
68 elif line[-1:] in CRLF:
87 # Get a text file as a list of lines, with trailing CRLF stripped
93 # Get a text file and pass each line to a function, with trailing CRLF stripped
101 if line[-2:] == CRLF:
103 elif line[-1:] in CRLF:
|
/external/python/cpython2/Demo/sockets/ |
gopher.py | 37 CRLF = '\r\n' 53 s.send(selector + CRLF) 66 if line[-2:] == CRLF: 68 elif line[-1:] in CRLF: 87 # Get a text file as a list of lines, with trailing CRLF stripped 93 # Get a text file and pass each line to a function, with trailing CRLF stripped 101 if line[-2:] == CRLF: 103 elif line[-1:] in CRLF:
|