Searched refs:baseline (Results 1 - 25 of 56) sorted by relevance

123

/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/
H A DDefaultDeflateCompatibilityWindow.java69 * Implementation of the lazy-holder idiom to hold and return the baseline.
76 * Generates the baseline and returns it.
80 Map<JreDeflateParameters, String> baseline = new HashMap<JreDeflateParameters, String>();
81 baseline.put(
84 baseline.put(
87 baseline.put(
90 baseline.put(
93 baseline.put(
96 baseline.put(
99 baseline
[all...]
/external/autotest/client/site_tests/security_SuidBinaries/
H A Dsecurity_SuidBinaries.py22 @returns a set containing the names of the files listed in the baseline
33 """Load the list of expected files for a given baseline type.
35 @param bltype the baseline to load.
37 baseline.
40 blname = 'baseline.' + bltype
42 # Board-specific baseline.
43 board_blname = 'baseline.%s.%s' % (utils.get_current_board(), bltype)
48 def run_once(self, baseline='suid'):
50 Do a find on the system for setuid binaries, compare against baseline.
51 Fail if setuid binaries are found on the system but not on the baseline
[all...]
/external/eigen/bench/btl/generic_bench/timers/
H A DSTL_timer.hh32 STL_Timer(){ baseline = false; }; // Default constructor
41 // Start a series of r trials to determine baseline time:
44 baseline = true;
73 // true if this is a baseline computation, false otherwise
74 bool baseline; member in class:STL_Timer
75 // For recording the baseline time
/external/autotest/client/site_tests/security_RootfsStatefulSymlinks/
H A Dsecurity_RootfsStatefulSymlinks.py24 bfile = open(os.path.join(self.bindir, 'baseline'))
25 baseline = json.loads(bfile.read())
27 return baseline
46 # that's permitted by "can_dangle": true in the baseline.
76 baseline = self.load_baseline()
85 # Check if this link is in the baseline. If not, test fails.
86 if not link in baseline:
87 logging.error("No baseline entry for '%s'", link)
93 file_pass = self.validate_attributes(link, baseline[link])
96 # The above will have flagged any links for which we had no baseline
[all...]
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
H A DAllocationStats.java81 * {@code baseline} measurement. The {@code baseline} measurement must have a lower weight
84 AllocationStats minus(AllocationStats baseline) { argument
85 for (Entry<Allocation> entry : baseline.allocations.entrySet()) {
90 + "Observed %d instance(s) of %s in the baseline but only %d in the actual "
98 return new AllocationStats(allocationCount - baseline.allocationCount,
99 allocationSize - baseline.allocationSize,
100 reps - baseline.reps,
101 Multisets.difference(allocations, baseline.allocations));
105 + "between the baseline
116 delta(AllocationStats baseline) argument
[all...]
H A DMicrobenchmarkAllocationWorker.java91 AllocationStats baseline = null;
96 if (stats.equals(baseline)) {
104 baseline = stats;
108 // the baseline allocations did not settle down and so are probably non-deterministic.
128 AllocationStats baseline = measureAllocations(benchmark, benchmarkMethod, 0);
132 return measurement.minus(baseline).toMeasurements();
/external/autotest/client/site_tests/security_Firewall/
H A Dsecurity_Firewall.py26 """The baseline file lists the rules that we expect.
39 so that we can update the baseline file if necessary.
69 baseline = self.load_baseline("baseline.%s" % executable)
71 webserv_rules = self.load_baseline("baseline.webservd")
73 baseline.update(webserv_rules)
79 missing_rules = baseline - current
80 extra_rules = current - baseline
/external/pdfium/testing/image_diff/
H A Dimage_diff.cpp121 void CountImageSizeMismatchAsPixelDifference(const Image& baseline, argument
124 int w = std::min(baseline.w(), actual.w());
125 int h = std::min(baseline.h(), actual.h());
128 int max_w = std::max(baseline.w(), actual.w());
129 int max_h = std::max(baseline.h(), actual.h());
136 float PercentageDifferent(const Image& baseline, const Image& actual) { argument
137 int w = std::min(baseline.w(), actual.w());
138 int h = std::min(baseline.h(), actual.h());
144 if (baseline.pixel_at(x, y) != actual.pixel_at(x, y))
149 CountImageSizeMismatchAsPixelDifference(baseline, actua
153 HistogramPercentageDifferent(const Image& baseline, const Image& actual) argument
[all...]
/external/autotest/client/site_tests/security_SandboxedServices/
H A Dsecurity_SandboxedServices.py163 """The baseline file lists the services we know and
168 """Load baseline from |path| and return its fields and dictionary.
170 @param path: The baseline to load.
172 logging.info('Loading baseline %s', path)
177 baseline_path = os.path.join(self.bindir, 'baseline')
203 so that we can update the baseline file if necessary.
220 (with some exclusions). If we have a baseline entry for a given process,
222 processes that we have no baseline for, and warns if we have
226 fieldnames, baseline = self.load_baseline()
261 # Find differences between running services and baseline
[all...]
/external/lisa/tools/scripts/
H A Dcompare_janbench.py30 # ./compare_jankbench.py --baseline='./results/Jankbench_baseline'
78 parser.add_argument('--baseline', dest='baseline', action='store', default='default',
79 required=True, help='baseline out directory')
82 required=True, help='out directory to compare with baseline')
87 tests = os.listdir(args.baseline)
88 tests = [t for t in tests if os.path.isdir(os.path.join(args.baseline, t))]
90 # Build a baseline df (experiment baseline - say without kernel change)
92 # diff (difference in stats between compare and baseline)
[all...]
/external/skia/bin/
H A Dcoverage44 # Generate a zero-baseline so files not covered by $EXECUTABLE $@ will
47 lcov -q --gcov-tool="$GCOV" -c -b "$BUILD" -d "$BUILD" -o "$DIR"/baseline -i
54 lcov -q -a "$DIR"/baseline -a "$DIR"/coverage -o "$DIR"/merged
/external/skqp/bin/
H A Dcoverage44 # Generate a zero-baseline so files not covered by $EXECUTABLE $@ will
47 lcov -q --gcov-tool="$GCOV" -c -b "$BUILD" -d "$BUILD" -o "$DIR"/baseline -i
54 lcov -q -a "$DIR"/baseline -a "$DIR"/coverage -o "$DIR"/merged
/external/autotest/server/site_tests/platform_GCC/
H A Dplatform_GCC.py38 def compare_logs(self, baseline, new):
39 baseline_results = self.parse_log(baseline)
40 logging.info('%d results parsed in baseline (%s).' %
41 (len(baseline_results), baseline))
111 baseline = os.path.join(self.bindir, '%s.log' % (log))
113 differences = self.compare_logs(baseline, log_to)
/external/autotest/client/site_tests/security_SysLogPermissions/
H A Dsecurity_SysLogPermissions.py18 def run_once(self, baseline='suid'):
/external/google-benchmark/tools/
H A Dcompare.py45 baseline = parser_a.add_argument_group(
46 'baseline', 'The benchmark baseline')
47 baseline.add_argument(
54 'contender', 'The benchmark that will be compared against the baseline')
69 baseline = parser_b.add_argument_group(
70 'baseline', 'The benchmark baseline')
71 baseline.add_argument(
77 baseline
[all...]
/external/libcxx/utils/google-benchmark/tools/
H A Dcompare.py45 baseline = parser_a.add_argument_group(
46 'baseline', 'The benchmark baseline')
47 baseline.add_argument(
54 'contender', 'The benchmark that will be compared against the baseline')
69 baseline = parser_b.add_argument_group(
70 'baseline', 'The benchmark baseline')
71 baseline.add_argument(
77 baseline
[all...]
/external/tensorflow/tensorflow/python/estimator/
H A Destimator_lib.py22 from tensorflow.python.estimator.canned.baseline import BaselineClassifier
23 from tensorflow.python.estimator.canned.baseline import BaselineRegressor
/external/toybox/
H A DMakefile21 .PHONY: clean distclean baseline bloatcheck install install_flat \
34 baseline: generated/unstripped/toybox
/external/skia/tools/calmbench/
H A Dcalmbench.py45 'another baseline branch (e.g., master) using multiple ' +
62 'baseline branch to compare against (default: %(default)s)')
64 'nanobench arg for the baseline branch; if not given, we use '
65 ' the same arg for both the test branch and the baseline branch')
73 'whether NOT to run nanobench on baseline branch '
74 '(i.e., reuse previous baseline measurements)')
88 ['--baseline', str, 'master', baseline_help],
158 ['cp', args.ninjadir + '/nanobench', nano_path(args, args.baseline)],
167 compile_branch(args, args.baseline)
185 args.branch + ("_A" if args.branch == args.baseline els
[all...]
/external/skqp/tools/calmbench/
H A Dcalmbench.py45 'another baseline branch (e.g., master) using multiple ' +
62 'baseline branch to compare against (default: %(default)s)')
64 'nanobench arg for the baseline branch; if not given, we use '
65 ' the same arg for both the test branch and the baseline branch')
73 'whether NOT to run nanobench on baseline branch '
74 '(i.e., reuse previous baseline measurements)')
88 ['--baseline', str, 'master', baseline_help],
158 ['cp', args.ninjadir + '/nanobench', nano_path(args, args.baseline)],
167 compile_branch(args, args.baseline)
185 args.branch + ("_A" if args.branch == args.baseline els
[all...]
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
H A Dmvn_diag_plus_low_rank_test.py201 baseline = ds.MultivariateNormalDiag(
205 samps = baseline.sample(n, seed=0)
208 baseline.log_prob(samps) - mvn_identity.log_prob(samps), 0)
210 baseline, mvn_identity)
213 baseline.log_prob(samps) - mvn_scaled.log_prob(samps), 0)
215 baseline, mvn_scaled)
218 baseline.log_prob(samps) - mvn_diag.log_prob(samps), 0)
219 analytical_kl_diag_diag_baseline = ds.kl_divergence(baseline, mvn_diag)
222 baseline.log_prob(samps) - mvn_chol.log_prob(samps), 0)
223 analytical_kl_chol_diag_baseline = ds.kl_divergence(baseline, mvn_cho
[all...]
/external/toolchain-utils/crb/
H A Dtable_formatter.py49 def GetFormattedPercent(baseline, other, bad_result='--'):
50 result = '%8s' % GetPercent(baseline, other, bad_result)
54 def GetPercent(baseline, other, bad_result='--'):
56 if IsFloat(baseline) and IsFloat(other):
58 pct = (float(other) / float(baseline) - 1) * 100
/external/pdfium/testing/tools/
H A Dgold.py58 is used to find the cl number for which to baseline
65 Download the baseline json and return a list of the two baselines that
69 'hash_files/gold-pdfium-baseline.json')
113 Each baseline is a dict mapping the test case name to a dict with the
117 considered a failure and we should not continue searching the baseline list.
119 Returns MATCH if the md5 provided matches the ones in the baseline json,
120 MISMATCH if it does not, NO_BASELINE if the test case has no baseline, or
121 BASELINE_DOWNLOAD_FAILED if the baseline could not be downloaded and parsed.
127 for baseline in self._baselines:
128 if test_name in baseline
[all...]
/external/perf_data_converter/src/quipper/
H A Dtest_utils.cc205 string baseline; local
206 if (!ReadExistingProtobufText(existing_input_file, &baseline)) {
209 bool matches_baseline = (baseline == protobuf_representation);
/external/skia/fuzz/
H A Dcoverage47 # Generate a zero-baseline so files not covered by $EXECUTABLE $@ will
50 lcov -q --gcov-tool="$GCOV" -c -b "$BUILD" -d "$BUILD" -o "$DIR"/baseline -i
79 lcov -q -a "$DIR"/baseline -a "$DIR"/coverage -o "$DIR"/merged

Completed in 5428 milliseconds

123