Searched refs:tailLen (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/util/ |
D | Base64.java | 573 /* package */ int tailLen; field in Base64.Encoder 590 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 …]
|
/frameworks/base/media/tests/NativeMidiDemo/jni/ |
D | messagequeue.cpp | 46 size_t tailLen = messageBufferSize - wrappedWritePos; in writeMessage() local 47 memset(messageBuffer + wrappedWritePos, 0, tailLen); in writeMessage() 48 lastWritePos += tailLen; in writeMessage()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | Base64Test.java | 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()
|