Home
last modified time | relevance | path

Searched refs:baseline (Results 1 – 25 of 110) sorted by relevance

12345

/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/
DDefaultDeflateCompatibilityWindow.java80 Map<JreDeflateParameters, String> baseline = new HashMap<JreDeflateParameters, String>(); in generateBaseline() local
81 baseline.put( in generateBaseline()
84 baseline.put( in generateBaseline()
87 baseline.put( in generateBaseline()
90 baseline.put( in generateBaseline()
93 baseline.put( in generateBaseline()
96 baseline.put( in generateBaseline()
99 baseline.put( in generateBaseline()
102 baseline.put( in generateBaseline()
105 baseline.put( in generateBaseline()
[all …]
/external/autotest/client/site_tests/security_SuidBinaries/
Dsecurity_SuidBinaries.py48 def run_once(self, baseline='suid'): argument
67 if baseline in permmask:
68 cmd += '-a -perm /%s -print' % (permmask[baseline])
69 elif baseline == 'fscap':
72 raise error.TestFail("Unknown baseline '%s'!" % (baseline))
76 baseline_set = self._load_baseline(baseline)
80 logging.debug('%s: %s', baseline, line)
85 message = 'New %s binaries: %s' % (baseline, ', '.join(new))
92 logging.error('Missing %s binary: %s', baseline, filepath)
94 logging.debug('OK: %s baseline matches system', baseline)
Dcontrol13 Fail if the list of setuid/gid binaries doesn't match the baseline
21 job.run_test("security_SuidBinaries", baseline='suid', tag='suid')
22 job.run_test("security_SuidBinaries", baseline='sgid', tag='sgid')
23 job.run_test("security_SuidBinaries", baseline='fscap', tag='fscap')
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
DAllocationStats.java84 AllocationStats minus(AllocationStats baseline) { in minus() argument
85 for (Entry<Allocation> entry : baseline.allocations.entrySet()) { in minus()
98 return new AllocationStats(allocationCount - baseline.allocationCount, in minus()
99 allocationSize - baseline.allocationSize, in minus()
100 reps - baseline.reps, in minus()
101 Multisets.difference(allocations, baseline.allocations)); in minus()
107 baseline, this), e); in minus()
116 public Delta delta(AllocationStats baseline) { in delta() argument
118 allocationCount - baseline.allocationCount, in delta()
119 allocationSize - baseline.allocationSize, in delta()
[all …]
DMicrobenchmarkAllocationWorker.java91 AllocationStats baseline = null; in verifyBenchmarkIsDeterministic() local
96 if (stats.equals(baseline)) { in verifyBenchmarkIsDeterministic()
104 baseline = stats; in verifyBenchmarkIsDeterministic()
128 AllocationStats baseline = measureAllocations(benchmark, benchmarkMethod, 0); in measure() local
132 return measurement.minus(baseline).toMeasurements(); in measure()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/
DConfigResults.java30 BuildResults baseline, current; field in ConfigResults
56 if (this.baseline == null) { in getBaselineBuildName()
59 return this.baseline.getName(); in getBaselineBuildName()
69 if (this.baseline == null) { in getBaselineBuildResults()
72 return this.baseline; in getBaselineBuildResults()
83 if (this.baseline == null) { in getBaselineBuildResults()
94 return this.baseline; in getBaselineBuildResults()
104 if (this.baseline == null) { in getBaselineBuildValue()
107 return this.baseline.getValue(); in getBaselineBuildValue()
281 if (this.baseline == null || this.current == null) { in getCurrentBuildDeltaInfo()
[all …]
DBuildResults.java46 boolean baseline; field in BuildResults
56 this.baseline = this.name.startsWith(DB_Results.getDbBaselinePrefix()); in BuildResults()
157 if (this.baseline) { in getDate()
322 return this.baseline; in isBaseline()
386 this.baseline = kind == 0; in readData()
387 if (this.baseline) { in readData()
554 if (!this.baseline) { in write()
/external/autotest/client/site_tests/security_BundledExtensions/
Dsecurity_BundledExtensions.py25 baseline = []
28 baseline.append(line)
29 baseline = json.loads(''.join(baseline))
30 self._ignored_extension_ids = baseline['ignored_extension_ids']
31 self._bundled_crx_baseline = baseline['bundled_crx_baseline']
32 self._component_extension_baseline = baseline[
34 self._official_components = baseline['official_components']
129 baseline = [x for x in combined_baseline if x['id'] == good_id][0]
132 baseline_apis = set(baseline['apiPermissions'])
141 baseline_hosts = set(baseline['effectiveHostPermissions'])
/external/pdfium/samples/
Dimage_diff.cc137 void CountImageSizeMismatchAsPixelDifference(const Image& baseline, in CountImageSizeMismatchAsPixelDifference() argument
140 int w = std::min(baseline.w(), actual.w()); in CountImageSizeMismatchAsPixelDifference()
141 int h = std::min(baseline.h(), actual.h()); in CountImageSizeMismatchAsPixelDifference()
144 int max_w = std::max(baseline.w(), actual.w()); in CountImageSizeMismatchAsPixelDifference()
145 int max_h = std::max(baseline.h(), actual.h()); in CountImageSizeMismatchAsPixelDifference()
152 float PercentageDifferent(const Image& baseline, const Image& actual) { in PercentageDifferent() argument
153 int w = std::min(baseline.w(), actual.w()); in PercentageDifferent()
154 int h = std::min(baseline.h(), actual.h()); in PercentageDifferent()
160 if (baseline.pixel_at(x, y) != actual.pixel_at(x, y)) in PercentageDifferent()
165 CountImageSizeMismatchAsPixelDifference(baseline, actual, &pixels_different); in PercentageDifferent()
[all …]
/external/autotest/client/site_tests/security_RootfsStatefulSymlinks/
Dsecurity_RootfsStatefulSymlinks.py25 baseline = json.loads(bfile.read())
27 return baseline
76 baseline = self.load_baseline()
86 if not link in baseline:
93 file_pass = self.validate_attributes(link, baseline[link])
99 expected_set = set(baseline.keys())
/external/autotest/client/site_tests/security_SandboxedServices/
Dsecurity_SandboxedServices.py220 fieldnames, baseline = self.load_baseline()
257 baseline_set = set(baseline.keys())
268 if process.euser != baseline[exe]["euser"]:
270 exe, baseline[exe]['euser'], process.euser)
275 if process.egroup != baseline[exe]['egroup']:
277 exe, baseline[exe]['egroup'], process.egroup)
282 if (baseline[exe]['pidns'] == 'Yes' and
286 elif (baseline[exe]['caps'] == 'Yes' and
290 elif (baseline[exe]['filter'] == 'Yes' and
/external/autotest/client/site_tests/security_Firewall/
Dsecurity_Firewall.py69 baseline = self.load_baseline("baseline.%s" % executable)
73 baseline.update(webserv_rules)
79 missing_rules = baseline - current
80 extra_rules = current - baseline
/external/eigen/bench/btl/generic_bench/timers/
DSTL_timer.hh32 STL_Timer(){ baseline = false; }; // Default constructor in STL_Timer()
44 baseline = true; in start_baseline()
74 bool baseline; member in STL_Timer
/external/autotest/server/site_tests/platform_GCC/
Dplatform_GCC.py38 def compare_logs(self, baseline, new): argument
39 baseline_results = self.parse_log(baseline)
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_DbusMap/
Dsecurity_DbusMap.py188 def mutual_compare(self, dbus_list, baseline, context='all'): argument
201 self.sort_dbus_tree(baseline)
204 newapis = self.compare_dbus_trees(dbus_list, baseline)
210 missing_apis = self.compare_dbus_trees(baseline, dbus_list)
346 def compare_dbus_trees(self, current, baseline): argument
361 bl_object_names = [bl_object['Object_name'] for bl_object in baseline]
367 bl_object_interfaces = baseline[index]['interfaces']
511 baseline = self.load_baseline()
512 test_pass = self.mutual_compare(dbus_list, baseline)
/external/toolchain-utils/crb/
Dtable_formatter.py49 def GetFormattedPercent(baseline, other, bad_result='--'): argument
50 result = '%8s' % GetPercent(baseline, other, bad_result)
54 def GetPercent(baseline, other, bad_result='--'): argument
56 if IsFloat(baseline) and IsFloat(other):
58 pct = (float(other) / float(baseline) - 1) * 100
/external/skia/bin/
Dcoverage47 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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
DGenerateResults.java189 public GenerateResults(PerformanceResults results, String current, String baseline, boolean fingerp… in GenerateResults() argument
196 setDefaults(current, baseline); in GenerateResults()
214 String baseline = null; in parse() local
229 baseline = args[i + 1]; in parse()
230 if (baseline.startsWith("-")) { in parse()
234 buffer.append(" -baseline = "+baseline+'\n'); in parse()
479 setPerformanceResults(currentBuildId, baseline); in parse()
979 private void setDefaults(String buildName, String baseline) { in setDefaults() argument
1011 int index = baseline.lastIndexOf('_'); in setDefaults()
1013 this.baselinePrefix = baseline.substring(0, index); in setDefaults()
/external/autotest/tko/
Dnightly.py107 baseline = {}
117 if platform not in baseline:
118 baseline[platform], std = plotgraph.avg_dev(vals)
119 vals = [v/baseline[platform] for v in vals]
138 baseline = perf.average(vals)
141 vals = [val/baseline for val in vals]
282 baseline = None
287 if baseline and relative:
288 percent = (avg/baseline - 1)*100
291 baseline = avg
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/scripts/
Dresults.properties12 -baseline 3.0_200406251208_200505301645 \
13 -baseline.prefix 3.0_ \
/external/toybox/
DMakefile21 .PHONY: clean distclean baseline bloatcheck install install_flat \
34 baseline: generated/unstripped/toybox target
/external/skia/fuzz/
Dcoverage50 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
/external/toolchain-utils/cros_utils/
Dtabulator.py803 baseline = None
809 if baseline is not None:
810 column.result.Compute(cell, values, baseline)
816 column.result.Compute(cell, values, baseline)
822 if baseline is None:
823 baseline = values
835 baseline = None
840 column.result.Compute(cell, ['Fail'], baseline)
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.pde.api.tools_1.0.202.v20100820_r361.jar ... .tools.internal.provisional.model.IApiBaseline baseline boolean success java.io.File file public void ...
/external/autotest/client/site_tests/security_SysLogPermissions/
Dsecurity_SysLogPermissions.py17 def run_once(self, baseline='suid'): argument

12345