Home
last modified time | relevance | path

Searched refs:cpg (Results 1 – 25 of 38) sorted by relevance

12

/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DInvokeInstruction.java69 public int consumeStack( final ConstantPoolGen cpg ) { in consumeStack() argument
77 final String signature = getSignature(cpg); in consumeStack()
89 public int produceStack( final ConstantPoolGen cpg ) { in produceStack() argument
90 final String signature = getSignature(cpg); in produceStack()
102 public String getClassName( final ConstantPoolGen cpg ) { in getClassName() argument
103 final ConstantPool cp = cpg.getConstantPool(); in getClassName()
112 public Type getType( final ConstantPoolGen cpg ) { in getType() argument
113 return getReturnType(cpg); in getType()
119 public String getMethodName( final ConstantPoolGen cpg ) { in getMethodName() argument
120 return getName(cpg); in getMethodName()
[all …]
DFieldOrMethod.java52 public String getSignature( final ConstantPoolGen cpg ) { in getSignature() argument
53 final ConstantPool cp = cpg.getConstantPool(); in getSignature()
62 public String getName( final ConstantPoolGen cpg ) { in getName() argument
63 final ConstantPool cp = cpg.getConstantPool(); in getName()
82 public String getClassName( final ConstantPoolGen cpg ) { in getClassName() argument
83 final ConstantPool cp = cpg.getConstantPool(); in getClassName()
100 public ObjectType getClassType( final ConstantPoolGen cpg ) { in getClassType() argument
101 return ObjectType.getInstance(getClassName(cpg)); in getClassType()
113 public ReferenceType getReferenceType( final ConstantPoolGen cpg ) { in getReferenceType() argument
114 final ConstantPool cp = cpg.getConstantPool(); in getReferenceType()
[all …]
DFieldInstruction.java57 protected int getFieldSize( final ConstantPoolGen cpg ) { in getFieldSize() argument
58 return Type.size(Type.getTypeSize(getSignature(cpg))); in getFieldSize()
65 public Type getType( final ConstantPoolGen cpg ) { in getType() argument
66 return getFieldType(cpg); in getType()
72 public Type getFieldType( final ConstantPoolGen cpg ) { in getFieldType() argument
73 return Type.getType(getSignature(cpg)); in getFieldType()
79 public String getFieldName( final ConstantPoolGen cpg ) { in getFieldName() argument
80 return getName(cpg); in getFieldName()
DNameSignatureInstruction.java42 public ConstantNameAndType getNameAndType(final ConstantPoolGen cpg) { in getNameAndType() argument
43 final ConstantPool cp = cpg.getConstantPool(); in getNameAndType()
49 public String getSignature(final ConstantPoolGen cpg) { in getSignature() argument
50 final ConstantPool cp = cpg.getConstantPool(); in getSignature()
51 final ConstantNameAndType cnat = getNameAndType(cpg); in getSignature()
57 public String getName(final ConstantPoolGen cpg) { in getName() argument
58 final ConstantPool cp = cpg.getConstantPool(); in getName()
59 final ConstantNameAndType cnat = getNameAndType(cpg); in getName()
DLDC.java96 public Object getValue( final ConstantPoolGen cpg ) { in getValue() argument
97 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()
118 public Type getType( final ConstantPoolGen cpg ) { in getType() argument
119 switch (cpg.getConstantPool().getConstant(super.getIndex()).getTag()) { in getType()
DLDC2_W.java43 public Type getType( final ConstantPoolGen cpg ) { in getType() argument
44 switch (cpg.getConstantPool().getConstant(super.getIndex()).getTag()) { in getType()
55 public Number getValue( final ConstantPoolGen cpg ) { in getValue() argument
56 … final org.apache.bcel.classfile.Constant c = cpg.getConstantPool().getConstant(super.getIndex()); in getValue()
DMULTIANEWARRAY.java112 public int consumeStack( final ConstantPoolGen cpg ) { in consumeStack() argument
126 public ObjectType getLoadClassType( final ConstantPoolGen cpg ) { in getLoadClassType() argument
127 Type t = getType(cpg); in getLoadClassType()
DLoadClass.java34 ObjectType getLoadClassType( ConstantPoolGen cpg ); in getLoadClassType() argument
49 Type getType( ConstantPoolGen cpg ); in getType() argument
DINVOKEDYNAMIC.java125 public String getClassName( final ConstantPoolGen cpg ) { in getClassName() argument
126 final ConstantPool cp = cpg.getConstantPool(); in getClassName()
142 public ReferenceType getReferenceType(final ConstantPoolGen cpg) { in getReferenceType() argument
DNEW.java53 public ObjectType getLoadClassType( final ConstantPoolGen cpg ) { in getLoadClassType() argument
54 return (ObjectType) getType(cpg); in getLoadClassType()
DPUTFIELD.java47 public int consumeStack( final ConstantPoolGen cpg ) { in consumeStack() argument
48 return getFieldSize(cpg) + 1; in consumeStack()
DPUTSTATIC.java47 public int consumeStack( final ConstantPoolGen cpg ) { in consumeStack() argument
48 return getFieldSize(cpg); in consumeStack()
DGETSTATIC.java47 public int produceStack( final ConstantPoolGen cpg ) { in produceStack() argument
48 return getFieldSize(cpg); in produceStack()
DGETFIELD.java48 public int produceStack( final ConstantPoolGen cpg ) { in produceStack() argument
49 return getFieldSize(cpg); in produceStack()
DINSTANCEOF.java51 public ObjectType getLoadClassType( final ConstantPoolGen cpg ) { in getLoadClassType() argument
52 Type t = getType(cpg); in getLoadClassType()
DCHECKCAST.java57 public ObjectType getLoadClassType( final ConstantPoolGen cpg ) { in getLoadClassType() argument
58 Type t = getType(cpg); in getLoadClassType()
DANEWARRAY.java72 public ObjectType getLoadClassType( final ConstantPoolGen cpg ) { in getLoadClassType() argument
73 Type t = getType(cpg); in getLoadClassType()
DCPInstruction.java142 public Type getType( final ConstantPoolGen cpg ) { in getType() argument
143 final ConstantPool cp = cpg.getConstantPool(); in getType()
DStackProducer.java30 int produceStack( ConstantPoolGen cpg ); in produceStack() argument
DStackConsumer.java29 int consumeStack( ConstantPoolGen cpg ); in consumeStack() argument
/external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/statics/
DPass3aVerifier.java419 …final ConstantPoolGen cpg = new ConstantPoolGen(Repository.lookupClass(myOwner.getClassName()).get… in pass3StaticInstructionOperandsChecks() local
420 final InstOperandConstraintVisitor v = new InstOperandConstraintVisitor(cpg); in pass3StaticInstructionOperandsChecks()
475 private final ConstantPoolGen cpg; field in Pass3aVerifier.InstOperandConstraintVisitor
478 InstOperandConstraintVisitor(final ConstantPoolGen cpg) { in InstOperandConstraintVisitor() argument
479 this.cpg = cpg; in InstOperandConstraintVisitor()
507 if (idx < 0 || idx >= cpg.getSize()) { in indexValid()
521 final ObjectType t = o.getLoadClassType(cpg); in visitLoadClass()
527 …"Class '"+o.getLoadClassType(cpg).getClassName()+"' is referenced, but cannot be loaded: '"+vr+"'.… in visitLoadClass()
544 final Constant c = cpg.getConstant(o.getIndex()); in visitLDC()
563 final Constant c = cpg.getConstant(o.getIndex()); in visitLDC2_W()
[all …]
/external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/structurals/
DExecutionVisitor.java73 private ConstantPoolGen cpg = null; field in ExecutionVisitor
99 public void setConstantPoolGen(final ConstantPoolGen cpg) { // TODO could be package-protected? in setConstantPoolGen() argument
100 this.cpg = cpg; in setConstantPoolGen()
158 stack().push( new ArrayType(o.getType(cpg), 1) ); in visitANEWARRAY()
236 stack().push(o.getType(cpg)); in visitCHECKCAST()
566 Type t = o.getFieldType(cpg); in visitGETFIELD()
578 Type t = o.getFieldType(cpg); in visitGETSTATIC()
796 for (int i=0; i<o.getArgumentTypes(cpg).length; i++) { in visitINVOKEDYNAMIC()
803 if (o.getReturnType(cpg) != Type.VOID) { in visitINVOKEDYNAMIC()
804 Type t = o.getReturnType(cpg); in visitINVOKEDYNAMIC()
[all …]
DInstConstraintVisitor.java77 private ConstantPoolGen cpg = null; field in InstConstraintVisitor
135 public void setConstantPoolGen(final ConstantPoolGen cpg) { // TODO could be package-protected? in setConstantPoolGen() argument
136 this.cpg = cpg; in setConstantPoolGen()
207 … final int consume = o.consumeStack(cpg); // Stack values are always consumed first; then produced. in _visitStackAccessor()
213 …final int produce = o.produceStack(cpg) - o.consumeStack(cpg); // Stack values are always consumed… in _visitStackAccessor()
232 final ObjectType t = o.getLoadClassType(cpg); in visitLoadClass()
237 … constraintViolated((Instruction) o, "Class '"+o.getLoadClassType(cpg).getClassName()+ in visitLoadClass()
271 if ((idx < 0) || (idx >= cpg.getSize())) { in visitCPInstruction()
286 final Constant c = cpg.getConstant(o.getIndex()); in visitFieldInstruction()
292 final Type t = o.getType(cpg); in visitFieldInstruction()
[all …]
/external/arm-trusted-firmware/plat/renesas/common/
Drcar_common.c29 uint32_t cpg, pmsr; in rcar_pcie_fixup() local
33 cpg = mmio_read_32(CPG_MSTPSR3); in rcar_pcie_fixup()
34 if (cpg & (MSTP318 << !controller)) in rcar_pcie_fixup()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/
DAnnotationGenTestCase.java121 private void checkSerialize(final AnnotationEntryGen a, final ConstantPoolGen cpg) in checkSerialize() argument
135 annAfter = AnnotationEntryGen.read(dis, cpg, a.isRuntimeVisible()); in checkSerialize()

12