Home
last modified time | relevance | path

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

123

/external/proguard/src/proguard/classfile/io/
DProgramClassWriter.java78 dataOutput.writeShort(ClassUtil.internalMinorClassVersion(programClass.u4version)); in visitProgramClass()
79 dataOutput.writeShort(ClassUtil.internalMajorClassVersion(programClass.u4version)); in visitProgramClass()
82 dataOutput.writeShort(programClass.u2constantPoolCount); in visitProgramClass()
87 dataOutput.writeShort(programClass.u2accessFlags); in visitProgramClass()
88 dataOutput.writeShort(programClass.u2thisClass); in visitProgramClass()
89 dataOutput.writeShort(programClass.u2superClass); in visitProgramClass()
92 dataOutput.writeShort(programClass.u2interfacesCount); in visitProgramClass()
96 dataOutput.writeShort(programClass.u2interfaces[index]); in visitProgramClass()
100 dataOutput.writeShort(programClass.u2fieldsCount); in visitProgramClass()
105 dataOutput.writeShort(programClass.u2methodsCount); in visitProgramClass()
[all …]
DRuntimeDataOutput.java200 public void writeShort(int v) in writeShort() method in RuntimeDataOutput
204 dataOutput.writeShort(v); in writeShort()
/external/javassist/src/main/javassist/bytecode/
DClassFileWriter.java91 output.writeShort(minor); in ClassFileWriter()
92 output.writeShort(major); in ClassFileWriter()
130 output.writeShort(accessFlags); in end()
131 output.writeShort(thisClass); in end()
132 output.writeShort(superClass); in end()
134 output.writeShort(0); in end()
137 output.writeShort(n); in end()
139 output.writeShort(interfaces[i]); in end()
144 output.writeShort(fields.size()); in end()
147 output.writeShort(methods.size()); in end()
[all …]
DFieldInfo.java256 out.writeShort(accessFlags); in write()
257 out.writeShort(name); in write()
258 out.writeShort(descriptor); in write()
260 out.writeShort(0); in write()
262 out.writeShort(attribute.size()); in write()
DExceptionTable.java271 out.writeShort(len); // exception_table_length in write()
274 out.writeShort(e.startPc); in write()
275 out.writeShort(e.endPc); in write()
276 out.writeShort(e.handlerPc); in write()
277 out.writeShort(e.catchType); in write()
DClassFile.java804 out.writeShort(minor); // minor version in write()
805 out.writeShort(major); // major version in write()
807 out.writeShort(accessFlags); in write()
808 out.writeShort(thisClass); in write()
809 out.writeShort(superClass); in write()
816 out.writeShort(n); in write()
818 out.writeShort(interfaces[i]); in write()
822 out.writeShort(n); in write()
830 out.writeShort(n); in write()
836 out.writeShort(attributes.size()); in write()
DMethodInfo.java531 out.writeShort(accessFlags); in write()
532 out.writeShort(name); in write()
533 out.writeShort(descriptor); in write()
536 out.writeShort(0); in write()
538 out.writeShort(attribute.size()); in write()
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DInsnFormat.java592 out.writeShort(c0); in write()
603 out.writeShort(c0); in write()
604 out.writeShort(c1); in write()
617 out.writeShort(c0); in write()
618 out.writeShort(c1); in write()
619 out.writeShort(c2); in write()
633 out.writeShort(c0); in write()
634 out.writeShort(c1); in write()
635 out.writeShort(c2); in write()
636 out.writeShort(c3); in write()
[all …]
DSwitchData.java112 out.writeShort(Opcodes.PACKED_SWITCH_PAYLOAD); in writeTo()
113 out.writeShort(outSz); in writeTo()
132 out.writeShort(Opcodes.SPARSE_SWITCH_PAYLOAD); in writeTo()
133 out.writeShort(sz); in writeTo()
DArrayData.java113 out.writeShort(Opcodes.FILL_ARRAY_DATA_PAYLOAD); in writeTo()
114 out.writeShort(elemWidth); in writeTo()
130 out.writeShort((short) ((CstLiteral32) cst).getIntBits()); in writeTo()
/external/jmdns/src/javax/jmdns/impl/
DDNSOutgoing.java67 void writeShort(int value) { in writeShort() method in DNSOutgoing.MessageOutputStream
73 writeShort(value >> 16); in writeInt()
74 writeShort(value); in writeInt()
150 writeShort(question.getRecordType().indexValue()); in writeQuestion()
151 writeShort(question.getRecordClass().indexValue()); in writeQuestion()
156 writeShort(rec.getRecordType().indexValue()); in writeRecord()
157writeShort(rec.getRecordClass().indexValue() | ((rec.isUnique() && _out.isMulticast()) ? DNSRecord… in writeRecord()
165 writeShort(byteArray.length); in writeRecord()
337 message.writeShort(_multicast ? 0 : this.getId()); in data()
338 message.writeShort(this.getFlags()); in data()
[all …]
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
DAnimatedGifEncoder.java437 writeShort(delay); // delay x 1/100 sec in writeGraphicCtrlExt()
447 writeShort(0); // image position x,y = 0,0 in writeImageDesc()
448 writeShort(0); in writeImageDesc()
449 writeShort(width); // image size in writeImageDesc()
450 writeShort(height); in writeImageDesc()
470 writeShort(width); in writeLSD()
471 writeShort(height); in writeLSD()
492 writeShort(repeat); // loop count (extra iterations, 0=repeat forever) in writeNetscapeExt()
518 private void writeShort(int value) throws IOException { in writeShort() method in AnimatedGifEncoder
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DGrammarSerializerFoo.java86 out.writeShort(g.getRules().size()); in grammar()
115 out.writeShort(nalts); in block()
152 out.writeShort(g.getRuleIndex(t.getText())); in ruleRef()
164 out.writeShort(ttype); in token()
177 out.writeShort(ttype); in charLiteral()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/
DDexDataWriterTest.java136 writer.writeShort(0); in testWriteShort()
137 writer.writeShort(0x1122); in testWriteShort()
138 writer.writeShort(-0x1122); in testWriteShort()
139 writer.writeShort(0x7FFF); in testWriteShort()
140 writer.writeShort(-0x8000); in testWriteShort()
151 writer.writeShort(0x8000); in testWriteShortOutOfBounds()
156 writer.writeShort(-0x8001); in testWriteShortOutOfBounds2()
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DCodeItem.java259 out.writeShort(regSz); in writeTo0()
260 out.writeShort(insSz); in writeTo0()
261 out.writeShort(outsSz); in writeTo0()
262 out.writeShort(triesSz); in writeTo0()
273 out.writeShort(0); in writeTo0()
DMemberIdItem.java77 out.writeShort(classIdx); in writeTo()
78 out.writeShort(typoidIdx); in writeTo()
/external/sonic/
Dwave.c71 static void writeShort( in writeShort() function
179 writeShort(file, 1); /* 20 - what is the audio format? 1 for PCM = Pulse Code Modulation */ in writeHeader()
180 writeShort(file, 1); /* 22 - mono or stereo? 1 or 2? (or 5 or ???) */ in writeHeader()
183 writeShort(file, 2); /* 32 - # of bytes in one sample, for all channels */ in writeHeader()
184 writeShort(file, 16); /* 34 - how many bits in a sample(number)? usually 16 or 24 */ in writeHeader()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DInstructionWriter.java156 writer.writeShort(instruction.getCodeOffset()); in write()
176 writer.writeShort(instruction.getHatLiteral()); in write()
186 writer.writeShort(instruction.getHatLiteral()); in write()
196 writer.writeShort(instruction.getNarrowLiteral()); in write()
206 writer.writeShort(instruction.getCodeOffset()); in write()
237 writer.writeShort(instruction.getNarrowLiteral()); in write()
247 writer.writeShort(instruction.getCodeOffset()); in write()
385 writer.writeShort(element.shortValue()); in write()
/external/okhttp/okio/okio/src/test/java/okio/
DGzipSourceTest.java45 gzipped.writeShort(Util.reverseBytesShort((short) hcrc.getValue())); // little endian in gunzip_withHCRC()
54 gzipped.writeShort(Util.reverseBytesShort((short) 7)); // little endian extra length in gunzip_withExtra()
88 gzipped.writeShort(Util.reverseBytesShort((short) 7)); // little endian extra length in gunzip_withAll()
111 gzipped.writeShort((short) 0); // wrong HCRC! in gunzipWhenHeaderCRCIncorrect()
/external/objenesis/main/src/org/objenesis/instantiator/basic/
DObjectInputStreamInstantiator.java62 dout.writeShort(ObjectStreamConstants.STREAM_MAGIC); in initialize()
63 dout.writeShort(ObjectStreamConstants.STREAM_VERSION); in initialize()
102 dout.writeShort((short) 0); // Zero fields in MockStream()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRBBIRuleBuilder.java229 dos.writeShort(tableData[i]); in flattenData()
236 dos.writeShort(tableData[i]); in flattenData()
243 dos.writeShort(tableData[i]); in flattenData()
250 dos.writeShort(tableData[i]); in flattenData()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRBBIRuleBuilder.java230 dos.writeShort(tableData[i]); in flattenData()
237 dos.writeShort(tableData[i]); in flattenData()
244 dos.writeShort(tableData[i]); in flattenData()
251 dos.writeShort(tableData[i]); in flattenData()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2.java468 dos.writeShort(header.options); in serializeHeader()
469 dos.writeShort(header.indexLength); in serializeHeader()
470 dos.writeShort(header.shiftedDataLength); in serializeHeader()
471 dos.writeShort(header.index2NullOffset); in serializeHeader()
472 dos.writeShort(header.dataNullOffset); in serializeHeader()
473 dos.writeShort(header.shiftedHighStart); in serializeHeader()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2.java466 dos.writeShort(header.options); in serializeHeader()
467 dos.writeShort(header.indexLength); in serializeHeader()
468 dos.writeShort(header.shiftedDataLength); in serializeHeader()
469 dos.writeShort(header.index2NullOffset); in serializeHeader()
470 dos.writeShort(header.dataNullOffset); in serializeHeader()
471 dos.writeShort(header.shiftedHighStart); in serializeHeader()
/external/lzma/Java/Tukaani/src/org/tukaani/xz/
DLZMA2OutputStream.java154 outData.writeShort(uncompressedSize - 1); in writeLZMA()
155 outData.writeShort(compressedSize - 1); in writeLZMA()
171 outData.writeShort(chunkSize - 1); in writeUncompressed()

123