Home
last modified time | relevance | path

Searched refs:CounterValue (Results 1 – 13 of 13) sorted by relevance

/external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
DCounterComparator.java17 import org.jacoco.core.analysis.ICounter.CounterValue;
32 CounterValue.TOTALCOUNT);
38 CounterValue.COVEREDCOUNT);
44 CounterValue.MISSEDCOUNT);
50 CounterValue.COVEREDRATIO);
56 CounterValue.MISSEDRATIO);
58 private final CounterValue value;
61 private CounterComparator(final CounterValue value) { in CounterComparator()
65 private CounterComparator(final CounterValue value, final boolean reverse) { in CounterComparator()
DICounter.java23 enum CounterValue { enum
68 double getValue(CounterValue value); in getValue()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/check/
DLimit.java20 import org.jacoco.core.analysis.ICounter.CounterValue;
29 private static final Map<CounterValue, String> VALUE_NAMES;
33 final Map<CounterValue, String> values = new HashMap<CounterValue, String>();
34 values.put(CounterValue.TOTALCOUNT, "total count"); in values.put()
35 values.put(CounterValue.MISSEDCOUNT, "missed count"); in values.put()
36 values.put(CounterValue.COVEREDCOUNT, "covered count"); in values.put()
37 values.put(CounterValue.MISSEDRATIO, "missed ratio"); in values.put()
38 values.put(CounterValue.COVEREDRATIO, "covered ratio"); in values.put()
53 private CounterValue value;
70 this.value = CounterValue.COVEREDRATIO; in Limit()
[all …]
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/check/
DLimitTest.java18 import org.jacoco.core.analysis.ICounter.CounterValue;
41 assertEquals(CounterValue.COVEREDRATIO, limit.getValue()); in testDefaults()
46 limit.setValue(CounterValue.TOTALCOUNT.name()); in testTotalCount()
48 assertEquals(CounterValue.TOTALCOUNT, limit.getValue()); in testTotalCount()
56 limit.setValue(CounterValue.MISSEDCOUNT.name()); in testMissedCount()
58 assertEquals(CounterValue.MISSEDCOUNT, limit.getValue()); in testMissedCount()
66 limit.setValue(CounterValue.COVEREDCOUNT.name()); in testCoveredCount()
68 assertEquals(CounterValue.COVEREDCOUNT, limit.getValue()); in testCoveredCount()
76 limit.setValue(CounterValue.MISSEDRATIO.name()); in testMissedRatio()
78 assertEquals(CounterValue.MISSEDRATIO, limit.getValue()); in testMissedRatio()
[all …]
DRulesCheckerTest.java21 import org.jacoco.core.analysis.ICounter.CounterValue;
49 limit.setValue(CounterValue.MISSEDCOUNT.name()); in testSetRules()
63 limit.setValue(CounterValue.MISSEDCOUNT.name()); in testSetLanguageNames()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DCounterImplTest.java20 import org.jacoco.core.analysis.ICounter.CounterValue;
32 assertEquals(0.0, c.getValue(CounterValue.TOTALCOUNT), 0.0); in testGetInstance1()
34 assertEquals(0.0, c.getValue(CounterValue.MISSEDCOUNT), 0.0); in testGetInstance1()
36 assertEquals(0.0, c.getValue(CounterValue.COVEREDCOUNT), 0.0); in testGetInstance1()
43 assertEquals(48.0, c.getValue(CounterValue.TOTALCOUNT), 0.0); in testGetInstance2()
45 assertEquals(33.0, c.getValue(CounterValue.MISSEDCOUNT), 0.0); in testGetInstance2()
47 assertEquals(15.0, c.getValue(CounterValue.COVEREDCOUNT), 0.0); in testGetInstance2()
55 assertEquals(27.0, c.getValue(CounterValue.TOTALCOUNT), 0.0); in testGetInstance3()
57 assertEquals(15.0, c.getValue(CounterValue.MISSEDCOUNT), 0.0); in testGetInstance3()
59 assertEquals(12.0, c.getValue(CounterValue.COVEREDCOUNT), 0.0); in testGetInstance3()
[all …]
/external/llvm-project/compiler-rt/lib/profile/
DInstrProfiling.h137 uint64_t CounterValue);
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/
DCounterImpl.java150 public double getValue(final CounterValue value) { in getValue()
/external/clang/include/clang/Lex/
DPreprocessor.h145 unsigned CounterValue; // Next __COUNTER__ value. variable
1618 unsigned getCounterValue() const { return CounterValue; } in getCounterValue()
1619 void setCounterValue(unsigned V) { CounterValue = V; } in setCounterValue()
/external/llvm-project/clang/include/clang/Lex/
DPreprocessor.h188 unsigned CounterValue = 0; variable
1983 unsigned getCounterValue() const { return CounterValue; } in getCounterValue()
1984 void setCounterValue(unsigned V) { CounterValue = V; } in setCounterValue()
/external/clang/lib/Lex/
DPreprocessor.cpp84 CounterValue = 0; // __COUNTER__ starts at 0. in Preprocessor()
DPPMacroExpansion.cpp1669 OS << CounterValue++; in ExpandBuiltinMacro()
/external/llvm-project/clang/lib/Lex/
DPPMacroExpansion.cpp1610 OS << CounterValue++; in ExpandBuiltinMacro()