Home
last modified time | relevance | path

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

12345678910>>...127

/third_party/rust/rust/src/doc/rustc/src/
Dinstrument-coverage.md1 # Instrumentation-based Code Coverage
5 The Rust compiler includes two code coverage implementations:
7 - A GCC-compatible, gcov-based coverage implementation, enabled with `-Z profile`, which derives
8coverage implementation, enabled with `-C instrument-coverage`, which uses LLVM's native, efficien…
10 …es how to enable and use the LLVM instrumentation-based coverage, via the `-C instrument-coverage`…
14 When `-C instrument-coverage` is enabled, the Rust compiler enhances rust-based libraries and binar…
17 …on in the data section of each library and binary (using the [LLVM Code Coverage Mapping Format] _…
19coverage-instrumented program, the counter values are written to a `profraw` file at program termi…
22 [llvm code coverage mapping format]: https://llvm.org/docs/CoverageMappingFormat.html
24 > **Note**: `-C instrument-coverage` also automatically enables `-C symbol-mangling-version=v0` (tr…
[all …]
/third_party/cares/
Daminclude_static.am6 # Code coverage
9 # - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting.
13 # by lcov for code coverage. (Default:
14 # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info)
15 # - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage
17 # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage)
18 # - CODE_COVERAGE_BRANCH_COVERAGE: Set to 1 to enforce branch coverage,
48 CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info
49 CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage
81 check-code-coverage:
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DEGL_NV_coverage_sample.txt50 Edge anti-aliasing computes fractional fragment coverage for all
61 (a.k.a. "sample") coverage for rasterized fragments, and replicates
74 increasing the storage required, coverage sampling.
76 Coverage sampling adds an additional high-precision geometric
77 coverage buffer to the framebuffer, which is used to produce
79 multisample buffer). This coverage information is computed and stored
83 for stencil shadow volumes), coverage buffer updates may be masked
139 "3.2.2 Coverage Sampling
141 Coverage sampling is a mechanism to antialias all GL primitives: points,
145 in the framebuffer's color buffers. As with multisampling, coverage
[all …]
DNV_fragment_coverage_to_color.txt53 This extension allows the fragment coverage value, represented as an
57 gl_SampleMask fragment shader output in that the coverage value written to
60 alpha-to-coverage.
86 Add a new box "Fragment Coverage to Color" between "Occlusion Query" and
90 supported, the "Coverage Reduction" stage is after the "Fragment coverage
94 Add a new Section 17.3.X (Fragment Coverage to Color) between 17.3.6 (Depth
97 Fragment coverage to color is enabled or disabled with the generic Enable
100 enabled, the fragment coverage, treated as an integer bitfield, is
102 The fragment color value updated with the coverage mask is specified using
114 If the buffer that the coverage value will be written to does not have a
[all …]
/third_party/openGLES/extensions/NV/
DEGL_NV_coverage_sample.txt50 Edge anti-aliasing computes fractional fragment coverage for all
61 (a.k.a. "sample") coverage for rasterized fragments, and replicates
74 increasing the storage required, coverage sampling.
76 Coverage sampling adds an additional high-precision geometric
77 coverage buffer to the framebuffer, which is used to produce
79 multisample buffer). This coverage information is computed and stored
83 for stencil shadow volumes), coverage buffer updates may be masked
139 "3.2.2 Coverage Sampling
141 Coverage sampling is a mechanism to antialias all GL primitives: points,
145 in the framebuffer's color buffers. As with multisampling, coverage
[all …]
DNV_fragment_coverage_to_color.txt53 This extension allows the fragment coverage value, represented as an
57 gl_SampleMask fragment shader output in that the coverage value written to
60 alpha-to-coverage.
86 Add a new box "Fragment Coverage to Color" between "Occlusion Query" and
90 supported, the "Coverage Reduction" stage is after the "Fragment coverage
94 Add a new Section 17.3.X (Fragment Coverage to Color) between 17.3.6 (Depth
97 Fragment coverage to color is enabled or disabled with the generic Enable
100 enabled, the fragment coverage, treated as an integer bitfield, is
102 The fragment color value updated with the coverage mask is specified using
114 If the buffer that the coverage value will be written to does not have a
[all …]
/third_party/skia/third_party/externals/egl-registry/extensions/NV/
DEGL_NV_coverage_sample.txt50 Edge anti-aliasing computes fractional fragment coverage for all
61 (a.k.a. "sample") coverage for rasterized fragments, and replicates
74 increasing the storage required, coverage sampling.
76 Coverage sampling adds an additional high-precision geometric
77 coverage buffer to the framebuffer, which is used to produce
79 multisample buffer). This coverage information is computed and stored
83 for stencil shadow volumes), coverage buffer updates may be masked
139 "3.2.2 Coverage Sampling
141 Coverage sampling is a mechanism to antialias all GL primitives: points,
145 in the framebuffer's color buffers. As with multisampling, coverage
[all …]
/third_party/EGL/extensions/NV/
DEGL_NV_coverage_sample.txt50 Edge anti-aliasing computes fractional fragment coverage for all
61 (a.k.a. "sample") coverage for rasterized fragments, and replicates
74 increasing the storage required, coverage sampling.
76 Coverage sampling adds an additional high-precision geometric
77 coverage buffer to the framebuffer, which is used to produce
79 multisample buffer). This coverage information is computed and stored
83 for stencil shadow volumes), coverage buffer updates may be masked
139 "3.2.2 Coverage Sampling
141 Coverage sampling is a mechanism to antialias all GL primitives: points,
145 in the framebuffer's color buffers. As with multisampling, coverage
[all …]
/third_party/rust/rust/compiler/rustc_llvm/llvm-wrapper/
DCoverageMappingWrapper.cpp2 #include "llvm/ProfileData/Coverage/CoverageMapping.h"
3 #include "llvm/ProfileData/Coverage/CoverageMappingWriter.h"
11 // FFI equivalent of enum `llvm::coverage::Counter::CounterKind`
12 // https://github.com/rust-lang/llvm-project/blob/ea6fa9c2/llvm/include/llvm/ProfileData/Coverage/C…
19 // FFI equivalent of struct `llvm::coverage::Counter`
20 // https://github.com/rust-lang/llvm-project/blob/ea6fa9c2/llvm/include/llvm/ProfileData/Coverage/C…
26 static coverage::Counter fromRust(LLVMRustCounter Counter) { in fromRust()
29 return coverage::Counter::getZero(); in fromRust()
31 return coverage::Counter::getCounter(Counter.ID); in fromRust()
33 return coverage::Counter::getExpression(Counter.ID); in fromRust()
[all …]
/third_party/skia/third_party/externals/harfbuzz/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 …]
/third_party/skia/third_party/externals/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 …]
/third_party/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.
40 rm -rf Coverage
41 mkdir Coverage Coverage/tmp
[all …]
/third_party/skia/m133/third_party/externals/harfbuzz/src/OT/Layout/GSUB/
DLigatureSubstFormat1.hh16 typename Types::template OffsetTo<Coverage>
17 coverage; /* Offset to Coverage table--from member
21 * ordered by Coverage Index */
28 return_trace (coverage.sanitize (c, this) && ligatureSet.sanitize (c, this)); in sanitize()
34 + hb_zip (this+coverage, ligatureSet) in intersects()
48 + hb_zip (this+coverage, ligatureSet) in closure()
61 if (unlikely (!(this+coverage).collect_coverage (c->input))) return; in collect_glyphs()
63 + hb_zip (this+coverage, ligatureSet) in collect_glyphs()
70 const Coverage &get_coverage () const { return this+coverage; } in get_coverage()
74 unsigned int index = (this+coverage).get_coverage (c->glyphs[0]); in would_apply()
[all …]
DAlternateSubstFormat1.hh16 typename Types::template OffsetTo<Coverage>
17 coverage; /* Offset to Coverage table--from member
21 * ordered by Coverage Index */
28 return_trace (coverage.sanitize (c, this) && alternateSet.sanitize (c, this)); in sanitize()
32 { return (this+coverage).intersects (glyphs); } in intersects()
39 + hb_zip (this+coverage, alternateSet) in closure()
51 if (unlikely (!(this+coverage).collect_coverage (c->input))) return; in collect_glyphs()
52 + hb_zip (this+coverage, alternateSet) in collect_glyphs()
59 const Coverage &get_coverage () const { return this+coverage; } in get_coverage()
62 { return c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED; } in would_apply()
[all …]
DMultipleSubstFormat1.hh16 typename Types::template OffsetTo<Coverage>
17 coverage; /* Offset to Coverage table--from member
21 * ordered by Coverage Index */
28 return_trace (coverage.sanitize (c, this) && sequence.sanitize (c, this)); in sanitize()
32 { return (this+coverage).intersects (glyphs); } in intersects()
39 + hb_zip (this+coverage, sequence) in closure()
51 if (unlikely (!(this+coverage).collect_coverage (c->input))) return; in collect_glyphs()
52 + hb_zip (this+coverage, sequence) in collect_glyphs()
59 const Coverage &get_coverage () const { return this+coverage; } in get_coverage()
62 { return c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED; } in would_apply()
[all …]
DSingleSubstFormat1.hh15 typename Types::template OffsetTo<Coverage>
16 coverage; /* Offset to Coverage table--from member
29 coverage.sanitize (c, this) && in sanitize()
30 /* The coverage table may use a range to represent a set in sanitize()
35 * Note: This check *must* be right after coverage sanitize. */ in sanitize()
36 c->check_ops ((this + coverage).get_population () >> 1)); in sanitize()
43 { return (this+coverage).intersects (glyphs); } in intersects()
54 unsigned pop = (this+coverage).get_population (); in closure()
59 (this+coverage).intersect_set (c->parent_active_glyphs (), intersection); in closure()
83 if (unlikely (!(this+coverage).collect_coverage (c->input))) return; in collect_glyphs()
[all …]
/third_party/skia/third_party/externals/swiftshader/tests/regres/deqp/
Ddeqp.go64 TempDir string // Directory for temporary log files, coverage output.
80 Coverage *cov.Tree member
90 Coverage *cov.Coverage member
231 out.Coverage = &cov.Tree{}
232 out.Coverage.Add(cov.Path{}, c.CoverageEnv.AllSourceFiles())
250 if r.Coverage != nil {
252 out.Coverage.Add(cov.Path(path), r.Coverage)
253 r.Coverage = nil // Free memory
275 …// If you compile SwiftShader with gcc and the --coverage flag, the build will contain coverage in…
276 // We can use this to get the code coverage of SwiftShader from running dEQP.
[all …]
/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/tint/docs/
Dcoverage-info.md1 # Generating and viewing Tint code-coverage
8 ## Building Tint with coverage generation enabled
12 ## Generate coverage information
14 …se the `<tint>/tools/tint-generate-coverage` script to run the tint executable or unit tests and g…
18 For example, to see the code coverage for all unit tests, run:
19 `<tint>/tools/tint-generate-coverage <build>/tint_unittests --gtest_brief`
23 * `coverage.summary` - A text file giving a coverage summary for all Tint source files.
24 …ry coverage file that can be consumed with the [VSCode Coverage Gutters](https://marketplace.visua…
/third_party/rust/rust/compiler/rustc_codegen_llvm/src/coverageinfo/
Dmapgen.rs14 use rustc_middle::mir::coverage::CodeRegion;
19 /// Generates and exports the Coverage Map.
21 /// Rust Coverage Map generation supports LLVM Coverage Mapping Format version
23 …e Coverage Mapping Format](https://github.com/rust-lang/llvm-project/blob/rustc/13.0-2021-09-30/ll…
24 /// These versions are supported by the LLVM coverage tools (`llvm-profdata` and `llvm-cov`)
27 /// Consequently, Rust's bundled version of Clang also generates Coverage Maps compliant with
28 /// the same version. Clang's implementation of Coverage Map generation was referenced when
31 /// were also replicated for Rust's Coverage Map.
35 // Ensure the installed version of LLVM supports Coverage Map Version 6 in finalize()
40 debug!("Generating coverage map for CodegenUnit: `{}`", cx.codegen_unit.name()); in finalize()
[all …]
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-layout-gsub-table.hh47 { return (this+coverage).intersects (glyphs); } in intersects()
56 + hb_iter (this+coverage) in closure()
68 if (unlikely (!(this+coverage).collect_coverage (c->input))) return; in collect_glyphs()
70 + hb_iter (this+coverage) in collect_glyphs()
76 const Coverage &get_coverage () const { return this+coverage; } in get_coverage()
79 { return 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()
104 if (unlikely (!coverage.serialize_serialize (c, glyphs))) return_trace (false); in serialize()
118 + hb_iter (this+coverage) in subset()
136 return_trace (coverage.sanitize (c, this) && deltaGlyphID.sanitize (c)); in sanitize()
[all …]
/third_party/skia/m133/src/gpu/graphite/
DPublicPrecompile.cpp42 Coverage coverage) { in compile() argument
54 if (r->coverage() != coverage) { in compile()
55 // For now, UniqueIDs are explicitly built with a specific type of coverage so must in compile()
152 for (Coverage coverage : { Coverage::kNone, Coverage::kSingleChannel }) { in Precompile()
162 coverage, in Precompile()
171 // ARGB text doesn't emit coverage and always has a primitive blender in Precompile()
178 Coverage::kNone, in Precompile()
183 // LCD-based text always emits LCD coverage but never has primitiveBlenders in Precompile()
191 Coverage::kLCD, in Precompile()
197 // emits coverage. in Precompile()
[all …]
/third_party/pcre2/pcre2/
DMakefile.am856 # gcov/lcov code coverage reporting
858 # Coverage reporting targets:
860 # coverage: Create a coverage report from 'make check'
861 # coverage-baseline: Capture baseline coverage information
862 # coverage-reset: This zeros the coverage counters only
863 # coverage-report: This creates the coverage report only
864 # coverage-clean-report: This removes the generated coverage report
865 # without cleaning the coverage data itself
866 # coverage-clean-data: This removes the captured coverage data without
867 # removing the coverage files created at compile time (*.gcno)
[all …]
/third_party/vulkan-loader/scripts/
DCodeCoverage.cmake16 # USAGE: To enable any code coverage instrumentation/targets, the single CMake
27 # To add coverage targets, such as calling `make ccov` to generate the actual
28 # coverage information for perusal or consumption, call
33 # In this case, the coverage information reported will will be that of the
45 …xe' target (instrumentation already added via global anyways) for generating code coverage reports.
52 # target_code_coverage(theLib) # As a library target, adds coverage instrumentation but no targets.
56 …ble target, adds the 'ccov-theExe' target and instrumentation for generating code coverage reports.
79 # "Builds targets with code coverage instrumentation. (Requires GCC or Clang)"
108 message(STATUS "Building with llvm Code Coverage Tools")
149 COMMENT "libs ready for coverage report.")
[all …]
/third_party/skia/src/gpu/ops/
DQuadPerEdgeAA.cpp41 const float coverage[4], in write_quad_generic()
52 // perspective and coverage mode. in write_quad_generic()
56 << If(mode == CoverageMode::kWithPosition, coverage[i]); in write_quad_generic()
61 *vb << GrVertexColor(color * (mode == CoverageMode::kWithColor ? coverage[i] : 1.f), in write_quad_generic()
87 // 2D (XY), no explicit coverage, vertex color, no locals, no geometry subset, no texture subsetn
93 const float coverage[4], in write_2d_color()
111 // If this is not coverage-with-alpha, make sure coverage == 1 so it doesn't do anything in write_2d_color()
112 SkASSERT(spec.coverageMode() == CoverageMode::kWithColor || coverage[i] == 1.f); in write_2d_color()
115 << GrVertexColor(color * coverage[i], wide); in write_2d_color()
119 // 2D (XY), no explicit coverage, UV locals, no color, no geometry subset, no texture subset
[all …]

12345678910>>...127