Home
last modified time | relevance | path

Searched refs:constantIndex (Results 1 – 25 of 43) sorted by relevance

12

/external/proguard/src/proguard/classfile/editor/
DConstantAdder.java43 private int constantIndex; field in ConstantAdder
61 public int addConstant(Clazz clazz, int constantIndex) in addConstant() argument
63 clazz.constantPoolEntryAccept(constantIndex, this); in addConstant()
65 return this.constantIndex; in addConstant()
77 return this.constantIndex; in addConstant()
87 return constantIndex; in getConstantIndex()
95 constantIndex = in visitIntegerConstant()
102 constantIndex = in visitLongConstant()
109 constantIndex = in visitFloatConstant()
116 constantIndex = in visitDoubleConstant()
[all …]
DMethodInvocationFixer.java80 int constantIndex = constantInstruction.constantIndex; in visitConstantInstruction() local
85 clazz.constantPoolEntryAccept(constantIndex, this); in visitConstantInstruction()
103 constantIndex); in visitConstantInstruction()
124 constantIndex); in visitConstantInstruction()
149 constantIndex, in visitConstantInstruction()
175 constantIndex); in visitConstantInstruction()
DBootstrapMethodRemapper.java78 private int remapConstantIndex(int constantIndex) in remapConstantIndex() argument
80 int remappedConstantIndex = constantIndexMap[constantIndex]; in remapConstantIndex()
83 throw new IllegalArgumentException("Can't remap constant index ["+constantIndex+"]"); in remapConstantIndex()
DMemberReferenceFixer.java54 private int constantIndex; field in MemberReferenceFixer
74 this.constantIndex = index; in visitProgramClass()
195 ((ProgramClass)clazz).constantPool[this.constantIndex] = in visitInterfaceMethodrefConstant()
251 ((ProgramClass)clazz).constantPool[this.constantIndex] = in visitMethodrefConstant()
DConstantPoolRemapper.java513 int newConstantIndex = remapConstantIndex(constantInstruction.constantIndex); in visitConstantInstruction()
514 if (newConstantIndex != constantInstruction.constantIndex) in visitConstantInstruction()
678 private int remapConstantIndex(int constantIndex) in remapConstantIndex() argument
680 int remappedConstantIndex = constantIndexMap[constantIndex]; in remapConstantIndex()
683 throw new IllegalArgumentException("Can't remap constant index ["+constantIndex+"]"); in remapConstantIndex()
DInstructionWriter.java107 constantInstruction.constantIndex, in visitConstantInstruction()
118 constantInstruction.constantIndex = 0; in visitConstantInstruction()
DInstructionAdder.java70 … constantAdder.addConstant(clazz, constantInstruction.constantIndex), in visitConstantInstruction()
/external/proguard/src/proguard/classfile/
DProgramClass.java74 public Constant getConstant(int constantIndex) in getConstant() argument
76 return constantPool[constantIndex]; in getConstant()
107 public int getTag(int constantIndex) in getTag() argument
109 return constantPool[constantIndex].getTag(); in getTag()
112 public String getString(int constantIndex) in getString() argument
116 return ((Utf8Constant)constantPool[constantIndex]).getString(); in getString()
120 …xception)new IllegalStateException("Expected Utf8Constant at index ["+constantIndex+"] in class ["… in getString()
124 public String getStringString(int constantIndex) in getStringString() argument
128 return ((StringConstant)constantPool[constantIndex]).getString(this); in getStringString()
132 …eption)new IllegalStateException("Expected StringConstant at index ["+constantIndex+"] in class ["… in getStringString()
[all …]
DClazz.java66 public int getTag(int constantIndex); in getTag() argument
71 public String getString(int constantIndex); in getString() argument
76 public String getStringString(int constantIndex); in getStringString() argument
81 public String getClassName(int constantIndex); in getClassName() argument
86 public String getName(int constantIndex); in getName() argument
91 public String getType(int constantIndex); in getType() argument
96 public String getRefClassName(int constantIndex); in getRefClassName() argument
101 public String getRefName(int constantIndex); in getRefName() argument
106 public String getRefType(int constantIndex); in getRefType() argument
DLibraryClass.java109 public int getTag(int constantIndex) in getTag() argument
114 public String getString(int constantIndex) in getString() argument
119 public String getStringString(int constantIndex) in getStringString() argument
124 public String getClassName(int constantIndex) in getClassName() argument
129 public String getName(int constantIndex) in getName() argument
134 public String getType(int constantIndex) in getType() argument
140 public String getRefClassName(int constantIndex) in getRefClassName() argument
145 public String getRefName(int constantIndex) in getRefName() argument
150 public String getRefType(int constantIndex) in getRefType() argument
/external/proguard/src/proguard/classfile/instruction/
DConstantInstruction.java39 public int constantIndex; field in ConstantInstruction
58 public ConstantInstruction(byte opcode, int constantIndex) in ConstantInstruction() argument
60 this(opcode, constantIndex, 0); in ConstantInstruction()
68 public ConstantInstruction(byte opcode, int constantIndex, int constant) in ConstantInstruction() argument
71 this.constantIndex = constantIndex; in ConstantInstruction()
84 this.constantIndex = constantInstruction.constantIndex; in copy()
129 constantIndex = readValue(code, offset, constantIndexSize); offset += constantIndexSize; in readInfo()
144 writeValue(code, offset, constantIndex, constantIndexSize); offset += constantIndexSize; in writeInfo()
176 clazz.constantPoolEntryAccept(constantIndex, this); in stackPopCount()
186 clazz.constantPoolEntryAccept(constantIndex, this); in stackPopCount()
[all …]
/external/proguard/src/proguard/optimize/evaluation/
DSimpleEnumUseChecker.java222 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()
230 clazz.getRefName(constantInstruction.constantIndex); in visitConstantInstruction()
232 clazz.getRefType(constantInstruction.constantIndex); in visitConstantInstruction()
250 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()
259 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()
265 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()
275 constantInstruction.constantIndex)) in visitConstantInstruction()
283 … clazz.getClassName(constantInstruction.constantIndex)+"]"); in visitConstantInstruction()
301 …((ClassConstant)((ProgramClass)clazz).getConstant(constantInstruction.constantIndex)).referencedCl… in visitConstantInstruction()
305 … clazz.getClassName(constantInstruction.constantIndex)+"]"); in visitConstantInstruction()
[all …]
DSimpleEnumUseSimplifier.java260 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()
268 clazz.getRefName(constantInstruction.constantIndex); in visitConstantInstruction()
270 clazz.getRefType(constantInstruction.constantIndex); in visitConstantInstruction()
293 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()
299 int constantIndex = constantInstruction.constantIndex; in visitConstantInstruction() local
301 if (isReferencingSimpleEnum(clazz, constantIndex) && in visitConstantInstruction()
302 !ClassUtil.isInternalArrayType(clazz.getClassName(constantIndex))) in visitConstantInstruction()
460 private boolean isReferencingSimpleEnum(Clazz clazz, int constantIndex) in isReferencingSimpleEnum() argument
464 clazz.constantPoolEntryAccept(constantIndex, this); in isReferencingSimpleEnum()
/external/proguard/src/proguard/classfile/util/
DInstructionSequenceMatcher.java182 public int matchedConstantIndex(int constantIndex) in matchedConstantIndex() argument
184 int argumentIndex = constantIndex - X; in matchedConstantIndex()
186 matchedConstantIndices[constantIndex] : in matchedConstantIndex()
274 constantInstruction.constantIndex, in visitConstantInstruction()
275 ((ConstantInstruction)patternInstruction).constantIndex) && in visitConstantInstruction()
632 private void setMatchingConstant(int constantIndex, in setMatchingConstant() argument
635 matchedConstantIndices[constantIndex] = constantIndex1; in setMatchingConstant()
636 matchedConstantFlags[constantIndex / 64] |= 1L << constantIndex; in setMatchingConstant()
643 private boolean isMatchingConstantIndex(int constantIndex) in isMatchingConstantIndex() argument
645 return (matchedConstantFlags[constantIndex / 64] & (1L << constantIndex)) != 0; in isMatchingConstantIndex()
/external/proguard/src/proguard/optimize/peephole/
DInstructionSequenceReplacer.java285 constantInstruction.constantIndex), in visitConstantInstruction()
343 private int matchedConstantIndex(ProgramClass programClass, int constantIndex) in matchedConstantIndex() argument
346 if (constantIndex >= BOOLEAN_A_STRING && in matchedConstantIndex()
347 constantIndex <= (STRING_A_STRING | STRING_B_STRING)) in matchedConstantIndex()
351 argumentAsString(programClass, constantIndex & 0xf, A) + in matchedConstantIndex()
352 argumentAsString(programClass, (constantIndex >>> 4) & 0xf, B), in matchedConstantIndex()
358 instructionSequenceMatcher.matchedConstantIndex(constantIndex); in matchedConstantIndex()
372 return new ConstantAdder(programClass).addConstant(dummyClass, constantIndex); in matchedConstantIndex()
DMethodInliner.java442 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
466 constantInstruction.constantIndex = in visitConstantInstruction()
467 constantAdder.addConstant(clazz, constantInstruction.constantIndex); in visitConstantInstruction()
/external/proguard/src/proguard/optimize/info/
DSideEffectInstructionChecker.java183 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
189 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
203 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
218 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
225 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
240 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
DReadWriteFieldMarker.java65 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
73 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
81 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); in visitConstantInstruction()
/external/proguard/src/proguard/classfile/io/
DLibraryClassReader.java322 private String getClassName(int constantIndex) in getClassName() argument
324 ClassConstant classEntry = (ClassConstant)constantPool[constantIndex]; in getClassName()
334 private String getString(int constantIndex) in getString() argument
336 return ((Utf8Constant)constantPool[constantIndex]).getString(); in getString()
/external/proguard/src/proguard/evaluation/
DProcessor.java572 int constantIndex = constantInstruction.constantIndex; in visitConstantInstruction() local
579 stack.push(classConstantValueFactory.constantValue(clazz, constantIndex)); in visitConstantInstruction()
595 … stack.push(constantValueFactory.constantValue(clazz, constantIndex).referenceValue()); in visitConstantInstruction()
600 …renceValue referenceValue = constantValueFactory.constantValue(clazz, constantIndex).referenceValu… in visitConstantInstruction()
614 ….isNull() == Value.NEVER ? constantValueFactory.constantValue(clazz, constantIndex).referenceValu… in visitConstantInstruction()
615 …constantValueFactory.constantValue(clazz, constantIndex).referenceValue().generalize(valueFactory.… in visitConstantInstruction()
621 …renceValue referenceValue = constantValueFactory.constantValue(clazz, constantIndex).referenceValu… in visitConstantInstruction()
641 … stack.push(constantValueFactory.constantValue(clazz, constantIndex).referenceValue()); in visitConstantInstruction()
DConstantValueFactory.java55 int constantIndex) in constantValue() argument
58 clazz.constantPoolEntryAccept(constantIndex, this); in constantValue()
DBasicInvocationUnit.java140 int constantIndex = constantInstruction.constantIndex; in invokeMember() local
178 clazz.constantPoolEntryAccept(constantIndex, this); in invokeMember()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsm16bitStorageTests.cpp1244 unsigned constantIndex; in addCompute16bitStorageUniform16To32Group() member
1281 specs["constarrayidx"] = de::toString(cTypes[capIdx][tyIdx].constantIndex); in addCompute16bitStorageUniform16To32Group()
1303 …float32DataConstIdx.push_back(float32Data[cTypes[capIdx][tyIdx].constantIndex * numFloats + numIdx… in addCompute16bitStorageUniform16To32Group()
1388 unsigned constantIndex; in addCompute16bitStorageUniform16To32Group() member
1453 …const deInt32 idx = cTypes[capIdx][tyIdx].constantIndex * scalarsPerItem + numIdx % scalarsPerItem; in addCompute16bitStorageUniform16To32Group()
1469 specs["constarrayidx"] = de::toString(cTypes[capIdx][tyIdx].constantIndex); in addCompute16bitStorageUniform16To32Group()
1788 unsigned constantIndex; in addCompute16bitStoragePushConstant16To32Group() member
1819 …float32DataConstIdx.push_back(float32Data[cTypes[tyIdx].constantIndex * numFloats + numIdx % numFl… in addCompute16bitStoragePushConstant16To32Group()
1827 specs["constarrayidx"] = de::toString(cTypes[tyIdx].constantIndex); in addCompute16bitStoragePushConstant16To32Group()
1902 unsigned constantIndex; in addCompute16bitStoragePushConstant16To32Group() member
[all …]
DvktSpvAsm8bitStorageTests.cpp2912 deUint32 constantIndex; in addGraphics8BitStorageUniformInt8To32Group() member
3070 deUint32 constIdx = constantIndices[constIndexIdx].constantIndex; in addGraphics8BitStorageUniformInt8To32Group()
3101 switch(constantIndices[constIndexIdx].constantIndex) in addGraphics8BitStorageUniformInt8To32Group()
3164 deUint32 constantIndex; in addGraphics8BitStoragePushConstantInt8To32Group() member
3271 deUint32 constIdx = constantIndices[constIndexIdx].constantIndex; in addGraphics8BitStoragePushConstantInt8To32Group()
3314 deUint32 constIdx = constantIndices[constIndexIdx].constantIndex; in addGraphics8BitStoragePushConstantInt8To32Group()
3387 deUint32 constIdx = constantIndices[constIndexIdx].constantIndex; in addGraphics8BitStoragePushConstantInt8To32Group()
3431 deUint32 constIdx = constantIndices[constIndexIdx].constantIndex; in addGraphics8BitStoragePushConstantInt8To32Group()
3725 deUint32 constantIndex; in addGraphics8BitStorageUniformInt8To16Group() member
3886 deUint32 constIdx = constantIndices[constIndexIdx].constantIndex; in addGraphics8BitStorageUniformInt8To16Group()
[all …]
/external/proguard/src/proguard/classfile/instruction/visitor/
DInstructionConstantVisitor.java60 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, in visitConstantInstruction()

12