Home
last modified time | relevance | path

Searched refs:cov (Results 1 – 25 of 139) sorted by relevance

123456

/external/syzkaller/executor/
Dexecutor_linux.h41 static void cover_open(cover_t* cov) in cover_open() argument
46 if (dup2(fd, cov->fd) < 0) in cover_open()
47 fail("filed to dup2(%d, %d) cover fd", fd, cov->fd); in cover_open()
50 if (ioctl(cov->fd, kcov_init_trace, kCoverSize)) in cover_open()
53 cov->data = (char*)mmap(NULL, mmap_alloc_size, in cover_open()
54 PROT_READ | PROT_WRITE, MAP_SHARED, cov->fd, 0); in cover_open()
55 if (cov->data == MAP_FAILED) in cover_open()
57 cov->data_end = cov->data + mmap_alloc_size; in cover_open()
60 static void cover_enable(cover_t* cov, bool collect_comps) in cover_enable() argument
66 if (ioctl(cov->fd, KCOV_ENABLE, kcov_mode)) in cover_enable()
[all …]
Dexecutor_bsd.h59 static void cover_open(cover_t* cov) in cover_open() argument
64 if (dup2(fd, cov->fd) < 0) in cover_open()
65 fail("filed to dup2(%d, %d) cover fd", fd, cov->fd); in cover_open()
67 if (ioctl(cov->fd, KIOSETBUFSIZE, &kCoverSize)) in cover_open()
72 MAP_SHARED, cov->fd, 0); in cover_open()
75 cov->data = mmap_ptr; in cover_open()
76 cov->data_end = mmap_ptr + mmap_alloc_size; in cover_open()
79 static void cover_enable(cover_t* cov, bool collect_comps) in cover_enable() argument
82 if (ioctl(cov->fd, KIOENABLE, &kcov_mode)) in cover_enable()
86 static void cover_reset(cover_t* cov) in cover_reset() argument
[all …]
Dnocover.h4 static void cover_open(cover_t* cov) in cover_open() argument
8 static void cover_enable(cover_t* cov, bool collect_comps) in cover_enable() argument
12 static void cover_reset(cover_t* cov) in cover_reset() argument
16 static void cover_collect(cover_t* cov) in cover_collect() argument
/external/llvm/test/tools/llvm-cov/
Dllvm-cov.test1 # Tests for compatibility between llvm-cov and gcov. These work by
2 # comparing llvm-cov against reference outputs generated by gcov 4.2.
14 RUN: llvm-cov gcov test.c | diff -u test_no_options.output -
21 RUN: llvm-cov gcov -o objdir test.c | diff -u test_no_options.output -
26 RUN: llvm-cov gcov -o objdir/test.o test.c | diff -u test_no_options.output -
31 RUN: llvm-cov gcov -o objdir/test test.c | diff -u test_no_options.output -
36 RUN: llvm-cov gcov -n test.c | diff -u test_no_output.output -
40 RUN: llvm-cov gcov test_paths.cpp 2>/dev/null | diff -u test_missing.output -
47 RUN: llvm-cov gcov -p test_paths.cpp | diff -u test_preserve_paths.output -
52 RUN: llvm-cov gcov test_paths.cpp | diff -u test_no_preserve_paths.output -
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-cov/
Dllvm-cov.test1 # Tests for compatibility between llvm-cov and gcov. These work by
2 # comparing llvm-cov against reference outputs generated by gcov 4.2.
14 RUN: llvm-cov gcov test.c | diff -u test_no_options.output -
21 RUN: llvm-cov gcov -o objdir test.c | diff -u test_no_options.output -
26 RUN: llvm-cov gcov -o objdir/test.o test.c | diff -u test_no_options.output -
31 RUN: llvm-cov gcov -o objdir/test test.c | diff -u test_no_options.output -
36 RUN: llvm-cov gcov -n test.c | diff -u test_no_output.output -
40 RUN: llvm-cov gcov test_paths.cpp 2>/dev/null | diff -u test_missing.output -
47 RUN: llvm-cov gcov -p test_paths.cpp | diff -u test_preserve_paths.output -
52 RUN: llvm-cov gcov test_paths.cpp | diff -u test_no_preserve_paths.output -
[all …]
Dmultithreaded-report.test3 RUN: llvm-cov report -num-threads=1 \
8 RUN: llvm-cov report -num-threads=10 \
16 RUN: llvm-cov export -num-threads=1 \
21 RUN: llvm-cov export -num-threads=10 \
29 RUN: llvm-cov show -format=text -num-threads=1 \
34 RUN: llvm-cov show -format=text -num-threads=10 \
42 RUN: llvm-cov show -format=html -num-threads=1 \
47 RUN: llvm-cov show -format=html -num-threads=10 \
55 RUN: llvm-cov show -format=text -num-threads=1 \
60 RUN: llvm-cov show -format=text -num-threads=10 \
[all …]
Dmultiple-files.test2 // RUN: llvm-cov report %S/Inputs/multiple-files.covmapping -instr-profile %t.profdata | FileCheck …
3 // RUN: llvm-cov report %S/Inputs/multiple-files2.covmapping -instr-profile %t.profdata | FileCheck…
14 // ONE_COMPONENT-NEXT: {{^}}cov.c
15 // ONE_COMPONENT-NEXT: {{^}}cov.h
Dignore-filename-regex.test5 RUN: llvm-cov report -instr-profile %S/Inputs/sources_specified/main.profdata \
16 RUN: llvm-cov report -instr-profile %S/Inputs/sources_specified/main.profdata \
28 RUN: llvm-cov report -instr-profile %S/Inputs/sources_specified/main.profdata \
44 RUN: llvm-cov show -instr-profile %S/Inputs/sources_specified/main.profdata \
60 RUN: llvm-cov export -instr-profile %S/Inputs/sources_specified/main.profdata \
Dsources-specified.test1 RUN: llvm-cov report -instr-profile %S/Inputs/sources_specified/main.profdata \
7 RUN: llvm-cov show -instr-profile %S/Inputs/sources_specified/main.profdata \
25 RUN: llvm-cov export -instr-profile %S/Inputs/sources_specified/main.profdata \
49 llvm-cov convert-for-testing ./main -o ./main.covmapping
Ddemangle.test1 RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateIns…
5 RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %t.profdata -Xdemangl…
8 RUN: llvm-cov report -show-functions %S/Inputs/templateInstantiations.covmapping -instr-profile %S/…
Dscan-directory.test5 RUN: llvm-cov show /dev/null -instr-profile /dev/null -dump-collected-paths %t | FileCheck %s --che…
6 RUN: llvm-cov show /dev/null -instr-profile /dev/null -dump-collected-paths %t/a/b/c.tmp %t/a/d.tmp…
12 RUN: llvm-cov show /dev/null -instr-profile /dev/null -dump-collected-paths -path-equivalence=%t,%S…
/external/skqp/tools/
Dparse_llvm_coverage.py89 cov, linenum, code = line.split('|', 2)
90 cov = cov.strip()
91 if cov:
92 cov = int(cov)
94 cov = None # We don't care about coverage for this line.
97 file_lines.append((linenum, cov, code.decode('utf-8', 'replace')))
157 for _, cov, _ in lines:
158 if cov is not None:
160 if cov > 0:
/external/skia/tools/
Dparse_llvm_coverage.py89 cov, linenum, code = line.split('|', 2)
90 cov = cov.strip()
91 if cov:
92 cov = int(cov)
94 cov = None # We don't care about coverage for this line.
97 file_lines.append((linenum, cov, code.decode('utf-8', 'replace')))
157 for _, cov, _ in lines:
158 if cov is not None:
160 if cov > 0:
/external/syzkaller/pkg/cover/
Dcover.go9 func (cov *Cover) Merge(raw []uint32) {
10 c := *cov
13 *cov = c
20 func (cov Cover) Serialize() []uint32 {
21 res := make([]uint32, 0, len(cov))
22 for pc := range cov {
/external/swiftshader/third_party/llvm-7.0/llvm/docs/CommandGuide/
Dllvm-cov.rst1 llvm-cov - emit coverage information
7 :program:`llvm-cov` *command* [*args...*]
12 The :program:`llvm-cov` tool shows code coverage information for
18 the :program:`llvm-cov gcov` command were called. Otherwise, a command should
24 * :ref:`gcov <llvm-cov-gcov>`
25 * :ref:`show <llvm-cov-show>`
26 * :ref:`report <llvm-cov-report>`
27 * :ref:`export <llvm-cov-export>`
29 .. program:: llvm-cov gcov
31 .. _llvm-cov-gcov:
[all …]
/external/llvm/docs/CommandGuide/
Dllvm-cov.rst1 llvm-cov - emit coverage information
7 :program:`llvm-cov` *command* [*args...*]
12 The :program:`llvm-cov` tool shows code coverage information for
18 the :program:`llvm-cov gcov` command were called. Otherwise, a command should
24 * :ref:`gcov <llvm-cov-gcov>`
25 * :ref:`show <llvm-cov-show>`
26 * :ref:`report <llvm-cov-report>`
28 .. program:: llvm-cov gcov
30 .. _llvm-cov-gcov:
38 :program:`llvm-cov gcov` [*options*] *SOURCEFILE*
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SampleProfile/
Dcov-zero-samples.ll1 ; RUN: opt < %s -instcombine -sample-profile -sample-profile-file=%S/Inputs/cov-zero-samples.prof -…
2 ; RUN: opt < %s -passes="function(instcombine),sample-profile" -sample-profile-file=%S/Inputs/cov-z…
4 ; CHECK: remark: cov-zero-samples.cc:9:29: Applied 404065 samples from profile (offset: 2.1)
5 ; CHECK: remark: cov-zero-samples.cc:10:9: Applied 443089 samples from profile (offset: 3)
6 ; CHECK: remark: cov-zero-samples.cc:10:36: Applied 0 samples from profile (offset: 3.1)
7 ; CHECK: remark: cov-zero-samples.cc:11:12: Applied 404066 samples from profile (offset: 4)
8 ; CHECK: remark: cov-zero-samples.cc:13:25: Applied 0 samples from profile (offset: 6)
9 ; CHECK: remark: cov-zero-samples.cc:14:3: Applied 0 samples from profile (offset: 7)
10 ; CHECK: remark: cov-zero-samples.cc:10:9: most popular destination for conditional branches at cov
11 ; CHECK: remark: cov-zero-samples.cc:11:12: most popular destination for conditional branches at co…
[all …]
/external/llvm/test/Transforms/SampleProfile/
Dcov-zero-samples.ll1 ; RUN: opt < %s -instcombine -sample-profile -sample-profile-file=%S/Inputs/cov-zero-samples.prof -…
2 ; RUN: opt < %s -passes="function(instcombine),sample-profile" -sample-profile-file=%S/Inputs/cov-z…
4 ; CHECK: remark: cov-zero-samples.cc:9:29: Applied 404065 samples from profile (offset: 2.1)
5 ; CHECK: remark: cov-zero-samples.cc:10:9: Applied 443089 samples from profile (offset: 3)
6 ; CHECK: remark: cov-zero-samples.cc:10:36: Applied 0 samples from profile (offset: 3.1)
7 ; CHECK: remark: cov-zero-samples.cc:11:12: Applied 404066 samples from profile (offset: 4)
8 ; CHECK: remark: cov-zero-samples.cc:13:25: Applied 0 samples from profile (offset: 6)
9 ; CHECK: remark: cov-zero-samples.cc:14:3: Applied 0 samples from profile (offset: 7)
10 ; CHECK: remark: cov-zero-samples.cc:10:9: most popular destination for conditional branches at cov
11 ; CHECK: remark: cov-zero-samples.cc:11:12: most popular destination for conditional branches at co…
[all …]
/external/v8/tools/release/
Dscript_test.py40 cov = coverage.coverage(include=([os.path.join(script_path, '*.py')]))
41 cov.start()
48 cov.stop()
49 print cov.report()
/external/brotli/research/
Ddeorummolae.cc247 Coverage cov = {{0}}; in DM_generate() local
249 cov[f >> 6] = (static_cast<uint64_t>(1)) << (f & 63); in DM_generate()
254 for (size_t x = 0; x < cov.size(); ++x) cov[x] |= top.coverage[x]; in DM_generate()
256 for (size_t x = 0; x < cov.size(); ++x) count += popcount(cov[x]); in DM_generate()
268 for (size_t x = 0; x < cov.size(); ++x) { in DM_generate()
269 isles.back().coverage[x] |= cov[x]; in DM_generate()
273 for (size_t x = 0; x < cov.size(); ++x) { in DM_generate()
274 isles.back().coverage[x] |= cov[x]; in DM_generate()
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-cov/Inputs/
DREADME1 These inputs were pre-generated to allow for easier testing of llvm-cov.
12 The 'covmapping' files that are used to test llvm-cov contain raw sections
14 created by running clang and llvm-cov:
16 llvm-cov convert-for-testing -o test.covmapping test
/external/llvm/test/tools/llvm-cov/Inputs/
DREADME1 These inputs were pre-generated to allow for easier testing of llvm-cov.
12 The 'covmapping' files that are used to test llvm-cov contain raw sections
14 created by running clang and llvm-cov:
16 llvm-cov convert-for-testing -o test.covmapping test
/external/catch2/CMake/
DFindGcov.cmake39 # Some distributions like Debian ship llvm-cov with the compiler
40 # version appended as llvm-cov-x.y. To find this binary we'll build
45 # llvm-cov prior version 3.5 seems to be not working with coverage
49 find_program(LLVM_COV_BIN NAMES "llvm-cov-${LLVM_VERSION}"
50 "llvm-cov" HINTS ${COMPILER_PATH})
54 find_program(LLVM_COV_WRAPPER "llvm-cov-wrapper" PATHS
62 "Environment variables for llvm-cov-wrapper.")
69 # Fall back to gcov binary if llvm-cov was not found or is
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/sancov/
Dblacklist.test18 STATS: cov-edges: 7
20 STATS: cov-functions: 3
23 STATS-BLIST: cov-edges: 6
25 STATS-BLIST: cov-functions: 2
/external/fonttools/
Dtox.ini3 envlist = py{27,37}-cov, htmlcov
7 cov: coverage>=4.3
18 cov: coverage run --parallel-mode -m pytest {posargs:Tests fontTools}
19 !cov: pytest {posargs:Tests fontTools}

123456