Home
last modified time | relevance | path

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

1234

/dalvik/dx/src/com/android/dx/rop/cst/
DStdConstantPool.java30 private final Constant[] entries;
47 entries = new Constant[size]; in StdConstantPool()
56 public Constant getOrNull(int n) { in getOrNull()
66 public Constant get0Ok(int n) { in get0Ok()
75 public Constant get(int n) { in get()
77 Constant result = entries[n]; in get()
96 public void set(int n, Constant cst) { in set()
119 Constant prev = entries[n - 1]; in set()
135 private static Constant throwInvalid(int idx) { in throwInvalid()
DCstArray.java26 public final class CstArray extends Constant {
63 protected int compareTo0(Constant other) { in compareTo0()
121 Constant thisItem = (Constant) get0(i); in compareTo()
122 Constant otherItem = (Constant) other.get0(i); in compareTo()
146 public Constant get(int n) { in get()
147 return (Constant) get0(n); in get()
156 public void set(int n, Constant a) { in set()
DConstant.java24 public abstract class Constant class
25 implements ToHuman, Comparable<Constant> {
48 public final int compareTo(Constant other) { in compareTo()
67 protected abstract int compareTo0(Constant other); in compareTo0()
DConstantPool.java43 public Constant get(int n); in get()
55 public Constant get0Ok(int n); in get0Ok()
69 public Constant getOrNull(int n); in getOrNull()
DCstAnnotation.java24 public final class CstAnnotation extends Constant {
61 protected int compareTo0(Constant other) { in compareTo0()
DCstNat.java24 public final class CstNat extends Constant {
79 protected int compareTo0(Constant other) { in compareTo0()
DTypedConstant.java25 extends Constant implements TypeBearer {
/dalvik/dx/src/com/android/dx/rop/code/
DFillArrayDataInsn.java19 import com.android.dx.rop.cst.Constant;
34 private final ArrayList<Constant> initValues;
40 private final Constant arrayType;
53 ArrayList<Constant> initValues, in FillArrayDataInsn()
54 Constant cst) { in FillArrayDataInsn()
76 public ArrayList<Constant> getInitValues() { in getInitValues()
84 public Constant getConstant() { in getConstant()
DCstInsn.java19 import com.android.dx.rop.cst.Constant;
27 private final Constant cst;
39 RegisterSpecList sources, Constant cst) { in CstInsn()
60 public Constant getConstant() { in getConstant()
DPlainInsn.java23 import com.android.dx.rop.cst.Constant;
112 Constant cst = (Constant) lastType; in withLastSourceLiteral()
119 getResult(), newSources, (Constant)lastType); in withLastSourceLiteral()
DPlainCstInsn.java19 import com.android.dx.rop.cst.Constant;
41 Constant cst) { in PlainCstInsn()
DThrowingCstInsn.java19 import com.android.dx.rop.cst.Constant;
43 TypeList catches, Constant cst) { in ThrowingCstInsn()
/dalvik/dx/src/com/android/dx/cf/attrib/
DAttAnnotationDefault.java19 import com.android.dx.rop.cst.Constant;
29 private final Constant value;
42 public AttAnnotationDefault(Constant value, int byteLength) { in AttAnnotationDefault()
64 public Constant getValue() { in getValue()
/dalvik/dx/src/com/android/dx/rop/annotation/
DNameValuePair.java19 import com.android.dx.rop.cst.Constant;
31 private final Constant value;
39 public NameValuePair(CstUtf8 name, Constant value) { in NameValuePair()
109 public Constant getValue() { in getValue()
/dalvik/dx/src/com/android/dx/dex/code/
DArrayData.java38 private final ArrayList<Constant> values;
41 private final Constant arrayType;
59 ArrayList<Constant> values, in ArrayData()
60 Constant arrayType) { in ArrayData()
121 Constant cst = values.get(i); in writeTo()
128 Constant cst = values.get(i); in writeTo()
135 Constant cst = values.get(i); in writeTo()
142 Constant cst = values.get(i); in writeTo()
DCstInsn.java21 import com.android.dx.rop.cst.Constant;
29 private final Constant constant;
55 RegisterSpecList registers, Constant constant) { in CstInsn()
106 public Constant getConstant() { in getConstant()
DDalvCode.java19 import com.android.dx.rop.cst.Constant;
175 public HashSet<Constant> getInsnConstants() { in getInsnConstants()
230 public int getIndex(Constant cst); in getIndex()
/dalvik/dx/src/com/android/dx/cf/code/
DMachine.java19 import com.android.dx.rop.cst.Constant;
158 public void auxCstArg(Constant cst); in auxCstArg()
187 public void auxInitValues(ArrayList<Constant> initValues); in auxInitValues()
DBaseMachine.java21 import com.android.dx.rop.cst.Constant;
52 private Constant auxCst;
61 private ArrayList<Constant> auxInitValues;
222 public final void auxCstArg(Constant cst) { in auxCstArg()
245 public final void auxInitValues(ArrayList<Constant> initValues) { in auxInitValues()
321 protected final Constant getAuxCst() { in getAuxCst()
348 protected final ArrayList<Constant> getInitValues() { in getInitValues()
/dalvik/dx/src/com/android/dx/dex/file/
DHeaderSection.java19 import com.android.dx.rop.cst.Constant;
48 public IndexedItem get(Constant cst) { in get()
DUniformItemSection.java19 import com.android.dx.rop.cst.Constant;
66 public abstract IndexedItem get(Constant cst); in get()
DClassDataItem.java19 import com.android.dx.rop.cst.Constant;
51 private final HashMap<EncodedField, Constant> staticValues;
87 this.staticValues = new HashMap<EncodedField, Constant>(40); in ClassDataItem()
123 public void addStaticField(EncodedField field, Constant value) { in addStaticField()
293 Constant cst = staticValues.get(field); in makeStaticValuesConstant()
314 Constant cst = staticValues.get(field); in makeStaticValuesConstant()
DValueEncoder.java21 import com.android.dx.rop.cst.Constant;
128 public void writeConstant(Constant cst) { in writeConstant()
216 private static int constantToValueType(Constant cst) { in constantToValueType()
283 Constant cst = list.get(i); in writeArray()
337 Constant value = pair.getValue(); in writeAnnotation()
367 public static String constantToHuman(Constant cst) { in constantToHuman()
516 public static void addContents(DexFile file, Constant cst) { in addContents()
/dalvik/dx/src/com/android/dx/ssa/
DSCCP.java25 import com.android.dx.rop.cst.Constant;
50 private Constant[] latticeConstants;
68 this.latticeConstants = new Constant[this.regCount]; in SCCP()
122 private boolean setLatticeValueTo(int reg, int value, Constant cst) { in setLatticeValueTo()
158 Constant phiConstant = null; in simulatePhi()
227 private Constant simulateMath(SsaInsn insn) { in simulateMath()
232 Constant cA; in simulateMath()
233 Constant cB; in simulateMath()
342 Constant resultConstant = null; in simulateStmt()
/dalvik/dx/src/com/android/dx/cf/direct/
DAnnotationParser.java26 import com.android.dx.rop.cst.Constant;
102 public Constant parseValueAttribute() { in parseValueAttribute()
103 Constant result; in parseValueAttribute()
295 Constant value = parseValue(); in parseElement()
309 private Constant parseValue() throws IOException { in parseValue()
426 private Constant parseConstant() throws IOException { in parseConstant()
428 Constant value = (Constant) pool.get(constValueIndex); in parseConstant()

1234