Searched refs:MAX_BLOCK_SIZE (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectOutputStream.java | 1815 private static final int MAX_BLOCK_SIZE = 1024; field in ObjectOutputStream.BlockDataOutputStream 1822 private final byte[] buf = new byte[MAX_BLOCK_SIZE]; 1913 if (pos >= MAX_BLOCK_SIZE) { in write() 1957 if (pos >= MAX_BLOCK_SIZE) { in write() 1960 if (len >= MAX_BLOCK_SIZE && !copy && pos == 0) { in write() 1962 writeBlockHeader(MAX_BLOCK_SIZE); in write() 1963 out.write(b, off, MAX_BLOCK_SIZE); in write() 1964 off += MAX_BLOCK_SIZE; in write() 1965 len -= MAX_BLOCK_SIZE; in write() 1967 int wlen = Math.min(len, MAX_BLOCK_SIZE - pos); in write() [all …]
|
D | ObjectInputStream.java | 2740 private static final int MAX_BLOCK_SIZE = 1024; field in ObjectInputStream.BlockDataInputStream 2749 private final byte[] buf = new byte[MAX_BLOCK_SIZE]; 2909 in.read(buf, 0, Math.min(unread, MAX_BLOCK_SIZE)); in refill() 3016 int nread = (int) Math.min(remain, MAX_BLOCK_SIZE); in skip() 3087 int nread = in.read(buf, 0, Math.min(len, MAX_BLOCK_SIZE)); in read() 3259 int span = Math.min(endoff - off, MAX_BLOCK_SIZE); in readBooleans() 3280 int span = Math.min(endoff - off, MAX_BLOCK_SIZE >> 1); in readChars() 3302 int span = Math.min(endoff - off, MAX_BLOCK_SIZE >> 1); in readShorts() 3324 int span = Math.min(endoff - off, MAX_BLOCK_SIZE >> 2); in readInts() 3346 span = Math.min(endoff - off, MAX_BLOCK_SIZE >> 2); in readFloats() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | ObjectOutputStream.java | 458 private static final int MAX_BLOCK_SIZE = 1024; // 0x400 field in ObjectOutputStream.BlockDataOutputStream
|
D | ObjectInputStream.java | 522 private static final int MAX_BLOCK_SIZE = 1024; // 0x400 field in ObjectInputStream.BlockDataInputStream
|