Home
last modified time | relevance | path

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

12345678910>>...201

/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/mbedtls/scripts/
Dlcov.sh6 Collect coverage statistics of library code into an HTML report.
9 1. Build the library with CFLAGS="--coverage -O0 -g3" and link the test
10 programs with LDFLAGS="--coverage".
13 make CFLAGS="--coverage -O0 -g3" LDFLAGS="--coverage"
15 mkdir build-coverage && cd build-coverage &&
16 cmake -D CMAKE_BUILD_TYPE=Coverage .. && make
19 object files and coverage statistics files.
20 4. Browse the coverage report in Coverage/index.html.
35 rm -rf Coverage
36 mkdir Coverage Coverage/tmp
[all …]
/external/coreboot/Documentation/technotes/
D2021-05-code-coverage.md1 # Unit Test Code Coverage
3 Code coverage for the coreboot unit tests allows us to see what lines of
5 author to see where they need to add test cases for additional coverage.
7 Code coverage requires `lcov`; install the tool if necessary by
10 Enable code coverage in your unit test build by setting the environment
14 The build output directory is either `build/tests` or `build/coverage`,
24 * `coverage-report` generates a code coverage report from all of the
26 coverage report, open `build/coverage/coverage_reports/index.html` in your web
28 * `clean-coverage-report` deletes just the coverage report.
30 The `coverage-report` and `clean-coverage-report` targets automatically set
[all …]
/external/cronet/stable/build/android/docs/
Dcoverage.md1 # Android code coverage instructions
3 These are instructions for collecting code coverage data for android
4 instrumentation and JUnit tests. For Clang(C++) code coverage refer to [clang coverage].
8 ## How JaCoCo coverage works
10 In order to use JaCoCo code coverage, we need to create build time pre-instrumented
14 ## How to collect coverage data
25 2. Run tests, with option `--coverage-dir <directory>`, to specify where to save
27 `out/Debug/bin/run_chrome_junit_tests --coverage-dir /tmp/coverage`.
29 3. The coverage results of JUnit and instrumentation tests will be merged
32 ## How to generate coverage report
[all …]
/external/cronet/tot/build/android/docs/
Dcoverage.md1 # Android code coverage instructions
3 These are instructions for collecting code coverage data for android
4 instrumentation and JUnit tests. For Clang(C++) code coverage refer to [clang coverage].
8 ## How JaCoCo coverage works
10 In order to use JaCoCo code coverage, we need to create build time pre-instrumented
14 ## How to collect coverage data
25 2. Run tests, with option `--coverage-dir <directory>`, to specify where to save
27 `out/Debug/bin/run_chrome_junit_tests --coverage-dir /tmp/coverage`.
29 3. The coverage results of JUnit and instrumentation tests will be merged
32 ## How to generate coverage report
[all …]
/external/angle/build/android/docs/
Dcoverage.md1 # Android code coverage instructions
3 These are instructions for collecting code coverage data for android
4 instrumentation and JUnit tests. For Clang(C++) code coverage refer to [clang coverage].
8 ## How JaCoCo coverage works
10 In order to use JaCoCo code coverage, we need to create build time pre-instrumented
14 ## How to collect coverage data
25 2. Run tests, with option `--coverage-dir <directory>`, to specify where to save
27 `out/Debug/bin/run_chrome_junit_tests --coverage-dir /tmp/coverage`.
29 3. The coverage results of JUnit and instrumentation tests will be merged
32 ## How to generate coverage report
[all …]
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/cares/cares/m4/
Dax_code_coverage.m415 # coverage support. Also add rules using AX_ADD_AM_MACRO_STATIC; and
18 # value of the --enable-code-coverage option, which defaults to being
25 # coverage is enabled.
42 # clean-local: code-coverage-clean
43 # distclean-local: code-coverage-dist-clean
45 # This results in a "check-code-coverage" rule being added to any
47 # (assuming the module has been configured with --enable-code-coverage).
48 # Running `make check-code-coverage` in that directory will run the
49 # module's test suite (`make check`) and build a code coverage report
81 # Code coverage
[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>
116 <Coverage>
118 </Coverage>
128 <Coverage>
130 </Coverage>
[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/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 and Debian. They
17 Previously, the code coverage scripts required specific versions of `lcov` and
22 ## Generating Code Coverage
29 Before generating code coverage information, you will need to have a build
30 directory with coverage enabled. This can be done by running the `gn args`
33 If not using the default directory, `out/Coverage`, then replace it with the
37 gn args out/Coverage
40 If you already have a build directory, you can append the coverage flag to the
[all …]
/external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/
DCoverageTaskTest.xml15 <project name="JaCoCo Coverage Task Tests" xmlns:au="antlib:org.apache.ant.antunit" xmlns:jacoco="a…
28 <au:expectfailure expectedMessage="A child task must be supplied for the coverage task">
29 <jacoco:coverage/>
35 <jacoco:coverage>
42 </jacoco:coverage>
49 <au:expectfailure expectedMessage="jar is not a valid child of the coverage task">
50 <jacoco:coverage>
52 </jacoco:coverage>
57 <jacoco:coverage destfile="${exec.file}">
61 </jacoco:coverage>
[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/bazelbuild-rules_python/python/private/
Dcoverage_deps.bzl15 """Dependencies for coverage.py used by the hermetic toolchain.
26 …ages/7d/73/041928e434442bd3afde5584bdc3f932fb4562b1597629f537387cec6f3d/coverage-7.6.1-cp310-cp310…
30 …ages/c7/c8/6ca52b5147828e45ad0242388477fdb90df2c6cbb9a441701a12b3c71bc8/coverage-7.6.1-cp310-cp310…
34 …ages/7e/61/eb7ce5ed62bacf21beca4937a90fe32545c91a3c8a42a30c6616d48fc70d/coverage-7.6.1-cp310-cp310…
38 …ages/53/23/9e2c114d0178abc42b6d8d5281f651a8e6519abfa0ef460a00a91f80879d/coverage-7.6.1-cp310-cp310…
44 …ages/e1/0e/e52332389e057daa2e03be1fbfef25bb4d626b37d12ed42ae6281d0a274c/coverage-7.6.1-cp311-cp311…
48 …ages/aa/cd/766b45fb6e090f20f8927d9c7cb34237d41c73a939358bc881883fd3a40d/coverage-7.6.1-cp311-cp311…
52 …ages/ad/5f/67af7d60d7e8ce61a4e2ddcd1bd5fb787180c8d0ae0fbd073f903b3dd95d/coverage-7.6.1-cp311-cp311…
56 …ages/14/6f/8351b465febb4dbc1ca9929505202db909c5a635c6fdf33e089bbc3d7d85/coverage-7.6.1-cp311-cp311…
62 …ages/e1/ab/6bf00de5327ecb8db205f9ae596885417a31535eeda6e7b99463108782e1/coverage-7.6.1-cp312-cp312…
[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/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/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/google-cloud-java/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/
DTransitionRouteGroupCoverage.java25 * Transition route group coverage represents the percentage of all possible
74 …n_point(interface_extends:google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage)
116 * The list of transition routes and coverage in the transition route group.
120 …* repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition tr…
124 com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition>
130 * The list of transition routes and coverage in the transition route group.
134 …* repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition tr…
137 com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition
143 * The list of transition routes and coverage in the transition route group.
147 …* repeated .google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupCoverage.Coverage.Transition tr…
[all …]
/external/google-cloud-java/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/
DTransitionRouteGroupCoverage.java25 * Transition route group coverage represents the percentage of all possible
74 …ertion_point(interface_extends:google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage)
116 * The list of transition routes and coverage in the transition route group.
120 …* repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transit…
124 com.google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition>
130 * The list of transition routes and coverage in the transition route group.
134 …* repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transit…
137 com.google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition
143 * The list of transition routes and coverage in the transition route group.
147 …* repeated .google.cloud.dialogflow.cx.v3.TransitionRouteGroupCoverage.Coverage.Transition transit…
[all …]
/external/bazelbuild-rules_python/docs/
Dcoverage.md1 # Setting up coverage
4 coverage information using the `coverage` library.
6 As of `rules_python` version `0.18.1`, builtin coverage support can be enabled
9 ## Enabling `rules_python` coverage support
11 Enabling the coverage support bundled with `rules_python` just requires setting an
32 This will implicitly add the version of `coverage` bundled with
33 `rules_python` to the dependencies of `py_test` rules when `bazel coverage` is
35 `coverage`, then behavior is undefined -- it is undefined which version comes
37 need to manually configure coverage (see below).
40 ## Manually configuring coverage
[all …]
/external/swiftshader/tests/regres/cov/
Dcoverage_test.go26 fileA = "coverage/file/a"
27 fileB = "coverage/file/b"
28 fileC = "coverage/file/c"
29 fileD = "coverage/file/c"
51 t.Log("Add 'b' with the coverage [0,1]")
52 tree.Add(cov.Path{"a", "b"}, coverage(fileA, span0, span1))
63 t.Log("Add 'i' with the coverage [0,1]")
64 tree.Add(cov.Path{"a", "b", "d", "i"}, coverage(fileA, span0, span1))
78 t.Log("Add 'e' with the coverage [0,1,2]")
79 tree.Add(cov.Path{"a", "b", "e"}, coverage(fileA, span0, span1, span2))
[all …]
/external/openthread/third_party/mbedtls/repo/scripts/
Dlcov.sh6 Collect coverage statistics of library code into an HTML report.
9 1. Build the library with CFLAGS="--coverage -O0 -g3" and link the test
10 programs with LDFLAGS="--coverage".
13 make CFLAGS="--coverage -O0 -g3" LDFLAGS="--coverage"
15 mkdir build-coverage && cd build-coverage &&
16 cmake -D CMAKE_BUILD_TYPE=Coverage .. && make
19 object files and coverage statistics files.
20 4. Browse the coverage report in Coverage/index.html.
40 rm -rf Coverage
41 mkdir Coverage Coverage/tmp
[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 …]

12345678910>>...201