Searched refs:CHUNK_SEPARATOR (Results 1 – 2 of 2) sorted by relevance
/external/apache-http/src/org/apache/commons/codec/binary/ |
D | Base64.java | 58 static final byte[] CHUNK_SEPARATOR = "\r\n".getBytes(); field in Base64 259 … (CHUNK_SEPARATOR.length == 0 ? 0 : (int) Math.ceil((float) encodedDataLength / CHUNK_SIZE)); in encodeBase64() 260 encodedDataLength += nbrChunks * CHUNK_SEPARATOR.length; in encodeBase64() 309 CHUNK_SEPARATOR, in encodeBase64() 313 CHUNK_SEPARATOR.length); in encodeBase64() 317 (chunksSoFar * CHUNK_SEPARATOR.length); in encodeBase64() 318 encodedIndex += CHUNK_SEPARATOR.length; in encodeBase64() 360 CHUNK_SEPARATOR, in encodeBase64() 363 encodedDataLength - CHUNK_SEPARATOR.length, in encodeBase64() 364 CHUNK_SEPARATOR.length); in encodeBase64()
|
/external/sl4a/Common/src/org/apache/commons/codec/binary/ |
D | Base64Codec.java | 78 static final byte[] CHUNK_SEPARATOR = {'\r', '\n'}; field in Base64Codec 243 this(CHUNK_SIZE, CHUNK_SEPARATOR, urlSafe); in Base64Codec() 265 this(lineLength, CHUNK_SEPARATOR); in Base64Codec() 322 lineSeparator = CHUNK_SEPARATOR; // this just gets ignored in Base64Codec() 808 long len = getEncodeLength(binaryData, CHUNK_SIZE, CHUNK_SEPARATOR); in encodeBase64() 816 …Base64Codec b64 = isChunked ? new Base64Codec(urlSafe) : new Base64Codec(0, CHUNK_SEPARATOR, urlSa… in encodeBase64()
|