Home
last modified time | relevance | path

Searched refs:constantPool (Results 1 – 16 of 16) sorted by relevance

/external/proguard/src/proguard/classfile/editor/
DConstantPoolEditor.java56 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 …]
DNameAndTypeShrinker.java68 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()
DConstantPoolSorter.java66 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()
DUtf8Shrinker.java79 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()
DConstantPoolShrinker.java92 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()
DMemberReferenceFixer.java70 Constant constant = programClass.constantPool[index]; in visitProgramClass()
195 ((ProgramClass)clazz).constantPool[this.constantIndex] = in visitInterfaceMethodrefConstant()
251 ((ProgramClass)clazz).constantPool[this.constantIndex] = in visitMethodrefConstant()
DInterfaceSorter.java141 …((Utf8Constant)((ProgramClass)clazz).constantPool[signatureAttribute.u2signatureIndex]).setString(… in visitSignatureAttribute()
DInterfaceDeleter.java181 …((Utf8Constant)((ProgramClass)clazz).constantPool[signatureAttribute.u2signatureIndex]).setString(… in visitSignatureAttribute()
/external/proguard/src/proguard/classfile/
DProgramClass.java40 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/proguard/src/proguard/shrink/
DClassShrinker.java78 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/emma/core/java12/com/vladium/jcd/parser/
DClassDefParser.java225 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/
DLibraryClassReader.java52 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()
DProgramClassReader.java100 programClass.constantPool = new Constant[programClass.u2constantPoolCount]; in visitProgramClass()
105 programClass.constantPool[index] = constant; in visitProgramClass()
113 programClass.constantPool[++index] = null; in visitProgramClass()
/external/proguard/src/proguard/optimize/peephole/
DInstructionSequenceReplacer.java370 dummyClass.constantPool = patternConstants; in matchedConstantIndex()
DInstructionSequenceConstants.java5039 clazz.constantPool = CONSTANTS; in main()
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliPositionManagerTest.java227 @Override public byte[] constantPool() { return new byte[0]; }