/external/proguard/src/proguard/classfile/editor/ |
D | ConstantPoolEditor.java | 56 Constant[] constantPool = targetClass.constantPool; in addIntegerConstant() local 61 Constant constant = constantPool[index]; in addIntegerConstant() 85 Constant[] constantPool = targetClass.constantPool; in addLongConstant() local 90 Constant constant = constantPool[index]; in addLongConstant() 115 Constant[] constantPool = targetClass.constantPool; in addFloatConstant() local 120 Constant constant = constantPool[index]; in addFloatConstant() 145 Constant[] constantPool = targetClass.constantPool; in addDoubleConstant() local 150 Constant constant = constantPool[index]; in addDoubleConstant() 177 Constant[] constantPool = targetClass.constantPool; in addStringConstant() local 182 Constant constant = constantPool[index]; in addStringConstant() [all …]
|
D | NameAndTypeShrinker.java | 68 shrinkConstantPool(programClass.constantPool, in visitProgramClass() 150 private int shrinkConstantPool(Constant[] constantPool, int length) in shrinkConstantPool() argument 165 Constant constant = constantPool[index]; in shrinkConstantPool() 181 constantPool[counter++] = constant; in shrinkConstantPool() 191 Arrays.fill(constantPool, counter, length, null); in shrinkConstantPool()
|
D | ConstantPoolSorter.java | 66 Constant constant = programClass.constantPool[oldIndex]; in visitProgramClass() 112 System.arraycopy(newConstantPool, 0, programClass.constantPool, 0, newLength); in visitProgramClass() 115 Arrays.fill(programClass.constantPool, newLength, constantPoolCount, null); in visitProgramClass()
|
D | Utf8Shrinker.java | 79 shrinkConstantPool(programClass.constantPool, in visitProgramClass() 439 private int shrinkConstantPool(Constant[] constantPool, int length) in shrinkConstantPool() argument 453 Constant constant = constantPool[index]; in shrinkConstantPool() 469 constantPool[counter++] = constant; in shrinkConstantPool() 479 Arrays.fill(constantPool, counter, length, null); in shrinkConstantPool()
|
D | ConstantPoolShrinker.java | 92 shrinkConstantPool(programClass.constantPool, in visitProgramClass() 561 private int shrinkConstantPool(Constant[] constantPool, int length) in shrinkConstantPool() argument 575 Constant constant = constantPool[index]; in shrinkConstantPool() 590 constantPool[counter++] = constant; in shrinkConstantPool() 600 Arrays.fill(constantPool, counter, length, null); in shrinkConstantPool()
|
D | MemberReferenceFixer.java | 70 Constant constant = programClass.constantPool[index]; in visitProgramClass() 195 ((ProgramClass)clazz).constantPool[this.constantIndex] = in visitInterfaceMethodrefConstant() 251 ((ProgramClass)clazz).constantPool[this.constantIndex] = in visitMethodrefConstant()
|
D | InterfaceSorter.java | 141 …((Utf8Constant)((ProgramClass)clazz).constantPool[signatureAttribute.u2signatureIndex]).setString(… in visitSignatureAttribute()
|
D | InterfaceDeleter.java | 181 …((Utf8Constant)((ProgramClass)clazz).constantPool[signatureAttribute.u2signatureIndex]).setString(… in visitSignatureAttribute()
|
/external/turbine/java/com/google/turbine/bytecode/ |
D | ClassReader.java | 85 ConstantPoolReader constantPool = ConstantPoolReader.readConstantPool(reader); in read() local 87 String thisClass = constantPool.classInfo(reader.u2()); in read() 91 superClass = constantPool.classInfo(superClassIndex); in read() 98 interfaces.add(constantPool.classInfo(reader.u2())); in read() 101 List<ClassFile.FieldInfo> fieldinfos = readFields(constantPool); in read() 103 List<ClassFile.MethodInfo> methodinfos = readMethods(constantPool); in read() 112 String name = constantPool.utf8(attributeNameIndex); in read() 116 readAnnotations(annotations, constantPool); in read() 119 signature = readSignature(constantPool); in read() 122 innerclasses = readInnerClasses(constantPool, thisClass); in read() [all …]
|
D | ConstantPoolReader.java | 44 private final int[] constantPool; field in ConstantPoolReader 49 private ConstantPoolReader(int[] constantPool, ByteReader byteReader) { in ConstantPoolReader() argument 50 this.constantPool = constantPool; in ConstantPoolReader() 60 int[] constantPool = new int[constantPoolCount - 1]; in readConstantPool() local 62 constantPool[i] = reader.pos(); in readConstantPool() 65 return new ConstantPoolReader(constantPool, reader); in readConstantPool() 107 ByteArrayDataInput reader = byteReader.seek(constantPool[index - 1]); in classInfo() 118 ByteArrayDataInput reader = byteReader.seek(constantPool[index - 1]); in utf8() 128 ByteArrayDataInput reader = byteReader.seek(constantPool[index - 1]); in moduleInfo() 139 ByteArrayDataInput reader = byteReader.seek(constantPool[index - 1]); in packageInfo() [all …]
|
D | ClassWriter.java | 86 static void writeConstantPool(ConstantPool constantPool, ByteArrayDataOutput output) { in writeConstantPool() argument 87 output.writeShort(constantPool.nextEntry); in writeConstantPool() 88 for (ConstantPool.Entry e : constantPool.constants()) { in writeConstantPool()
|
/external/proguard/src/proguard/classfile/ |
D | ProgramClass.java | 40 public Constant[] constantPool; field in ProgramClass 76 return constantPool[constantIndex]; in getConstant() 109 return constantPool[constantIndex].getTag(); in getTag() 116 return ((Utf8Constant)constantPool[constantIndex]).getString(); in getString() 128 return ((StringConstant)constantPool[constantIndex]).getString(this); in getStringString() 140 return ((ClassConstant)constantPool[constantIndex]).getName(this); in getClassName() 152 return ((NameAndTypeConstant)constantPool[constantIndex]).getName(this); in getName() 164 return ((NameAndTypeConstant)constantPool[constantIndex]).getType(this); in getType() 177 return ((RefConstant)constantPool[constantIndex]).getClassName(this); in getRefClassName() 189 return ((RefConstant)constantPool[constantIndex]).getName(this); in getRefName() [all …]
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/ |
D | ElementValuePair.java | 35 private final ConstantPool constantPool; field in ElementValuePair 40 final ConstantPool constantPool) in ElementValuePair() argument 44 this.constantPool = constantPool; in ElementValuePair() 49 final ConstantUtf8 c = (ConstantUtf8) constantPool.getConstant( in getNameString()
|
D | StackMapEntry.java | 50 StackMapEntry(final DataInput input, final ConstantPool constantPool) throws IOException { in StackMapEntry() argument 51 this(input.readByte() & 0xFF, -1, null, null, constantPool); in StackMapEntry() local 59 types_of_stack_items[0] = new StackMapType(input, constantPool); in StackMapEntry() 63 types_of_stack_items[0] = new StackMapType(input, constantPool); in StackMapEntry() 73 types_of_locals[i] = new StackMapType(input, constantPool); in StackMapEntry() 80 types_of_locals[i] = new StackMapType(input, constantPool); in StackMapEntry() 85 types_of_stack_items[i] = new StackMapType(input, constantPool); in StackMapEntry() 108 final StackMapType[] typesOfStackItems, final ConstantPool constantPool) { in StackMapEntry() argument 112 this.constant_pool = constantPool; in StackMapEntry() 126 final StackMapType[] typesOfStackItems, final ConstantPool constantPool) { in StackMapEntry() argument [all …]
|
/external/proguard/src/proguard/shrink/ |
D | ClassShrinker.java | 78 new InterfaceDeleter(shrinkFlags(programClass.constantPool, in visitProgramClass() 86 shrinkConstantPool(programClass.constantPool, in visitProgramClass() 325 …((Utf8Constant)((ProgramClass)clazz).constantPool[signatureAttribute.u2signatureIndex]).setString(… in visitSignatureAttribute() 363 private int shrinkConstantPool(Constant[] constantPool, int length) in shrinkConstantPool() argument 378 Constant constant = constantPool[index]; in shrinkConstantPool() 393 constantPool[counter++] = constant; in shrinkConstantPool() 403 Arrays.fill(constantPool, counter, length, null); in shrinkConstantPool() 414 private boolean[] shrinkFlags(Constant[] constantPool, int[] array, int length) in shrinkFlags() argument 421 if (!usageMarker.isUsed(constantPool[array[index]])) in shrinkFlags() 436 private int shrinkConstantIndexArray(Constant[] constantPool, int[] array, int length) in shrinkConstantIndexArray() argument [all …]
|
/external/dagger2/java/dagger/hilt/android/plugin/src/main/kotlin/dagger/hilt/android/plugin/ |
D | AndroidEntryPointClassTransformer.kt | 166 val constantPool = clazz.classFile.constPool in <lambda>() constant 185 val currentClassRef = constantPool.getMethodrefClassName(methodRef) in <lambda>() 189 val nameAndTypeRef = constantPool.getMethodrefNameAndType(methodRef) in <lambda>() 190 val newSuperclassRef = constantPool.addClassInfo(newSuperclassName) in <lambda>() 191 val newMethodRef = constantPool.addMethodrefInfo(newSuperclassRef, nameAndTypeRef) in <lambda>() 219 val constantPool = clazz.classFile.constPool in <lambda>() constant 220 val newCode = Bytecode(constantPool).apply { in <lambda>()
|
/external/emma/core/java12/com/vladium/jcd/parser/ |
D | ClassDefParser.java | 225 final IConstantCollection constantPool = m_table.getConstants (); in fields() local 229 final Field_info field_info = new Field_info (constantPool, m_bytes); in fields() 265 final IConstantCollection constantPool = m_table.getConstants (); in methods() local 269 final Method_info method_info = new Method_info (constantPool, m_bytes); in methods() 286 IConstantCollection constantPool = m_table.getConstants (); in attributes() local 290 … Attribute_info attribute_info = Attribute_info.new_Attribute_info (constantPool, m_bytes); in attributes()
|
/external/proguard/src/proguard/classfile/io/ |
D | LibraryClassReader.java | 52 private Constant[] constantPool; field in LibraryClassReader 95 constantPool = new Constant[u2constantPoolCount]; in visitLibraryClass() 106 constantPool[index] = constant; in visitLibraryClass() 324 ClassConstant classEntry = (ClassConstant)constantPool[constantIndex]; in getClassName() 336 return ((Utf8Constant)constantPool[constantIndex]).getString(); in getString()
|
D | ProgramClassReader.java | 100 programClass.constantPool = new Constant[programClass.u2constantPoolCount]; in visitProgramClass() 105 programClass.constantPool[index] = constant; in visitProgramClass() 113 programClass.constantPool[++index] = null; in visitProgramClass()
|
/external/oj-libjdwp/src/share/classes/com/sun/jdi/ |
D | ReferenceType.java | 829 byte[] constantPool(); in constantPool() method
|
/external/proguard/src/proguard/optimize/peephole/ |
D | InstructionSequenceReplacer.java | 370 dummyClass.constantPool = patternConstants; in matchedConstantIndex()
|
D | InstructionSequenceConstants.java | 5039 clazz.constantPool = CONSTANTS; in main()
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
D | SmaliPositionManagerTest.java | 227 @Override public byte[] constantPool() { return new byte[0]; }
|
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/ |
D | ReferenceTypeImpl.java | 1022 public byte[] constantPool() { in constantPool() method in ReferenceTypeImpl
|