Searched refs:b0 (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/main/java/java/util/ |
D | Base64.java | 455 int b0 = src[sp++] & 0xff; in encode0() local 456 dst[dp++] = (byte)base64[b0 >> 2]; in encode0() 458 dst[dp++] = (byte)base64[(b0 << 4) & 0x3f]; in encode0() 465 dst[dp++] = (byte)base64[(b0 << 4) & 0x3f | (b1 >> 4)]; in encode0() 890 private int b0, b1, b2; field in Base64.EncOutputStream 952 writeb4(base64[b0 >> 2], in write() 953 base64[(b0 << 4) & 0x3f | (b1 >> 4)], in write() 981 b0 = b[off++] & 0xff; in write() 983 b0 = b[off++] & 0xff; in write() 994 out.write(base64[b0 >> 2]); in close() [all …]
|
/libcore/ojluni/src/main/java/java/nio/ |
D | Bits.java | 67 static private char makeChar(byte b1, byte b0) { in makeChar() argument 68 return (char)((b1 << 8) | (b0 & 0xff)); in makeChar() 139 static private short makeShort(byte b1, byte b0) { in makeShort() argument 140 return (short)((b1 << 8) | (b0 & 0xff)); in makeShort() 211 static private int makeInt(byte b3, byte b2, byte b1, byte b0) { in makeInt() argument 215 ((b0 & 0xff) )); in makeInt() 305 byte b3, byte b2, byte b1, byte b0) in makeLong() argument 314 (((long)b0 & 0xff) )); in makeLong()
|