Home
last modified time | relevance | path

Searched refs:Opcodes (Results 1 – 25 of 145) sorted by relevance

123456

/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DDops.java48 import com.android.dx.io.Opcodes;
65 new Dop(Opcodes.SPECIAL_FORMAT, Opcodes.SPECIAL_FORMAT,
66 Opcodes.NO_NEXT, SpecialFormat.THE_ONE, false);
70 new Dop(Opcodes.NOP, Opcodes.NOP,
71 Opcodes.NO_NEXT, Form10x.THE_ONE, false);
74 new Dop(Opcodes.MOVE, Opcodes.MOVE,
75 Opcodes.MOVE_FROM16, Form12x.THE_ONE, true);
78 new Dop(Opcodes.MOVE_FROM16, Opcodes.MOVE,
79 Opcodes.MOVE_16, Form22x.THE_ONE, true);
82 new Dop(Opcodes.MOVE_16, Opcodes.MOVE,
[all …]
DDop.java20 import com.android.dx.io.Opcodes;
62 if (!Opcodes.isValidShape(opcode)) { in Dop()
66 if (!Opcodes.isValidShape(family)) { in Dop()
70 if (!Opcodes.isValidShape(nextOpcode)) { in Dop()
157 case Opcodes.IF_EQ: return Dops.IF_NE; in getOppositeTest()
158 case Opcodes.IF_NE: return Dops.IF_EQ; in getOppositeTest()
159 case Opcodes.IF_LT: return Dops.IF_GE; in getOppositeTest()
160 case Opcodes.IF_GE: return Dops.IF_LT; in getOppositeTest()
161 case Opcodes.IF_GT: return Dops.IF_LE; in getOppositeTest()
162 case Opcodes.IF_LE: return Dops.IF_GT; in getOppositeTest()
[all …]
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/analysis/
DFrame.java35 import org.mockito.asm.Opcodes;
204 case Opcodes.NOP: in execute()
206 case Opcodes.ACONST_NULL: in execute()
207 case Opcodes.ICONST_M1: in execute()
208 case Opcodes.ICONST_0: in execute()
209 case Opcodes.ICONST_1: in execute()
210 case Opcodes.ICONST_2: in execute()
211 case Opcodes.ICONST_3: in execute()
212 case Opcodes.ICONST_4: in execute()
213 case Opcodes.ICONST_5: in execute()
[all …]
/external/mockito/cglib-and-asm/src/org/mockito/asm/
DFrame.java795 if ((access & Opcodes.ACC_STATIC) == 0) { in initInputFrame()
830 case Opcodes.NOP: in execute()
831 case Opcodes.INEG: in execute()
832 case Opcodes.LNEG: in execute()
833 case Opcodes.FNEG: in execute()
834 case Opcodes.DNEG: in execute()
835 case Opcodes.I2B: in execute()
836 case Opcodes.I2C: in execute()
837 case Opcodes.I2S: in execute()
838 case Opcodes.GOTO: in execute()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/io/
DOpcodeInfo.java41 new Info(Opcodes.SPECIAL_FORMAT, "<special>",
47 new Info(Opcodes.PACKED_SWITCH_PAYLOAD, "packed-switch-payload",
52 new Info(Opcodes.SPARSE_SWITCH_PAYLOAD, "sparse-switch-payload",
57 new Info(Opcodes.FILL_ARRAY_DATA_PAYLOAD, "fill-array-data-payload",
63 new Info(Opcodes.NOP, "nop",
67 new Info(Opcodes.MOVE, "move",
71 new Info(Opcodes.MOVE_FROM16, "move/from16",
75 new Info(Opcodes.MOVE_16, "move/16",
79 new Info(Opcodes.MOVE_WIDE, "move-wide",
83 new Info(Opcodes.MOVE_WIDE_FROM16, "move-wide/from16",
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/
DProbeInserterTest.java22 import org.objectweb.asm.Opcodes;
60 ProbeInserter pi = new ProbeInserter(Opcodes.ACC_STATIC, "()V", in testVariableStatic()
64 expectedVisitor.visitVarInsn(Opcodes.ALOAD, 0); in testVariableStatic()
65 expectedVisitor.visitInsn(Opcodes.ICONST_0); in testVariableStatic()
66 expectedVisitor.visitInsn(Opcodes.ICONST_1); in testVariableStatic()
67 expectedVisitor.visitInsn(Opcodes.BASTORE); in testVariableStatic()
76 expectedVisitor.visitVarInsn(Opcodes.ALOAD, 1); in testVariableNonStatic()
77 expectedVisitor.visitInsn(Opcodes.ICONST_0); in testVariableNonStatic()
78 expectedVisitor.visitInsn(Opcodes.ICONST_1); in testVariableNonStatic()
79 expectedVisitor.visitInsn(Opcodes.BASTORE); in testVariableNonStatic()
[all …]
DMethodInstrumenterTest.java23 import org.objectweb.asm.Opcodes;
53 mv.visitFrame(Opcodes.F_FULL, 0, null, 0, null); in setup()
73 instrumenter.visitInsnWithProbe(Opcodes.RETURN, 3); in testVisitInsnWithProbe()
76 expectedVisitor.visitInsn(Opcodes.RETURN); in testVisitInsnWithProbe()
84 instrumenter.visitJumpInsnWithProbe(Opcodes.GOTO, label, 3, frame); in testVisitJumpInsnWithProbe_GOTO()
87 expectedVisitor.visitJumpInsn(Opcodes.GOTO, label); in testVisitJumpInsnWithProbe_GOTO()
94 testVisitJumpInsnWithProbe(Opcodes.IFEQ, Opcodes.IFNE); in testVisitJumpInsnWithProbe_IFEQ()
99 testVisitJumpInsnWithProbe(Opcodes.IFGE, Opcodes.IFLT); in testVisitJumpInsnWithProbe_IFGE()
104 testVisitJumpInsnWithProbe(Opcodes.IFGT, Opcodes.IFLE); in testVisitJumpInsnWithProbe_IFGT()
109 testVisitJumpInsnWithProbe(Opcodes.IFLE, Opcodes.IFGT); in testVisitJumpInsnWithProbe_IFLE()
[all …]
DProbeArrayStrategyFactoryTest.java26 import org.objectweb.asm.Opcodes;
46 test(Opcodes.V1_1, 0, false, true); in testClass1()
53 test(Opcodes.V1_2, 0, false, true); in testClass2()
60 test(Opcodes.V1_3, 0, false, true); in testClass3()
67 test(Opcodes.V1_4, 0, false, true); in testClass4()
74 test(Opcodes.V1_5, 0, false, true); in testClass5()
81 test(Opcodes.V1_6, 0, false, true); in testClass6()
88 test(Opcodes.V1_7, 0, false, true); in testClass7()
95 test(Opcodes.V1_8, 0, false, true); in testClass8()
102 test(Opcodes.V1_7, Opcodes.ACC_INTERFACE, true, false); in testInterface7()
[all …]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/instr/
DMethodInstrumenter.java19 import org.objectweb.asm.Opcodes;
59 if (opcode == Opcodes.GOTO) { in visitJumpInsnWithProbe()
61 mv.visitJumpInsn(Opcodes.GOTO, label); in visitJumpInsnWithProbe()
66 mv.visitJumpInsn(Opcodes.GOTO, label); in visitJumpInsnWithProbe()
74 case Opcodes.IFEQ: in getInverted()
75 return Opcodes.IFNE; in getInverted()
76 case Opcodes.IFNE: in getInverted()
77 return Opcodes.IFEQ; in getInverted()
78 case Opcodes.IFLT: in getInverted()
79 return Opcodes.IFGE; in getInverted()
[all …]
DInstrSupport.java17 import org.objectweb.asm.Opcodes;
38 public static final int DATAFIELD_ACC = Opcodes.ACC_SYNTHETIC
39 | Opcodes.ACC_PRIVATE | Opcodes.ACC_STATIC | Opcodes.ACC_TRANSIENT
40 | Opcodes.ACC_FINAL;
46 public static final int DATAFIELD_INTF_ACC = Opcodes.ACC_SYNTHETIC
47 | Opcodes.ACC_PUBLIC | Opcodes.ACC_STATIC | Opcodes.ACC_FINAL;
70 public static final int INITMETHOD_ACC = Opcodes.ACC_SYNTHETIC
71 | Opcodes.ACC_PRIVATE | Opcodes.ACC_STATIC;
106 mv.visitInsn(Opcodes.ICONST_0 + value); in push()
108 mv.visitIntInsn(Opcodes.BIPUSH, value); in push()
[all …]
/external/llvm/tools/llvm-readobj/
DARMEHABIPrinter.h35 void (OpcodeDecoder::*Routine)(const uint8_t *Opcodes, unsigned &OI);
39 void Decode_00xxxxxx(const uint8_t *Opcodes, unsigned &OI);
40 void Decode_01xxxxxx(const uint8_t *Opcodes, unsigned &OI);
41 void Decode_1000iiii_iiiiiiii(const uint8_t *Opcodes, unsigned &OI);
42 void Decode_10011101(const uint8_t *Opcodes, unsigned &OI);
43 void Decode_10011111(const uint8_t *Opcodes, unsigned &OI);
44 void Decode_1001nnnn(const uint8_t *Opcodes, unsigned &OI);
45 void Decode_10100nnn(const uint8_t *Opcodes, unsigned &OI);
46 void Decode_10101nnn(const uint8_t *Opcodes, unsigned &OI);
47 void Decode_10110000(const uint8_t *Opcodes, unsigned &OI);
[all …]
DARMWinEHPrinter.h35 bool opcode_0xxxxxxx(const uint8_t *Opcodes, unsigned &Offset,
37 bool opcode_10Lxxxxx(const uint8_t *Opcodes, unsigned &Offset,
39 bool opcode_1100xxxx(const uint8_t *Opcodes, unsigned &Offset,
41 bool opcode_11010Lxx(const uint8_t *Opcodes, unsigned &Offset,
43 bool opcode_11011Lxx(const uint8_t *Opcodes, unsigned &Offset,
45 bool opcode_11100xxx(const uint8_t *Opcodes, unsigned &Offset,
47 bool opcode_111010xx(const uint8_t *Opcodes, unsigned &Offset,
49 bool opcode_1110110L(const uint8_t *Opcodes, unsigned &Offset,
51 bool opcode_11101110(const uint8_t *Opcodes, unsigned &Offset,
53 bool opcode_11101111(const uint8_t *Opcodes, unsigned &Offset,
[all …]
/external/mockito/cglib-and-asm/src/org/mockito/asm/util/
DCheckClassAdapter.java43 import org.mockito.asm.Opcodes;
274 checkAccess(access, Opcodes.ACC_PUBLIC + Opcodes.ACC_FINAL in visit()
275 + Opcodes.ACC_SUPER + Opcodes.ACC_INTERFACE in visit()
276 + Opcodes.ACC_ABSTRACT + Opcodes.ACC_SYNTHETIC in visit()
277 + Opcodes.ACC_ANNOTATION + Opcodes.ACC_ENUM in visit()
278 + Opcodes.ACC_DEPRECATED); in visit()
292 if ((access & Opcodes.ACC_INTERFACE) != 0) { in visit()
348 checkAccess(access, Opcodes.ACC_PUBLIC + Opcodes.ACC_PRIVATE in visitInnerClass()
349 + Opcodes.ACC_PROTECTED + Opcodes.ACC_STATIC in visitInnerClass()
350 + Opcodes.ACC_FINAL + Opcodes.ACC_INTERFACE in visitInnerClass()
[all …]
DASMifierClassVisitor.java40 import org.mockito.asm.Opcodes;
239 case Opcodes.V1_1: in visit()
242 case Opcodes.V1_2: in visit()
245 case Opcodes.V1_3: in visit()
248 case Opcodes.V1_4: in visit()
251 case Opcodes.V1_5: in visit()
254 case Opcodes.V1_6: in visit()
435 if ((access & Opcodes.ACC_PUBLIC) != 0) { in appendAccess()
439 if ((access & Opcodes.ACC_PRIVATE) != 0) { in appendAccess()
443 if ((access & Opcodes.ACC_PROTECTED) != 0) { in appendAccess()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/flow/
DFrameSnapshotTest.java22 import org.objectweb.asm.Opcodes;
58 analyzer.visitJumpInsn(Opcodes.GOTO, new Label()); in testNoFrame()
64 analyzer.visitInsn(Opcodes.ICONST_0); in testFrame()
67 expectedVisitor.visitFrame(Opcodes.F_FULL, 1, arr("Foo"), 1, in testFrame()
68 arr(Opcodes.INTEGER)); in testFrame()
73 analyzer.visitInsn(Opcodes.ICONST_0); in testReduce()
74 analyzer.visitInsn(Opcodes.LCONST_0); in testReduce()
75 analyzer.visitInsn(Opcodes.ICONST_0); in testReduce()
76 analyzer.visitInsn(Opcodes.DCONST_0); in testReduce()
79 final Object[] stack = arr(Opcodes.INTEGER, Opcodes.LONG, in testReduce()
[all …]
DMethodProbesAdapterTest.java24 import org.objectweb.asm.Opcodes;
150 adapter.visitInsn(Opcodes.RETURN); in testVisitInsn1()
152 expectedVisitor.visitInsnWithProbe(Opcodes.RETURN, 1000); in testVisitInsn1()
157 adapter.visitInsn(Opcodes.ICONST_0); in testVisitInsn2()
158 adapter.visitInsn(Opcodes.ICONST_0); in testVisitInsn2()
159 adapter.visitInsn(Opcodes.IADD); in testVisitInsn2()
161 expectedVisitor.visitInsn(Opcodes.ICONST_0); in testVisitInsn2()
162 expectedVisitor.visitInsn(Opcodes.ICONST_0); in testVisitInsn2()
163 expectedVisitor.visitInsn(Opcodes.IADD); in testVisitInsn2()
171 adapter.visitJumpInsn(Opcodes.GOTO, label); in testVisitJumpInsn1()
[all …]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/
DRuntimeData.java21 import org.objectweb.asm.Opcodes;
183 mv.visitInsn(Opcodes.ICONST_3); in generateArgumentArray()
184 mv.visitTypeInsn(Opcodes.ANEWARRAY, "java/lang/Object"); in generateArgumentArray()
187 mv.visitInsn(Opcodes.DUP); in generateArgumentArray()
188 mv.visitInsn(Opcodes.ICONST_0); in generateArgumentArray()
190 mv.visitMethodInsn(Opcodes.INVOKESTATIC, "java/lang/Long", "valueOf", in generateArgumentArray()
192 mv.visitInsn(Opcodes.AASTORE); in generateArgumentArray()
195 mv.visitInsn(Opcodes.DUP); in generateArgumentArray()
196 mv.visitInsn(Opcodes.ICONST_1); in generateArgumentArray()
198 mv.visitInsn(Opcodes.AASTORE); in generateArgumentArray()
[all …]
DURLStreamHandlerRuntime.java23 import org.objectweb.asm.Opcodes;
82 mv.visitInsn(Opcodes.DUP); in generateDataAccessor()
87 mv.visitTypeInsn(Opcodes.NEW, "java/net/URL"); in generateDataAccessor()
88 mv.visitInsn(Opcodes.DUP); in generateDataAccessor()
90 mv.visitInsn(Opcodes.ACONST_NULL); in generateDataAccessor()
92 mv.visitMethodInsn(Opcodes.INVOKESPECIAL, "java/net/URL", "<init>", in generateDataAccessor()
100 mv.visitMethodInsn(Opcodes.INVOKEVIRTUAL, "java/net/URL", in generateDataAccessor()
107 mv.visitInsn(Opcodes.SWAP); in generateDataAccessor()
113 mv.visitMethodInsn(Opcodes.INVOKEVIRTUAL, "java/lang/Object", "equals", in generateDataAccessor()
119 mv.visitInsn(Opcodes.POP); in generateDataAccessor()
[all …]
DLoggerRuntime.java21 import org.objectweb.asm.Opcodes;
83 mv.visitInsn(Opcodes.DUP); in generateDataAccessor()
91 mv.visitMethodInsn(Opcodes.INVOKESTATIC, "java/util/logging/Logger", in generateDataAccessor()
99 mv.visitInsn(Opcodes.SWAP); in generateDataAccessor()
105 mv.visitFieldInsn(Opcodes.GETSTATIC, "java/util/logging/Level", "INFO", in generateDataAccessor()
113 mv.visitInsn(Opcodes.SWAP); in generateDataAccessor()
128 mv.visitInsn(Opcodes.SWAP); in generateDataAccessor()
137 Opcodes.INVOKEVIRTUAL, in generateDataAccessor()
147 mv.visitInsn(Opcodes.ICONST_0); in generateDataAccessor()
148 mv.visitInsn(Opcodes.AALOAD); in generateDataAccessor()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DMethodAnalyzerTest.java26 import org.objectweb.asm.Opcodes;
59 method.visitInsn(Opcodes.NOP); in createLinearSequence()
61 method.visitInsn(Opcodes.RETURN); in createLinearSequence()
99 method.visitVarInsn(Opcodes.ILOAD, 1); in createIfBranch()
101 method.visitJumpInsn(Opcodes.IFEQ, l1); in createIfBranch()
104 method.visitInsn(Opcodes.ARETURN); in createIfBranch()
108 method.visitInsn(Opcodes.ARETURN); in createIfBranch()
160 method.visitVarInsn(Opcodes.ILOAD, 1); in createIfBranchMerge()
162 method.visitJumpInsn(Opcodes.IFEQ, l1); in createIfBranchMerge()
164 method.visitInsn(Opcodes.NOP); in createIfBranchMerge()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
DRuntimeDataTest.java27 import org.objectweb.asm.Opcodes;
115 writer.visit(Opcodes.V1_5, Opcodes.ACC_PUBLIC, "Sample", null, in testGenerateArgumentArray()
120 MethodVisitor mv = writer.visitMethod(Opcodes.ACC_PUBLIC, "<init>", in testGenerateArgumentArray()
123 mv.visitVarInsn(Opcodes.ALOAD, 0); in testGenerateArgumentArray()
124 mv.visitMethodInsn(Opcodes.INVOKESPECIAL, "java/lang/Object", "<init>", in testGenerateArgumentArray()
126 mv.visitInsn(Opcodes.RETURN); in testGenerateArgumentArray()
131 mv = writer.visitMethod(Opcodes.ACC_PUBLIC, "call", in testGenerateArgumentArray()
135 mv.visitInsn(Opcodes.ARETURN); in testGenerateArgumentArray()
156 writer.visit(Opcodes.V1_5, Opcodes.ACC_PUBLIC, "Sample", null, in testGenerateAccessCall()
161 MethodVisitor mv = writer.visitMethod(Opcodes.ACC_PUBLIC, "<init>", in testGenerateAccessCall()
[all …]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/flow/
DMethodProbesAdapter.java20 import org.objectweb.asm.Opcodes;
94 case Opcodes.IRETURN: in visitInsn()
95 case Opcodes.LRETURN: in visitInsn()
96 case Opcodes.FRETURN: in visitInsn()
97 case Opcodes.DRETURN: in visitInsn()
98 case Opcodes.ARETURN: in visitInsn()
99 case Opcodes.RETURN: in visitInsn()
100 case Opcodes.ATHROW: in visitInsn()
121 case Opcodes.GOTO: in jumpPopCount()
123 case Opcodes.IFEQ: in jumpPopCount()
[all …]
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/
DFrameNode.java38 import org.mockito.asm.Opcodes;
112 case Opcodes.F_NEW: in FrameNode()
113 case Opcodes.F_FULL: in FrameNode()
117 case Opcodes.F_APPEND: in FrameNode()
120 case Opcodes.F_CHOP: in FrameNode()
123 case Opcodes.F_SAME: in FrameNode()
125 case Opcodes.F_SAME1: in FrameNode()
142 case Opcodes.F_NEW: in accept()
143 case Opcodes.F_FULL: in accept()
150 case Opcodes.F_APPEND: in accept()
[all …]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/
DContentTypeDetector.java18 import org.objectweb.asm.Opcodes;
77 case Opcodes.V1_1: in determineType()
78 case Opcodes.V1_2: in determineType()
79 case Opcodes.V1_3: in determineType()
80 case Opcodes.V1_4: in determineType()
81 case Opcodes.V1_5: in determineType()
82 case Opcodes.V1_6: in determineType()
83 case Opcodes.V1_7: in determineType()
84 case Opcodes.V1_8: in determineType()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/
DClassFileVersionsTest.java15 import static org.objectweb.asm.Opcodes.ACC_PUBLIC;
16 import static org.objectweb.asm.Opcodes.ACC_SUPER;
17 import static org.objectweb.asm.Opcodes.ALOAD;
18 import static org.objectweb.asm.Opcodes.INVOKESPECIAL;
19 import static org.objectweb.asm.Opcodes.RETURN;
20 import static org.objectweb.asm.Opcodes.V1_1;
21 import static org.objectweb.asm.Opcodes.V1_2;
22 import static org.objectweb.asm.Opcodes.V1_3;
23 import static org.objectweb.asm.Opcodes.V1_4;
24 import static org.objectweb.asm.Opcodes.V1_5;
[all …]

123456