/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...] |
BluetoothMapBmessageParser.java | 42 private final static String CRLF = "\r\n"; 63 * BEGIN:MSG<CRLF> + <CRLF> + END:MSG<CRFL> 111 * <bmessage-object>::= { "BEGIN:BMSG" <CRLF> <bmessage-property> 112 * [<bmessage-originator>]* <bmessage-envelope> "END:BMSG" <CRLF> } 115 mParser = new BmsgTokenizer(str + CRLF); 126 /* <bmessage-originator>::= <vcard> <CRLF> */ 161 * <common-digit>*"."<common-digit>* <CRLF> 162 * <bmessage-readstatus-property>::="STATUS:" 'readstatus' <CRLF> 163 * <bmessage-type-property>::="TYPE:" 'type' <CRLF> [all...] |
/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
SimpleIcsWriterTests.java | 31 private static final String CRLF = "\r\n"; 51 "TAG3:xyz" + CRLF + 52 "SUMMARY:TEST-TEST\\,\\;\\n\\\\TEST" + CRLF + // escaped 53 "SUMMARY2:TEST-TEST,;\r\n\\TEST" + CRLF // not escaped
|
/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);
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
TextBody.java | 40 out.write(Base64.encode(bytes, Base64.CRLF));
|
BinaryTempFileBody.java | 74 out, Base64.CRLF | Base64.NO_CLOSE);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/net/ |
file_uploader.py | 55 CRLF = '\r\n' 77 body = CRLF.join(lines)
|
/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:
|
base64mime.py | 42 CRLF = '\r\n' 181 return dec.replace(CRLF, convert_eols)
|
utils.py | 48 CRLF = '\r\n' 80 s = re.sub(r'(?<!\r)\n', CRLF, s) 82 s = re.sub(r'\r(?!\n)', CRLF, s)
|
/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:
|
base64mime.py | 42 CRLF = '\r\n' 181 return dec.replace(CRLF, convert_eols)
|
utils.py | 48 CRLF = '\r\n' 80 s = re.sub(r'(?<!\r)\n', CRLF, s) 82 s = re.sub(r'\r(?!\n)', CRLF, s)
|
/external/apache-http/src/org/apache/http/impl/io/ |
AbstractSessionOutputBuffer.java | 54 private static final byte[] CRLF = new byte[] {HTTP.CR, HTTP.LF}; 144 write(CRLF); 172 write(CRLF);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
Base64Test.java | 166 assertEquals("YQ==\r\n", encodeToString("a", Base64.CRLF)); 167 assertEquals("YQ\r\n", encodeToString("a", Base64.CRLF | Base64.NO_PADDING)); 173 assertEquals("YWI=\r\n", encodeToString("ab", Base64.CRLF)); 174 assertEquals("YWI\r\n", encodeToString("ab", Base64.CRLF | Base64.NO_PADDING)); 180 assertEquals("YWJj\r\n", encodeToString("abc", Base64.CRLF)); 181 assertEquals("YWJj\r\n", encodeToString("abc", Base64.CRLF | Base64.NO_PADDING)); 187 assertEquals("YWJjZA==\r\n", encodeToString("abcd", Base64.CRLF)); 188 assertEquals("YWJjZA\r\n", encodeToString("abcd", Base64.CRLF | Base64.NO_PADDING)); 312 Base64.CRLF, 427 Base64.CRLF, [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
poplib.py | 30 # Line terminators (we always output CRLF, but accept any of CRLF, LFCR, LF) 33 CRLF = CR+LF 91 self.sock.sendall('%s%s' % (line, CRLF)) 101 # Internal: return one line from the server, stripping CRLF. 112 # so only possibilities are ...LF, ...CRLF, CR...LF 113 if line[-2:] == CRLF: 374 if line[-2:] == CRLF: 382 line += CRLF
|
ftplib.py | 73 # Line terminators (we always output CRLF, but accept any of CRLF, CR, LF) 74 CRLF = '\r\n' 169 # Internal: send one line to the server, appending CRLF 171 line = line + CRLF 180 # Internal: return one line from the server, stripping CRLF. 187 if line[-2:] == CRLF: line = line[:-2] 188 elif line[-1:] in CRLF: line = line[:-1] 193 # trailing CRLF. If the response consists of multiple lines, 234 line = 'ABOR' + CRLF [all...] |
smtplib.py | 38 # Better RFC 821 compliance (MAIL and RCPT, and CRLF in data) 59 CRLF = "\r\n" 163 Internet CRLF end-of-line. 166 re.sub(r'(?:\r\n|\n|\r(?!\n))', CRLF, data)) 332 str = '%s%s' % (cmd, CRLF) 334 str = '%s %s%s' % (cmd, args, CRLF) 499 if q[-2:] != CRLF: 500 q = q + CRLF 501 q = q + "." + CRLF
|
nntplib.py | 87 # Line terminators (we always output CRLF, but accept any of CRLF, CR, LF) 88 CRLF = '\r\n' 190 """Internal: send one line to the server, appending CRLF.""" 191 line = line + CRLF 201 """Internal: return one line from the server, stripping CRLF. 207 if line[-2:] == CRLF: line = line[:-2] 208 elif line[-1:] in CRLF: line = line[:-1]
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
poplib.py | 30 # Line terminators (we always output CRLF, but accept any of CRLF, LFCR, LF) 33 CRLF = CR+LF 91 self.sock.sendall('%s%s' % (line, CRLF)) 101 # Internal: return one line from the server, stripping CRLF. 112 # so only possibilities are ...LF, ...CRLF, CR...LF 113 if line[-2:] == CRLF: 374 if line[-2:] == CRLF: 382 line += CRLF
|
ftplib.py | 73 # Line terminators (we always output CRLF, but accept any of CRLF, CR, LF) 74 CRLF = '\r\n' 169 # Internal: send one line to the server, appending CRLF 171 line = line + CRLF 180 # Internal: return one line from the server, stripping CRLF. 187 if line[-2:] == CRLF: line = line[:-2] 188 elif line[-1:] in CRLF: line = line[:-1] 193 # trailing CRLF. If the response consists of multiple lines, 234 line = 'ABOR' + CRLF [all...] |
smtplib.py | 38 # Better RFC 821 compliance (MAIL and RCPT, and CRLF in data) 59 CRLF = "\r\n" 163 Internet CRLF end-of-line. 166 re.sub(r'(?:\r\n|\n|\r(?!\n))', CRLF, data)) 332 str = '%s%s' % (cmd, CRLF) 334 str = '%s %s%s' % (cmd, args, CRLF) 499 if q[-2:] != CRLF: 500 q = q + CRLF 501 q = q + "." + CRLF
|
/external/chromium_org/chrome/test/chromedriver/third_party/googlecode/ |
googlecode_upload.py | 126 CRLF = '\r\n' 158 return 'multipart/form-data; boundary=%s' % BOUNDARY, CRLF.join(body)
|
/external/owasp/sanitizer/tools/ |
googlecode_upload.py | 120 CRLF = '\r\n' 152 return 'multipart/form-data; boundary=%s' % BOUNDARY, CRLF.join(body)
|