Home
last modified time | relevance | path

Searched refs:getConstantPool (Results 1 – 25 of 213) sorted by relevance

123456789

/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DSimpleElementValueGen.java56 idx = getConstantPool().addInteger(value); in SimpleElementValueGen()
62 idx = getConstantPool().addLong(value); in SimpleElementValueGen()
68 idx = getConstantPool().addDouble(value); in SimpleElementValueGen()
74 idx = getConstantPool().addFloat(value); in SimpleElementValueGen()
80 idx = getConstantPool().addInteger(value); in SimpleElementValueGen()
86 idx = getConstantPool().addInteger(value); in SimpleElementValueGen()
92 idx = getConstantPool().addInteger(value); in SimpleElementValueGen()
99 idx = getConstantPool().addInteger(1); in SimpleElementValueGen()
101 idx = getConstantPool().addInteger(0); in SimpleElementValueGen()
108 idx = getConstantPool().addUtf8(value); in SimpleElementValueGen()
[all …]
DFieldGen.java109 final ConstantPool cp = super.getConstantPool().getConstantPool(); in setValue()
217 final int name_index = super.getConstantPool().addUtf8(super.getName()); in getField()
218 final int signature_index = super.getConstantPool().addUtf8(signature); in getField()
222 … addAttribute(new ConstantValue(super.getConstantPool().addUtf8("ConstantValue"), 2, index, in getField()
223 super.getConstantPool().getConstantPool())); // sic in getField()
225 addAnnotationsAsAttribute(super.getConstantPool()); in getField()
227 super.getConstantPool().getConstantPool()); // sic in getField()
245 return super.getConstantPool().addInteger(((Integer) value).intValue()); in addConstant()
247 return super.getConstantPool().addFloat(((Float) value).floatValue()); in addConstant()
249 return super.getConstantPool().addDouble(((Double) value).doubleValue()); in addConstant()
[all …]
DEnumElementValueGen.java63 getConstantPool().getConstantPool()); in getElementValue()
102 final ConstantUtf8 cu8 = (ConstantUtf8) getConstantPool().getConstant(valueIdx); in stringifyValue()
119 return ((ConstantUtf8) getConstantPool().getConstant(typeIdx)) in getEnumTypeString()
126 return ((ConstantUtf8) getConstantPool().getConstant(valueIdx)).getBytes(); in getEnumValueString()
DFieldOrMethod.java53 final ConstantPool cp = cpg.getConstantPool(); in getSignature()
63 final ConstantPool cp = cpg.getConstantPool(); in getName()
83 final ConstantPool cp = cpg.getConstantPool(); in getClassName()
114 final ConstantPool cp = cpg.getConstantPool(); in getReferenceType()
DNameSignatureInstruction.java43 final ConstantPool cp = cpg.getConstantPool(); in getNameAndType()
50 final ConstantPool cp = cpg.getConstantPool(); in getSignature()
58 final ConstantPool cp = cpg.getConstantPool(); in getName()
DMethodGen.java198 final String cen = m.getConstantPool().getConstantString(type, in MethodGen()
229 … this.local_variable_type_table = (LocalVariableTypeTable) a.copy(cp.getConstantPool()); in MethodGen()
383 .getConstantPool()); in getLocalVariableTable()
443 .getConstantPool()); in getLineNumberTable()
503 c_exc[i] = c.getCodeException(super.getConstantPool()); in getCodeExceptions()
554 return new ExceptionTable(cp.addUtf8("Exceptions"), 2 + 2 * size, ex, cp.getConstantPool()); in getExceptionTable()
639 final ConstantPoolGen _cp = super.getConstantPool(); in getMethod()
687 max_stack, max_locals, byte_code, c_exc, code_attrs, _cp.getConstantPool()); in getMethod()
698 .getConstantPool()); in getMethod()
890 max_stack = getMaxStack(super.getConstantPool(), il, getExceptionHandlers()); in setMaxStack()
[all …]
DClassElementValueGen.java58 getConstantPool().getConstantPool()); in getElementValue()
83 final ConstantUtf8 cu8 = (ConstantUtf8) getConstantPool().getConstant(idx); in getClassString()
DLDC.java97 org.apache.bcel.classfile.Constant c = cpg.getConstantPool().getConstant(super.getIndex()); in getValue()
101 c = cpg.getConstantPool().getConstant(i); in getValue()
109 c = cpg.getConstantPool().getConstant(nameIndex); in getValue()
119 switch (cpg.getConstantPool().getConstant(super.getIndex()).getTag()) { in getType()
DClassGen.java100 .getConstantPool())); in ClassGen()
138 cp = new ConstantPoolGen(clazz.getConstantPool()); in ClassGen()
179 getConstantPool(), false)); in unpackAnnotations()
189 getConstantPool(), false)); in unpackAnnotations()
490 public ConstantPoolGen getConstantPool() { in getConstantPool() method in ClassGen
502 class_name = cp.getConstantPool().getConstantString(class_name_index, in setClassNameIndex()
509 super_class_name = cp.getConstantPool().getConstantString(superclass_name_index, in setSuperclassNameIndex()
DAnnotationEntryGen.java87 final AnnotationEntry a = new AnnotationEntry(typeIndex, cpool.getConstantPool(), in getAnnotation()
252 … new DataInputStream(new ByteArrayInputStream(rvaData)), cp.getConstantPool())); in getAnnotationAttributes()
257 … new DataInputStream(new ByteArrayInputStream(riaData)), cp.getConstantPool())); in getAnnotationAttributes()
339 … rvaData.length, new DataInputStream(new ByteArrayInputStream(rvaData)), cp.getConstantPool())); in getParameterAnnotationAttributes()
344 … riaData.length, new DataInputStream(new ByteArrayInputStream(riaData)), cp.getConstantPool())); in getParameterAnnotationAttributes()
DElementValueGen.java138 .getConstantPool(), true), cpGen, false), cpGen); in readElementValue()
145 .getConstantPool()); in readElementValue()
153 protected ConstantPoolGen getConstantPool() in getConstantPool() method in ElementValueGen
DAnnotationElementValueGen.java79 getConstantPool().getConstantPool()); in getElementValue()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DSimpleElementValue.java57 final ConstantUtf8 c = (ConstantUtf8) super.getConstantPool().getConstant(getIndex(), in getValueString()
68 final ConstantInteger c = (ConstantInteger) super.getConstantPool().getConstant(getIndex(), in getValueInt()
79 final ConstantInteger c = (ConstantInteger) super.getConstantPool().getConstant(getIndex(), in getValueByte()
90 final ConstantInteger c = (ConstantInteger) super.getConstantPool().getConstant(getIndex(), in getValueChar()
101 final ConstantLong j = (ConstantLong) super.getConstantPool().getConstant(getIndex()); in getValueLong()
111 final ConstantFloat f = (ConstantFloat) super.getConstantPool().getConstant(getIndex()); in getValueFloat()
121 final ConstantDouble d = (ConstantDouble) super.getConstantPool().getConstant(getIndex()); in getValueDouble()
131 … final ConstantInteger bo = (ConstantInteger) super.getConstantPool().getConstant(getIndex()); in getValueBoolean()
141 final ConstantInteger s = (ConstantInteger) super.getConstantPool().getConstant(getIndex()); in getValueShort()
155 final ConstantPool cpool = super.getConstantPool(); in stringifyValue()
DEnumElementValue.java58 final ConstantUtf8 cu8 = (ConstantUtf8) super.getConstantPool().getConstant(valueIdx, in stringifyValue()
65 final ConstantUtf8 cu8 = (ConstantUtf8) super.getConstantPool().getConstant(typeIdx, in getEnumTypeString()
72 final ConstantUtf8 cu8 = (ConstantUtf8) super.getConstantPool().getConstant(valueIdx, in getEnumValueString()
DPMGClass.java45 .getConstantPool()); in PMGClass()
141 final ConstantUtf8 c = (ConstantUtf8) super.getConstantPool().getConstant(pmg_index, in getPMGName()
151 final ConstantUtf8 c = (ConstantUtf8) super.getConstantPool().getConstant(pmg_class_index, in getPMGClassName()
DConstantValue.java44 this(c.getNameIndex(), c.getLength(), c.getConstantValueIndex(), c.getConstantPool()); in ConstantValue()
122 Constant c = super.getConstantPool().getConstant(constantvalue_index); in toString()
141 c = super.getConstantPool().getConstant(i, Const.CONSTANT_Utf8); in toString()
DExceptionTable.java47 this(c.getNameIndex(), c.getLength(), c.getExceptionIndexTable(), c.getConstantPool()); in ExceptionTable()
133 names[i] = super.getConstantPool().getConstantString(exception_index_table[i], in getExceptionNames()
158 … str = super.getConstantPool().getConstantString(exception_index_table[i], Const.CONSTANT_Class); in toString()
DClassElementValue.java48 final ConstantUtf8 c = (ConstantUtf8) super.getConstantPool().getConstant(idx, in getClassString()
56 final ConstantUtf8 cu8 = (ConstantUtf8) super.getConstantPool().getConstant(idx, in stringifyValue()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/
DElementValueGenTestCase.java49 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateIntegerElementValue()
63 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateFloatElementValue()
77 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateDoubleElementValue()
91 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateLongElementValue()
105 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateCharElementValue()
119 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateByteElementValue()
133 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateBooleanElementValue()
147 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateShortElementValue()
164 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateStringElementValue()
180 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateEnumElementValue()
[all …]
DPLSETestCase.java43 final ConstantPoolGen pool = gen.getConstantPool(); in testB208()
59 final ConstantPoolGen pool = gen.getConstantPool(); in testB79()
65 final LocalVariableTable new_lvt = mg.getLocalVariableTable(mg.getConstantPool()); in testB79()
77 final ConstantPoolGen pool = gen.getConstantPool(); in testB262()
98 final ConstantPoolGen pool = cg.getConstantPool(); in testB295()
104 final LocalVariableTable new_lvt = mg.getLocalVariableTable(mg.getConstantPool()); in testB295()
DEnclosingMethodAttributeTestCase.java41 final ConstantPool pool = clazz.getConstantPool(); in testCheckMethodLevelNamedInnerClass()
64 final ConstantPool pool = clazz.getConstantPool(); in testCheckClassLevelNamedInnerClass()
87 final ConstantPool pool = clazz.getConstantPool(); in testAttributeSerializtion()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DPseudoSourceValue.cpp51 const PseudoSourceValue *PseudoSourceValue::getConstantPool() in getConstantPool() function in PseudoSourceValue
86 this == getConstantPool() || in isConstant()
96 this == getConstantPool() || in isAliased()
105 this == getConstantPool() || in mayAlias()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DConstantPools.cpp67 ConstantPool *AssemblerConstantPools::getConstantPool(MCSection *Section) { in getConstantPool() function in AssemblerConstantPools
100 if (ConstantPool *CP = getConstantPool(Section)) { in emitForCurrentSection()
107 if (ConstantPool *CP = getConstantPool(Section)) { in clearCacheForCurrentSection()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/
DGeneratingAnnotatedClassesTestCase.java79 final ConstantPoolGen cp = cg.getConstantPool(); in testGenerateClassLevelAnnotations()
122 final ConstantPoolGen cp = cg.getConstantPool(); in testGenerateMethodLevelAnnotations1()
143 .getConstantPool()); in testGenerateMethodLevelAnnotations1()
162 final ConstantPoolGen cp = cg.getConstantPool(); in testGenerateMethodLevelAnnotations2()
174 cg2.getConstantPool()); in testGenerateMethodLevelAnnotations2()
179 .getConstantPool(), "Pear")); in testGenerateMethodLevelAnnotations2()
367 final ConstantPoolGen cp = cgen.getConstantPool(); in testModifyingClasses1()
384 final ConstantPoolGen cp = cgen.getConstantPool(); in testModifyingClasses2()
421 .getConstantPool())); in buildClassContentsWithAnnotatedMethods()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/classfile/
DConstantPoolTestCase.java31 final ConstantPoolGen cp = new ConstantPoolGen(clazz.getConstantPool()); in testConstantToString()
38 … System.out.println(instructionHandle.getInstruction().toString(cp.getConstantPool())); in testConstantToString()

123456789