Home
last modified time | relevance | path

Searched refs:writeShort (Results 1 – 25 of 64) 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/objenesis/main/src/main/java/org/objenesis/instantiator/sun/
DMagicInstantiator.java132 in.writeShort(CONSTANT_POOL_COUNT); in writeExtendingClass()
138 in.writeShort(INDEX_UTF8_INSTANTIATOR_CLASS); in writeExtendingClass()
142 in.writeShort(INDEX_UTF8_SUPERCLASS); in writeExtendingClass()
171 in.writeShort(INDEX_UTF8_INTERFACE); in writeExtendingClass()
187 in.writeShort(INDEX_CLASS_OBJECT); in writeExtendingClass()
188 in.writeShort(INDEX_NAMEANDTYPE_DEFAULT_CONSTRUCTOR); in writeExtendingClass()
192 in.writeShort(INDEX_UTF8_OBJECT); in writeExtendingClass()
200 in.writeShort(INDEX_UTF8_CONSTRUCTOR_NAME); in writeExtendingClass()
201 in.writeShort(INDEX_UTF8_CONSTRUCTOR_DESC); in writeExtendingClass()
205 in.writeShort(INDEX_UTF8_TYPE); in writeExtendingClass()
[all …]
/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/turbine/java/com/google/turbine/bytecode/
DAttributeWriter.java87 output.writeShort(pool.utf8(attribute.kind().signature())); in writeInnerClasses()
89 output.writeShort(attribute.inners.size()); in writeInnerClasses()
91 output.writeShort(pool.classInfo(inner.innerClass())); in writeInnerClasses()
92 output.writeShort(pool.classInfo(inner.outerClass())); in writeInnerClasses()
93 output.writeShort(pool.utf8(inner.innerName())); in writeInnerClasses()
94 output.writeShort(inner.access()); in writeInnerClasses()
99 output.writeShort(pool.utf8(attribute.kind().signature())); in writeExceptionsAttribute()
101 output.writeShort(attribute.exceptions.size()); in writeExceptionsAttribute()
103 output.writeShort(pool.classInfo(exception)); in writeExceptionsAttribute()
108 output.writeShort(pool.utf8(attribute.kind().signature())); in writeSignatureAttribute()
[all …]
DClassWriter.java41 output.writeShort(classfile.access()); in writeClass()
42 output.writeShort(pool.classInfo(classfile.name())); in writeClass()
43 output.writeShort(classfile.superName() != null ? pool.classInfo(classfile.superName()) : 0); in writeClass()
44 output.writeShort(classfile.interfaces().size()); in writeClass()
46 output.writeShort(pool.classInfo(i)); in writeClass()
48 output.writeShort(classfile.fields().size()); in writeClass()
52 output.writeShort(classfile.methods().size()); in writeClass()
62 output.writeShort(method.access()); in writeMethod()
63 output.writeShort(pool.utf8(method.name())); in writeMethod()
64 output.writeShort(pool.utf8(method.descriptor())); in writeMethod()
[all …]
DAnnotationWriter.java51 output.writeShort(pool.utf8(annotation.typeName())); in writeAnnotation()
52 output.writeShort(annotation.elementValuePairs().size()); in writeAnnotation()
54 output.writeShort(pool.utf8(entry.getKey())); in writeAnnotation()
117 output.writeShort(index); in writeConst()
122 output.writeShort(pool.utf8(value.typeName())); in writeEnumElementValue()
123 output.writeShort(pool.utf8(value.constName())); in writeEnumElementValue()
128 output.writeShort(pool.utf8(value.className())); in writeClassElementValue()
133 output.writeShort(value.elements().size()); in writeArrayElementValue()
171 output.writeShort(((ThrowsTarget) target).index()); in writeTypeAnnotationTarget()
174 output.writeShort(((SuperTypeTarget) target).index()); in writeTypeAnnotationTarget()
/external/objenesis/main/src/main/java/org/objenesis/instantiator/basic/
DProxyingInstantiator.java102 in.writeShort(CONSTANT_POOL_COUNT); in writeExtendingClass()
108 in.writeShort(INDEX_UTF8_CLASS); in writeExtendingClass()
112 in.writeShort(INDEX_UTF8_SUPERCLASS); in writeExtendingClass()
141 in.writeShort(ACC_PUBLIC | ACC_SUPER); in writeExtendingClass()
144 in.writeShort(INDEX_CLASS_THIS); in writeExtendingClass()
147 in.writeShort(INDEX_CLASS_SUPERCLASS); in writeExtendingClass()
150 in.writeShort(0); in writeExtendingClass()
153 in.writeShort(0); in writeExtendingClass()
156 in.writeShort(1); in writeExtendingClass()
159 in.writeShort(ACC_PUBLIC); in writeExtendingClass()
[all …]
DObjectInputStreamInstantiator.java65 dout.writeShort(ObjectStreamConstants.STREAM_MAGIC); in initialize()
66 dout.writeShort(ObjectStreamConstants.STREAM_VERSION); in initialize()
105 dout.writeShort((short) 0); // Zero fields in MockStream()
/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/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/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/icu/android_icu4j/src/main/java/android/icu/impl/
DTrie2.java476 dos.writeShort(header.options); in serializeHeader()
477 dos.writeShort(header.indexLength); in serializeHeader()
478 dos.writeShort(header.shiftedDataLength); in serializeHeader()
479 dos.writeShort(header.index2NullOffset); in serializeHeader()
480 dos.writeShort(header.dataNullOffset); in serializeHeader()
481 dos.writeShort(header.shiftedHighStart); in serializeHeader()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2.java474 dos.writeShort(header.options); in serializeHeader()
475 dos.writeShort(header.indexLength); in serializeHeader()
476 dos.writeShort(header.shiftedDataLength); in serializeHeader()
477 dos.writeShort(header.index2NullOffset); in serializeHeader()
478 dos.writeShort(header.dataNullOffset); in serializeHeader()
479 dos.writeShort(header.shiftedHighStart); in serializeHeader()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DInstructionWriter.java165 writer.writeShort(instruction.getCodeOffset()); in write()
185 writer.writeShort(instruction.getHatLiteral()); in write()
195 writer.writeShort(instruction.getHatLiteral()); in write()
205 writer.writeShort(instruction.getNarrowLiteral()); in write()
215 writer.writeShort(instruction.getCodeOffset()); in write()
256 writer.writeShort(instruction.getNarrowLiteral()); in write()
266 writer.writeShort(instruction.getCodeOffset()); in write()
463 writer.writeShort(element.shortValue()); in write()
/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()
/external/guava/guava/src/com/google/common/io/
DLittleEndianDataOutputStream.java85 writeShort(v); in writeChar()
156 @Override public void writeShort(int v) throws IOException { in writeShort() method in LittleEndianDataOutputStream
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttp2Test.java241 frame.writeShort(1); // SETTINGS_HEADER_TABLE_SIZE in readSettingsFrame()
243 frame.writeShort(2); // SETTINGS_ENABLE_PUSH in readSettingsFrame()
260 frame.writeShort(2); in readSettingsFrameInvalidPushValue()
276 frame.writeShort(7); // old number for SETTINGS_INITIAL_WINDOW_SIZE in readSettingsFrameInvalidSettingId()
292 frame.writeShort(4); // SETTINGS_INITIAL_WINDOW_SIZE in readSettingsFrameNegativeWindowSize()
308 frame.writeShort(5); // SETTINGS_MAX_FRAME_SIZE in readSettingsFrameNegativeFrameLength()
324 frame.writeShort(5); // SETTINGS_MAX_FRAME_SIZE in readSettingsFrameTooShortFrameLength()
340 frame.writeShort(5); // SETTINGS_MAX_FRAME_SIZE in readSettingsFrameTooLongFrameLength()

123