Home
last modified time | relevance | path

Searched full:coverage (Results 1 – 25 of 2746) sorted by relevance

12345678910>>...110

/external/clang/test/Driver/
Dfsanitize-coverage.c1 …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/
Dcoverage-android.cc1 // 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/
Dcoverage-direct.cc1 // 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 …]
Dcoverage-direct-activation.cc1 // 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 …]
/external/virglrenderer/build-aux/
Dax_code_coverage.m413 # (program or library) which should be built with code coverage support.
17 # corresponds to the value of the --enable-code-coverage option, which
24 # coverage is enabled.
38 # This results in a "check-code-coverage" rule being added to any
40 # has been configured with --enable-code-coverage). Running `make
41 # check-code-coverage` in that directory will run the module's test suite
42 # (`make check`) and build a code coverage report detailing the code which
73 dnl Check for --enable-code-coverage
78 [AS_HELP_STRING([--with-gcov[=GCOV]], [use given GCOV for coverage (GCOV=gcov).])],
82 AC_MSG_CHECKING([whether to build with code coverage support])
[all …]
/external/compiler-rt/test/ubsan/TestCases/Misc/
Dcoverage-levels.cc1 // 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/
DCoverageTaskTest.xml14 <project name="JaCoCo Coverage Task Tests" xmlns:au="antlib:org.apache.ant.antunit" xmlns:jacoco="a…
27 <au:expectfailure expectedMessage="A child task must be supplied for the coverage task">
28 <jacoco:coverage/>
34 <jacoco:coverage>
41 </jacoco:coverage>
48 <au:expectfailure expectedMessage="jar is not a valid child of the coverage task">
49 <jacoco:coverage>
51 </jacoco:coverage>
56 <jacoco:coverage destfile="${exec.file}">
60 </jacoco:coverage>
[all …]
/external/harfbuzz_ng/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
81 dnl Check for --enable-code-coverage
86 [AS_HELP_STRING([--with-gcov[=GCOV]], [use given GCOV for coverage (GCOV=gcov).])],
90 AC_MSG_CHECKING([whether to build with code coverage support])
[all …]
/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
83 dnl Check for --enable-code-coverage
88 [AS_HELP_STRING([--with-gcov[=GCOV]], [use given GCOV for coverage (GCOV=gcov).])],
92 AC_MSG_CHECKING([whether to build with code coverage support])
[all …]
/external/fonttools/Tests/feaLib/data/
Dlookupflag.ttx23 <Coverage index="0">
27 </Coverage>
28 <Coverage index="1">
34 </Coverage>
35 <Coverage index="2">
39 </Coverage>
89 <Coverage>
91 </Coverage>
101 <Coverage>
103 </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 …]
/external/pdfium/docs/
Dcode-coverage.md1 # Code Coverage Support for PDFium
5 This guide explains how to generate code coverage information for the PDFium
13 The tools used for code coverage are known to work on Ubuntu 14.04. They should
19 The code coverage scripts depend on having a version of `lcov` of 1.11 or
25 available [here](http://ltp.sourceforge.net/coverage/lcov.php).
36 The other external dependency for generating code coverage information is having
44 greater and the coverage scripts should find it.
46 ## Generating Code Coverage
54 Before generating code coverage information, you will need to have a build
55 directory with coverage enabled. This can be done by running the `gn args`
[all …]
/external/swiftshader/third_party/llvm-7.0/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
44 The :program:`llvm-cov gcov` tool reads code coverage data files and displays
45 the coverage information for a specified source file. It is compatible with the
50 of your application that collects coverage data as it runs. Compile with the
51 ``-fprofile-arcs`` and ``-ftest-coverage`` options to add the
52 instrumentation. (Alternatively, you can use the ``--coverage`` option, which
55 coverage data cannot be accurately mapped back to the source code.
59 coverage data. The other half of the data comes from ``.gcda`` files that are
[all …]
/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/freetype/src/autofit/
Dafcover.h20 /* 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/catch2/CMake/
DFindcodecov.cmake12 # Add an option to choose, if coverage should be enabled or not. If enabled
13 # marked targets will be build with coverage support and appropriate targets
14 # will be added. If disabled coverage will be ignored for *ALL* targets.
15 option(ENABLE_COVERAGE "Enable coverage build." OFF)
19 "-O0 -g -fprofile-arcs -ftest-coverage"
22 "-O0 -g --coverage"
26 # Add coverage support for target ${TNAME} and register target for coverage
27 # evaluation. If coverage is disabled or not supported, this function will
31 # coverage is not supported by the compiler or disabled. This function must
32 # be defined here, because the module will be exited, if there is no coverage
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/
DCodeCoverage.cpp1 //===- CodeCoverage.cpp - Coverage tool based on profiling instrumentation-===//
11 // report coverage information using the profiling instrumentation and code
12 // coverage mapping.
26 #include "llvm/ProfileData/Coverage/CoverageMapping.h"
45 using namespace coverage;
47 void exportCoverageDataToJson(const coverage::CoverageMapping &CoverageMapping,
52 /// The implementation of the coverage tool.
87 const CoverageMapping &Coverage);
92 const CoverageMapping &Coverage);
96 createSourceFileView(StringRef SourceFile, const CoverageMapping &Coverage);
[all …]
DCoverageExporterJson.cpp1 //===- CoverageExporterJson.cpp - Code coverage export --------------------===//
10 // This file implements export of code coverage data to JSON.
16 // The json code coverage export follows the following format
20 // ------ Files: array => List of objects describing coverage for files
21 // -------- File: dict => Coverage for a single file
29 // ---------- Summary: dict => Object summarizing the coverage for this file
30 // ------------ LineCoverage: dict => Object summarizing line coverage
31 // ------------ FunctionCoverage: dict => Object summarizing function coverage
32 // ------------ RegionCoverage: dict => Object summarizing region coverage
33 // ------ Functions: array => List of objects describing coverage for functions
[all …]
DCoverageFilters.h1 //===- CoverageFilters.h - Function coverage mapping filters --------------===//
10 // These classes provide filtering for function coverage mapping records.
18 #include "llvm/ProfileData/Coverage/CoverageMapping.h"
31 virtual bool matches(const coverage::CoverageMapping &CM, in matches()
32 const coverage::FunctionRecord &Function) const { in matches()
49 bool matches(const coverage::CoverageMapping &CM,
50 const coverage::FunctionRecord &Function) const override;
60 bool matches(const coverage::CoverageMapping &CM,
61 const coverage::FunctionRecord &Function) const override;
75 bool matches(const coverage::CoverageMapping &CM,
[all …]
/external/compiler-rt/test/asan/TestCases/Linux/
Dcoverage-missing.cc3 // 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/harfbuzz_ng/src/
Dhb-ot-layout-gsub-table.hh45 { return (this+coverage).intersects (glyphs); } in intersects()
50 for (Coverage::Iter iter (this+coverage); iter.more (); iter.next ()) in closure()
63 if (unlikely (!(this+coverage).add_coverage (c->input))) return; in collect_glyphs()
64 for (Coverage::Iter iter (this+coverage); iter.more (); iter.next ()) in collect_glyphs()
73 const Coverage &get_coverage () const { return this+coverage; } in get_coverage()
78 return_trace (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED); in would_apply()
85 unsigned int index = (this+coverage).get_coverage (glyph_id); in apply()
102 if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs))) return_trace (false); in serialize()
115 for (Coverage::Iter iter (this+coverage); iter.more (); iter.next ()) in subset()
129 return_trace (coverage.sanitize (c, this) && deltaGlyphID.sanitize (c)); in sanitize()
[all …]
/external/python/dateutil/
Dtox.ini10 coverage,
17 setenv = COVERAGE_FILE={toxworkdir}/.coverage.{envname}
23 [testenv:coverage]
24 description = combine coverage data and create reports argument
25 deps = coverage argument
28 setenv = COVERAGE_FILE=.coverage argument
29 commands = coverage erase argument
30 coverage combine
31 coverage report --rcfile={toxinidir}/tox.ini
32 coverage xml
[all …]
/external/llvm/tools/llvm-cov/
DCodeCoverage.cpp1 //===- 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/pcre/dist2/
DMakefile.am741 # gcov/lcov code coverage reporting
743 # Coverage reporting targets:
745 # coverage: Create a coverage report from 'make check'
746 # coverage-baseline: Capture baseline coverage information
747 # coverage-reset: This zeros the coverage counters only
748 # coverage-report: This creates the coverage report only
749 # coverage-clean-report: This removes the generated coverage report
750 # without cleaning the coverage data itself
751 # coverage-clean-data: This removes the captured coverage data without
752 # removing the coverage files created at compile time (*.gcno)
[all …]
/external/compiler-rt/test/msan/
Dcoverage-levels.cc1 // 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…

12345678910>>...110