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

1 2 3 4 5 6

  /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...]
  /external/jetty/src/java/org/eclipse/jetty/http/
HttpTokens.java 31 static final byte[] CRLF = {CARRIAGE_RETURN,LINE_FEED};
HttpGenerator.java 100 private static final byte[] CRLF = StringUtil.getBytes("\015\012");
198 nc.put(HttpTokens.CRLF);
200 nc.put(HttpTokens.CRLF);
325 _header.put(HttpTokens.CRLF);
393 _header.put(HttpTokens.CRLF);
405 _header.put(HttpTokens.CRLF);
442 _header.put(HttpTokens.CRLF);
452 _header.put(HttpTokens.CRLF);
466 _header.put(HttpTokens.CRLF);
488 _header.put(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);
  /libcore/ojluni/src/main/java/sun/net/www/http/
ChunkedOutputStream.java 37 private static final byte[] CRLF = {'\r', '\n'};
38 private static final int CRLF_SIZE = CRLF.length;
39 private static final byte[] FOOTER = CRLF;
77 header[hexBytes.length] = CRLF[0];
78 header[hexBytes.length+1] = CRLF[1];
101 * 3 bytes for chunk size in hex and CRLF (header) and CRLF (footer)).
190 * chunks of a following format: {Data length in Hex}{CRLF}{data}{CRLF}
196 * chunk of a following format: {space for data length}{CRLF}{data
    [all...]
  /frameworks/base/packages/Osu/src/com/android/hotspot2/utils/
HTTPMessage.java 23 public static final String CRLF = "\r\n";
HTTPResponse.java 75 Iterator<String> headerLines = Arrays.asList(headerText.split(CRLF)).iterator();
152 sb.append("Status: ").append(mStatusCode).append(CRLF);
154 sb.append(entry.getKey()).append(": ").append(entry.getValue()).append(CRLF);
156 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);
  /packages/services/Telephony/src/com/android/phone/common/mail/internet/
TextBody.java 39 out.write(Base64.encode(bytes, Base64.CRLF));
  /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:
base64mime.py 42 CRLF = '\r\n'
181 return dec.replace(CRLF, convert_eols)
  /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)
  /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)
  /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);
  /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/gdb/darwin-x86/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
  /prebuilts/gdb/linux-x86/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
  /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

Completed in 415 milliseconds

1 2 3 4 5 6