Home
last modified time | relevance | path

Searched refs:writeShort (Results 1 – 25 of 30) sorted by relevance

12

/libcore/ojluni/src/main/java/java/util/zip/
DZipOutputStream.java409 writeShort(version(e)); // version needed to extract in writeLOC()
410 writeShort(flag); // general purpose bit flag in writeLOC()
411 writeShort(e.method); // compression method in writeLOC()
421 writeShort(45); // ver 4.5 for zip64 in writeLOC()
423 writeShort(version(e)); // version needed to extract in writeLOC()
425 writeShort(flag); // general purpose bit flag in writeLOC()
426 writeShort(e.method); // compression method in writeLOC()
439 writeShort(nameBytes.length); in writeLOC()
471 writeShort(elen); in writeLOC()
474 writeShort(ZIP64_EXTID); in writeLOC()
[all …]
DGZIPOutputStream.java226 writeShort(i & 0xffff, buf, offset); in writeInt()
227 writeShort((i >> 16) & 0xffff, buf, offset + 2); in writeInt()
234 private void writeShort(int s, byte[] buf, int offset) throws IOException { in writeShort() method in GZIPOutputStream
/libcore/ojluni/src/test/java/io/Serializable/records/
DBadValues.java56 dos.writeShort(STREAM_MAGIC); in byteStreamFor()
57 dos.writeShort(STREAM_VERSION); in byteStreamFor()
63 dos.writeShort(0); // number of fields in byteStreamFor()
DSerialVersionUIDTest.java142 dos.writeShort(STREAM_MAGIC); in byteStreamFor()
143 dos.writeShort(STREAM_VERSION); in byteStreamFor()
149 dos.writeShort(0); // number of fields in byteStreamFor()
DAbsentStreamValuesTest.java150 dos.writeShort(STREAM_MAGIC); in minimalByteStreamFor()
151 dos.writeShort(STREAM_VERSION); in minimalByteStreamFor()
157 dos.writeShort(0); // number of fields in minimalByteStreamFor()
/libcore/ojluni/src/test/java/net/UnixDomainSocketAddress/
DUnixDomainSocketAddressSerializationTest.java113 dos.writeShort(STREAM_MAGIC); in byteStreamFor()
114 dos.writeShort(STREAM_VERSION); in byteStreamFor()
120 dos.writeShort(0); // number of stream fields in byteStreamFor()
/libcore/ojluni/src/test/java/time/tck/java/time/serial/
DTCKZoneIdSerialization.java163 dos.writeShort(ObjectStreamConstants.STREAM_MAGIC); in deserialize()
164 dos.writeShort(ObjectStreamConstants.STREAM_VERSION); in deserialize()
170 dos.writeShort(0); // number of fields in deserialize()
/libcore/ojluni/src/test/java/time/tck/java/time/
DAbstractTCKTest.java198 out.writeShort(ObjectStreamConstants.STREAM_MAGIC); in assertNotSerializable()
199 out.writeShort(ObjectStreamConstants.STREAM_VERSION); in assertNotSerializable()
205 out.writeShort(0); // number of fields in assertNotSerializable()
/libcore/ojluni/src/main/java/java/io/
DDataOutput.java151 void writeShort(int v) throws IOException; in writeShort() method
DObjectOutputStream.java658 bout.writeShort(STREAM_MAGIC); in writeStreamHeader()
659 bout.writeShort(STREAM_VERSION); in writeStreamHeader()
797 public void writeShort(int val) throws IOException { in writeShort() method in ObjectOutputStream
798 bout.writeShort(val); in writeShort()
2045 public void writeShort(int v) throws IOException { in writeShort() method in ObjectOutputStream.BlockDataOutputStream
2050 dout.writeShort(v); in writeShort()
2177 dout.writeShort(v[off++]); in writeShorts()
2282 writeShort((int) utflen); in writeUTF()
DDataOutputStream.java166 public final void writeShort(int v) throws IOException { in writeShort() method in DataOutputStream
DRandomAccessFile.java1108 public final void writeShort(int v) throws IOException { in writeShort() method in RandomAccessFile
/libcore/luni/src/test/java/libcore/java/io/
DOldDataInputOutputStreamTest.java262 os.writeShort(9875); in test_read_writeShort()
265 os.writeShort(9875); in test_read_writeShort()
DOldRandomAccessFileTest.java680 raf.writeShort(Short.MIN_VALUE); in test_read_writeShort()
681 raf.writeShort('T'); in test_read_writeShort()
682 raf.writeShort(Short.MAX_VALUE); in test_read_writeShort()
683 raf.writeShort(Short.MIN_VALUE - 1); in test_read_writeShort()
684 raf.writeShort(Short.MAX_VALUE + 1); in test_read_writeShort()
707 raf.writeShort('E'); in test_read_writeShort()
891 raf.writeShort(-1); in test_readUnsignedShort()
DDataOutputStreamTest.java88 os.writeShort(0x01234567); in test_writeShort()
DOldObjectInputOutputStreamTest.java205 os.writeShort(9875); in test_read_writeShort()
DOldAndroidDataInputStreamTest.java80 f.writeShort(5); in testDataInputStream()
DOldDataInputStreamTest.java308 os.writeShort(Short.MIN_VALUE); in test_readUnsignedShort()
/libcore/ojluni/src/main/java/java/sql/
DSQLOutput.java106 void writeShort(short x) throws SQLException; in writeShort() method
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DZipOutputStream.java113 private void writeShort(int v) throws java.io.IOException { in writeShort() method in ZipOutputStream
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DDataOutputStreamTest.java216 os.writeShort((short) 9087); in test_writeShortI()
DDataInputStreamTest.java428 os.writeShort(9875); in test_readShort()
448 os.writeShort(9875); in test_readUnsignedShort()
DRandomAccessFileTest.java401 raf.writeShort(Short.MIN_VALUE); in test_readShort()
426 raf.writeShort(-1); in test_readUnsignedShort()
815 raf.writeShort(Short.MIN_VALUE); in test_writeShortI()
/libcore/ojluni/annotations/hiddenapi/java/io/
DRandomAccessFile.java176 public final void writeShort(int v) throws java.io.IOException { in writeShort() method in RandomAccessFile
DObjectOutputStream.java131 public void writeShort(int val) throws java.io.IOException { in writeShort() method in ObjectOutputStream
376 public void writeShort(int v) throws java.io.IOException { in writeShort() method in ObjectOutputStream.BlockDataOutputStream

12