Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/io/
DDataOutputStream.java48 private byte[] bytearr = null; field in DataOutputStream
367 byte[] bytearr = null; in writeUTF()
370 if(dos.bytearr == null || (dos.bytearr.length < (utflen+2))) in writeUTF()
371 dos.bytearr = new byte[(utflen*2) + 2]; in writeUTF()
372 bytearr = dos.bytearr; in writeUTF()
374 bytearr = new byte[utflen+2]; in writeUTF()
377 bytearr[count++] = (byte) ((utflen >>> 8) & 0xFF); in writeUTF()
378 bytearr[count++] = (byte) ((utflen >>> 0) & 0xFF); in writeUTF()
384 bytearr[count++] = (byte) c; in writeUTF()
390 bytearr[count++] = (byte) c; in writeUTF()
[all …]
DDataInputStream.java61 private byte bytearr[] = new byte[80]; field in DataInputStream
587 byte[] bytearr = null; in readUTF()
591 if (dis.bytearr.length < utflen){ in readUTF()
592 dis.bytearr = new byte[utflen*2]; in readUTF()
596 bytearr = dis.bytearr; in readUTF()
598 bytearr = new byte[utflen]; in readUTF()
606 in.readFully(bytearr, 0, utflen); in readUTF()
609 c = (int) bytearr[count] & 0xff; in readUTF()
616 c = (int) bytearr[count] & 0xff; in readUTF()
629 char2 = (int) bytearr[count-1]; in readUTF()
[all …]