Home
last modified time | relevance | path

Searched refs:instrumenter (Results 1 – 10 of 10) sorted by relevance

/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/instr/
DInstrumenterTest.java70 private Instrumenter instrumenter; field in InstrumenterTest
75 instrumenter = new Instrumenter(runtime); in setup()
86 byte[] bytes = instrumenter.instrument( in testInstrumentClass()
100 instrumenter.instrument(brokenclass, "Broken"); in testInstrumentBrokenClass1()
114 instrumenter.instrument(new ByteArrayInputStream(brokenclass), in testInstrumentBrokenClass2()
126 byte[] bytes = instrumenter.instrument( in testSerialization()
148 int count = instrumenter.instrumentAll(in, out, "Test"); in testInstrumentAll_Class()
162 int count = instrumenter.instrumentAll( in testInstrumentAll_Zip()
184 instrumenter.instrumentAll( in testInstrumentAll_BrokenClassFileInZip()
211 int count = instrumenter.instrumentAll(new ByteArrayInputStream( in testInstrumentAll_Pack200()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/
DClassInstrumenterTest.java27 private ClassInstrumenter instrumenter; field in ClassInstrumenterTest
31 instrumenter = new ClassInstrumenter(this, new ClassVisitor( in setup()
38 instrumenter.visitField(InstrSupport.DATAFIELD_ACC, in testInstrumentInstrumentedClass1()
45 instrumenter.visitMethod(InstrSupport.INITMETHOD_ACC, in testInstrumentInstrumentedClass2()
52 instrumenter = new ClassInstrumenter(this, new ClassVisitor( in testNoMethodVisitor()
60 assertNull(instrumenter.visitMethod(0, "foo", "()V", null, null)); in testNoMethodVisitor()
DMethodInstrumenterTest.java30 private MethodInstrumenter instrumenter; field in MethodInstrumenterTest
49 instrumenter = new MethodInstrumenter(actual.getVisitor(), in setup()
64 instrumenter.visitProbe(33); in testVisitProbe()
73 instrumenter.visitInsnWithProbe(Opcodes.RETURN, 3); in testVisitInsnWithProbe()
84 instrumenter.visitJumpInsnWithProbe(Opcodes.GOTO, label, 3, frame); in testVisitJumpInsnWithProbe_GOTO()
179 instrumenter.visitJumpInsnWithProbe(opcodeOrig, label, 3, frame); in testVisitJumpInsnWithProbe()
198 instrumenter.visitTableSwitchInsnWithProbes(3, 5, L0, new Label[] { L1, in testVisitTableSwitchInsnWithProbes()
222 instrumenter.visitLookupSwitchInsnWithProbes(L0, in testVisitLookupSwitchInsnWithProbes()
/external/jacoco/org.jacoco.ant/src/org/jacoco/ant/
DInstrumentTask.java79 final Instrumenter instrumenter = new Instrumenter( in execute() local
81 instrumenter.setRemoveSignatures(removesignatures); in execute()
88 total += instrument(instrumenter, resource); in execute()
94 private int instrument(final Instrumenter instrumenter, in instrument() argument
104 return instrumenter.instrumentAll(input, output, in instrument()
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/
DCoverageTransformer.java36 private final Instrumenter instrumenter; field in CoverageTransformer
62 this.instrumenter = new Instrumenter(runtime); in CoverageTransformer()
93 return instrumenter.instrument(classfileBuffer, classname); in transform()
/external/caliper/
DAndroid.mk35 caliper-java-allocation-instrumenter-host \
129 …caliper-java-allocation-instrumenter-host:lib/java-allocation-instrumenter-2.0$(COMMON_JAVA_PACKAG…
/external/jacoco/jacoco-maven-plugin/src/org/jacoco/maven/
DInstrumentMojo.java72 final Instrumenter instrumenter = new Instrumenter( in executeMojo() local
84 instrumenter.instrument(input, output, source.getPath()); in executeMojo()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/
DClassFileVersionsTest.java90 Instrumenter instrumenter = new Instrumenter(runtime); in testVersion() local
91 byte[] instrumented = instrumenter.instrument(original, "TestTarget"); in testVersion()
DFramesTest.java81 Instrumenter instrumenter = new Instrumenter(runtime);
83 byte[] actual = instrumenter.instrument(source, "TestTarget");
DStructuredLockingTest.java62 Instrumenter instrumenter = new Instrumenter(runtime); in assertStructuredLocking() local
63 byte[] instrumented = instrumenter.instrument(source, "TestTarget"); in assertStructuredLocking()