Home
last modified time | relevance | path

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

1234

/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 …]
Dcopy_block_helper.m2 // crash llvm-cov.
12 // RUN: llvm-cov gcov copy_block_helper.m | FileCheck %s --check-prefix=STDOUT
31 // llvm-cov doesn't work on big endian yet
Dcov-comdat.test10 // RUN: llvm-cov show %S/Inputs/binary-formats.v1.linux64l -instr-profile %S/Inputs/elf_binary_comd…
11 // RUN: llvm-cov show %S/Inputs/binary-formats.v2.linux64l -instr-profile %S/Inputs/elf_binary_comd…
12 // RUN: llvm-cov show %S/Inputs/binary-formats.v2.linux32l -instr-profile %S/Inputs/elf_binary_comd…
/external/tensorflow/tensorflow/contrib/kfac/python/kernel_tests/
Dfisher_factors_test.py147 cov = ff.compute_cov(array_ops.constant(x))
150 self.assertAllClose(sess.run(cov), np_cov)
159 cov = ff.compute_cov(array_ops.constant(x), normalizer=normalizer)
162 self.assertAllClose(sess.run(cov), np_cov)
298 cov = np.array([[1., 2.], [3., 4.]])
299 factor = InverseProvidingFactorTestingDummy(cov.shape)
300 factor._cov = array_ops.constant(cov, dtype=dtypes.float32)
322 cov = np.array([[6., 2.], [2., 4.]])
323 factor = InverseProvidingFactorTestingDummy(cov.shape)
324 factor._cov = array_ops.constant(cov, dtype=dtypes.float32)
[all …]
/external/opencv/cv/src/
Dcvcorner.cpp47 icvCalcMinEigenVal( const float* cov, int cov_step, float* dst, in icvCalcMinEigenVal() argument
52 cov_step /= sizeof(cov[0]); in icvCalcMinEigenVal()
56 for( ; size.height--; cov += cov_step, dst += dst_step ) in icvCalcMinEigenVal()
60 double a = cov[j*3]*0.5; in icvCalcMinEigenVal()
61 double b = cov[j*3+1]; in icvCalcMinEigenVal()
62 double c = cov[j*3+2]*0.5; in icvCalcMinEigenVal()
77 icvCalcHarris( const float* cov, int cov_step, float* dst, in icvCalcHarris() argument
81 cov_step /= sizeof(cov[0]); in icvCalcHarris()
84 for( ; size.height--; cov += cov_step, dst += dst_step ) in icvCalcHarris()
88 double a = cov[j*3]; in icvCalcHarris()
[all …]
/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/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/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/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/brotli/research/
Ddeorummolae.cc219 Coverage cov = {{0}}; in DM_generate() local
221 cov[f >> 6] = ((uint64_t)1) << (f & 63); in DM_generate()
226 for (size_t x = 0; x < cov.size(); ++x) cov[x] |= top.coverage[x]; in DM_generate()
228 for (size_t x = 0; x < cov.size(); ++x) count += popcount(cov[x]); in DM_generate()
240 for (size_t x = 0; x < cov.size(); ++x) { in DM_generate()
241 isles.back().coverage[x] |= cov[x]; in DM_generate()
245 for (size_t x = 0; x < cov.size(); ++x) { in DM_generate()
246 isles.back().coverage[x] |= cov[x]; in DM_generate()
/external/v8/tools/release/
Dscript_test.py40 cov = coverage.coverage(include=([os.path.join(script_path, '*.py')]))
41 cov.start()
49 cov.stop()
50 print cov.report()
/external/opencv/ml/src/
Dmltestset.cpp66 CvMat* cov = NULL; in cvCreateTestSet() local
109 CV_CALL( cov = cvCreateMat( num_features, num_features, CV_32FC1 ) ); in cvCreateTestSet()
110 CV_CALL( cvSetIdentity( cov ) ); in cvCreateTestSet()
114 CV_CALL( cvRandMVNormal( mean, cov, *samples ) ); in cvCreateTestSet()
166 cvReleaseMat( &cov ); in cvCreateTestSet()
Dmlem.cpp193 const CvMat* cov = params.covs[k]; in set_params() local
194 if( !CV_IS_MAT(cov) || in set_params()
195 CV_MAT_TYPE(cov->type) != CV_32FC1 && in set_params()
196 CV_MAT_TYPE(cov->type) != CV_64FC1 || in set_params()
197 cov->rows != cov->cols || cov->cols != train_data.dims ) in set_params()
982 CvMat* cov = covs[k], _mean, _sample; in run_em() local
996 cvZero( cov ); in run_em()
1007 cvScaleAdd( covs_item, cvRealScalar(p), cov, cov ); in run_em()
1027 cvSVD( cov, w, cov_rotate_mats[k], 0, CV_SVD_U_T ); in run_em()
/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/libcxx/cmake/Modules/
DCodeCoverage.cmake6 find_program(CODE_COVERAGE_LLVM_COV llvm-cov)
8 message(FATAL_ERROR "Cannot find llvm-cov...")
23 set(GCOV_TOOL "${LIBCXX_BINARY_DIR}/llvm-cov-wrapper")
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
Dmvn_tril_test.py58 scipy_mvn = stats.multivariate_normal(mean=mu, cov=sigma)
78 scipy_mvn = stats.multivariate_normal(mean=mu, cov=sigma)
103 scipy_mvn = stats.multivariate_normal(mean=mu[1, :], cov=sigma[1, :, :])
118 scipy_mvn = stats.multivariate_normal(mean=mu, cov=sigma)
134 mean=mu[1, 1, :], cov=sigma[1, 1, :, :]).entropy()
152 self.assertAllClose(np.cov(sample_values, rowvar=0), sigma, atol=0.06)
184 mean=mu[1, 1, :], cov=sigma[1, 1, :, :]).logpdf(x)
203 np.cov(sample_values[:, 1, 1, :], rowvar=0),
/external/tensorflow/tensorflow/contrib/factorization/python/ops/
Dgmm_ops.py59 cov = math_ops.reduce_sum(
62 cov = math_ops.matmul(x, x, transpose_a=True) / (num_points - 1)
63 return cov
190 cov = _covariance(first_shard, False) + self._min_var
193 array_ops.expand_dims(cov, 0), [self._num_classes, 1, 1])
195 cov = _covariance(first_shard, True) + self._min_var
198 array_ops.expand_dims(array_ops.diag_part(cov), 0),
/external/eigen/doc/
DFunctionsTakingEigenTypes.dox96 void cov(const Ref<const MatrixXf> x, const Ref<const MatrixXf> y, Ref<MatrixXf> C)
104 and here are two examples calling cov without any copy:
107 cov(m1, m2, m3);
108 cov(m1.leftCols<3>(), m2.leftCols<3>(), m3.topLeftCorner<3,3>());
114 …nctions, and without the Ref class, a naive implementation of the previous cov function might look…
116 MatrixXf cov(const MatrixXf& x, const MatrixXf& y)
127 MatrixXf C = cov(x,y+z);
139 void cov(const MatrixXf& x, const MatrixXf& y, MatrixXf& C)
150 cov(x,y, C.block(0,0,3,3));
157 void cov(const MatrixBase<Derived>& x, const MatrixBase<Derived>& y, MatrixBase<OtherDerived> const…
[all …]
/external/llvm/tools/llvm-cov/
DAndroid.bp2 // llvm-cov command line tool
6 name: "llvm-cov",
DCMakeLists.txt3 add_llvm_tool(llvm-cov
4 llvm-cov.cpp
/external/llvm/test/tools/sancov/
Dstats.test5 CHECK: cov-edges: 5
7 CHECK: cov-functions: 2
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/correlation/
DCovariance.java166 double cov = covariance(matrix.getColumn(i), matrix.getColumn(j), biasCorrected); in computeCovarianceMatrix() local
167 outMatrix.setEntry(i, j, cov); in computeCovarianceMatrix()
168 outMatrix.setEntry(j, i, cov); in computeCovarianceMatrix()
/external/fonttools/Lib/fontTools/ttLib/tables/
DotTables.py192 cov = Coverage()
195 cov.glyphs = input
196 rawTable["Coverage"] = cov
360 cov = Coverage()
361 cov.glyphs = [ item[1] for item in items]
374 return {"Coverage": cov, "AlternateSet": alternates}
427 cov = Coverage()
428 cov.glyphs = [ item[1] for item in items]
442 return {"Coverage": cov, "LigatureSet": ligSets}
/external/curl/scripts/
Dcoverage.sh14 lcov -d . -c -o cov.lcov
15 genhtml cov.lcov --output-directory coverage --title "curl code coverage"
/external/llvm/test/Transforms/GCOVProfiling/
Dreturn-block.ll7 ; RUN: llvm-cov gcov -n -dump %T/return-block.gcno 2>&1 | FileCheck -check-prefix=CHECK -check-pref…
11 ; RUN: llvm-cov gcov -n -dump %T/return-block.gcno 2>&1 | FileCheck -check-prefix=CHECK -check-pref…
16 ; RUN: llvm-cov gcov -n -dump %T/return-block.gcno 2>&1 | FileCheck -check-prefix=CHECK -check-pref…
20 ; RUN: llvm-cov gcov -n -dump %T/return-block.gcno 2>&1 | FileCheck -check-prefix=CHECK -check-pref…

1234