Searched refs:cst (Results 1 - 25 of 258) sorted by relevance

1234567891011

/dalvik/dexgen/src/com/android/dexgen/rop/code/
H A DCstInsn.java19 import com.android.dexgen.rop.cst.Constant;
27 private final Constant cst; field in class:CstInsn
36 * @param cst {@code non-null;} constant
39 RegisterSpecList sources, Constant cst) {
42 if (cst == null) {
43 throw new NullPointerException("cst == null");
46 this.cst = cst;
52 return cst.toHuman();
61 return cst;
38 CstInsn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpecList sources, Constant cst) argument
[all...]
/dalvik/dx/src/com/android/dx/rop/code/
H A DCstInsn.java19 import com.android.dx.rop.cst.Constant;
27 private final Constant cst; field in class:CstInsn
36 * @param cst {@code non-null;} constant
39 RegisterSpecList sources, Constant cst) {
42 if (cst == null) {
43 throw new NullPointerException("cst == null");
46 this.cst = cst;
52 return cst.toHuman();
61 return cst;
38 CstInsn(Rop opcode, SourcePosition position, RegisterSpec result, RegisterSpecList sources, Constant cst) argument
[all...]
H A DThrowingCstInsn.java19 import com.android.dx.rop.cst.Constant;
20 import com.android.dx.rop.cst.CstString;
40 * @param cst {@code non-null;} the constant
44 TypeList catches, Constant cst) {
45 super(opcode, position, null, sources, cst);
61 Constant cst = getConstant();
62 String constantString = cst.toHuman();
63 if (cst instanceof CstString) {
64 constantString = ((CstString) cst).toQuoted();
42 ThrowingCstInsn(Rop opcode, SourcePosition position, RegisterSpecList sources, TypeList catches, Constant cst) argument
H A DPlainInsn.java23 import com.android.dx.rop.cst.Constant;
24 import com.android.dx.rop.cst.CstInteger;
113 Constant cst = (Constant) firstType;
116 newSources, cst);
118 newSources, cst);
123 Constant cst = (Constant) lastType;
131 if (opcode == RegOps.SUB && cst instanceof CstInteger) {
133 cst = CstInteger.make(-((CstInteger)cst).getValue());
135 newRop = Rops.ropFor(opcode, getResult(), newSources, cst);
[all...]
/dalvik/dx/src/com/android/dx/dex/file/
H A DValueEncoder.java21 import com.android.dx.rop.cst.Constant;
22 import com.android.dx.rop.cst.CstAnnotation;
23 import com.android.dx.rop.cst.CstArray;
24 import com.android.dx.rop.cst.CstBoolean;
25 import com.android.dx.rop.cst.CstByte;
26 import com.android.dx.rop.cst.CstChar;
27 import com.android.dx.rop.cst.CstDouble;
28 import com.android.dx.rop.cst.CstEnumRef;
29 import com.android.dx.rop.cst.CstFieldRef;
30 import com.android.dx.rop.cst
126 writeConstant(Constant cst) argument
214 constantToValueType(Constant cst) argument
365 constantToHuman(Constant cst) argument
514 addContents(DexFile file, Constant cst) argument
[all...]
H A DMemberIdItem.java19 import com.android.dx.rop.cst.CstMemberRef;
20 import com.android.dx.rop.cst.CstNat;
31 private final CstMemberRef cst; field in class:MemberIdItem
36 * @param cst {@code non-null;} the constant for the member
38 public MemberIdItem(CstMemberRef cst) { argument
39 super(cst.getDefiningClass());
41 this.cst = cst;
64 CstNat nat = cst.getNat();
70 out.annotate(0, indexString() + ' ' + cst
[all...]
/dalvik/dexgen/src/com/android/dexgen/rop/
H A DAttConstantValue.java19 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;
H A DMember.java19 import com.android.dexgen.rop.cst.CstNat;
20 import com.android.dexgen.rop.cst.CstType;
21 import com.android.dexgen.rop.cst.CstUtf8;
H A DField.java19 import com.android.dexgen.rop.cst.TypedConstant;
/dalvik/dx/src/com/android/dx/cf/attrib/
H A DAttConstantValue.java19 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/cf/iface/
H A DMember.java19 import com.android.dx.rop.cst.CstNat;
20 import com.android.dx.rop.cst.CstString;
21 import com.android.dx.rop.cst.CstType;
H A DClassFile.java19 import com.android.dx.rop.cst.ConstantPool;
20 import com.android.dx.rop.cst.CstString;
21 import com.android.dx.rop.cst.CstType;
H A DField.java19 import com.android.dx.rop.cst.TypedConstant;
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DValueEncoder.java21 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
128 writeConstant(Constant cst) argument
216 constantToValueType(Constant cst) argument
367 constantToHuman(Constant cst) argument
516 addContents(DexFile file, Constant cst) argument
[all...]
H A DMemberIdItem.java19 import com.android.dexgen.rop.cst.CstMemberRef;
20 import com.android.dexgen.rop.cst.CstNat;
33 private final CstMemberRef cst; field in class:MemberIdItem
38 * @param cst {@code non-null;} the constant for the member
40 public MemberIdItem(CstMemberRef cst) { argument
41 super(cst.getDefiningClass());
43 this.cst = cst;
66 CstNat nat = cst.getNat();
72 out.annotate(0, indexString() + ' ' + cst
[all...]
H A DDexFile.java20 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;
420 * @param cst {@code non-null;} constant to possibly intern
422 /*package*/ void internIfAppropriate(Constant cst) { argument
423 if (cst instanceo
451 findItemOrNull(Constant cst) argument
[all...]
/dalvik/dx/src/com/android/dx/cf/cst/
H A DConstantPoolParser.java17 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_Long;
26 import static com.android.dx.cf.cst.ConstantTags.CONSTANT_Methodref;
27 import static com.android.dx.cf.cst
[all...]
H A DConstantTags.java17 package com.android.dx.cf.cst;
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
H A DConstantPool.java17 package com.android.dexgen.rop.cst;
H A DCstMethodRef.java17 package com.android.dexgen.rop.cst;
H A DStdConstantPool.java17 package com.android.dexgen.rop.cst;
94 * @param cst {@code null-ok;} the constant to store
96 public void set(int n, Constant cst) { argument
99 boolean cat2 = (cst != null) && cst.isCategory2();
109 "cst.isCategory2()");
114 if ((cst != null) && (entries[n] == null)) {
125 entries[n] = cst;
/dalvik/dx/src/com/android/dx/rop/cst/
H A DConstantPool.java17 package com.android.dx.rop.cst;
H A DCstMethodRef.java17 package com.android.dx.rop.cst;
H A DStdConstantPool.java17 package com.android.dx.rop.cst;
94 * @param cst {@code null-ok;} the constant to store
96 public void set(int n, Constant cst) { argument
99 boolean cat2 = (cst != null) && cst.isCategory2();
109 "cst.isCategory2()");
114 if ((cst != null) && (entries[n] == null)) {
125 entries[n] = cst;
/dalvik/dexgen/src/com/android/dexgen/dex/code/form/
H A DForm31c.java24 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();
107 return ((cst instanceof CstType) ||
108 (cst instanceof CstFieldRef) ||
109 (cst instanceof CstString));

Completed in 6347 milliseconds

1234567891011