Searched refs:b0 (Results 1 – 2 of 2) sorted by relevance
86 byte b0 = d[idx++]; in newStringFromBytes()87 if ((b0 & 0x80) == 0) { in newStringFromBytes()90 int val = b0 & 0xff; in newStringFromBytes()92 } else if (((b0 & 0xe0) == 0xc0) || ((b0 & 0xf0) == 0xe0) || in newStringFromBytes()93 ((b0 & 0xf8) == 0xf0) || ((b0 & 0xfc) == 0xf8) || ((b0 & 0xfe) == 0xfc)) { in newStringFromBytes()95 if ((b0 & 0xf0) == 0xe0) utfCount = 2; in newStringFromBytes()96 else if ((b0 & 0xf8) == 0xf0) utfCount = 3; in newStringFromBytes()97 else if ((b0 & 0xfc) == 0xf8) utfCount = 4; in newStringFromBytes()98 else if ((b0 & 0xfe) == 0xfc) utfCount = 5; in newStringFromBytes()113 int val = b0 & (0x1f >> (utfCount - 1)); in newStringFromBytes()
65 static private char makeChar(byte b1, byte b0) { in makeChar() argument66 return (char) ((b1 << 8) | (b0 & 0xff)); in makeChar()142 static private short makeShort(byte b1, byte b0) { in makeShort() argument143 return (short) ((b1 << 8) | (b0 & 0xff)); in makeShort()219 static private int makeInt(byte b3, byte b2, byte b1, byte b0) { in makeInt() argument223 ((b0 & 0xff))); in makeInt()324 byte b3, byte b2, byte b1, byte b0) { in makeLong() argument332 (((long) b0 & 0xff))); in makeLong()