Home
last modified time | relevance | path

Searched refs:pool (Results 1 – 11 of 11) sorted by relevance

/dalvik/dx/src/com/android/dx/cf/attrib/
DRawAttribute.java33 private final ConstantPool pool; field in RawAttribute
42 public RawAttribute(String name, ByteArray data, ConstantPool pool) { in RawAttribute() argument
50 this.pool = pool; in RawAttribute()
63 int length, ConstantPool pool) { in RawAttribute() argument
64 this(name, data.slice(offset, offset + length), pool); in RawAttribute()
90 return pool; in getPool()
/dalvik/dx/src/com/android/dx/cf/direct/
DDirectClassFile.java102 private StdConstantPool pool; field in DirectClassFile
299 return pool; in getConstantPool()
373 if (pool == null) { in makeTypeList()
377 return new DcfTypeList(bytes, offset, size, pool, observer); in makeTypeList()
519 pool = cpParser.getPool(); in parse0()
520 pool.setImmutable(); in parse0()
525 thisClass = (CstType) pool.get(cpi); in parse0()
527 superClass = (CstType) pool.get0Ok(cpi); in parse0()
617 private final StdConstantPool pool; field in DirectClassFile.DcfTypeList
630 StdConstantPool pool, ParseObserver observer) { in DcfTypeList() argument
[all …]
DAttributeFactory.java83 ConstantPool pool = cf.getConstantPool(); in parse() local
87 name = (CstString) pool.get(nameIdx); in parse()
125 ConstantPool pool = cf.getConstantPool(); in parse0() local
126 Attribute result = new RawAttribute(name, bytes, offset, length, pool); in parse0()
DStdAttributeFactory.java253 ConstantPool pool = cf.getConstantPool(); in code() local
280 pool); in code()
313 CstType catchType = (CstType) pool.get0Ok(catchTypeIdx); in code()
357 ConstantPool pool = cf.getConstantPool(); in constantValue() local
359 TypedConstant cst = (TypedConstant) pool.get(idx); in constantValue()
391 ConstantPool pool = cf.getConstantPool(); in enclosingMethod() local
394 CstType type = (CstType) pool.get(idx); in enclosingMethod()
397 CstNat method = (CstNat) pool.get0Ok(idx); in enclosingMethod()
448 ConstantPool pool = cf.getConstantPool(); in innerClasses() local
470 CstType innerClass = (CstType) pool.get(innerClassIdx); in innerClasses()
[all …]
DAnnotationParser.java55 private final ConstantPool pool; field in AnnotationParser
87 this.pool = cf.getConstantPool(); in AnnotationParser()
247 CstString typeString = (CstString) pool.get(typeIndex); in parseAnnotation()
284 CstString elementName = (CstString) pool.get(elementNameIndex); in parseElement()
350 CstString value = (CstString) pool.get(classInfoIndex); in parseValue()
367 CstString typeName = (CstString) pool.get(typeNameIndex); in parseValue()
368 CstString constName = (CstString) pool.get(constNameIndex); in parseValue()
424 Constant value = (Constant) pool.get(constValueIndex); in parseConstant()
DMemberListParser.java178 ConstantPool pool = cf.getConstantPool(); in parse() local
190 CstString name = (CstString) pool.get(nameIdx); in parse()
191 CstString desc = (CstString) pool.get(descIdx); in parse()
/dalvik/dx/tests/005-cp-top-down/
Dinfo.txt5 The salient bit of parsing tested here is that the constant pool contains
6 at least one valid entry of each possible constant pool type, and that
/dalvik/dx/tests/004-cp-bottom-up/
Dinfo.txt5 The salient bit of parsing tested here is that the constant pool contains
6 at least one valid entry of each possible constant pool type, and that
/dalvik/dx/src/com/android/dx/cf/cst/
DConstantPoolParser.java63 private final StdConstantPool pool; field in ConstantPoolParser
87 this.pool = new StdConstantPool(size); in ConstantPoolParser()
119 return pool; in getPool()
152 if ((offset != 0) && (pool.getOrNull(i) == null)) { in parse()
159 Constant cst = pool.getOrNull(i); in parse()
260 Constant cst = pool.getOrNull(idx); in parse0()
402 pool.set(idx, cst); in parse0()
/dalvik/dx/tests/134-maindexlist-lambdas/
Dinfo.txt2 MethodType and MethodHandle entries in the constant pool.
/dalvik/dx/src/com/android/dx/cf/code/
DBytecodeArray.java49 private final ConstantPool pool; field in BytecodeArray
58 public BytecodeArray(ByteArray bytes, ConstantPool pool) { in BytecodeArray() argument
63 if (pool == null) { in BytecodeArray()
68 this.pool = pool; in BytecodeArray()
321 Constant cst = pool.get(idx); in parseInstruction()
329 Constant cst = pool.get(idx); in parseInstruction()
337 Constant cst = pool.get(idx); in parseInstruction()
763 Constant cst = pool.get(idx); in parseInstruction()
771 Constant cst = pool.get(idx); in parseInstruction()
779 CstInvokeDynamic cstInvokeDynamic = (CstInvokeDynamic) pool.get(idx); in parseInstruction()
[all …]