/dalvik/dx/src/com/android/dx/dex/file/ |
D | ValueEncoder.java | 22 import com.android.dx.rop.cst.Constant; 23 import com.android.dx.rop.cst.CstAnnotation; 24 import com.android.dx.rop.cst.CstArray; 25 import com.android.dx.rop.cst.CstBoolean; 26 import com.android.dx.rop.cst.CstByte; 27 import com.android.dx.rop.cst.CstChar; 28 import com.android.dx.rop.cst.CstDouble; 29 import com.android.dx.rop.cst.CstEnumRef; 30 import com.android.dx.rop.cst.CstFieldRef; 31 import com.android.dx.rop.cst.CstFloat; [all …]
|
D | DexFile.java | 23 import com.android.dx.rop.cst.Constant; 24 import com.android.dx.rop.cst.CstBaseMethodRef; 25 import com.android.dx.rop.cst.CstCallSiteRef; 26 import com.android.dx.rop.cst.CstEnumRef; 27 import com.android.dx.rop.cst.CstFieldRef; 28 import com.android.dx.rop.cst.CstMethodHandle; 29 import com.android.dx.rop.cst.CstProtoRef; 30 import com.android.dx.rop.cst.CstString; 31 import com.android.dx.rop.cst.CstType; 524 /*package*/ void internIfAppropriate(Constant cst) { in internIfAppropriate() argument [all …]
|
D | MemberIdItem.java | 20 import com.android.dx.rop.cst.CstMemberRef; 21 import com.android.dx.rop.cst.CstNat; 31 private final CstMemberRef cst; field in MemberIdItem 38 public MemberIdItem(CstMemberRef cst) { in MemberIdItem() argument 39 super(cst.getDefiningClass()); in MemberIdItem() 41 this.cst = cst; in MemberIdItem() 64 CstNat nat = cst.getNat(); in writeTo() 70 out.annotate(0, indexString() + ' ' + cst.toHuman()); in writeTo() 107 return cst; in getRef()
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | ValueEncoder.java | 21 import com.android.dexgen.rop.cst.Constant; 22 import com.android.dexgen.rop.cst.CstAnnotation; 23 import com.android.dexgen.rop.cst.CstArray; 24 import com.android.dexgen.rop.cst.CstBoolean; 25 import com.android.dexgen.rop.cst.CstByte; 26 import com.android.dexgen.rop.cst.CstChar; 27 import com.android.dexgen.rop.cst.CstDouble; 28 import com.android.dexgen.rop.cst.CstEnumRef; 29 import com.android.dexgen.rop.cst.CstFieldRef; 30 import com.android.dexgen.rop.cst.CstFloat; [all …]
|
D | DexFile.java | 20 import com.android.dexgen.rop.cst.Constant; 21 import com.android.dexgen.rop.cst.CstBaseMethodRef; 22 import com.android.dexgen.rop.cst.CstEnumRef; 23 import com.android.dexgen.rop.cst.CstFieldRef; 24 import com.android.dexgen.rop.cst.CstString; 25 import com.android.dexgen.rop.cst.CstType; 26 import com.android.dexgen.rop.cst.CstUtf8; 422 /*package*/ void internIfAppropriate(Constant cst) { in internIfAppropriate() argument 423 if (cst instanceof CstString) { in internIfAppropriate() 424 stringIds.intern((CstString) cst); in internIfAppropriate() [all …]
|
D | MemberIdItem.java | 19 import com.android.dexgen.rop.cst.CstMemberRef; 20 import com.android.dexgen.rop.cst.CstNat; 33 private final CstMemberRef cst; field in MemberIdItem 40 public MemberIdItem(CstMemberRef cst) { in MemberIdItem() argument 41 super(cst.getDefiningClass()); in MemberIdItem() 43 this.cst = cst; in MemberIdItem() 66 CstNat nat = cst.getNat(); in writeTo() 72 out.annotate(0, indexString() + ' ' + cst.toHuman()); in writeTo() 109 return cst; in getRef()
|
D | StringIdsSection.java | 19 import com.android.dexgen.rop.cst.Constant; 20 import com.android.dexgen.rop.cst.CstNat; 21 import com.android.dexgen.rop.cst.CstString; 22 import com.android.dexgen.rop.cst.CstUtf8; 59 public IndexedItem get(Constant cst) { in get() argument 60 if (cst == null) { in get() 66 if (cst instanceof CstString) { in get() 67 cst = ((CstString) cst).getString(); in get() 70 IndexedItem result = strings.get((CstUtf8) cst); in get()
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | BootstrapMethodArgumentsList.java | 18 import com.android.dx.rop.cst.Constant; 19 import com.android.dx.rop.cst.CstDouble; 20 import com.android.dx.rop.cst.CstFloat; 21 import com.android.dx.rop.cst.CstInteger; 22 import com.android.dx.rop.cst.CstLong; 23 import com.android.dx.rop.cst.CstMethodHandle; 24 import com.android.dx.rop.cst.CstProtoRef; 25 import com.android.dx.rop.cst.CstString; 26 import com.android.dx.rop.cst.CstType; 59 public void set(int n, Constant cst) { in set() argument [all …]
|
/dalvik/dx/src/com/android/dx/cf/cst/ |
D | ConstantPoolParser.java | 17 package com.android.dx.cf.cst; 19 import static com.android.dx.cf.cst.ConstantTags.CONSTANT_Class; 20 import static com.android.dx.cf.cst.ConstantTags.CONSTANT_Double; 21 import static com.android.dx.cf.cst.ConstantTags.CONSTANT_Fieldref; 22 import static com.android.dx.cf.cst.ConstantTags.CONSTANT_Float; 23 import static com.android.dx.cf.cst.ConstantTags.CONSTANT_Integer; 24 import static com.android.dx.cf.cst.ConstantTags.CONSTANT_InterfaceMethodref; 25 import static com.android.dx.cf.cst.ConstantTags.CONSTANT_InvokeDynamic; 26 import static com.android.dx.cf.cst.ConstantTags.CONSTANT_Long; 27 import static com.android.dx.cf.cst.ConstantTags.CONSTANT_MethodHandle; [all …]
|
/dalvik/dx/src/com/android/dx/rop/code/ |
D | CstInsn.java | 19 import com.android.dx.rop.cst.Constant; 27 private final Constant cst; field in CstInsn 39 RegisterSpecList sources, Constant cst) { in CstInsn() argument 42 if (cst == null) { in CstInsn() 46 this.cst = cst; in CstInsn() 52 return cst.toHuman(); in getInlineString() 61 return cst; in getConstant() 72 && cst.equals(((CstInsn)b).getConstant()); in contentEquals()
|
D | PlainInsn.java | 19 import com.android.dx.rop.cst.Constant; 20 import com.android.dx.rop.cst.CstInteger; 113 Constant cst = (Constant) firstType; in withSourceLiteral() local 116 newSources, cst); in withSourceLiteral() 118 newSources, cst); in withSourceLiteral() 123 Constant cst = (Constant) lastType; in withSourceLiteral() local 131 if (opcode == RegOps.SUB && cst instanceof CstInteger) { in withSourceLiteral() 133 cst = CstInteger.make(-((CstInteger)cst).getValue()); in withSourceLiteral() 135 newRop = Rops.ropFor(opcode, getResult(), newSources, cst); in withSourceLiteral() 142 getResult(), newSources, cst); in withSourceLiteral()
|
D | ThrowingCstInsn.java | 19 import com.android.dx.rop.cst.Constant; 20 import com.android.dx.rop.cst.CstString; 44 TypeList catches, Constant cst) { in ThrowingCstInsn() argument 45 super(opcode, position, null, sources, cst); in ThrowingCstInsn() 61 Constant cst = getConstant(); in getInlineString() local 62 String constantString = cst.toHuman(); in getInlineString() 63 if (cst instanceof CstString) { in getInlineString() 64 constantString = ((CstString) cst).toQuoted(); in getInlineString()
|
D | DexTranslationAdvice.java | 19 import com.android.dx.rop.cst.CstInteger; 69 CstInteger cst = (CstInteger) sourceA.getTypeBearer(); in hasConstantOperation() local 70 return cst.fitsIn16Bits(); in hasConstantOperation() 76 CstInteger cst = (CstInteger) sourceB.getTypeBearer(); in hasConstantOperation() local 87 return cst.fitsIn16Bits(); in hasConstantOperation() 92 return cst.fitsIn8Bits(); in hasConstantOperation() 95 CstInteger cst2 = CstInteger.make(-cst.getValue()); in hasConstantOperation()
|
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
D | CstInsn.java | 19 import com.android.dexgen.rop.cst.Constant; 27 private final Constant cst; field in CstInsn 39 RegisterSpecList sources, Constant cst) { in CstInsn() argument 42 if (cst == null) { in CstInsn() 46 this.cst = cst; in CstInsn() 52 return cst.toHuman(); in getInlineString() 61 return cst; in getConstant() 72 && cst.equals(((CstInsn)b).getConstant()); in contentEquals()
|
/dalvik/dx/src/com/android/dx/dex/code/form/ |
D | Form21c.java | 24 import com.android.dx.rop.cst.Constant; 25 import com.android.dx.rop.cst.CstFieldRef; 26 import com.android.dx.rop.cst.CstMethodHandle; 27 import com.android.dx.rop.cst.CstProtoRef; 28 import com.android.dx.rop.cst.CstString; 29 import com.android.dx.rop.cst.CstType; 109 Constant cst = ci.getConstant(); in isCompatible() local 115 return cst instanceof CstType || in isCompatible() 116 cst instanceof CstFieldRef || in isCompatible() 117 cst instanceof CstString || in isCompatible() [all …]
|
D | Form3rc.java | 23 import com.android.dx.rop.cst.Constant; 24 import com.android.dx.rop.cst.CstCallSiteRef; 25 import com.android.dx.rop.cst.CstMethodRef; 26 import com.android.dx.rop.cst.CstType; 77 Constant cst = ci.getConstant(); in isCompatible() local 83 if (!((cst instanceof CstMethodRef) || in isCompatible() 84 (cst instanceof CstType) || in isCompatible() 85 (cst instanceof CstCallSiteRef))) { in isCompatible()
|
/dalvik/dx/src/com/android/dx/ssa/ |
D | ConstCollector.java | 29 import com.android.dx.rop.cst.Constant; 30 import com.android.dx.rop.cst.CstString; 31 import com.android.dx.rop.cst.TypedConstant; 105 TypedConstant cst = constantList.get(i); in run() local 107 = RegisterSpec.make(ssaMeth.makeNewSsaReg(), cst); in run() 109 Rop constRop = Rops.opConst(cst); in run() 113 new PlainCstInsn(Rops.opConst(cst), in run() 115 RegisterSpecList.EMPTY, cst)); in run() 129 StdTypeList.EMPTY, cst)); in run() 144 newRegs.put(cst, result); in run() [all …]
|
/dalvik/dexgen/src/com/android/dexgen/rop/ |
D | AttConstantValue.java | 19 import com.android.dexgen.rop.cst.CstDouble; 20 import com.android.dexgen.rop.cst.CstFloat; 21 import com.android.dexgen.rop.cst.CstInteger; 22 import com.android.dexgen.rop.cst.CstLong; 23 import com.android.dexgen.rop.cst.CstString; 24 import com.android.dexgen.rop.cst.TypedConstant;
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
D | CodeObserver.java | 23 import com.android.dx.rop.cst.Constant; 24 import com.android.dx.rop.cst.CstDouble; 25 import com.android.dx.rop.cst.CstFloat; 26 import com.android.dx.rop.cst.CstInteger; 27 import com.android.dx.rop.cst.CstKnownNull; 28 import com.android.dx.rop.cst.CstLong; 29 import com.android.dx.rop.cst.CstType; 102 Constant cst, int value) { in visitConstant() argument 103 if (cst instanceof CstKnownNull) { in visitConstant() 109 if (cst instanceof CstInteger) { in visitConstant() [all …]
|
/dalvik/dx/src/com/android/dx/cf/attrib/ |
D | AttConstantValue.java | 19 import com.android.dx.rop.cst.CstDouble; 20 import com.android.dx.rop.cst.CstFloat; 21 import com.android.dx.rop.cst.CstInteger; 22 import com.android.dx.rop.cst.CstLong; 23 import com.android.dx.rop.cst.CstString; 24 import com.android.dx.rop.cst.TypedConstant;
|
/dalvik/dx/src/com/android/dx/dex/code/ |
D | ArrayData.java | 22 import com.android.dx.rop.cst.Constant; 23 import com.android.dx.rop.cst.CstLiteral32; 24 import com.android.dx.rop.cst.CstLiteral64; 25 import com.android.dx.rop.cst.CstType; 124 Constant cst = values.get(i); in writeTo() local 125 out.writeByte((byte) ((CstLiteral32) cst).getIntBits()); in writeTo() 131 Constant cst = values.get(i); in writeTo() local 132 out.writeShort((short) ((CstLiteral32) cst).getIntBits()); in writeTo() 138 Constant cst = values.get(i); in writeTo() local 139 out.writeInt(((CstLiteral32) cst).getIntBits()); in writeTo() [all …]
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/form/ |
D | Form31c.java | 24 import com.android.dexgen.rop.cst.Constant; 25 import com.android.dexgen.rop.cst.CstFieldRef; 26 import com.android.dexgen.rop.cst.CstString; 27 import com.android.dexgen.rop.cst.CstType; 105 Constant cst = ci.getConstant(); in isCompatible() local 107 return ((cst instanceof CstType) || in isCompatible() 108 (cst instanceof CstFieldRef) || in isCompatible() 109 (cst instanceof CstString)); in isCompatible()
|
D | Form21c.java | 24 import com.android.dexgen.rop.cst.Constant; 25 import com.android.dexgen.rop.cst.CstFieldRef; 26 import com.android.dexgen.rop.cst.CstString; 27 import com.android.dexgen.rop.cst.CstType; 111 Constant cst = ci.getConstant(); in isCompatible() local 112 return (cst instanceof CstType) || in isCompatible() 113 (cst instanceof CstFieldRef) || in isCompatible() 114 (cst instanceof CstString); in isCompatible()
|
D | Form22c.java | 23 import com.android.dexgen.rop.cst.Constant; 24 import com.android.dexgen.rop.cst.CstFieldRef; 25 import com.android.dexgen.rop.cst.CstString; 26 import com.android.dexgen.rop.cst.CstType; 87 Constant cst = ci.getConstant(); in isCompatible() local 88 return (cst instanceof CstType) || in isCompatible() 89 (cst instanceof CstFieldRef); in isCompatible()
|
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
D | StdConstantPool.java | 17 package com.android.dexgen.rop.cst; 96 public void set(int n, Constant cst) { in set() argument 99 boolean cat2 = (cst != null) && cst.isCategory2(); in set() 114 if ((cst != null) && (entries[n] == null)) { in set() 125 entries[n] = cst; in set()
|