Home
last modified time | relevance | path

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

12

/external/javassist/src/main/javassist/bytecode/
DLocalVariableAttribute.java42 ByteArray.write16bit(0, info, 0); in LocalVariableAttribute()
59 ByteArray.write16bit(0, info, 0); in LocalVariableAttribute()
85 ByteArray.write16bit(tableLength() + 1, newInfo, 0); in addEntry()
89 ByteArray.write16bit(startPc, newInfo, size); in addEntry()
90 ByteArray.write16bit(length, newInfo, size + 2); in addEntry()
91 ByteArray.write16bit(nameIndex, newInfo, size + 4); in addEntry()
92 ByteArray.write16bit(descriptorIndex, newInfo, size + 6); in addEntry()
93 ByteArray.write16bit(index, newInfo, size + 8); in addEntry()
107 ByteArray.write16bit(cp.addUtf8Info(desc), info, pos + 6); in renameClass()
126 ByteArray.write16bit(cp.addUtf8Info(desc), info, pos + 6); in renameClass()
[all …]
DInnerClassesAttribute.java49 ByteArray.write16bit(0, get(), 0); in InnerClassesAttribute()
84 ByteArray.write16bit(index, get(), nth * 8 + 2); in setInnerClassIndex()
112 ByteArray.write16bit(index, get(), nth * 8 + 4); in setOuterClassIndex()
140 ByteArray.write16bit(index, get(), nth * 8 + 6); in setInnerNameIndex()
155 ByteArray.write16bit(flags, get(), nth * 8 + 8); in setAccessFlags()
205 ByteArray.write16bit(n + 1, newData, 0); in append()
207 ByteArray.write16bit(inner, newData, len); in append()
208 ByteArray.write16bit(outer, newData, len + 2); in append()
209 ByteArray.write16bit(name, newData, len + 4); in append()
210 ByteArray.write16bit(flags, newData, len + 6); in append()
[all …]
DStackMap.java237 ByteArray.write16bit(num, dest, 0); in visit()
243 ByteArray.write16bit(offset, dest, pos - 4); in locals()
249 ByteArray.write16bit(num, dest, pos - 2); in typeInfoArray()
262 ByteArray.write16bit(newClazz, dest, pos + 1); in objectVariable()
268 ByteArray.write16bit(offset, dest, pos + 1); in uninitialized()
314 writer.write16bit(num); in visit()
320 writer.write16bit(offset); in locals()
326 writer.write16bit(num); in typeInfoArray()
362 writer.write16bit(num + 1); in typeInfoArray()
406 ByteArray.write16bit(offset + gap, info, pos - 4); in locals()
[all …]
DExceptionsAttribute.java93 ByteArray.write16bit(srcCp.copy(index, destCp, classnames), in copyFrom()
142 ByteArray.write16bit(n, blist, 0); in setExceptionIndexes()
144 ByteArray.write16bit(elist[i], blist, i * 2 + 2); in setExceptionIndexes()
155 ByteArray.write16bit(n, blist, 0); in setExceptions()
157 ByteArray.write16bit(constPool.addClassInfo(elist[i]), in setExceptions()
DBootstrapMethodsAttribute.java59 ByteArray.write16bit(methods.length, data, 0); // num_bootstrap_methods in BootstrapMethodsAttribute()
62 ByteArray.write16bit(methods[i].methodRef, data, pos); in BootstrapMethodsAttribute()
63 ByteArray.write16bit(methods[i].arguments.length, data, pos + 2); in BootstrapMethodsAttribute()
67 ByteArray.write16bit(args[k], data, pos); in BootstrapMethodsAttribute()
DNestMembersAttribute.java58 ByteArray.write16bit(n, dest, 0); in copy()
63 ByteArray.write16bit(newIndex, dest, j); in copy()
DMethodParametersAttribute.java35 ByteArray.write16bit(cp.addUtf8Info(names[i]), data, i * 4 + 1); in MethodParametersAttribute()
36 ByteArray.write16bit(flags[i], data, i * 4 + 3); in MethodParametersAttribute()
DCodeAttribute.java544 ci.write16bit(var, pos - 1); in shiftIndex()
545 ci.write16bit(plus, pos + 1); in shiftIndex()
556 ci.write16bit(var, index + 2); in shiftIndex()
575 ci.write16bit(var, pos); in shiftIndex8()
602 ci.write16bit(var, pos + 1); in shiftIndex0()
DStackMapTable.java575 ByteArray.write16bit(numOfEntries, b, 0); in toByteArray()
842 ByteArray.write16bit(data + gap, info, pos); in objectOrUninitialized()
896 ByteArray.write16bit(newDelta, newinfo, pos + 1); in update()
900 ByteArray.write16bit(newDelta, info, pos + 1); in update()
940 ByteArray.write16bit(newDelta, info, pos + 1);
976 ByteArray.write16bit(newDelta, newinfo, pos + 1);
986 ByteArray.write16bit(newDelta, info, pos + 1);
1011 ByteArray.write16bit(newDelta, info, pos + 1);
DNestHostAttribute.java41 ByteArray.write16bit(hostIndex, get(), 0); in NestHostAttribute()
DByteArray.java40 public static void write16bit(int value, byte[] code, int index) { in write16bit() method in ByteArray
DLocalVariableTypeAttribute.java39 ByteArray.write16bit(0, info, 0); in LocalVariableTypeAttribute()
DLineNumberAttribute.java180 ByteArray.write16bit(pc + gapLength, info, pos); in shiftPc()
/external/javassist/src/main/javassist/bytecode/annotation/
DAnnotationsWriter.java108 write16bit(num); in numAnnotations()
138 write16bit(typeIndex); in annotation()
139 write16bit(numMemberValuePairs); in annotation()
166 write16bit(memberNameIndex); in memberValuePair()
271 write16bit(index); in constValueIndex()
301 write16bit(typeNameIndex); in enumConstValue()
302 write16bit(constNameIndex); in enumConstValue()
323 write16bit(index); in classInfoIndex()
347 write16bit(numValues); in arrayValue()
350 protected void write16bit(int value) throws IOException { in write16bit() method in AnnotationsWriter
[all …]
DTypeAnnotationsWriter.java55 write16bit(supertypeIndex); in supertypeTarget()
97 write16bit(throwsTypeIndex); in throwsTarget()
110 write16bit(tableLength); in localVarTarget()
120 write16bit(startPc); in localVarTargetTable()
121 write16bit(length); in localVarTargetTable()
122 write16bit(index); in localVarTargetTable()
133 write16bit(exceptionTableIndex); in catchTarget()
144 write16bit(offset); in offsetTarget()
155 write16bit(offset); in typeArgumentTarget()
/external/javassist/src/main/javassist/convert/
DTransformAfter.java43 iterator.write16bit(iterator.u16bitAt(pos + 1), p + 1); in match2()
45 iterator.write16bit(newIndex, pos + 1); in match2()
DTransformNewClass.java66 iterator.write16bit(newClassIndex, pos + 1); in transform()
80 iterator.write16bit(newMethodIndex, pos + 1); in transform()
DTransformAccessArrayField.java154 iterator.write16bit(methodref, pos + 1); in replace()
159 iterator.write16bit(index, pos + 4); in replace()
DTransformFieldAccess.java80 iterator.write16bit(newIndex, pos + 1); in transform()
DTransformWriteField.java70 iterator.write16bit(methodref, pos + 1); in transform()
DTransformNew.java93 iterator.write16bit(methodref, pos + 1); in transform()
DTransformReadField.java92 iterator.write16bit(methodref, pos + 1); in transform()
DTransformBefore.java83 iterator.write16bit(newIndex, p + 1); in match2()
/external/javassist/src/main/javassist/bytecode/stackmap/
DMapMaker.java377 ByteArray.write16bit(-len, code, pos + len + 1); in fixDeadcode()
580 writer.write16bit(num); in toStackMap2()
589 writer.write16bit(offset); in writeStackFrame()
604 writer.write16bit(num - numDWord); in writeVerifyTypeInfo()
/external/javassist/src/main/javassist/compiler/
DCodeGen.java439 bytecode.write16bit(pc, bytecode.currentPc() - pc + 1); in atIfStmnt()
443 bytecode.write16bit(pc2, bytecode.currentPc() - pc2 + 1); in atIfStmnt()
471 bytecode.write16bit(pc, pc3 - pc + 1); in atWhileStmnt()
489 bytecode.write16bit(pc, targetPc - pc + 1); in patchGoto()
535 bytecode.write16bit(pc2, pc4 - pc2 + 1); in atForStmnt()
731 bc.write16bit(pc3, bc.currentPc() - pc3 + 1); in atSyncStmnt()
977 bytecode.write16bit(pc, bytecode.currentPc() - pc + 1); in atCondExpr()
982 bytecode.write16bit(pc2, bytecode.currentPc() - pc2 + 1); in atCondExpr()
1177 bytecode.write16bit(pc, bytecode.currentPc() - pc + 3); in booleanExpr()
1674 bytecode.write16bit(pc, bytecode.currentPc() - pc + 1); in atClassObject2()

12