Home
last modified time | relevance | path

Searched refs:InsnNode (Results 1 – 25 of 31) sorted by relevance

12

/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DInstructionsBuilderTest.java26 import org.objectweb.asm.tree.InsnNode;
42 InsnNode i1 = new InsnNode(Opcodes.NOP); in current_line_number_should_be_applied_to_instructions()
46 InsnNode i2 = new InsnNode(Opcodes.NOP); in current_line_number_should_be_applied_to_instructions()
48 InsnNode i3 = new InsnNode(Opcodes.NOP); in current_line_number_should_be_applied_to_instructions()
52 InsnNode i4 = new InsnNode(Opcodes.NOP); in current_line_number_should_be_applied_to_instructions()
66 InsnNode i1 = new InsnNode(Opcodes.NOP); in null_probearray_should_not_mark_instruction_as_covered()
77 InsnNode i1 = new InsnNode(Opcodes.NOP); in unexecuted_probe_should_not_mark_instruction_as_covered()
88 InsnNode i1 = new InsnNode(Opcodes.NOP); in executed_probe_should_mark_instruction_as_covered()
99 InsnNode i1 = new InsnNode(Opcodes.NOP); in subsequent_instructions_should_be_linked_by_default()
102 InsnNode i2 = new InsnNode(Opcodes.NOP); in subsequent_instructions_should_be_linked_by_default()
[all …]
DMethodCoverageCalculatorTest.java28 import org.objectweb.asm.tree.InsnNode;
81 InsnNode i1 = addInsn(1, false); in should_ignore_single_instruction()
95 InsnNode i1 = addInsn(2, false); in should_ignore_instruction_range()
99 InsnNode i2 = addInsn(2, false); in should_ignore_instruction_range()
113 InsnNode i1 = addInsn(1, false); in should_exclude_ignored_instructions_from_computation_of_first_and_last_lines()
115 InsnNode i3 = addInsn(3, false); in should_exclude_ignored_instructions_from_computation_of_first_and_last_lines()
129 InsnNode i1 = addInsn(2, false, true); in should_merge_instructions()
130 InsnNode i2 = addInsn(2, true, false); in should_merge_instructions()
144 InsnNode i1 = addInsn(1, true, false, false); in should_merge_multiple_instructions()
145 InsnNode i2 = addInsn(1, false, true, false); in should_merge_multiple_instructions()
[all …]
/external/ow2-asm/asm-tree/src/test/java/org/objectweb/asm/tree/
DInsnListTest.java55 private final InsnNode insn1 = new InsnNode(0);
56 private final InsnNode insn2 = new InsnNode(1);
82 assertFalse(newInsnList().contains(new InsnNode(0))); in testContains()
89 Executable indexOf = () -> insnList.indexOf(new InsnNode(0)); in testIndexOf_noSuchElement()
108 insnList.add(new InsnNode(55)); in testAccept_cloneListVisitor()
109 insnList.add(new InsnNode(77)); in testAccept_cloneListVisitor()
116 dstInsnList.add(new InsnNode(opcode)); in testAccept_cloneListVisitor()
173 InsnNode insn = new InsnNode(0); in testIteratorAdd_emptyList()
183 InsnNode insn = new InsnNode(0); in testIteratorAdd_firstInsn()
226 InsnNode insn = new InsnNode(0); in testIteratorAdd_lastInsn()
[all …]
DInsnNodeTest.java45 InsnNode insnNode = new InsnNode(Opcodes.ACONST_NULL); in testConstructor()
/external/jazzer-api/agent/src/main/java/com/code_intelligence/jazzer/instrumentor/
DTraceDataFlowInstrumentor.kt24 import org.objectweb.asm.tree.InsnNode in <lambda>()
147 add(InsnNode(Opcodes.DUP2)) in <lambda>()
153 add(InsnNode(Opcodes.DUP)) in <lambda>()
155 add(InsnNode(Opcodes.ICONST_0)) in <lambda>()
156 add(InsnNode(Opcodes.SWAP)) in <lambda>()
162 add(InsnNode(Opcodes.DUP)) in <lambda>()
168 add(InsnNode(Opcodes.DUP2)) in <lambda>()
175 add(InsnNode(Opcodes.DUP)) in <lambda>()
176 add(InsnNode(Opcodes.I2L)) in <lambda>()
182 add(InsnNode(Opcodes.DUP)) in <lambda>()
[all …]
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DOldClassInstrumentor.java13 import org.objectweb.asm.tree.InsnNode;
207 instructions.add(new InsnNode(Opcodes.DUP_X1)); // A B [] C [] in interceptInvokeVirtualMethodWithoutInvokeDynamic()
208 instructions.add(new InsnNode(Opcodes.SWAP)); // A B [] [] C in interceptInvokeVirtualMethodWithoutInvokeDynamic()
210 instructions.add(new InsnNode(Opcodes.SWAP)); // A B [] [] 2 C in interceptInvokeVirtualMethodWithoutInvokeDynamic()
212 instructions.add(new InsnNode(Opcodes.AASTORE)); // A B [(C)] in interceptInvokeVirtualMethodWithoutInvokeDynamic()
214 instructions.add(new InsnNode(Opcodes.DUP_X2)); // A B [] _C_ [] in interceptInvokeVirtualMethodWithoutInvokeDynamic()
215 instructions.add(new InsnNode(Opcodes.DUP_X2)); // A B [] [] _C_ [] in interceptInvokeVirtualMethodWithoutInvokeDynamic()
216 instructions.add(new InsnNode(Opcodes.POP)); // A B [] [] _C_ in interceptInvokeVirtualMethodWithoutInvokeDynamic()
219 instructions.add(new InsnNode(Opcodes.SWAP)); // A B [] [] 2 (C) in interceptInvokeVirtualMethodWithoutInvokeDynamic()
220 instructions.add(new InsnNode(Opcodes.AASTORE)); // A B [(C)] in interceptInvokeVirtualMethodWithoutInvokeDynamic()
[all …]
DClassInstrumentor.java24 import org.objectweb.asm.tree.InsnNode;
453 instructions.add(new InsnNode(Opcodes.POP)); in replaceGregorianCalendarBooleanConstructor()
456 instructions.add(new InsnNode(Opcodes.ICONST_0)); in replaceGregorianCalendarBooleanConstructor()
457 instructions.add(new InsnNode(Opcodes.ICONST_0)); in replaceGregorianCalendarBooleanConstructor()
458 instructions.add(new InsnNode(Opcodes.ICONST_0)); in replaceGregorianCalendarBooleanConstructor()
/external/ow2-asm/asm-tree/src/main/java/org/objectweb/asm/tree/
DInsnNode.java38 public class InsnNode extends AbstractInsnNode { class
54 public InsnNode(final int opcode) { in InsnNode() method in InsnNode
71 return new InsnNode(opcode).cloneAnnotations(this); in clone()
DMethodNode.java341 instructions.add(new InsnNode(opcode));
/external/ow2-asm/asm-analysis/src/test/java/org/objectweb/asm/tree/analysis/
DSourceValueTest.java37 import org.objectweb.asm.tree.InsnNode;
57 new SourceValue(1).equals(new SourceValue(1, new InsnNode(Opcodes.NOP))); in testEquals()
70 assertNotEquals(0, new SourceValue(1, new InsnNode(Opcodes.NOP)).hashCode()); in testHashcode()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/
DDuplicateFrameEliminatorTest.java27 import org.objectweb.asm.tree.InsnNode;
71 testInstructionBetweenFrames(new InsnNode(Opcodes.NOP)); in testInsn()
/external/robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/
DClassInstrumentor.java32 import org.objectweb.asm.tree.InsnNode;
420 node -> node instanceof InsnNode && node.getOpcode() == Opcodes.RETURN, in extractInstructionsAfterReturn()
653 instructions.add(new InsnNode(Opcodes.POP)); in replaceGregorianCalendarBooleanConstructor()
656 instructions.add(new InsnNode(Opcodes.ICONST_0)); in replaceGregorianCalendarBooleanConstructor()
657 instructions.add(new InsnNode(Opcodes.ICONST_0)); in replaceGregorianCalendarBooleanConstructor()
658 instructions.add(new InsnNode(Opcodes.ICONST_0)); in replaceGregorianCalendarBooleanConstructor()
/external/desugar/test/java/com/google/devtools/build/android/desugar/
DDefaultMethodClassFixerTest.java46 import org.objectweb.asm.tree.InsnNode;
199 assertThat(instruction).isInstanceOf(InsnNode.class); in checkClinitForDefaultInterfaceMethodWithStaticInitializerTestInterfaceSetOneC()
/external/ow2-asm/asm-commons/src/main/java/org/objectweb/asm/commons/
DJSRInlinerAdapter.java43 import org.objectweb.asm.tree.InsnNode;
385 newInstructions.add(new InsnNode(ACONST_NULL)); in emitInstantiation()
/external/ow2-asm/asm-util/src/main/java/org/objectweb/asm/util/
DCheckFrameAnalyzer.java37 import org.objectweb.asm.tree.InsnNode;
339 return interpreter.newOperation(new InsnNode(Opcodes.ACONST_NULL)); in newFrameValue()
/external/kotlinx.atomicfu/atomicfu-transformer/src/main/kotlin/kotlinx/atomicfu/transformer/
DAtomicFUTransformer.kt831 val arrayLength = InsnNode(ARRAYLENGTH) in fixupInvokeVirtual()
878 val swap = InsnNode(SWAP) in fixupInvokeVirtual()
1173 instructions.insert(newInsn, InsnNode(DUP)) in putJucaAtomicArray()
1323 instructions.insertBefore(astoreTraceFormat, InsnNode(ACONST_NULL)) in transform()
1424 val swap = InsnNode(SWAP) in isAtomicGetFieldOrGetStatic()
1467 val dup = InsnNode(DUP) in initRefVolatile()
/external/desugar/java/com/google/devtools/build/android/desugar/
DLambdaDesugaring.java45 import org.objectweb.asm.tree.InsnNode;
563 instructions.insert(newInsn, new InsnNode(Opcodes.DUP)); in attemptAllocationBeforeArgumentLoads()
DDefaultMethodClassFixer.java37 import org.objectweb.asm.tree.InsnNode;
181 clInitMethodNode.instructions.insert(new InsnNode(Opcodes.RETURN)); in desugarClinitToTriggerInterfaceInitializers()
/external/ow2-asm/asm-tree/src/test/resources/
Dsigtest-4.0.txt247 CLSS public org.objectweb.asm.tree.InsnNode
Dsigtest-5.0.txt268 CLSS public org.objectweb.asm.tree.InsnNode
Dsigtest-6.0.txt285 CLSS public org.objectweb.asm.tree.InsnNode
Dsigtest-6.1.txt330 CLSS public org.objectweb.asm.tree.InsnNode
Dsigtest-7.3.1.txt358 CLSS public org.objectweb.asm.tree.InsnNode
Dsigtest-7.1.txt336 CLSS public org.objectweb.asm.tree.InsnNode
Dsigtest-7.0.txt336 CLSS public org.objectweb.asm.tree.InsnNode

12