Searched refs:tailLen (Results 1 – 2 of 2) sorted by relevance
573 /* package */ int tailLen; field in Base64.Encoder590 tailLen = 0; in Encoder()618 switch (tailLen) { in process()630 tailLen = 0; in process()640 tailLen = 0; in process()685 if (p-tailLen == len-1) { in process()687 v = ((tailLen > 0 ? tail[t++] : input[p++]) & 0xff) << 4; in process()688 tailLen -= t; in process()699 } else if (p-tailLen == len-2) { in process()701 v = (((tailLen > 1 ? tail[t++] : input[p++]) & 0xff) << 10) | in process()[all …]
250 assertEquals(0, encoder.tailLen); in XXXtestEncodeInternal()254 assertEquals(0, encoder.tailLen); in XXXtestEncodeInternal()258 assertEquals(1, encoder.tailLen); in XXXtestEncodeInternal()262 assertEquals(2, encoder.tailLen); in XXXtestEncodeInternal()266 assertEquals(0, encoder.tailLen); in XXXtestEncodeInternal()270 assertEquals(2, encoder.tailLen); in XXXtestEncodeInternal()274 assertEquals(1, encoder.tailLen); in XXXtestEncodeInternal()278 assertEquals(0, encoder.tailLen); in XXXtestEncodeInternal()