Searched refs:inLength (Results 1 – 2 of 2) sorted by relevance
/libcore/luni/src/main/java/libcore/io/ |
D | Base64.java | 97 private static int computeEncodingOutputLen(int inLength) { in computeEncodingOutputLen() argument 98 int inLengthMod3 = inLength % 3; in computeEncodingOutputLen() 99 int outputLen = (inLength / 3) * 4; in computeEncodingOutputLen() 116 final int inLength = Math.min(in.length, len); in decode() local 118 ByteArrayOutputStream output = new ByteArrayOutputStream((inLength / 4) * 3 + 3); in decode() 123 while (pos[0] < inLength) { in decode() 129 byte c = getNextByte(in, pos, inLength); in decode() 142 return checkNoTrailingAndReturn(output, in, pos[0], inLength); in decode() 146 c = getNextByte(in, pos, inLength); in decode() 149 return checkNoTrailingAndReturn(output, in, pos[0], inLength); in decode() [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | StringTest.java | 45 int inLength = in.remaining(); in decodeLoop() local 46 for (int i = 0; i < inLength; ++i) { in decodeLoop() 66 int inLength = in.remaining(); in encodeLoop() local 67 for (int i = 0; i < inLength; ++i) { in encodeLoop()
|