Home
last modified time | relevance | path

Searched refs:coverage (Results 1 – 25 of 666) sorted by relevance

12345678910>>...27

/external/strace/m4/
Dax_code_coverage.m415 # coverage support. Also defines CODE_COVERAGE_RULES which should be
19 # --enable-code-coverage option, which defaults to being disabled.
25 # coverage is enabled.
41 # This results in a "check-code-coverage" rule being added to any
43 # has been configured with --enable-code-coverage). Running `make
44 # check-code-coverage` in that directory will run the module's test suite
45 # (`make check`) and build a code coverage report detailing the code which
76 dnl Check for --enable-code-coverage
81 [AS_HELP_STRING([--with-gcov[=GCOV]], [use given GCOV for coverage (GCOV=gcov).])],
85 AC_MSG_CHECKING([whether to build with code coverage support])
[all …]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/
DClassAnalyzer.java25 private final ClassCoverageImpl coverage; field in ClassAnalyzer
39 public ClassAnalyzer(final ClassCoverageImpl coverage, in ClassAnalyzer() argument
41 this.coverage = coverage; in ClassAnalyzer()
50 coverage.setSignature(stringPool.get(signature)); in visit()
51 coverage.setSuperName(stringPool.get(superName)); in visit()
52 coverage.setInterfaces(stringPool.get(interfaces)); in visit()
57 coverage.setSourceFileName(stringPool.get(source)); in visitSource()
64 InstrSupport.assertNotInstrumented(name, coverage.getName()); in visitMethod()
66 return new MethodAnalyzer(coverage.getName(), coverage.getSuperName(), in visitMethod()
75 coverage.addMethod(methodCoverage); in visitMethod()
[all …]
/external/skia/src/core/
DSkBlitter_RGB565.cpp17 static void D16_S32X_src(uint16_t dst[], const SkPMColor src[], int count, uint8_t coverage) { in D16_S32X_src() argument
18 SkASSERT(coverage == 0xFF); in D16_S32X_src()
25 uint8_t coverage) { in D16_S32X_src_coverage() argument
26 switch (coverage) { in D16_S32X_src_coverage()
34 unsigned scale = coverage + (coverage >> 7); in D16_S32X_src_coverage()
42 static void D16_S32A_srcover(uint16_t dst[], const SkPMColor src[], int count, uint8_t coverage) { in D16_S32A_srcover() argument
43 SkASSERT(coverage == 0xFF); in D16_S32A_srcover()
50 uint8_t coverage) { in D16_S32A_srcover_coverage() argument
51 switch (coverage) { in D16_S32A_srcover_coverage()
59 unsigned scale = coverage + (coverage >> 7); in D16_S32A_srcover_coverage()
[all …]
/external/clang/docs/
DSanitizerCoverage.rst11 Sanitizer tools have a very simple code coverage tool built in. It allows to
12 get function-level, basic-block-level, and edge-level coverage at a very low
23 * ``-fsanitize-coverage=func`` for function-level coverage (very fast).
24 * ``-fsanitize-coverage=bb`` for basic-block-level coverage (may add up to 30%
26 * ``-fsanitize-coverage=edge`` for edge-level coverage (up to 40% slowdown).
28 You may also specify ``-fsanitize-coverage=indirect-calls`` for
29 additional `caller-callee coverage`_.
31 At run time, pass ``coverage=1`` in ``ASAN_OPTIONS``,
33 appropriate. For the standalone coverage mode, use ``UBSAN_OPTIONS``.
35 To get `Coverage counters`_, add ``-fsanitize-coverage=8bit-counters``
[all …]
DSourceBasedCodeCoverage.rst11 This document explains how to use clang's source-based code coverage feature.
13 information directly. This allows it to generate very precise coverage data.
15 Clang ships two other code coverage implementations:
18 various sanitizers. It can provide up to edge-level coverage.
20 * gcov - A GCC-compatible coverage implementation which operates on DebugInfo.
22 From this point onwards "code coverage" will refer to the source-based kind.
24 The code coverage workflow
27 The code coverage workflow consists of three main steps:
29 * Compiling with coverage enabled.
33 * Creating coverage reports.
[all …]
/external/jacoco/org.jacoco.cli/src/org/jacoco/cli/internal/commands/
DClassInfo.java45 public void visitCoverage(final IClassCoverage coverage) { in execute()
46 print(coverage, out); in execute()
56 private void print(final IClassCoverage coverage, final PrintWriter out) { in print() argument
57 out.printf("class name: %s%n", coverage.getName()); in print()
58 out.printf("class id: %016x%n", Long.valueOf(coverage.getId())); in print()
60 .valueOf(coverage.getInstructionCounter().getTotalCount())); in print()
62 Integer.valueOf(coverage.getBranchCounter().getTotalCount())); in print()
64 Integer.valueOf(coverage.getLineCounter().getTotalCount())); in print()
66 Integer.valueOf(coverage.getMethodCounter().getTotalCount())); in print()
68 .valueOf(coverage.getComplexityCounter().getTotalCount())); in print()
/external/emma/core/res/
Demma_default.properties7 # -Dreport.txt.out.file=coverage.txt
16 # -Demma.report.txt.out.file=coverage.txt
44 session.out.file: coverage.es
49 # runtime coverage data output properties:
51 coverage.out.file: /sdcard/coverage.ec
52 coverage.out.merge: true
58 metadata.out.file: coverage.em
76 report.txt.out.file: coverage.txt
81 #report.html.out.dir: coverage
82 report.html.out.file: coverage/index.html
[all …]
/external/llvm/utils/lit/utils/
Dcheck-coverage32 rm -f tests/.coverage
33 find tests -name .coverage.\* -exec rm {} \;
36 lit -sv --param check-coverage=1 "$@"
39 find tests/* -name .coverage.\* -exec mv {} tests \;
42 (cd tests && python -m coverage combine)
45 (cd tests && python -m coverage report)
49 (cd tests && python -m coverage html)
/external/llvm/test/Instrumentation/SanitizerCoverage/
Dcoverage.ll1 ; RUN: opt < %s -sancov -sanitizer-coverage-level=0 -S | FileCheck %s --check-prefix=CHECK0
2 ; RUN: opt < %s -sancov -sanitizer-coverage-level=1 -S | FileCheck %s --check-prefix=CHECK1
3 ; RUN: opt < %s -sancov -sanitizer-coverage-level=2 -S | FileCheck %s --check-prefix=CHECK2
4 ; RUN: opt < %s -sancov -sanitizer-coverage-level=2 -sanitizer-coverage-block-threshold=10 -S | Fil…
5 ; RUN: opt < %s -sancov -sanitizer-coverage-level=2 -sanitizer-coverage-block-threshold=0 -S | Fil…
6 ; RUN: opt < %s -sancov -sanitizer-coverage-level=2 -sanitizer-coverage-block-threshold=1 -S | Fil…
7 ; RUN: opt < %s -sancov -sanitizer-coverage-level=3 -sanitizer-coverage-block-threshold=10 -S | Fil…
8 ; RUN: opt < %s -sancov -sanitizer-coverage-level=4 -S | FileCheck %s --check-prefix=CHECK4
9 ; RUN: opt < %s -sancov -sanitizer-coverage-level=4 -sanitizer-coverage-trace-pc -S | FileCheck %s…
10 ; RUN: opt < %s -sancov -sanitizer-coverage-level=3 -sanitizer-coverage-8bit-counters=1 -S | FileC…
[all …]
/external/emma/core/java12/com/vladium/emma/data/
DCoverageData.java71 public void addClass (final boolean [][] coverage, final String classVMName, final long stamp) in addClass() argument
73 m_coverageMap.put (classVMName, new DataHolder (coverage, stamp)); in addClass()
117 final boolean [][] coverage = data.m_coverage; in merge()
121 …if ($assert.ENABLED) $assert.ASSERT (coverage.length == rhscoverage.length, "coverage.length [" + in merge()
122 for (int m = 0, mLimit = coverage.length; m < mLimit; ++ m) in merge()
125 final boolean [] mcoverage = coverage [m]; in merge()
175 final boolean [][] coverage = new boolean [length][]; in readExternal()
178 coverage [c] = DataFactory.readBooleanArray (in); in readExternal()
181 coverageMap.put (classVMName, new DataHolder (coverage, stamp)); in readExternal()
203 final boolean [][] coverage = data.m_coverage; in writeExternal()
[all …]
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/
Dreport.css138 table.coverage {
143 table.coverage thead {
147 table.coverage thead td {
153 table.coverage thead td.bar {
157 table.coverage thead td.ctr1 {
162 table.coverage thead td.ctr2 {
167 table.coverage thead td.sortable {
174 table.coverage thead td.up {
178 table.coverage thead td.down {
182 table.coverage tbody td {
[all …]
/external/jacoco/org.jacoco.examples/src/org/jacoco/examples/
DClassInfo.java57 public void visitCoverage(final IClassCoverage coverage) { in visitCoverage() argument
58 out.printf("class name: %s%n", coverage.getName()); in visitCoverage()
59 out.printf("class id: %016x%n", Long.valueOf(coverage.getId())); in visitCoverage()
60 out.printf("instructions: %s%n", Integer.valueOf(coverage in visitCoverage()
63 Integer.valueOf(coverage.getBranchCounter().getTotalCount())); in visitCoverage()
65 Integer.valueOf(coverage.getLineCounter().getTotalCount())); in visitCoverage()
67 Integer.valueOf(coverage.getMethodCounter().getTotalCount())); in visitCoverage()
68 out.printf("complexity: %s%n%n", Integer.valueOf(coverage in visitCoverage()
/external/llvm/docs/CommandGuide/
Dllvm-cov.rst1 llvm-cov - emit coverage information
12 The :program:`llvm-cov` tool shows code coverage information for
14 work with ``gcov``\-style coverage or with ``clang``\'s instrumentation
43 The :program:`llvm-cov gcov` tool reads code coverage data files and displays
44 the coverage information for a specified source file. It is compatible with the
49 of your application that collects coverage data as it runs. Compile with the
50 ``-fprofile-arcs`` and ``-ftest-coverage`` options to add the
51 instrumentation. (Alternatively, you can use the ``--coverage`` option, which
54 coverage data cannot be accurately mapped back to the source code.
58 coverage data. The other half of the data comes from ``.gcda`` files that are
[all …]
/external/compiler-rt/lib/asan/
Dasan_activation.cc29 bool coverage; member
55 cf.coverage = coverage; in OverrideFromActivationFlags()
74 coverage = cf.coverage; in OverrideFromActivationFlags()
86 allocator_options.may_return_null, coverage, coverage_dir); in Print()
100 asan_deactivated_flags.coverage = common_flags()->coverage; in AsanDeactivate()
129 ReInitializeCoverage(asan_deactivated_flags.coverage, in AsanActivate()
/external/nanopb-c/tests/
DMakefile7 coverage: target
8 rm -rf build coverage
17 mkdir build/coverage
18 lcov --base-directory . --directory build/ --gcov-tool gcov-4.6 -c -o build/coverage/nanopb.info
21 genhtml -o build/coverage build/coverage/nanopb.info
/external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
DCoverageBuilder.java100 public void visitCoverage(final IClassCoverage coverage) { in visitCoverage() argument
102 if (coverage.getInstructionCounter().getTotalCount() > 0) { in visitCoverage()
103 final String name = coverage.getName(); in visitCoverage()
104 final IClassCoverage dup = classes.put(name, coverage); in visitCoverage()
106 if (dup.getId() != coverage.getId()) { in visitCoverage()
112 final String source = coverage.getSourceFileName(); in visitCoverage()
115 source, coverage.getPackageName()); in visitCoverage()
116 sourceFile.increment(coverage); in visitCoverage()
/external/llvm/test/Transforms/SampleProfile/
Dinline-coverage.ll1 …profile-file=%S/Inputs/inline-coverage.prof -sample-profile-check-record-coverage=100 -sample-prof…
2 …profile-file=%S/Inputs/inline-coverage.prof -sample-profile-check-record-coverage=100 -sample-prof…
19 ; CHECK: remark: coverage.cc:10:12: inlined hot callee '_Z3fool' with 172746 samples into 'main'
20 ; CHECK: remark: coverage.cc:9:21: Applied 23478 samples from profile (offset: 2.1)
21 ; CHECK: remark: coverage.cc:10:16: Applied 23478 samples from profile (offset: 3)
22 ; CHECK: remark: coverage.cc:4:10: Applied 31878 samples from profile (offset: 1)
23 ; CHECK: remark: coverage.cc:11:10: Applied 0 samples from profile (offset: 4)
24 ; CHECK: remark: coverage.cc:10:16: most popular destination for conditional branches at coverage.c…
28 ; CHECK: warning: coverage.cc:7: 4 of 5 available profile records (80%) were applied
30 ; Since the unused sample record contributes no samples, sample coverage should
[all …]
Dcoverage-warning.ll1 …le-profile-file=%S/Inputs/coverage-warning.prof -sample-profile-check-record-coverage=90 -sample-p…
2 …le-profile-file=%S/Inputs/coverage-warning.prof -sample-profile-check-record-coverage=90 -sample-p…
7 ; CHECK: warning: coverage-warning.c:1: 2 of 3 available profile records (66%) were applied
8 ; CHECK: warning: coverage-warning.c:1: 29000 of 30700 available profile samples (94%) were applied
35 !1 = !DIFile(filename: "coverage-warning.c", directory: ".")
/external/pcre/dist2/
DMakefile.am708 COVERAGE_OUTPUT_FILE = $(COVERAGE_NAME)-coverage.info
709 COVERAGE_OUTPUT_DIR = $(COVERAGE_NAME)-coverage
717 coverage-check: all
720 coverage-baseline:
727 coverage-report:
753 coverage-reset:
756 coverage-clean-report:
760 coverage-clean-data:
763 coverage-clean: coverage-reset coverage-clean-report coverage-clean-data
766 coverage-distclean: coverage-clean
[all …]
/external/llvm/tools/llvm-cov/
DCoverageFilters.cpp20 bool NameCoverageFilter::matches(const coverage::FunctionRecord &Function) { in matches()
26 NameRegexCoverageFilter::matches(const coverage::FunctionRecord &Function) { in matches()
30 bool RegionCoverageFilter::matches(const coverage::FunctionRecord &Function) { in matches()
35 bool LineCoverageFilter::matches(const coverage::FunctionRecord &Function) { in matches()
44 bool CoverageFilters::matches(const coverage::FunctionRecord &Function) { in matches()
53 CoverageFiltersMatchAll::matches(const coverage::FunctionRecord &Function) { in matches()
DCoverageFilters.h29 virtual bool matches(const coverage::FunctionRecord &Function) { in matches()
41 bool matches(const coverage::FunctionRecord &Function) override;
51 bool matches(const coverage::FunctionRecord &Function) override;
87 bool matches(const coverage::FunctionRecord &Function) override;
98 bool matches(const coverage::FunctionRecord &Function) override;
114 bool matches(const coverage::FunctionRecord &Function) override;
122 bool matches(const coverage::FunctionRecord &Function) override;
/external/harfbuzz_ng/src/
Dhb-ot-layout-gsub-table.hh44 for (iter.init (this+coverage); iter.more (); iter.next ()) in closure()
58 for (iter.init (this+coverage); iter.more (); iter.next ()) in collect_glyphs()
70 return this+coverage; in get_coverage()
76 return_trace (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED); in would_apply()
83 unsigned int index = (this+coverage).get_coverage (glyph_id); in apply()
101 …if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return_trace (fals… in serialize()
109 return_trace (coverage.sanitize (c, this) && deltaGlyphID.sanitize (c)); in sanitize()
115 coverage; /* Offset to Coverage table--from member
130 for (iter.init (this+coverage); iter.more (); iter.next ()) in closure()
144 for (iter.init (this+coverage); iter.more (); iter.next ()) in collect_glyphs()
[all …]
/external/skia/src/gpu/
DGrXferProcessor.cpp18 GrProcessorAnalysisCoverage coverage) in GrXferProcessor() argument
21 , fIsLCD(GrProcessorAnalysisCoverage::kLCD == coverage) {} in GrXferProcessor()
159 const GrProcessorAnalysisCoverage& coverage, in GetAnalysisProperties() argument
163 result = factory->analysisProperties(color, coverage, caps); in GetAnalysisProperties()
165 result = GrPorterDuffXPFactory::SrcOverAnalysisProperties(color, coverage, caps); in GetAnalysisProperties()
180 GrProcessorAnalysisCoverage coverage, in MakeXferProcessor() argument
185 return factory->makeXferProcessor(color, coverage, hasMixedSamples, caps); in MakeXferProcessor()
187 return GrPorterDuffXPFactory::MakeSrcOverXferProcessor(color, coverage, hasMixedSamples, in MakeXferProcessor()
DGrDefaultGeoProcFactory.cpp42 uint8_t coverage) { in Make() argument
44 gpTypeFlags, color, std::move(colorSpaceXform), viewMatrix, localMatrix, coverage, in Make()
59 uint8_t coverage() const { return fCoverage; } in coverage() function in DefaultGeoProc
167 } else if (gp.coverage() == 0xff) { in onEmitCode()
185 key |= (def.coverage() == 0xff) ? 0x10 : 0; in GenKey()
213 if (dgp.coverage() != fCoverage && !dgp.hasVertexCoverage()) { in setData()
214 pdman.set1f(fCoverageUniform, GrNormalizeByteToFloat(dgp.coverage())); in setData()
215 fCoverage = dgp.coverage(); in setData()
250 uint8_t coverage, in DefaultGeoProc() argument
255 , fCoverage(coverage) in DefaultGeoProc()
[all …]
/external/jacoco/org.jacoco.doc/docroot/doc/resources/
Ddoc.css149 table.coverage {
154 table.coverage thead {
158 table.coverage thead td {
164 table.coverage thead td.ctr1 {
170 table.coverage thead td.ctr2 {
175 table.coverage tbody td {
181 table.coverage tbody tr:hover {
185 table.coverage tbody td.ctr1 {
191 table.coverage tbody td.ctr2 {
196 table.coverage tfoot td {
[all …]

12345678910>>...27