Home
last modified time | relevance | path

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

/dalvik/libcore/archive/src/main/java/java/util/zip/
DZipOutputStream.java156 writeShort(cDir, ZIPLocalHeaderVersionNeeded); // Version created in closeEntry()
157 writeShort(cDir, ZIPLocalHeaderVersionNeeded); // Version to extract in closeEntry()
158 writeShort(cDir, currentEntry.getMethod() == STORED ? 0 in closeEntry()
160 writeShort(cDir, currentEntry.getMethod()); in closeEntry()
161 writeShort(cDir, currentEntry.time); in closeEntry()
162 writeShort(cDir, currentEntry.modDate); in closeEntry()
171 curOffset += writeShort(cDir, nameLength); in closeEntry()
173 curOffset += writeShort(cDir, currentEntry.extra.length); in closeEntry()
175 writeShort(cDir, 0); in closeEntry()
179 writeShort(cDir, c.length()); in closeEntry()
[all …]
DGZIPOutputStream.java68 writeShort(GZIPInputStream.GZIP_MAGIC); in GZIPOutputStream()
97 private int writeShort(int i) throws IOException { in writeShort() method in GZIPOutputStream
/dalvik/dx/src/com/android/dx/dex/code/
DInsnFormat.java492 out.writeShort(c0); in write()
503 out.writeShort(c0); in write()
504 out.writeShort(c1); in write()
517 out.writeShort(c0); in write()
518 out.writeShort(c1); in write()
519 out.writeShort(c2); in write()
533 out.writeShort(c0); in write()
534 out.writeShort(c1); in write()
535 out.writeShort(c2); in write()
536 out.writeShort(c3); in write()
[all …]
DSwitchData.java111 out.writeShort(0x100 | DalvOps.NOP); in writeTo()
112 out.writeShort(outSz); in writeTo()
131 out.writeShort(0x200 | DalvOps.NOP); in writeTo()
132 out.writeShort(sz); in writeTo()
DArrayData.java113 out.writeShort(0x300 | DalvOps.NOP); in writeTo()
114 out.writeShort(elemWidth); in writeTo()
130 out.writeShort((short) ((CstLiteral32) cst).getIntBits()); in writeTo()
DOddSpacer.java50 out.writeShort(InsnFormat.codeUnit(DalvOps.NOP, 0)); in writeTo()
/dalvik/dx/src/com/android/dx/dex/file/
DMemberIdItem.java79 out.writeShort(classIdx); in writeTo()
80 out.writeShort(typoidIdx); in writeTo()
DCodeItem.java260 out.writeShort(regSz); in writeTo0()
261 out.writeShort(insSz); in writeTo0()
262 out.writeShort(outsSz); in writeTo0()
263 out.writeShort(triesSz); in writeTo0()
274 out.writeShort(0); in writeTo0()
DMapItem.java230 out.writeShort(value); in writeTo0()
231 out.writeShort(0); // unused in writeTo0()
DTypeListItem.java110 out.writeShort(typeIds.indexOf(list.getType(i))); in writeTo0()
DCatchStructs.java219 out.writeShort(insnCount); in writeTo()
220 out.writeShort(handlerOffsets.get(one.getHandlers())); in writeTo()
/dalvik/dx/src/com/android/dx/util/
DOutput.java54 public void writeShort(int value); in writeShort() method
DByteArrayAnnotatedOutput.java164 public void writeShort(int value) { in writeShort() method in ByteArrayAnnotatedOutput
/dalvik/libcore/luni/src/main/java/java/io/
DDataOutput.java215 public abstract void writeShort(int val) throws IOException; in writeShort() method
DDataOutputStream.java302 public final void writeShort(int val) throws IOException { in writeShort() method in DataOutputStream
359 writeShort(utfIndex); in writeUTF()
367 writeShort((int) utfCount); in writeUTF()
DObjectOutputStream.java1194 output.writeShort(fieldCount); in writeFieldDescriptors()
1261 output.writeShort(fieldValue != null ? ((Short) fieldValue) in writeFieldValues()
1335 output.writeShort(getFieldShort(obj, in writeFieldValues()
1552 output.writeShort(shortArray[i]); in writeNewArray()
1673 output.writeShort(0); in writeNewClassDesc()
1824 output.writeShort((short) count); in writeNewString()
2198 public void writeShort(int value) throws IOException { in writeShort() method in ObjectOutputStream
2200 primitiveTypes.writeShort(value); in writeShort()
2211 output.writeShort(STREAM_MAGIC); in writeStreamHeader()
2212 output.writeShort(STREAM_VERSION); in writeStreamHeader()
DEmulatedFieldsForDumping.java213 output.writeShort(fieldValue != null ? ((Short) fieldValue) in write()
DRandomAccessFile.java1093 public final void writeShort(int val) throws IOException { in writeShort() method in RandomAccessFile
/dalvik/libcore/sql/src/main/java/java/sql/
DSQLOutput.java88 public void writeShort(short theShort) throws SQLException; in writeShort() method
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
DRandomAccessFileTest.java866 raf.writeShort(Short.MIN_VALUE); in test_read_writeShort()
867 raf.writeShort('T'); in test_read_writeShort()
868 raf.writeShort(Short.MAX_VALUE); in test_read_writeShort()
869 raf.writeShort(Short.MIN_VALUE - 1); in test_read_writeShort()
870 raf.writeShort(Short.MAX_VALUE + 1); in test_read_writeShort()
893 raf.writeShort('E'); in test_read_writeShort()
1131 raf.writeShort(-1); in test_readUnsignedShort()
DDataInputOutputStreamTest.java419 os.writeShort(9875); in test_read_writeShort()
422 os.writeShort(9875); in test_read_writeShort()
DObjectInputOutputStreamTest.java379 os.writeShort(9875); in test_read_writeShort()
DDataInputStreamTest.java396 os.writeShort(Short.MIN_VALUE); in test_readUnsignedShort()
DSerializationStressTest0.java465 oos.writeShort(127); in test_19_writeShort()
DObjectInputStreamTest.java917 oos.writeShort(-1); in test_readUnsignedShort()