Home
last modified time | relevance | path

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

/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/flow/
DLabelInfoTest.java38 assertFalse(LabelInfo.isMultiTarget(label)); in testDefaults()
39 assertFalse(LabelInfo.isSuccessor(label)); in testDefaults()
40 assertFalse(LabelInfo.isMethodInvocationLine(label)); in testDefaults()
41 assertFalse(LabelInfo.isDone(label)); in testDefaults()
42 assertEquals(LabelInfo.NO_PROBE, LabelInfo.getProbeId(label)); in testDefaults()
43 assertNull(LabelInfo.getIntermediateLabel(label)); in testDefaults()
44 assertNull(LabelInfo.getInstruction(label)); in testDefaults()
50 assertFalse(LabelInfo.isSuccessor(label)); in testOtherInfoObject()
55 LabelInfo.setSuccessor(label); in testSuccessor()
56 assertFalse(LabelInfo.isMultiTarget(label)); in testSuccessor()
[all …]
DMethodProbesAdapterTest.java122 LabelInfo.setTarget(label); in testVisitProbe1()
123 LabelInfo.setSuccessor(label); in testVisitProbe1()
133 LabelInfo.setTarget(label); in testVisitProbe2()
134 LabelInfo.setTarget(label); in testVisitProbe2()
168 LabelInfo.setTarget(label); in testVisitJumpInsn1()
169 LabelInfo.setTarget(label); in testVisitJumpInsn1()
181 LabelInfo.setTarget(label); in testVisitJumpInsn2()
182 LabelInfo.setTarget(label); in testVisitJumpInsn2()
205 LabelInfo.setTarget(label); in testVisitJumpInsn4()
206 LabelInfo.setTarget(label); in testVisitJumpInsn4()
[all …]
DLabelFlowAnalyzerTest.java49 assertFalse(LabelInfo.isMultiTarget(label)); in testFlowScenario01()
50 assertFalse(LabelInfo.isSuccessor(label)); in testFlowScenario01()
56 assertFalse(LabelInfo.isMultiTarget(label)); in testFlowScenario02()
57 assertFalse(LabelInfo.isSuccessor(label)); in testFlowScenario02()
64 assertFalse(LabelInfo.isMultiTarget(label)); in testFlowScenario03()
65 assertFalse(LabelInfo.isSuccessor(label)); in testFlowScenario03()
71 assertFalse(LabelInfo.isMultiTarget(label)); in testFlowScenario04()
72 assertFalse(LabelInfo.isSuccessor(label)); in testFlowScenario04()
79 assertTrue(LabelInfo.isMultiTarget(label)); in testFlowScenario05()
80 assertFalse(LabelInfo.isSuccessor(label)); in testFlowScenario05()
[all …]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/flow/
DLabelInfo.java21 public final class LabelInfo { class
45 private LabelInfo() { in LabelInfo() method in LabelInfo
55 final LabelInfo info = create(label); in setTarget()
71 final LabelInfo info = create(label); in setSuccessor()
90 final LabelInfo info = get(label); in isMultiTarget()
105 final LabelInfo info = get(label); in isSuccessor()
129 final LabelInfo info = get(label); in isMethodInvocationLine()
141 final LabelInfo info = get(label); in needsProbe()
163 final LabelInfo info = get(label); in resetDone()
189 final LabelInfo info = get(label); in isDone()
[all …]
DMethodProbesAdapter.java71 } else if (LabelInfo.needsProbe(start)) { in visitTryCatchBlock()
73 LabelInfo.setSuccessor(probeLabel); in visitTryCatchBlock()
82 if (LabelInfo.needsProbe(label)) { in visitLabel()
111 if (LabelInfo.isMultiTarget(label)) { in visitJumpInsn()
161 LabelInfo.resetDone(labels); in markLabels()
162 if (LabelInfo.isMultiTarget(dflt)) { in markLabels()
163 LabelInfo.setProbeId(dflt, idGenerator.nextId()); in markLabels()
166 LabelInfo.setDone(dflt); in markLabels()
168 if (LabelInfo.isMultiTarget(l) && !LabelInfo.isDone(l)) { in markLabels()
169 LabelInfo.setProbeId(l, idGenerator.nextId()); in markLabels()
[all …]
DLabelFlowAnalyzer.java75 LabelInfo.setTarget(start); in visitTryCatchBlock()
78 LabelInfo.setTarget(handler); in visitTryCatchBlock()
83 LabelInfo.setTarget(label); in visitJumpInsn()
94 LabelInfo.setTarget(label); in visitLabel()
97 LabelInfo.setSuccessor(label); in visitLabel()
119 LabelInfo.resetDone(dflt); in visitSwitchInsn()
120 LabelInfo.resetDone(labels); in visitSwitchInsn()
130 if (!LabelInfo.isDone(label)) { in setTargetIfNotDone()
131 LabelInfo.setTarget(label); in setTargetIfNotDone()
132 LabelInfo.setDone(label); in setTargetIfNotDone()
[all …]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/instr/
DMethodInstrumenter.java15 import org.jacoco.core.internal.flow.LabelInfo;
114 LabelInfo.resetDone(dflt); in visitTableSwitchInsnWithProbes()
115 LabelInfo.resetDone(labels); in visitTableSwitchInsnWithProbes()
128 LabelInfo.resetDone(dflt); in visitLookupSwitchInsnWithProbes()
129 LabelInfo.resetDone(labels); in visitLookupSwitchInsnWithProbes()
148 if (LabelInfo.getProbeId(label) == LabelInfo.NO_PROBE) { in createIntermediate()
151 if (LabelInfo.isDone(label)) { in createIntermediate()
152 intermediate = LabelInfo.getIntermediateLabel(label); in createIntermediate()
155 LabelInfo.setIntermediateLabel(label, intermediate); in createIntermediate()
156 LabelInfo.setDone(label); in createIntermediate()
[all …]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/
DMethodAnalyzer.java22 import org.jacoco.core.internal.flow.LabelInfo;
92 if (!LabelInfo.isSuccessor(label)) { in visitLabel()
117 LabelInfo.setInstruction(currentLabel.get(i), insn); in visitInsn()
192 LabelInfo.resetDone(labels); in visitSwitchInsn()
194 LabelInfo.setDone(dflt); in visitSwitchInsn()
196 if (!LabelInfo.isDone(l)) { in visitSwitchInsn()
198 LabelInfo.setDone(l); in visitSwitchInsn()
242 LabelInfo.resetDone(dflt); in visitSwitchInsnWithProbes()
243 LabelInfo.resetDone(labels); in visitSwitchInsnWithProbes()
251 final int id = LabelInfo.getProbeId(label); in visitSwitchTarget()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/
DMethodInstrumenterTest.java18 import org.jacoco.core.internal.flow.LabelInfo;
196 LabelInfo.setProbeId(L0, 0); in testVisitTableSwitchInsnWithProbes()
197 LabelInfo.setProbeId(L1, 1); in testVisitTableSwitchInsnWithProbes()
220 LabelInfo.setProbeId(L0, 0); in testVisitLookupSwitchInsnWithProbes()
221 LabelInfo.setProbeId(L1, 1); in testVisitLookupSwitchInsnWithProbes()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.pde.api.tools_1.0.202.v20100820_r361.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...