Home
last modified time | relevance | path

Searched refs:getCounter (Results 1 – 25 of 49) sorted by relevance

12

/external/llvm-project/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp260 addCMR(Counter::getCounter(0), "foo", 1, 1, 1, 1); in TEST_P()
261 addCMR(Counter::getCounter(1), "foo", 2, 1, 2, 2); in TEST_P()
263 addCMR(Counter::getCounter(2), "foo", 4, 1, 4, 8); in TEST_P()
264 addCMR(Counter::getCounter(3), "bar", 1, 2, 3, 4); in TEST_P()
291 addCMR(Counter::getCounter(0), FileNames[I], I, 1, I, 1); in TEST_P()
320 addCMR(Counter::getCounter(0), FileNames[I], I, 1, I, 1); in TEST_P()
334 addCMR(Counter::getCounter(0), "foo", 1, 1, 5, 5); in TEST_P()
343 addCMR(Counter::getCounter(0), "foo", 1, 1, 5, 5); in TEST_P()
346 addCMR(Counter::getCounter(0), "bar", 2, 2, 6, 6); in TEST_P()
373 addCMR(Counter::getCounter(0), "file1", 1, 1, 2, 2); in TEST_P()
[all …]
/external/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp219 addCMR(Counter::getCounter(0), "foo", 1, 1, 1, 1); in TEST_P()
220 addCMR(Counter::getCounter(1), "foo", 2, 1, 2, 2); in TEST_P()
222 addCMR(Counter::getCounter(2), "foo", 4, 1, 4, 8); in TEST_P()
223 addCMR(Counter::getCounter(3), "bar", 1, 2, 3, 4); in TEST_P()
251 addCMR(Counter::getCounter(0), FileNames[I], I, 1, I, 1); in TEST_P()
279 addCMR(Counter::getCounter(0), FileNames[I], I, 1, I, 1); in TEST_P()
297 addCMR(Counter::getCounter(0), "foo", 1, 1, 5, 5); in TEST_P()
300 addCMR(Counter::getCounter(0), "bar", 2, 2, 6, 6); in TEST_P()
323 addCMR(Counter::getCounter(1), "foo", 10, 1, 10, 2); in TEST_P()
325 addCMR(Counter::getCounter(2), "foo", 1, 1, 20, 1); in TEST_P()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/analysis/
DCoverageNodeImplTest.java67 parent.getCounter(INSTRUCTION)); in testIncrement()
70 assertEquals(CounterImpl.getInstance(10, 15), parent.getCounter(BRANCH)); in testIncrement()
72 assertEquals(CounterImpl.getInstance(5, 3), parent.getCounter(LINE)); in testIncrement()
75 parent.getCounter(COMPLEXITY)); in testIncrement()
78 assertEquals(CounterImpl.getInstance(1, 21), parent.getCounter(METHOD)); in testIncrement()
80 assertEquals(CounterImpl.getInstance(1, 11), parent.getCounter(CLASS)); in testIncrement()
/external/clang/lib/CodeGen/
DCoverageMappingGen.cpp52 const Counter &getCounter() const { return Count; } in getCounter() function in __anon89523c590111::SourceMappingRegion
279 Region.getCounter(), *CovFileID, LineStart, ColumnStart, LineEnd, in emitSourceRegions()
396 return Counter::getCounter(CounterMap[S]); in getRegionCounter()
431 SourceRegions.emplace_back(Region.getCounter(), NestedLoc, EndLoc); in popRegions()
463 Counter ExitCount = getRegion().getCounter(); in propagateCounts()
534 ParentCounter = I.getCounter(); in handleFileExit()
543 SourceRegions.emplace_back(I.getCounter(), Loc, in handleFileExit()
653 BreakContinueStack.back().BreakCount, getRegion().getCounter()); in VisitBreakStmt()
660 BreakContinueStack.back().ContinueCount, getRegion().getCounter()); in VisitContinueStmt()
667 Counter ParentCount = getRegion().getCounter(); in VisitWhileStmt()
[all …]
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/
DBarColumn.java67 final int count = item.getNode().getCounter(entity).getTotalCount(); in init()
78 final ICounter counter = total.getCounter(entity); in footer()
88 final ICounter counter = item.getNode().getCounter(entity); in item()
DCounterColumn.java123 if (i.getNode().getCounter(entity).getTotalCount() > 0) {
144 final int value = getValue(node.getCounter(entity));
DPercentageColumn.java78 final ICounter counter = node.getCounter(entity); in cell()
/external/llvm-project/clang/lib/CodeGen/
DCoverageMappingGen.cpp117 const Counter &getCounter() const { return Count; } in getCounter() function in __anon8ce2bf070211::SourceMappingRegion
426 Region.getCounter(), *CovFileID, SR.LineStart, SR.ColumnStart, in emitSourceRegions()
430 Region.getCounter(), *CovFileID, SR.LineStart, SR.ColumnStart, in emitSourceRegions()
558 return Counter::getCounter(CounterMap[S]); in getRegionCounter()
673 SourceRegions.emplace_back(Region.getCounter(), NestedLoc, EndLoc); in popRegions()
687 SourceRegions.emplace_back(Region.getCounter(), StartLoc, NestedLoc); in popRegions()
751 Counter ExitCount = getRegion().getCounter(); in propagateCounts()
822 ParentCounter = I.getCounter(); in handleFileExit()
831 SourceRegions.emplace_back(I.getCounter(), Loc, in handleFileExit()
866 completeDeferred(Region.getCounter(), StartLoc); in extendRegion()
[all …]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
DNodeComparator.java82 final ICounter c1 = n1.getCounter(entity); in compare()
83 final ICounter c2 = n2.getCounter(entity); in compare()
DICoverageNode.java132 ICounter getCounter(CounterEntity entity); in getCounter() method
DCoverageNodeImpl.java128 public ICounter getCounter(final CounterEntity entity) { in getCounter() method in CoverageNodeImpl
/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h126 static Counter getCounter(unsigned CounterId) { in getCounter() function
604 Counter::getCounter(~0U),
605 Counter::getCounter(~0U));
611 Counter::getCounter(~0U),
612 Counter::getCounter(~0U));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DDHValidationParameters.java18 public int getCounter() in getCounter() method in DHValidationParameters
DDSAValidationParameters.java28 public int getCounter() in getCounter() method in DSAValidationParameters
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h132 static Counter getCounter(unsigned CounterId) { in getCounter() function
806 Counter::getCounter(~0U),
807 Counter::getCounter(~0U));
814 Counter::getCounter(~0U),
815 Counter::getCounter(~0U));
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/params/
DDHValidationParameters.java22 public int getCounter() in getCounter() method in DHValidationParameters
DDSAValidationParameters.java32 public int getCounter() in getCounter() method in DSAValidationParameters
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/params/
DDHValidationParameters.java22 public int getCounter() in getCounter() method in DHValidationParameters
DDSAValidationParameters.java32 public int getCounter() in getCounter() method in DSAValidationParameters
/external/jacoco/org.jacoco.report/src/org/jacoco/report/csv/
DClassRowWriter.java84 final ICounter counter = node.getCounter(entity); in writeRow()
/external/llvm-project/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h134 static Counter getCounter(unsigned CounterId) { in getCounter() function
976 Counter::getCounter(~0U),
977 Counter::getCounter(~0U));
984 Counter::getCounter(~0U),
985 Counter::getCounter(~0U));
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/xml/
DXMLCoverageWriter.java97 final ICounter counter = node.getCounter(counterEntity); in writeCounters()
/external/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp97 C = Counter::getCounter(Term.first); in simplify()
100 Counter::getCounter(Term.first))); in simplify()
109 Counter::getCounter(Term.first))); in simplify()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/check/
DLimit.java166 final double d = node.getCounter(entity).getValue(value); in check()
/external/llvm-project/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp109 C = Counter::getCounter(T.CounterID); in simplify()
112 Counter::getCounter(T.CounterID))); in simplify()
121 Counter::getCounter(T.CounterID))); in simplify()

12