Home
last modified time | relevance | path

Searched refs:b0 (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DBase64.java420 int b0 = src[sp++] & 0xff; in encode0() local
421 dst[dp++] = (byte)base64[b0 >> 2]; in encode0()
423 dst[dp++] = (byte)base64[(b0 << 4) & 0x3f]; in encode0()
430 dst[dp++] = (byte)base64[(b0 << 4) & 0x3f | (b1 >> 4)]; in encode0()
755 private int b0, b1, b2; field in Base64.EncOutputStream
810 out.write(base64[b0 >> 2]); in write()
811 out.write(base64[(b0 << 4) & 0x3f | (b1 >> 4)]); in write()
830 b0 = b[off++] & 0xff; in write()
832 b0 = b[off++] & 0xff; in write()
843 out.write(base64[b0 >> 2]); in close()
[all …]
/libcore/ojluni/src/main/java/java/nio/
DBits.java64 static private char makeChar(byte b1, byte b0) { in makeChar() argument
65 return (char)((b1 << 8) | (b0 & 0xff)); in makeChar()
136 static private short makeShort(byte b1, byte b0) { in makeShort() argument
137 return (short)((b1 << 8) | (b0 & 0xff)); in makeShort()
208 static private int makeInt(byte b3, byte b2, byte b1, byte b0) { in makeInt() argument
212 ((b0 & 0xff) )); in makeInt()
302 byte b3, byte b2, byte b1, byte b0) in makeLong() argument
311 (((long)b0 & 0xff) )); in makeLong()