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

1234567

/external/dexmaker/src/dx/java/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...]
H A DDexTranslationAdvice.java19 import com.android.dx.rop.cst.CstInteger;
68 CstInteger cst = (CstInteger) sourceA.getTypeBearer();
69 return cst.fitsIn16Bits();
75 CstInteger cst = (CstInteger) sourceB.getTypeBearer();
78 // These have 8 and 16 bit cst representations
86 return cst.fitsIn16Bits();
87 // These only have 8 bit cst reps
91 return cst.fitsIn8Bits();
94 CstInteger cst2 = CstInteger.make(-cst.getValue());
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/
H A DLdcInsnNode.java49 public Object cst; field in class:LdcInsnNode
54 * @param cst the constant to be loaded on the stack. This parameter must be
58 public LdcInsnNode(final Object cst) { argument
60 this.cst = cst;
68 mv.visitLdcInsn(cst);
72 return new LdcInsnNode(cst);
/external/dexmaker/src/dx/java/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...]
H A DDexFile.java21 import com.android.dx.rop.cst.Constant;
22 import com.android.dx.rop.cst.CstBaseMethodRef;
23 import com.android.dx.rop.cst.CstEnumRef;
24 import com.android.dx.rop.cst.CstFieldRef;
25 import com.android.dx.rop.cst.CstString;
26 import com.android.dx.rop.cst.CstType;
441 * @param cst {@code non-null;} constant to possibly intern
443 /*package*/ void internIfAppropriate(Constant cst) { argument
444 if (cst instanceof CstString) {
445 stringIds.intern((CstString) cst);
470 findItemOrNull(Constant cst) argument
[all...]
H A DHeaderSection.java19 import com.android.dx.rop.cst.Constant;
48 public IndexedItem get(Constant cst) { argument
H A DFieldIdsSection.java19 import com.android.dx.rop.cst.Constant;
20 import com.android.dx.rop.cst.CstFieldRef;
56 public IndexedItem get(Constant cst) { argument
57 if (cst == null) {
58 throw new NullPointerException("cst == null");
63 IndexedItem result = fieldIds.get((CstFieldRef) cst);
/external/mockito/cglib-and-asm/src/org/mockito/asm/util/
H A DASMifierAbstractVisitor.java121 * @param cst an {@link Integer}, {@link Float}, {@link Long},
124 void appendConstant(final Object cst) { argument
125 appendConstant(buf, cst);
133 * @param cst an {@link Integer}, {@link Float}, {@link Long},
136 static void appendConstant(final StringBuffer buf, final Object cst) { argument
137 if (cst == null) {
139 } else if (cst instanceof String) {
140 appendString(buf, (String) cst);
141 } else if (cst instanceof Type) {
143 buf.append(((Type) cst)
[all...]
/external/dexmaker/src/main/java/com/google/dexmaker/
H A DConstants.java19 import com.android.dx.rop.cst.CstBoolean;
20 import com.android.dx.rop.cst.CstByte;
21 import com.android.dx.rop.cst.CstChar;
22 import com.android.dx.rop.cst.CstDouble;
23 import com.android.dx.rop.cst.CstFloat;
24 import com.android.dx.rop.cst.CstInteger;
25 import com.android.dx.rop.cst.CstKnownNull;
26 import com.android.dx.rop.cst.CstLong;
27 import com.android.dx.rop.cst.CstShort;
28 import com.android.dx.rop.cst
[all...]
/external/dexmaker/src/dx/java/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;
H A DCstInterfaceMethodRef.java17 package com.android.dx.rop.cst;
H A DCstLiteralBits.java17 package com.android.dx.rop.cst;
H A DTypedConstant.java17 package com.android.dx.rop.cst;
/external/dexmaker/src/dx/java/com/android/dx/dex/code/form/
H A DForm3rc.java23 import com.android.dx.rop.cst.Constant;
24 import com.android.dx.rop.cst.CstMethodRef;
25 import com.android.dx.rop.cst.CstType;
76 Constant cst = ci.getConstant();
82 if (!((cst instanceof CstMethodRef) ||
83 (cst instanceof CstType))) {
H A DForm5rc.java23 import com.android.dx.rop.cst.Constant;
24 import com.android.dx.rop.cst.CstMethodRef;
25 import com.android.dx.rop.cst.CstType;
79 Constant cst = ci.getConstant();
81 if (!((cst instanceof CstMethodRef) ||
82 (cst instanceof CstType))) {
H A DForm21c.java24 import com.android.dx.rop.cst.Constant;
25 import com.android.dx.rop.cst.CstFieldRef;
26 import com.android.dx.rop.cst.CstString;
27 import com.android.dx.rop.cst.CstType;
108 Constant cst = ci.getConstant();
114 return (cst instanceof CstType) ||
115 (cst instanceof CstFieldRef) ||
116 (cst instanceof CstString);
H A DForm31c.java24 import com.android.dx.rop.cst.Constant;
25 import com.android.dx.rop.cst.CstFieldRef;
26 import com.android.dx.rop.cst.CstString;
27 import com.android.dx.rop.cst.CstType;
107 Constant cst = ci.getConstant();
109 return (cst instanceof CstType) ||
110 (cst instanceof CstFieldRef) ||
111 (cst instanceof CstString);
H A DForm31i.java23 import com.android.dx.rop.cst.Constant;
24 import com.android.dx.rop.cst.CstLiteralBits;
78 Constant cst = ci.getConstant();
80 if (!(cst instanceof CstLiteralBits)) {
84 return ((CstLiteralBits) cst).fitsInInt();
H A DForm51l.java23 import com.android.dx.rop.cst.Constant;
24 import com.android.dx.rop.cst.CstLiteral64;
25 import com.android.dx.rop.cst.CstLiteralBits;
79 Constant cst = ci.getConstant();
81 return (cst instanceof CstLiteral64);
/external/dexmaker/src/dx/java/com/android/dx/ssa/
H A DConstCollector.java29 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);
107 = RegisterSpec.make(ssaMeth.makeNewSsaReg(), cst);
109 Rop constRop = Rops.opConst(cst);
113 new PlainCstInsn(Rops.opConst(cst),
115 RegisterSpecList.EMPTY, cst));
129 StdTypeList.EMPTY, cst));
144 newRegs.put(cst, resul
[all...]

Completed in 4871 milliseconds

1234567