Home
last modified time | relevance | path

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

12

/libcore/ojluni/src/main/java/java/util/zip/
DZipOutputStream.java395 writeShort(version(e)); // version needed to extract in writeLOC()
396 writeShort(flag); // general purpose bit flag in writeLOC()
397 writeShort(e.method); // compression method in writeLOC()
407 writeShort(45); // ver 4.5 for zip64 in writeLOC()
409 writeShort(version(e)); // version needed to extract in writeLOC()
411 writeShort(flag); // general purpose bit flag in writeLOC()
412 writeShort(e.method); // compression method in writeLOC()
425 writeShort(nameBytes.length); in writeLOC()
443 writeShort(elen); in writeLOC()
446 writeShort(ZIP64_EXTID); in writeLOC()
[all …]
DGZIPOutputStream.java210 writeShort(i & 0xffff, buf, offset); in writeInt()
211 writeShort((i >> 16) & 0xffff, buf, offset + 2); in writeInt()
218 private void writeShort(int s, byte[] buf, int offset) throws IOException { in writeShort() method in GZIPOutputStream
/libcore/ojluni/src/test/java/time/tck/java/time/serial/
DTCKZoneIdSerialization.java162 dos.writeShort(ObjectStreamConstants.STREAM_MAGIC); in deserialize()
163 dos.writeShort(ObjectStreamConstants.STREAM_VERSION); in deserialize()
169 dos.writeShort(0); // number of fields in deserialize()
/libcore/ojluni/src/test/java/time/tck/java/time/
DAbstractTCKTest.java180 out.writeShort(ObjectStreamConstants.STREAM_MAGIC); in assertNotSerializable()
181 out.writeShort(ObjectStreamConstants.STREAM_VERSION); in assertNotSerializable()
187 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()
2029 public void writeShort(int v) throws IOException { in writeShort() method in ObjectOutputStream.BlockDataOutputStream
2034 dout.writeShort(v); in writeShort()
2161 dout.writeShort(v[off++]); in writeShorts()
2266 writeShort((int) utflen); in writeUTF()
DDataOutputStream.java166 public final void writeShort(int v) throws IOException { in writeShort() method in DataOutputStream
DRandomAccessFile.java1090 public final void writeShort(int v) throws IOException { in writeShort() method in RandomAccessFile
DObjectStreamClass.java763 out.writeShort(fields.length); in writeNonProxy()
/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()
DSerializationStressTest.java547 oos.writeShort(127); in test_19_writeShort()
DObjectOutputStreamTest.java948 oos.writeShort(127); 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
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
DObjectInputStreamTest.java508 oos.writeShort(-1); in test_readUnsignedShort()
958 oos.writeShort(Short.MAX_VALUE); in test_readShort()

12