Home
last modified time | relevance | path

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

/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DElementValuePairGen.java36 private final ConstantPoolGen cpool; field in ElementValuePairGen
38 public ElementValuePairGen(final ElementValuePair nvp, final ConstantPoolGen cpool, in ElementValuePairGen() argument
41 this.cpool = cpool; in ElementValuePairGen()
52 nameIdx = cpool.addUtf8(nvp.getNameString()); in ElementValuePairGen()
58 value = ElementValueGen.copy(nvp.getValue(), cpool, copyPoolEntries); in ElementValuePairGen()
67 return new ElementValuePair(nameIdx, immutableValue, cpool in getElementNameValuePair()
72 final ConstantPoolGen cpool) in ElementValuePairGen() argument
76 this.cpool = cpool; in ElementValuePairGen()
80 final ConstantPoolGen cpool) in ElementValuePairGen() argument
82 this.nameIdx = cpool.addUtf8(name); in ElementValuePairGen()
[all …]
DAnnotationEntryGen.java46 private final ConstantPoolGen cpool; field in AnnotationEntryGen
58 public AnnotationEntryGen(final AnnotationEntry a, final ConstantPoolGen cpool, in AnnotationEntryGen() argument
60 this.cpool = cpool; in AnnotationEntryGen()
62 typeIndex = cpool.addUtf8(a.getAnnotationType()); in AnnotationEntryGen()
67 evs = copyValues(a.getElementValuePairs(), cpool, copyPoolEntries); in AnnotationEntryGen()
70 …vate List<ElementValuePairGen> copyValues(final ElementValuePair[] in, final ConstantPoolGen cpool, in copyValues() argument
74 out.add(new ElementValuePairGen(nvp, cpool, copyPoolEntries)); in copyValues()
79 private AnnotationEntryGen(final ConstantPoolGen cpool) { in AnnotationEntryGen() argument
80 this.cpool = cpool; in AnnotationEntryGen()
87 final AnnotationEntry a = new AnnotationEntry(typeIndex, cpool.getConstantPool(), in getAnnotation()
[all …]
DEnumElementValueGen.java43 final ConstantPoolGen cpool) in EnumElementValueGen() argument
45 super(ElementValueGen.ENUM_CONSTANT, cpool); in EnumElementValueGen()
66 public EnumElementValueGen(final ObjectType t, final String value, final ConstantPoolGen cpool) in EnumElementValueGen() argument
68 super(ElementValueGen.ENUM_CONSTANT, cpool); in EnumElementValueGen()
69 typeIdx = cpool.addUtf8(t.getSignature());// was addClass(t); in EnumElementValueGen()
70 valueIdx = cpool.addUtf8(value);// was addString(value); in EnumElementValueGen()
73 public EnumElementValueGen(final EnumElementValue value, final ConstantPoolGen cpool, in EnumElementValueGen() argument
76 super(ENUM_CONSTANT, cpool); in EnumElementValueGen()
79 typeIdx = cpool.addUtf8(value.getEnumTypeString());// was in EnumElementValueGen()
81 valueIdx = cpool.addUtf8(value.getEnumValueString()); // was in EnumElementValueGen()
DClassElementValueGen.java37 protected ClassElementValueGen(final int typeIdx, final ConstantPoolGen cpool) in ClassElementValueGen() argument
39 super(ElementValueGen.CLASS, cpool); in ClassElementValueGen()
43 public ClassElementValueGen(final ObjectType t, final ConstantPoolGen cpool) in ClassElementValueGen() argument
45 super(ElementValueGen.CLASS, cpool); in ClassElementValueGen()
47 idx = cpool.addUtf8(t.getSignature()); in ClassElementValueGen()
61 public ClassElementValueGen(final ClassElementValue value, final ConstantPoolGen cpool, in ClassElementValueGen() argument
64 super(CLASS, cpool); in ClassElementValueGen()
68 idx = cpool.addUtf8(value.getClassString()); in ClassElementValueGen()
DAnnotationElementValueGen.java34 public AnnotationElementValueGen(final AnnotationEntryGen a, final ConstantPoolGen cpool) in AnnotationElementValueGen() argument
36 super(ANNOTATION, cpool); in AnnotationElementValueGen()
41 final ConstantPoolGen cpool) in AnnotationElementValueGen() argument
43 super(type, cpool); in AnnotationElementValueGen()
52 final ConstantPoolGen cpool, final boolean copyPoolEntries) in AnnotationElementValueGen() argument
54 super(ANNOTATION, cpool); in AnnotationElementValueGen()
55 a = new AnnotationEntryGen(value.getAnnotationEntry(), cpool, copyPoolEntries); in AnnotationElementValueGen()
DSimpleElementValueGen.java117 final ConstantPoolGen cpool, final boolean copyPoolEntries) in SimpleElementValueGen() argument
119 super(value.getElementValueType(), cpool); in SimpleElementValueGen() local
131 idx = cpool.addUtf8(value.getValueString()); in SimpleElementValueGen()
134 idx = cpool.addInteger(value.getValueInt()); in SimpleElementValueGen()
137 idx = cpool.addInteger(value.getValueByte()); in SimpleElementValueGen()
140 idx = cpool.addInteger(value.getValueChar()); in SimpleElementValueGen()
143 idx = cpool.addLong(value.getValueLong()); in SimpleElementValueGen()
146 idx = cpool.addFloat(value.getValueFloat()); in SimpleElementValueGen()
149 idx = cpool.addDouble(value.getValueDouble()); in SimpleElementValueGen()
154 idx = cpool.addInteger(1); in SimpleElementValueGen()
[all …]
DArrayElementValueGen.java44 final ConstantPoolGen cpool) in ArrayElementValueGen() argument
46 super(type, cpool); in ArrayElementValueGen()
53 evalues.add(ElementValueGen.copy(datum, cpool, true)); in ArrayElementValueGen()
77 public ArrayElementValueGen(final ArrayElementValue value, final ConstantPoolGen cpool, in ArrayElementValueGen() argument
80 super(ARRAY, cpool); in ArrayElementValueGen()
84 evalues.add(ElementValueGen.copy(element, cpool, copyPoolEntries)); in ArrayElementValueGen()
DElementValueGen.java163 final ConstantPoolGen cpool, final boolean copyPoolEntries) in copy() argument
176 return new SimpleElementValueGen((SimpleElementValue) value, cpool, in copy()
179 return new EnumElementValueGen((EnumElementValue) value, cpool, in copy()
183 (AnnotationElementValue) value, cpool, copyPoolEntries); in copy()
185 return new ArrayElementValueGen((ArrayElementValue) value, cpool, in copy()
188 return new ClassElementValueGen((ClassElementValue) value, cpool, in copy()
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc101 PyDescriptorPool* cpool = PyObject_GC_New( in _CreateDescriptorPool() local
103 if (cpool == nullptr) { in _CreateDescriptorPool()
107 cpool->error_collector = nullptr; in _CreateDescriptorPool()
108 cpool->underlay = nullptr; in _CreateDescriptorPool()
109 cpool->database = nullptr; in _CreateDescriptorPool()
110 cpool->is_owned = false; in _CreateDescriptorPool()
111 cpool->is_mutable = false; in _CreateDescriptorPool()
113 cpool->descriptor_options = new std::unordered_map<const void*, PyObject*>(); in _CreateDescriptorPool()
115 cpool->py_message_factory = message_factory::NewMessageFactory( in _CreateDescriptorPool()
116 &PyMessageFactory_Type, cpool); in _CreateDescriptorPool()
[all …]
/external/cronet/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc101 PyDescriptorPool* cpool = PyObject_GC_New( in _CreateDescriptorPool() local
103 if (cpool == nullptr) { in _CreateDescriptorPool()
107 cpool->error_collector = nullptr; in _CreateDescriptorPool()
108 cpool->underlay = nullptr; in _CreateDescriptorPool()
109 cpool->database = nullptr; in _CreateDescriptorPool()
110 cpool->is_owned = false; in _CreateDescriptorPool()
111 cpool->is_mutable = false; in _CreateDescriptorPool()
113 cpool->descriptor_options = new std::unordered_map<const void*, PyObject*>(); in _CreateDescriptorPool()
115 cpool->py_message_factory = message_factory::NewMessageFactory( in _CreateDescriptorPool()
116 &PyMessageFactory_Type, cpool); in _CreateDescriptorPool()
[all …]
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DElementValue.java40 protected ConstantPool cpool; // TODO should be final field in ElementValue
48 protected ElementValue(final int type, final ConstantPool cpool) in ElementValue() argument
51 this.cpool = cpool; in ElementValue()
77 …public static ElementValue readElementValue(final DataInput input, final ConstantPool cpool) throw… in readElementValue() argument
91 return new SimpleElementValue(type, input.readUnsignedShort(), cpool); in readElementValue()
94 …n new EnumElementValue(ENUM_CONSTANT, input.readUnsignedShort(), input.readUnsignedShort(), cpool); in readElementValue()
97 return new ClassElementValue(CLASS, input.readUnsignedShort(), cpool); in readElementValue()
101 … return new AnnotationElementValue(ANNOTATION, AnnotationEntry.read(input, cpool, false), cpool); in readElementValue()
108 evalues[j] = ElementValue.readElementValue(input, cpool); in readElementValue()
110 return new ArrayElementValue(ARRAY, evalues, cpool); in readElementValue()
[all …]
DSimpleElementValue.java32 public SimpleElementValue(final int type, final int index, final ConstantPool cpool) in SimpleElementValue() argument
34 super(type, cpool); in SimpleElementValue()
155 final ConstantPool cpool = super.getConstantPool(); in stringifyValue() local
160 final ConstantInteger c = (ConstantInteger) cpool.getConstant(getIndex(), in stringifyValue()
164 final ConstantLong j = (ConstantLong) cpool.getConstant(getIndex(), in stringifyValue()
168 final ConstantDouble d = (ConstantDouble) cpool.getConstant(getIndex(), in stringifyValue()
172 final ConstantFloat f = (ConstantFloat) cpool.getConstant(getIndex(), in stringifyValue()
176 final ConstantInteger s = (ConstantInteger) cpool.getConstant(getIndex(), in stringifyValue()
180 final ConstantInteger b = (ConstantInteger) cpool.getConstant(getIndex(), in stringifyValue()
184 final ConstantInteger ch = (ConstantInteger) cpool.getConstant( in stringifyValue()
[all …]
DEnclosingMethod.java48 …l int nameIndex, final int len, final DataInput input, final ConstantPool cpool) throws IOExceptio… in EnclosingMethod() argument
49 this(nameIndex, len, input.readUnsignedShort(), input.readUnsignedShort(), cpool); in EnclosingMethod()
52 …l int nameIndex, final int len, final int classIdx,final int methodIdx, final ConstantPool cpool) { in EnclosingMethod() argument
53 super(Const.ATTR_ENCLOSING_METHOD, nameIndex, len, cpool); in EnclosingMethod()
DLocalVariableTypeTable.java70 …nal int nameIdx, final int len, final DataInput input, final ConstantPool cpool) throws IOExceptio… in LocalVariableTypeTable() argument
71 this(nameIdx, len, (LocalVariable[]) null, cpool); in LocalVariableTypeTable()
77 local_variable_type_table[i] = new LocalVariable(input, cpool); in LocalVariableTypeTable()
DAnnotationElementValue.java32 final ConstantPool cpool) in AnnotationElementValue() argument
34 super(type, cpool); in AnnotationElementValue()
DClassElementValue.java35 public ClassElementValue(final int type, final int idx, final ConstantPool cpool) in ClassElementValue() argument
37 super(type, cpool); in ClassElementValue()
DEnumElementValue.java36 final ConstantPool cpool) in EnumElementValue() argument
38 super(type, cpool); in EnumElementValue()
DArrayElementValue.java47 public ArrayElementValue(final int type, final ElementValue[] datums, final ConstantPool cpool) in ArrayElementValue() argument
49 super(type, cpool); in ArrayElementValue()
/external/javassist/src/main/javassist/bytecode/stackmap/
DTracer.java33 protected ConstPool cpool; field in Tracer
43 cpool = cp; in Tracer()
52 cpool = t.cpool; in Tracer()
249 int tag = cpool.getTag(index); in doLDC()
602 = new TypeData.UninitData(pos, cpool.getClassInfo(i)); in doOpcode148_201()
608 String type = cpool.getClassInfo(i).replace('.', '/'); in doOpcode148_201()
628 String type = cpool.getClassInfo(i); in doOpcode148_201()
722 String desc = cpool.getFieldrefType(index); in doPutField()
737 String desc = cpool.getFieldrefType(index); in doGetField()
744 String className = cpool.getFieldrefClassName(index); in setFieldTarget()
[all …]
DMapMaker.java285 type = cpool.getClassInfo(exceptionType); in toExceptionType()
438 return writer.toStackMapTable(cpool); in toStackMap()
480 writer.sameLocals(offsetDelta, td.getTypeTag(), td.getTypeData(cpool)); in toStackMapBody()
487 writer.sameLocals(offsetDelta, td.getTypeTag(), td.getTypeData(cpool)); in toStackMapBody()
501 ConstPool cp = cpool; in fillStackMap()
/external/javassist/src/main/javassist/bytecode/
DAnnotationsAttribute.java481 ConstPool cpool; field in AnnotationsAttribute.Renamer
495 cpool = cp; in Renamer()
520 String name = cpool.getUtf8Info(index); in renameType()
523 int index2 = cpool.addUtf8Info(newName); in renameType()
/external/pcre/src/sljit/
DsljitNativeARM_32.c177 cpool_ptr = compiler->cpool; in push_cpool()
215 cpool_ptr = compiler->cpool; in push_inst_with_literal()
220 cpool_index = (sljit_uw)(cpool_ptr - compiler->cpool); in push_inst_with_literal()
247 compiler->cpool[cpool_index] = literal; in push_inst_with_literal()
266 compiler->cpool[compiler->cpool_fill] = literal; in push_inst_with_unique_literal()
842 buf_ptr = compiler->cpool; in sljit_generate_code()
DsljitLir.c428 compiler->cpool = (sljit_uw*)SLJIT_MALLOC(CPOOL_SIZE * sizeof(sljit_uw) in sljit_create_compiler()
430 if (!compiler->cpool) { in sljit_create_compiler()
436 compiler->cpool_unique = (sljit_u8*)(compiler->cpool + CPOOL_SIZE); in sljit_create_compiler()
483 SLJIT_FREE(compiler->cpool, allocator_data); in sljit_free_compiler()
DsljitLir.h462 sljit_uw *cpool; member
/external/swiftshader/third_party/subzero/src/
DIceClFlags.def322 clEnumValN(Ice::IceV_ConstPoolStats, "cpool", \