/dalvik/dx/src/com/android/dx/cf/attrib/ |
D | RawAttribute.java | 33 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() 89 return pool; in getPool()
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
D | DirectClassFile.java | 98 private StdConstantPool pool; field in DirectClassFile 288 return pool; in getConstantPool() 345 if (pool == null) { in makeTypeList() 349 return new DcfTypeList(bytes, offset, size, pool, observer); in makeTypeList() 482 pool = cpParser.getPool(); in parse0() 483 pool.setImmutable(); in parse0() 488 thisClass = (CstType) pool.get(cpi); in parse0() 490 superClass = (CstType) pool.get0Ok(cpi); in parse0() 580 private final StdConstantPool pool; field in DirectClassFile.DcfTypeList 593 StdConstantPool pool, ParseObserver observer) { in DcfTypeList() argument [all …]
|
D | AttributeFactory.java | 83 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()
|
D | StdAttributeFactory.java | 217 ConstantPool pool = cf.getConstantPool(); in code() local 244 pool); in code() 277 CstType catchType = (CstType) pool.get0Ok(catchTypeIdx); in code() 321 ConstantPool pool = cf.getConstantPool(); in constantValue() local 323 TypedConstant cst = (TypedConstant) pool.get(idx); in constantValue() 355 ConstantPool pool = cf.getConstantPool(); in enclosingMethod() local 358 CstType type = (CstType) pool.get(idx); in enclosingMethod() 361 CstNat method = (CstNat) pool.get0Ok(idx); in enclosingMethod() 412 ConstantPool pool = cf.getConstantPool(); in innerClasses() local 434 CstType innerClass = (CstType) pool.get(innerClassIdx); in innerClasses() [all …]
|
D | AnnotationParser.java | 55 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()
|
D | MemberListParser.java | 178 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/004-cp-bottom-up/ |
D | info.txt | 5 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/005-cp-top-down/ |
D | info.txt | 5 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/ |
D | ConstantPoolParser.java | 60 private final StdConstantPool pool; field in ConstantPoolParser 84 this.pool = new StdConstantPool(size); in ConstantPoolParser() 116 return pool; in getPool() 149 if ((offset != 0) && (pool.getOrNull(i) == null)) { in parse() 156 Constant cst = pool.getOrNull(i); in parse() 251 Constant cst = pool.getOrNull(idx); in parse0() 353 pool.set(idx, cst); in parse0()
|
/dalvik/dx/src/com/android/multidex/ |
D | ClassReferenceListBuilder.java | 96 private void addDependencies(ConstantPool pool) { in addDependencies() argument 97 for (Constant constant : pool.getEntries()) { in addDependencies()
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | BytecodeArray.java | 49 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() 788 Constant cst = pool.get(idx); in parseInstruction()
|