Home
last modified time | relevance | path

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

/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/instr/
DInstrumenterTest.java71 private Instrumenter instrumenter; field in InstrumenterTest
76 instrumenter = new Instrumenter(runtime); in setup()
87 byte[] bytes = instrumenter.instrument( in testInstrumentClass()
104 instrumenter.instrument(brokenclass, "Broken.class"); in testInstrumentBrokenClass1()
126 instrumenter.instrument(new BrokenInputStream(), "BrokenStream"); in testInstrumentBrokenStream()
141 instrumenter.instrument(new BrokenInputStream(), in testInstrumentBrokenStream2()
153 byte[] bytes = instrumenter.instrument( in testSerialization()
175 int count = instrumenter.instrumentAll(in, out, "Test"); in testInstrumentAll_Class()
189 int count = instrumenter.instrumentAll( in testInstrumentAll_Zip()
206 instrumenter.instrumentAll(new BrokenInputStream(), in testInstrumentAll_Broken()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/
DClassInstrumenterTest.java26 private ClassInstrumenter instrumenter; field in ClassInstrumenterTest
30 instrumenter = new ClassInstrumenter(this, new ClassVisitor( in setup()
37 instrumenter.visitField(InstrSupport.DATAFIELD_ACC, in testInstrumentInstrumentedClass1()
44 instrumenter.visitMethod(InstrSupport.INITMETHOD_ACC, in testInstrumentInstrumentedClass2()
51 instrumenter = new ClassInstrumenter(this, new ClassVisitor( in testNoMethodVisitor()
59 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.core.test/src/org/jacoco/core/test/
DInstrumentingLoader.java34 private final Instrumenter instrumenter; field in InstrumentingLoader
43 this.instrumenter = new Instrumenter(runtime); in InstrumentingLoader()
63 instrumented = instrumenter.instrument(bytes, name); in loadClass()
/external/jacoco/org.jacoco.cli/src/org/jacoco/cli/internal/commands/
DInstrument.java42 private Instrumenter instrumenter; field in Instrument
53 instrumenter = new Instrumenter( in execute()
88 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
64 this.instrumenter = new Instrumenter(runtime); in CoverageTransformer()
91 return instrumenter.instrument(classfileBuffer, classname); in transform()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/
DResizeInstructionsTest.java37 private final Instrumenter instrumenter = new Instrumenter(runtime); field in ResizeInstructionsTest
78 final byte[] bytes = instrumenter.instrument(cw.toByteArray(), ""); in should_not_loose_InnerClasses_attribute()
123 final byte[] instrumented = instrumenter.instrument(original, in should_not_require_computation_of_common_superclass()
DClassFileVersionsTest.java96 Instrumenter instrumenter = new Instrumenter(runtime); in testVersion() local
97 byte[] instrumented = instrumenter.instrument(original, "TestTarget"); in testVersion()
DFramesTest.java81 Instrumenter instrumenter = new Instrumenter(runtime);
83 byte[] actual = instrumenter.instrument(source, "TestTarget");
DStructuredLockingTest.java67 Instrumenter instrumenter = new Instrumenter(runtime); in assertStructuredLocking() local
68 byte[] instrumented = instrumenter.instrument(source, "TestTarget"); in assertStructuredLocking()
/external/opencensus-java/contrib/agent/src/main/java/io/opencensus/contrib/agent/
DAgentMain.java85 for (Instrumenter instrumenter : ServiceLoader.load(Instrumenter.class)) { in premain()
86 agentBuilder = instrumenter.instrument(agentBuilder, settings); in premain()
/external/jacoco/jacoco-maven-plugin/src/org/jacoco/maven/
DInstrumentMojo.java71 final Instrumenter instrumenter = new Instrumenter( in executeMojo() local
83 instrumenter.instrument(input, output, source.getPath()); in executeMojo()
/external/jacoco/org.jacoco.core.test/src-java8/org/jacoco/core/test/validation/
DBootstrapMethodReferenceTest.java46 private final Instrumenter instrumenter = new Instrumenter(runtime); field in BootstrapMethodReferenceTest
86 final byte[] instrumented = instrumenter.instrument(original, in test()
/external/caliper/
DAndroid.bp116 "lib/java-allocation-instrumenter-2.0.jar",