Home | History | Annotate | Download | only in util

Lines Matching defs:intBytes

214     private final byte[] intBytes=new byte[5];
229 intBytes[0]=(byte)BytesTrie.kFiveByteValueLead;
230 intBytes[1]=(byte)(i>>24);
231 intBytes[2]=(byte)(i>>16);
232 intBytes[3]=(byte)(i>>8);
233 intBytes[4]=(byte)i;
236 // intBytes[0]=(byte)(BytesTrie.kMinOneByteValueLead+i);
239 intBytes[0]=(byte)(BytesTrie.kMinTwoByteValueLead+(i>>8));
242 intBytes[0]=(byte)(BytesTrie.kMinThreeByteValueLead+(i>>16));
244 intBytes[0]=(byte)BytesTrie.kFourByteValueLead;
245 intBytes[1]=(byte)(i>>16);
248 intBytes[length++]=(byte)(i>>8);
250 intBytes[length++]=(byte)i;
252 intBytes[0]=(byte)((intBytes[0]<<1)|(isFinal?1:0));
253 return write(intBytes, length);
284 intBytes[0]=(byte)(BytesTrie.kMinTwoByteDeltaLead+(i>>8));
288 intBytes[0]=(byte)(BytesTrie.kMinThreeByteDeltaLead+(i>>16));
292 intBytes[0]=(byte)BytesTrie.kFourByteDeltaLead;
295 intBytes[0]=(byte)BytesTrie.kFiveByteDeltaLead;
296 intBytes[1]=(byte)(i>>24);
299 intBytes[1]=(byte)(i>>16);
301 intBytes[1]=(byte)(i>>8);
303 intBytes[length++]=(byte)i;
304 return write(intBytes, length);