HomeSort by relevance Sort by last modified time
    Searched refs:CRLF (Results 1 - 25 of 61) sorted by null

1 2 3

  /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...]
  /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
  /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
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]
  /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/okhttp/src/main/java/com/squareup/okhttp/internal/http/
HttpTransport.java 264 private static final byte[] CRLF = { '\r', '\n' };
270 /** Scratch space for up to 8 hex digits, and then a constant CRLF. */
317 socketOut.write(CRLF);
327 * followed by CRLF.
363 socketOut.write(CRLF);
  /frameworks/base/core/java/com/android/internal/http/multipart/
Part.java 76 protected static final String CRLF = "\r\n";
79 protected static final byte[] CRLF_BYTES = EncodingUtils.getAsciiBytes(CRLF);
  /frameworks/base/core/java/android/util/
Base64.java 47 * CRLF pair instead of just an LF. Has no effect if {@code
50 public static final int CRLF = 4;
586 do_cr = (flags & CRLF) != 0;

Completed in 629 milliseconds

1 2 3