| /external/clang/test/Driver/ |
| D | fsanitize-coverage.c | 1 …nux-gnu -fsanitize=address -fsanitize-coverage=0 %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-… 2 …itize=address -fsanitize-coverage=edge -fsanitize-coverage=0 %s -### 2>&1 | FileCheck %s --check-p… 3 …4-linux-gnu -fsanitize=address %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SANITIZE-COVERAGE-0 4 // CHECK-SANITIZE-COVERAGE-0-NOT: fsanitize-coverage-type 5 // CHECK-SANITIZE-COVERAGE-0: -fsanitize=address 7 …x-gnu -fsanitize=address -fsanitize-coverage=func %s -### 2>&1 | FileCheck %s --check-prefix=CHECK… 8 …ux-gnu -fsanitize=memory -fsanitize-coverage=func %s -### 2>&1 | FileCheck %s --check-prefix=CHECK… 9 …inux-gnu -fsanitize=leak -fsanitize-coverage=func %s -### 2>&1 | FileCheck %s --check-prefix=CHECK… 10 …gnu -fsanitize=undefined -fsanitize-coverage=func %s -### 2>&1 | FileCheck %s --check-prefix=CHECK… 11 …inux-gnu -fsanitize=bool -fsanitize-coverage=func %s -### 2>&1 | FileCheck %s --check-prefix=CHECK… [all …]
|
| /external/compiler-rt/test/asan/TestCases/Android/ |
| D | coverage-android.cc | 1 // Test for direct coverage writing with dlopen. 3 // Test normal exit, coverage level 1. 4 // RUN: %clangxx_asan -fsanitize-coverage=func -DSHARED %s -shared -o %T/libcoverage_android_test_1… 5 // RUN: %clangxx_asan -fsanitize-coverage=func -DSO_DIR=\"%device\" %s -o %t 7 // RUN: adb shell rm -rf %device/coverage-android 8 // RUN: rm -rf %T/coverage-android 10 // RUN: adb shell mkdir -p %device/coverage-android/direct 11 // RUN: mkdir -p %T/coverage-android/direct 12 // RUN: %env_asan_opts=coverage=1:coverage_direct=1:coverage_dir=%device/coverage-android/direct:ve… 13 // RUN: adb pull %device/coverage-android/direct %T/coverage-android/direct [all …]
|
| /external/compiler-rt/test/asan/TestCases/Posix/ |
| D | coverage-direct.cc | 1 // Test for direct coverage writing with dlopen at coverage level 1 to 3. 3 // RUN: %clangxx_asan -fsanitize-coverage=func -DSHARED %s -shared -o %dynamiclib -fPIC 4 // RUN: %clangxx_asan -fsanitize-coverage=func %s %libdl -o %t 6 // RUN: rm -rf %T/coverage-direct 8 // RUN: mkdir -p %T/coverage-direct/normal 9 // RUN: %env_asan_opts=coverage=1:coverage_direct=0:coverage_dir=%T/coverage-direct/normal:verbosit… 10 // RUN: %sancov print %T/coverage-direct/normal/*.sancov >%T/coverage-direct/normal/out.txt 12 // RUN: mkdir -p %T/coverage-direct/direct 13 // RUN: %env_asan_opts=coverage=1:coverage_direct=1:coverage_dir=%T/coverage-direct/direct:verbosit… 14 // RUN: cd %T/coverage-direct/direct [all …]
|
| D | coverage-direct-activation.cc | 1 // Test for direct coverage writing enabled at activation time. 3 // RUN: %clangxx_asan -fsanitize-coverage=func -DSHARED %s -shared -o %dynamiclib -fPIC 5 // RUN: %clangxx_asan -fsanitize-coverage=func %t.o %libdl -o %t 7 // RUN: rm -rf %T/coverage-direct-activation 9 // RUN: mkdir -p %T/coverage-direct-activation/normal 10 // RUN: %env_asan_opts=coverage=1,coverage_direct=0,coverage_dir=%T/coverage-direct-activation/norm… 11 // RUN: %sancov print %T/coverage-direct-activation/normal/*.sancov >%T/coverage-direct-activation/… 13 // RUN: mkdir -p %T/coverage-direct-activation/direct 15 // RUN: ASAN_ACTIVATION_OPTIONS=coverage=1,coverage_dir=%T/coverage-direct-activation/direct %run… 16 // RUN: cd %T/coverage-direct-activation/direct [all …]
|
| D | coverage.cc | 1 // RUN: %clangxx_asan -fsanitize-coverage=func -DSHARED %s -shared -o %dynamiclib -fPIC %ld_flags_r… 2 // RUN: %clangxx_asan -fsanitize-coverage=func %s %ld_flags_rpath_exe -o %t 3 // RUN: rm -rf %T/coverage && mkdir -p %T/coverage && cd %T/coverage 4 // RUN: %env_asan_opts=coverage=1:verbosity=1 %run %t 2>&1 | FileCheck %s --check-prefix=CH… 5 // RUN: %sancov print `ls coverage.*sancov | grep -v '.so'` 2>&1 | FileCheck %s --check-prefix=CHEC… 6 // RUN: %env_asan_opts=coverage=1:verbosity=1 %run %t foo 2>&1 | FileCheck %s --check-prefix=CH… 7 // RUN: %sancov print `ls coverage.*sancov | grep -v '.so'` 2>&1 | FileCheck %s --check-prefix=CHEC… 8 // RUN: %env_asan_opts=coverage=1:verbosity=1 %run %t bar 2>&1 | FileCheck %s --check-prefix=CH… 9 // RUN: %sancov print `ls *coverage.*sancov | grep -v '.so'` 2>&1 | FileCheck %s --check-prefix=CHE… 10 // RUN: %env_asan_opts=coverage=1:verbosity=1 %run %t foo bar 2>&1 | FileCheck %s --check-prefix=CH… [all …]
|
| D | coverage-module-unloaded.cc | 1 // Check that unloading a module doesn't break coverage dumping for remaining 3 // RUN: %clangxx_asan -fsanitize-coverage=func -DSHARED %s -shared -o %dynamiclib1 -fPIC 4 // RUN: %clangxx_asan -fsanitize-coverage=func -DSHARED %s -shared -o %dynamiclib2 -fPIC 5 // RUN: %clangxx_asan -fsanitize-coverage=func %s %libdl -o %t 6 // RUN: mkdir -p %T/coverage-module-unloaded && cd %T/coverage-module-unloaded 7 // RUN: %env_asan_opts=coverage=1:verbosity=1 %run %t %dynamiclib1 %dynamiclib2 2>&1 | FileC… 8 // RUN: %env_asan_opts=coverage=1:verbosity=1 %run %t %dynamiclib1 %dynamiclib2 foo 2>&1 | FileC… 9 // RUN: rm -r %T/coverage-module-unloaded 51 // CHECK: coverage-module-unloaded{{.*}}1.[[PID]] 52 // CHECK: coverage-module-unloaded{{.*}}2.[[PID]] [all …]
|
| /external/compiler-rt/test/ubsan/TestCases/Misc/ |
| D | coverage-levels.cc | 1 // Test various levels of coverage 6 // RUN: rm -rf %T/coverage-levels && mkdir %T/coverage-levels 7 // RUN: %clangxx -fsanitize=shift -DGOOD_SHIFT=1 -O1 -fsanitize-coverage=fun… 8 // RUN: %env_ubsan_opts=coverage=1:verbosity=1:coverage_dir='"%T/coverage-levels"' %run %t 2>&1 | F… 9 // RUN: %clangxx -fsanitize=undefined -DGOOD_SHIFT=1 -O1 -fsanitize-coverage=fun… 10 // RUN: %env_ubsan_opts=coverage=1:verbosity=1:coverage_dir='"%T/coverage-levels"' %run %t 2>&1 | F… 13 // RUN: %clangxx -DGOOD_SHIFT=1 -O1 -fsanitize-coverage=fun… 14 // RUN: %env_ubsan_opts=coverage=1:verbosity=1:coverage_dir='"%T/coverage-levels"' %run %t 2>&1 | F… 16 // RUN: %clangxx -fsanitize=shift -O1 -fsanitize-coverage=func %s -o %t 17 // RUN: %env_ubsan_opts=coverage=1:verbosity=1:coverage_dir='"%T/coverage-levels"' %run %t 2>&1 | F… [all …]
|
| /external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/ |
| D | CoverageTaskTest.xml | 16 <project name="JaCoCo Coverage Task Tests" xmlns:au="antlib:org.apache.ant.antunit" xmlns:jacoco="a… 29 <au:expectfailure expectedMessage="A child task must be supplied for the coverage task"> 30 <jacoco:coverage/> 36 <jacoco:coverage> 43 </jacoco:coverage> 50 <au:expectfailure expectedMessage="jar is not a valid child of the coverage task"> 51 <jacoco:coverage> 53 </jacoco:coverage> 58 <jacoco:coverage destfile="${exec.file}"> 62 </jacoco:coverage> [all …]
|
| /external/strace/m4/ |
| D | ax_code_coverage.m4 | 15 # 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/clang/docs/ |
| D | SanitizerCoverage.rst | 11 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 …]
|
| D | SourceBasedCodeCoverage.rst | 2 Source-based Code Coverage 11 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. [all …]
|
| /external/llvm/docs/CommandGuide/ |
| D | llvm-cov.rst | 1 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/freetype/src/autofit/ |
| D | afcover.h | 20 /* Define `COVERAGE' as needed. */ 24 /* coverage name in lowercase and uppercase, respectively, followed */ 30 COVERAGE( alternative_fractions, ALTERNATIVE_FRACTIONS, 35 COVERAGE( petite_capitals_from_capitals, PETITE_CAPITALS_FROM_CAPITALS, 39 COVERAGE( small_capitals_from_capitals, SMALL_CAPITALS_FROM_CAPITALS, 44 /* XXX: Only digits are in this coverage, however, both normal style */ 46 COVERAGE( denominators, DENOMINATORS, 53 COVERAGE( fractions, FRACTIONS, 59 /* XXX: Only digits are in this coverage, however, both normal style */ 61 COVERAGE( numerators, NUMERATORS, [all …]
|
| /external/compiler-rt/test/asan/TestCases/Linux/ |
| D | coverage-missing.cc | 3 // First case: coverage from executable. main() is called on every code path. 4 // RUN: %clangxx_asan -fsanitize-coverage=func %s -o %t -DFOOBAR -DMAIN 5 // RUN: rm -rf %T/coverage-missing 6 // RUN: mkdir -p %T/coverage-missing 7 // RUN: cd %T/coverage-missing 8 // RUN: %env_asan_opts=coverage=1:coverage_dir=%T/coverage-missing %run %t 12 // RUN: %env_asan_opts=coverage=1:coverage_dir=%T/coverage-missing %run %t x 16 // RUN: %env_asan_opts=coverage=1:coverage_dir=%T/coverage-missing %run %t x x 27 // Second case: coverage from DSO. 29 // RUN: %clangxx_asan -fsanitize-coverage=func %s -o %dynamiclib -DFOOBAR -shared -fPIC [all …]
|
| /external/pcre/dist2/ |
| D | Makefile.am | 690 # gcov/lcov code coverage reporting 692 # Coverage reporting targets: 694 # coverage: Create a coverage report from 'make check' 695 # coverage-baseline: Capture baseline coverage information 696 # coverage-reset: This zeros the coverage counters only 697 # coverage-report: This creates the coverage report only 698 # coverage-clean-report: This removes the generated coverage report 699 # without cleaning the coverage data itself 700 # coverage-clean-data: This removes the captured coverage data without 701 # removing the coverage files created at compile time (*.gcno) [all …]
|
| /external/llvm/tools/llvm-cov/ |
| D | CodeCoverage.cpp | 1 //===- CodeCoverage.cpp - Coverage tool based on profiling instrumentation-===// 11 // report coverage information using the profiling instrumentation and code 12 // coverage mapping. 24 #include "llvm/ProfileData/Coverage/CoverageMapping.h" 36 using namespace coverage; 39 /// \brief The implementation of the coverage tool. 70 CoverageMapping &Coverage); 74 createFunctionView(const FunctionRecord &Function, CoverageMapping &Coverage); 78 createSourceFileView(StringRef SourceFile, CoverageMapping &Coverage); 80 /// \brief Load the coverage mapping data. Return true if an error occured. [all …]
|
| /external/compiler-rt/test/msan/ |
| D | coverage-levels.cc | 1 // Test various levels of coverage 3 // RUN: %clangxx_msan -DINIT_VAR=1 -O1 -fsanitize-coverage=func %s -o %t 4 // RUN: mkdir -p %T/coverage-levels 5 // RUN: MSAN_OPTIONS=coverage=1:verbosity=1:coverage_dir=%T/coverage-levels %run %t 2>&1 | FileChec… 6 // RUN: %clangxx_msan -O1 -fsanitize-coverage=func %s -o %t 7 // RUN: MSAN_OPTIONS=coverage=1:verbosity=1:coverage_dir=%T/coverage-levels not %run %t 2>&1 | File… 8 // RUN: %clangxx_msan -O1 -fsanitize-coverage=bb %s -o %t 9 // RUN: MSAN_OPTIONS=coverage=1:verbosity=1:coverage_dir=%T/coverage-levels not %run %t 2>&1 | File… 10 // RUN: %clangxx_msan -O1 -fsanitize-coverage=edge %s -o %t 11 // RUN: MSAN_OPTIONS=coverage=1:verbosity=1:coverage_dir=%T/coverage-levels not %run %t 2>&1 | File…
|
| /external/compiler-rt/test/asan/TestCases/ |
| D | coverage-levels.cc | 1 // Test various levels of coverage 3 // RUN: %clangxx_asan -O1 -fsanitize-coverage=func %s -o %t 4 // RUN: %env_asan_opts=coverage=1:coverage_bitset=1:verbosity=1 %run %t 2>&1 | FileCheck %s --check… 5 // RUN: %clangxx_asan -O1 -fsanitize-coverage=bb %s -o %t 6 // RUN: %env_asan_opts=coverage=1:coverage_bitset=1:verbosity=1 %run %t 2>&1 | FileCheck %s --check… 7 // RUN: %clangxx_asan -O1 -fsanitize-coverage=edge %s -o %t 8 // RUN: %env_asan_opts=coverage=1:coverage_bitset=1:verbosity=1 %run %t 2>&1 | FileCheck %s --check… 9 // RUN: %clangxx_asan -O1 -fsanitize-coverage=edge -mllvm -sanitizer-coverage-block-threshold=0 %s … 10 // RUN: %env_asan_opts=coverage=1:coverage_bitset=1:verbosity=1 %run %t 2>&1 | FileCheck %s --check… 11 // RUN: %clangxx_asan -O1 -fsanitize-coverage=edge,8bit-counters %s -o %t [all …]
|
| /external/harfbuzz_ng/src/ |
| D | hb-ot-layout-gsub-table.hh | 43 Coverage::Iter iter; in closure() 44 for (iter.init (this+coverage); iter.more (); iter.next ()) in closure() 57 Coverage::Iter iter; in collect_glyphs() 58 for (iter.init (this+coverage); iter.more (); iter.next ()) in collect_glyphs() 68 inline const Coverage &get_coverage (void) const in get_coverage() 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() [all …]
|
| /external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/ |
| D | report.css | 138 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/llvm/utils/lit/utils/ |
| D | check-coverage | 22 # Check that the active python has been modified to enable coverage in its 25 'import sitecustomize, sys; sys.exit("coverage" not in dir(sitecustomize))' \ 27 … printf 1>&2 "error: active python does not appear to enable coverage in its 'sitecustomize.py'\n" 31 # First, remove any existing coverage data files. 32 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) [all …]
|
| /external/jacoco/org.jacoco.doc/docroot/doc/ |
| D | counters.html | 8 <title>JaCoCo - Coverage Counter</title> 15 <span class="el_source">Coverage Counters</span> 19 <h1>Coverage Counters</h1> 22 JaCoCo uses a set of different counters to calculate coverage metrics. All 30 information to calculate line level coverage and provide source highlighting. 33 code which sometimes results in unexpected code coverage results. 36 <h2>Instructions (C0 Coverage)</h2> 40 <i>Instruction coverage</i> provides information about the amount of code that 46 <h2>Branches (C1 Coverage)</h2> 49 JaCoCo also calculates <i>branch coverage</i> for all <code>if</code> and [all …]
|
| /external/llvm/test/Instrumentation/SanitizerCoverage/ |
| D | coverage.ll | 1 ; 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/llvm/docs/ |
| D | CoverageMappingFormat.rst | 5 LLVM Code Coverage Mapping Format 14 LLVM's code coverage mapping format is used to provide code coverage 18 This document is aimed at those who use LLVM's code coverage mapping to provide 19 code coverage analysis for their own programs, and for those who would like 23 We start by showing how to use LLVM and Clang for code coverage analysis, 24 then we briefly desribe LLVM's code coverage mapping format and the 25 way that Clang and LLVM's code coverage tool work with this format. After 26 the basics are down, more advanced features of the coverage mapping format 33 Here's a short story that describes how to generate code coverage overview 48 * Finally, run LLVM's code coverage tool (*llvm-cov*) to produce the code [all …]
|
| /external/parameter-framework/upstream/tools/coverage/ |
| D | coverage.xsl | 19 <title>Coverage report</title> 80 <h1>Coverage report</h1> 90 <xsl:with-param name="coverage">100</xsl:with-param> 91 <xsl:with-param name="description">Full coverage</xsl:with-param> 94 <xsl:with-param name="coverage">75</xsl:with-param> 96 <xsl:text>75%-99% coverage, nice</xsl:text> 100 <xsl:with-param name="coverage">50</xsl:with-param> 104 <xsl:with-param name="coverage">0</xsl:with-param> 143 <td><xsl:value-of select="@Coverage" /></td> 149 <xsl:text>Coverage total average</xsl:text> [all …]
|