Home
last modified time | relevance | path

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

1234567

/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 …]
/external/turbine/java/com/google/turbine/bytecode/
DAttributeWriter.java108 output.writeShort(pool.utf8(attribute.kind().signature())); in writeInnerClasses()
110 output.writeShort(attribute.inners.size()); in writeInnerClasses()
112 output.writeShort(pool.classInfo(inner.innerClass())); in writeInnerClasses()
113 output.writeShort(pool.classInfo(inner.outerClass())); in writeInnerClasses()
114 output.writeShort(pool.utf8(inner.innerName())); in writeInnerClasses()
115 output.writeShort(inner.access()); in writeInnerClasses()
120 output.writeShort(pool.utf8(attribute.kind().signature())); in writeExceptionsAttribute()
122 output.writeShort(attribute.exceptions.size()); in writeExceptionsAttribute()
124 output.writeShort(pool.classInfo(exception)); in writeExceptionsAttribute()
129 output.writeShort(pool.utf8(attribute.kind().signature())); in writeSignatureAttribute()
[all …]
DClassWriter.java39 output.writeShort(classfile.access()); in writeClass()
40 output.writeShort(pool.classInfo(classfile.name())); in writeClass()
41 output.writeShort(classfile.superName() != null ? pool.classInfo(classfile.superName()) : 0); in writeClass()
42 output.writeShort(classfile.interfaces().size()); in writeClass()
44 output.writeShort(pool.classInfo(i)); in writeClass()
46 output.writeShort(classfile.fields().size()); in writeClass()
50 output.writeShort(classfile.methods().size()); in writeClass()
60 output.writeShort(method.access()); in writeMethod()
61 output.writeShort(pool.utf8(method.name())); in writeMethod()
62 output.writeShort(pool.utf8(method.descriptor())); in writeMethod()
[all …]
DAnnotationWriter.java52 output.writeShort(pool.utf8(annotation.typeName())); in writeAnnotation()
53 output.writeShort(annotation.elementValuePairs().size()); in writeAnnotation()
55 output.writeShort(pool.utf8(entry.getKey())); in writeAnnotation()
116 output.writeShort(index); in writeConst()
121 output.writeShort(pool.utf8(value.typeName())); in writeEnumElementValue()
122 output.writeShort(pool.utf8(value.constName())); in writeEnumElementValue()
127 output.writeShort(pool.utf8(value.className())); in writeClassElementValue()
132 output.writeShort(value.elements().size()); in writeArrayElementValue()
170 output.writeShort(((ThrowsTarget) target).index()); in writeTypeAnnotationTarget()
173 output.writeShort(((SuperTypeTarget) target).index()); in writeTypeAnnotationTarget()
/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.numOfMethods()); in end()
[all …]
DExceptionTable.java260 out.writeShort(size()); // exception_table_length in write()
262 out.writeShort(e.startPc); in write()
263 out.writeShort(e.endPc); in write()
264 out.writeShort(e.handlerPc); in write()
265 out.writeShort(e.catchType); in write()
DFieldInfo.java282 out.writeShort(accessFlags); in write()
283 out.writeShort(name); in write()
284 out.writeShort(descriptor); in write()
286 out.writeShort(0); in write()
288 out.writeShort(attribute.size()); in write()
DClassFile.java834 out.writeShort(minor); // minor version in write()
835 out.writeShort(major); // major version in write()
837 out.writeShort(accessFlags); in write()
838 out.writeShort(thisClass); in write()
839 out.writeShort(superClass); in write()
846 out.writeShort(n); in write()
848 out.writeShort(interfaces[i]); in write()
851 out.writeShort(n); in write()
857 out.writeShort(methods.size()); in write()
861 out.writeShort(attributes.size()); in write()
/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 …]
/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/tool/src/main/java/org/antlr/tool/
DGrammarSerializerFoo.java84 out.writeShort(g.getRules().size()); in grammar()
113 out.writeShort(nalts); in block()
150 out.writeShort(g.getRuleIndex(t.getText())); in ruleRef()
162 out.writeShort(ttype); in token()
175 out.writeShort(ttype); in charLiteral()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DLocalVariable.java130 file.writeShort(start_pc); in dump()
131 file.writeShort(length); in dump()
132 file.writeShort(name_index); in dump()
133 file.writeShort(signature_index); in dump()
134 file.writeShort(index); in dump()
DCodeException.java105 file.writeShort(start_pc); in dump()
106 file.writeShort(end_pc); in dump()
107 file.writeShort(handler_pc); in dump()
108 file.writeShort(catch_type); in dump()
DInnerClass.java97 file.writeShort(inner_class_index); in dump()
98 file.writeShort(outer_class_index); in dump()
99 file.writeShort(inner_name_index); in dump()
100 file.writeShort(inner_access_flags); in dump()
DJavaClass.java299 file.writeShort(minor); in dump()
300 file.writeShort(major); in dump()
302 file.writeShort(super.getAccessFlags()); in dump()
303 file.writeShort(class_name_index); in dump()
304 file.writeShort(superclass_name_index); in dump()
305 file.writeShort(interfaces.length); in dump()
307 file.writeShort(interface1); in dump()
309 file.writeShort(fields.length); in dump()
313 file.writeShort(methods.length); in dump()
318 file.writeShort(attributes.length); in dump()
[all …]
DFieldOrMethod.java139 file.writeShort(super.getAccessFlags()); in dump()
140 file.writeShort(name_index); in dump()
141 file.writeShort(signature_index); in dump()
142 file.writeShort(attributes.length); in dump()
DStackMapEntry.java149 file.writeShort(byte_code_offset); in dump()
152 file.writeShort(byte_code_offset); in dump()
154 file.writeShort(byte_code_offset); in dump()
156 file.writeShort(byte_code_offset); in dump()
161 file.writeShort(byte_code_offset); in dump()
162 file.writeShort(types_of_locals.length); in dump()
166 file.writeShort(types_of_stack_items.length); in dump()
DBootstrapMethod.java151 file.writeShort(bootstrap_method_ref); in dump()
152 file.writeShort(bootstrap_arguments.length); in dump()
154 file.writeShort(bootstrap_argument); in dump()
DCode.java145 file.writeShort(max_stack); in dump()
146 file.writeShort(max_locals); in dump()
149 file.writeShort(exception_table.length); in dump()
153 file.writeShort(attributes.length); in dump()
/external/google-smali/dexlib2/src/test/java/com/android/tools/smali/dexlib2/writer/
DDexDataWriterTest.java134 writer.writeShort(0); in testWriteShort()
135 writer.writeShort(0x1122); in testWriteShort()
136 writer.writeShort(-0x1122); in testWriteShort()
137 writer.writeShort(0x7FFF); in testWriteShort()
138 writer.writeShort(-0x8000); in testWriteShort()
149 writer.writeShort(0x8000); in testWriteShortOutOfBounds()
154 writer.writeShort(-0x8001); in testWriteShortOutOfBounds2()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/
DDexDataWriterTest.java135 writer.writeShort(0); in testWriteShort()
136 writer.writeShort(0x1122); in testWriteShort()
137 writer.writeShort(-0x1122); in testWriteShort()
138 writer.writeShort(0x7FFF); in testWriteShort()
139 writer.writeShort(-0x8000); in testWriteShort()
150 writer.writeShort(0x8000); in testWriteShortOutOfBounds()
155 writer.writeShort(-0x8001); in testWriteShortOutOfBounds2()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DAnnotationEntryGen.java119 dos.writeShort(typeIndex); // u2 index of type name in cpool in dump()
120 dos.writeShort(evs.size()); // u2 element_value pair count in dump()
222 rvaDos.writeShort(countVisible); in getAnnotationAttributes()
223 riaDos.writeShort(countInvisible); in getAnnotationAttributes()
300 rvaDos.writeShort(visCount[i]); in getParameterAnnotationAttributes()
315 riaDos.writeShort(invisCount[i]); in getParameterAnnotationAttributes()
/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/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DRecordVoiceInCall.java166 recordVoiceOutStream.writeShort(getShortByOrder(buffer[count], LITTLE_ENDIAN)); in createRecordVoiceThread()
217 dataOutputStream.writeShort(getShortByOrder((short) 1, LITTLE_ENDIAN)); in writeWaveHeader()
219 dataOutputStream.writeShort( in writeWaveHeader()
230 dataOutputStream.writeShort( in writeWaveHeader()
233 dataOutputStream.writeShort( in writeWaveHeader()

1234567