Searched refs:coverage (Results 1 - 25 of 214) sorted by relevance

123456789

/external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
H A DICoverageVisitor.java15 * Interface for coverage data output as a stream of {@link IClassCoverage}
21 * For analyzed class coverage data is emitted to this method.
23 * @param coverage
24 * coverage data for a class
26 public void visitCoverage(IClassCoverage coverage); argument
H A DCoverageBuilder.java100 public void visitCoverage(final IClassCoverage coverage) { argument
102 if (coverage.getInstructionCounter().getTotalCount() > 0) {
103 final String name = coverage.getName();
104 final IClassCoverage dup = classes.put(name, coverage);
105 if (dup != null && dup.getId() != coverage.getId()) {
109 final String source = coverage.getSourceFileName();
112 coverage.getPackageName());
113 sourceFile.increment(coverage);
/external/llvm/utils/lit/utils/
H A Dcheck-coverage22 # 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 repor
[all...]
/external/nanopb-c/tests/
H A DMakefile7 coverage:
8 rm -rf build coverage
17 mkdir build/coverage
18 lcov --base-directory . --directory build/ --gcov-tool gcov-4.6 -c -o build/coverage/nanopb.info
21 genhtml -o build/coverage build/coverage/nanopb.info
/external/emma/core/java12/com/vladium/emma/data/
H A DICoverageData.java22 public DataHolder (final boolean [][] coverage, final long stamp) argument
24 m_coverage = coverage;
45 //void setImmutable (); // TODO: this only disables addClass(), not coverage array updates; rename
46 void addClass (boolean [][] coverage, String classVMName, long stamp); argument
H A DCoverageData.java71 public void addClass (final boolean [][] coverage, final String classVMName, final long stamp) argument
73 m_coverageMap.put (classVMName, new DataHolder (coverage, stamp));
117 final boolean [][] coverage = data.m_coverage;
119 // [assertion: both coverage and rhscoverage aren't null]
121 if ($assert.ENABLED) $assert.ASSERT (coverage.length == rhscoverage.length, "coverage.length [" + coverage.length + "] != rhscoverage.length [" + rhscoverage.length + "]");
122 for (int m = 0, mLimit = coverage.length; m < mLimit; ++ m)
125 final boolean [] mcoverage = coverage [m];
175 final boolean [][] coverage
[all...]
/external/llvm/tools/llvm-cov/
H A DCoverageFilters.cpp1 //===- CoverageFilters.cpp - Function coverage mapping filters ------------===//
10 // These classes provide filtering for function coverage mapping records.
20 bool NameCoverageFilter::matches(const coverage::FunctionRecord &Function) {
26 NameRegexCoverageFilter::matches(const coverage::FunctionRecord &Function) {
30 bool RegionCoverageFilter::matches(const coverage::FunctionRecord &Function) {
35 bool LineCoverageFilter::matches(const coverage::FunctionRecord &Function) {
44 bool CoverageFilters::matches(const coverage::FunctionRecord &Function) {
53 CoverageFiltersMatchAll::matches(const coverage::FunctionRecord &Function) {
H A DCoverageFilters.h1 //===- CoverageFilters.h - Function coverage mapping filters --------------===//
10 // These classes provide filtering for function coverage mapping records.
29 virtual bool matches(const coverage::FunctionRecord &Function) {
41 bool matches(const coverage::FunctionRecord &Function) override;
51 bool matches(const coverage::FunctionRecord &Function) override;
79 /// \brief Matches functions whose region coverage percentage
87 bool matches(const coverage::FunctionRecord &Function) override;
90 /// \brief Matches functions whose line coverage percentage
98 bool matches(const coverage::FunctionRecord &Function) override;
114 bool matches(const coverage
[all...]
H A DCoverageReport.h1 //===- CoverageReport.h - Code coverage report ---------------------------===//
10 // This class implements rendering of a code coverage report.
22 /// \brief Displays the code coverage report.
25 std::unique_ptr<coverage::CoverageMapping> Coverage;
32 std::unique_ptr<coverage::CoverageMapping> Coverage)
/external/deqp/framework/referencerenderer/
H A DrrFragmentPacket.hpp53 deUint64 coverage; //!< Coverage mask. member in struct:rr::FragmentPacket
/external/jacoco/org.jacoco.examples/src/org/jacoco/examples/
H A DClassInfo.java57 public void visitCoverage(final IClassCoverage coverage) { argument
58 out.printf("class name: %s%n", coverage.getName());
59 out.printf("class id: %016x%n", Long.valueOf(coverage.getId()));
60 out.printf("instructions: %s%n", Integer.valueOf(coverage
63 Integer.valueOf(coverage.getBranchCounter().getTotalCount()));
65 Integer.valueOf(coverage.getLineCounter().getTotalCount()));
67 Integer.valueOf(coverage.getMethodCounter().getTotalCount()));
68 out.printf("complexity: %s%n%n", Integer.valueOf(coverage
/external/v8/tools/release/
H A Dscript_test.py29 # Wraps test execution with a coverage analysis. To get the best speed, the
30 # native python coverage version >= 3.7.1 should be installed.
32 import coverage namespace
40 cov = coverage.coverage(include=([os.path.join(script_path, '*.py')]))
/external/compiler-rt/lib/asan/
H A Dasan_activation.cc29 bool coverage; member in struct:__asan::AsanDeactivatedFlags
55 cf.coverage = coverage;
74 coverage = cf.coverage;
82 "allocator_may_return_null %d, coverage %d, coverage_dir %s\n",
86 allocator_options.may_return_null, coverage, coverage_dir);
100 asan_deactivated_flags.coverage = common_flags()->coverage;
129 ReInitializeCoverage(asan_deactivated_flags.coverage,
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dgen6_multisample_state.c118 unsigned num_samples, float coverage,
126 int coverage_int = (int) (num_samples * coverage + 0.5);
142 float coverage = 1.0; local
150 coverage = ctx->Multisample.SampleCoverageValue;
158 gen6_emit_3dstate_sample_mask(brw, num_samples, coverage, coverage_invert);
117 gen6_emit_3dstate_sample_mask(struct brw_context *brw, unsigned num_samples, float coverage, bool coverage_invert) argument
/external/flatbuffers/tests/
H A DPythonTest.sh60 # (If the Python program `coverage` is available, it will be run, too.
61 # Install `coverage` with `pip install coverage`.)
62 if $(which coverage >/dev/null); then
63 echo 'Found coverage utility, running coverage with default Python:'
67 coverage run --source=flatbuffers,MyGame py_test.py 0 0 0 > /dev/null
70 cov_result=`coverage report --omit="*flatbuffers/vendor*,*py_test*" \
72 echo "Code coverage: ${cov_result}"
74 echo -n "Did not find coverage utilit
[all...]
/external/flatbuffers/tests/fuzzer/
H A Dbuild_run_verifier_test.sh17 clang++ -fsanitize-coverage=edge -fsanitize=address -std=c++11 -stdlib=libstdc++ -I.. -I../../include flatbuffers_verifier_fuzzer.cc libFuzzer.a -o fuzz_verifier
H A Dbuild_run_parser_test.sh17 clang++ -fsanitize-coverage=edge -fsanitize=address -std=c++11 -stdlib=libstdc++ -I.. -I../../include flatbuffers_parser_fuzzer.cc ../../src/idl_parser.cpp ../../src/util.cpp libFuzzer.a -o fuzz_parser
/external/skia/src/core/
H A DSkDrawProcs.h15 SkScalar* coverage);
19 * the matrix is <= 1.0, then this returns true, and sets coverage (simulating
20 * a stroke by drawing a hairline with partial coverage). If any of these
21 * conditions are false, then this returns false and coverage is ignored.
24 SkScalar* coverage) {
31 *coverage = SK_Scalar1;
39 return SkDrawTreatAAStrokeAsHairline(strokeWidth, matrix, coverage);
23 SkDrawTreatAsHairline(const SkPaint& paint, const SkMatrix& matrix, SkScalar* coverage) argument
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/
H A DClassAnalyzer.java31 private ClassCoverageImpl coverage; field in class:ClassAnalyzer
34 * Creates a new analyzer that builds coverage data for a class.
55 * Returns the coverage data for this class after this visitor has been
58 * @return coverage data for this class
61 return coverage;
68 this.coverage = new ClassCoverageImpl(stringPool.get(name), classid,
75 this.coverage.setSourceFileName(stringPool.get(source));
82 InstrSupport.assertNotInstrumented(name, coverage.getName());
96 coverage.addMethod(methodCoverage);
111 InstrSupport.assertNotInstrumented(name, coverage
[all...]
/external/skia/bin/
H A Dcoverage30 BUILD=out/coverage
37 ARGS='cc="gcc" cxx="g++" extra_cflags=["--coverage"] extra_ldflags=["--coverage"]'
49 # Running the binary generates the real coverage information, the .gcda files.
52 lcov -q --gcov-tool="$GCOV" -c -b "$BUILD" -d "$BUILD" -o "$DIR"/coverage
54 lcov -q -a "$DIR"/baseline -a "$DIR"/coverage -o "$DIR"/merged
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_flags.inc125 bool, coverage, false,
126 "If set, coverage information will be dumped at program shutdown (if the "
127 "coverage instrumentation was enabled at compile time).")
129 "If set (and if 'coverage' is set too), the coverage information "
135 "If set (and if 'coverage' is set too), the coverage information "
138 "If set (and if 'coverage' is set too), the bitmap that corresponds"
139 " to coverage counters will be dumped.")
141 "If set, coverage informatio
[all...]
/external/libbrillo/
H A Dgen_coverage_html.sh15 # some versions of genhtml support the --no-function-coverage argument,
16 # which we want. The problem w/ function coverage is that every template
19 # is tested, but it shows only 50% function coverage b/c it thinks we didn't
22 genhtml --no-function-coverage -o html ./app.info || genhtml -o html ./app.info
/external/skia/src/gpu/ops/
H A DGrTestMeshDrawOp.h37 GrPipelineAnalysisCoverage* coverage) const override {
39 *coverage = GrPipelineAnalysisCoverage::kSingleChannel;
/external/autotest/utils/
H A Dcoverage_suite.py65 coverage = os.path.join(root, "contrib/coverage.py")
67 # remove preceeding coverage data
68 cmd = "%s -e" % (coverage)
81 # run unittests through coverage analysis
82 os.path.walk(start, run_unittests, coverage)
93 cmd = "%s -r -m %s" % (coverage, " ".join(module_strings))
/external/icu/icu4c/source/common/
H A Dservslkf.cpp37 int32_t coverage)
38 : LocaleKeyFactory(coverage)
48 int32_t coverage)
49 : LocaleKeyFactory(coverage)
34 SimpleLocaleKeyFactory(UObject* objToAdopt, const UnicodeString& locale, int32_t kind, int32_t coverage) argument
45 SimpleLocaleKeyFactory(UObject* objToAdopt, const Locale& locale, int32_t kind, int32_t coverage) argument

Completed in 570 milliseconds

123456789