Home
last modified time | relevance | path

Searched refs:tailLen (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/util/
DBase64.java576 /* package */ int tailLen; field in Base64.Encoder
593 tailLen = 0; in Encoder()
621 switch (tailLen) { in process()
633 tailLen = 0; in process()
643 tailLen = 0; in process()
688 if (p-tailLen == len-1) { in process()
690 v = ((tailLen > 0 ? tail[t++] : input[p++]) & 0xff) << 4; in process()
691 tailLen -= t; in process()
702 } else if (p-tailLen == len-2) { in process()
704 v = (((tailLen > 1 ? tail[t++] : input[p++]) & 0xff) << 10) | in process()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DBase64Test.java264 assertEquals(0, encoder.tailLen); in testEncodeInternal()
268 assertEquals(0, encoder.tailLen); in testEncodeInternal()
272 assertEquals(1, encoder.tailLen); in testEncodeInternal()
276 assertEquals(2, encoder.tailLen); in testEncodeInternal()
280 assertEquals(0, encoder.tailLen); in testEncodeInternal()
284 assertEquals(2, encoder.tailLen); in testEncodeInternal()
288 assertEquals(1, encoder.tailLen); in testEncodeInternal()
292 assertEquals(0, encoder.tailLen); in testEncodeInternal()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt56912 Landroid/util/Base64$Encoder;->tailLen:I