/external/autotest/client/site_tests/security_SuidBinaries/ |
H A D | security_SuidBinaries.py | 20 Load the list of expected files for a given baseline type. 21 @param bltype the baseline to load. 23 baseline_file = open(os.path.join(self.bindir, 'baseline.' + bltype)) 27 def run_once(self, baseline='suid'): 29 Do a find on the system for setuid binaries, compare against baseline. 30 Fail if setuid binaries are found on the system but not on the baseline. 46 if baseline in permmask: 47 cmd += '-a -perm /%s -print' % (permmask[baseline]) 48 elif baseline == 'fscap': 51 raise error.TestFail("Unknown baseline ' [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/scripts/ |
H A D | results.properties | 12 -baseline 3.0_200406251208_200505301645 \ 13 -baseline.prefix 3.0_ \
|
/external/eigen/bench/btl/generic_bench/timers/ |
H A D | STL_timer.hh | 32 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_BundledExtensions/ |
H A D | security_BundledExtensions.py | 23 bfile = open(os.path.join(self.bindir, 'baseline')) 24 with open(os.path.join(self.bindir, 'baseline')) as bfile: 25 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_component [all...] |
/external/autotest/client/site_tests/security_RootfsStatefulSymlinks/ |
H A D | security_RootfsStatefulSymlinks.py | 24 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 D | AllocationStats.java | 81 * {@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 D | MicrobenchmarkAllocationWorker.java | 91 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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/ |
H A D | ConfigResults.java | 30 BuildResults baseline, current; field in class:ConfigResults 44 /*if (this.baseline == null || this.current == null) */initialize(); 50 * Returns the baseline build name used to compare results with. 52 * @return The name of the baseline build 56 if (this.baseline == null) { 59 return this.baseline.getName(); 63 * Returns the most recent baseline build results. 65 * @return The {@link BuildResults baseline build results}. 69 if (this.baseline == null) { 72 return this.baseline; [all...] |
H A D | BuildResults.java | 46 boolean baseline; field in class:BuildResults 56 this.baseline = this.name.startsWith(DB_Results.getDbBaselinePrefix()); 108 * Returns the most recent baseline build results. 110 * @return The {@link BuildResults baseline build results}. 157 if (this.baseline) { 315 * Returns whether the build is a baseline build or not. 317 * @return <code>true</code> if the build name starts with the baseline prefix 322 return this.baseline; 386 this.baseline = kind == 0; 387 if (this.baseline) { [all...] |
/external/autotest/client/site_tests/security_Firewall/ |
H A D | security_Firewall.py | 26 """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/skia/tools/ |
H A D | coverage.sh | 20 # Generate a zero-baseline so files not covered by $COMMAND will still show up in the report. 22 lcov $QUIET --gcov-tool=$GCOV -c -b out/Coverage -d out/Coverage -o /tmp/baseline -i 28 lcov $QUIET -a /tmp/baseline -a /tmp/coverage -o /tmp/merged
|
/external/pdfium/samples/ |
H A D | image_diff.cc | 137 void CountImageSizeMismatchAsPixelDifference(const Image& baseline, argument 140 int w = std::min(baseline.w(), actual.w()); 141 int h = std::min(baseline.h(), actual.h()); 144 int max_w = std::max(baseline.w(), actual.w()); 145 int max_h = std::max(baseline.h(), actual.h()); 152 float PercentageDifferent(const Image& baseline, const Image& actual) { argument 153 int w = std::min(baseline.w(), actual.w()); 154 int h = std::min(baseline.h(), actual.h()); 160 if (baseline.pixel_at(x, y) != actual.pixel_at(x, y)) 165 CountImageSizeMismatchAsPixelDifference(baseline, actua 172 HistogramPercentageDifferent(const Image& baseline, const Image& actual) argument [all...] |
/external/autotest/client/site_tests/security_SysLogPermissions/ |
H A D | security_SysLogPermissions.py | 17 def run_once(self, baseline='suid'):
|
/external/autotest/server/site_tests/platform_GCC/ |
H A D | platform_GCC.py | 38 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/opencv3/modules/imgcodecs/test/ |
H A D | test_drawing.cpp | 171 int baseline = 0, thickness = 3, fontFace = FONT_HERSHEY_SCRIPT_SIMPLEX; local 173 Size textSize = getTextSize( text1, fontFace, fontScale, thickness, &baseline); 174 baseline += thickness; 176 rectangle(img, textOrg + Point(0, baseline), textOrg + Point(textSize.width, -textSize.height), Scalar(0,0,255)); 185 textSize = getTextSize( text2, FONT_HERSHEY_SIMPLEX, fontScale, thickness, &baseline); 190 textSize = getTextSize( text2, FONT_HERSHEY_PLAIN, fontScale, thickness, &baseline); 195 textSize = getTextSize( text2, FONT_HERSHEY_DUPLEX, fontScale, thickness, &baseline); 199 textSize = getTextSize( text2, FONT_HERSHEY_COMPLEX, fontScale, thickness, &baseline); 203 textSize = getTextSize( text2, FONT_HERSHEY_TRIPLEX, fontScale, thickness, &baseline); 208 textSize = getTextSize( text2, FONT_HERSHEY_COMPLEX_SMALL, fontScale, thickness, &baseline); 332 int baseline = 0; local 501 int baseline = 0; local [all...] |
/external/opencv3/doc/ |
H A D | stylesheet.css | 15 vertical-align: baseline;
|
/external/toybox/ |
H A D | Makefile | 21 .PHONY: clean distclean baseline bloatcheck install install_flat \ 34 baseline: toybox_unstripped 71 @echo ' baseline - Create toybox_old for use by bloatcheck.'
|
/external/autotest/client/site_tests/security_DbusMap/ |
H A D | security_DbusMap.py | 188 def mutual_compare(self, dbus_list, baseline, context='all'): 192 missing from the baseline, but what is missing from the system. 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) 280 # Pick up baseline.username files but ignore emacs backups. 281 if item.startswith('baseline.') and not item.endswith('~'): 291 # The overall baseline is 'baseline'. User-specific baselines are 292 # stored in files named 'baseline [all...] |
/external/autotest/client/site_tests/security_SandboxedServices/ |
H A D | security_SandboxedServices.py | 81 """The baseline file lists the services we know and 85 baseline_path = os.path.join(self.bindir, 'baseline') 135 so that we can update the baseline file if necessary. 171 (with some exclusions). If we have a baseline entry for a given process, 173 processes that we have no baseline for, and warns if we have 177 baseline = self.load_baseline() 208 # Find differences between running services and baseline 210 baseline_set = set(baseline.keys()) 215 # Check baseline 221 if process.euser != baseline[ex [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/ref/ |
H A D | ref.css | 132 .productions table { vertical-align: baseline; 147 vertical-align: baseline; 153 .productions > table tr { vertical-align: baseline; } 173 .realtable tbody { vertical-align: baseline; } 180 vertical-align: baseline; 196 vertical-align: baseline;
|
/external/opencv3/modules/videoio/src/ |
H A D | cap_openni2.cpp | 149 // TODO find in OpenNI function to convert z->disparity and remove fields "baseline" and depthFocalLength_VGA 151 double baseline; member in class:CvCapture_OpenNI2 383 if (depth.getProperty<double>(XN_STREAM_PROPERTY_EMITTER_DCMOS_DISTANCE, &baseline) != openni::STATUS_OK) 389 // baseline from cm -> mm 390 baseline *= 10; 539 propValue = baseline; 773 static void computeDisparity_32F( const openni::VideoFrameRef& depthMetaData, cv::Mat& disp, double baseline, int F, int noSampleValue, int shadowValue) 779 // disparity = baseline * F / z; 781 float mult = (float)(baseline /*mm*/ * F /*pixels*/); 802 computeDisparity_32F(depthFrame, disp32, baseline, depthFocalLength_VG [all...] |
H A D | cap_openni.cpp | 505 // TODO find in OpenNI function to convert z->disparity and remove fields "baseline" and depthFocalLength_VGA 507 XnDouble baseline; member in class:CvCapture_OpenNI 747 if( depthGenerator.GetRealProperty( "LDDIS", baseline ) != XN_STATUS_OK ) 753 // baseline from cm -> mm 754 baseline *= 10; 950 propValue = baseline; 1217 static void computeDisparity_32F( const xn::DepthMetaData& depthMetaData, cv::Mat& disp, XnDouble baseline, XnUInt64 F, argument 1225 // disparity = baseline * F / z; 1227 float mult = (float)(baseline /*mm*/ * F /*pixels*/); 1248 computeDisparity_32F( depthMetaData, disp32, baseline, depthFocalLength_VG [all...] |
/external/autotest/tko/ |
H A D | nightly.py | 107 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 [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
H A D | GenerateResults.java | 47 * Prefix of baseline builds displayed in data graphs. 48 * This field is set using <b>-baseline.prefix</b> argument. 51 * <pre>-baseline.prefix 3.2_200606291905</pre> 189 public GenerateResults(PerformanceResults results, String current, String baseline, boolean fingerprints, File data, File output) { argument 196 setDefaults(current, baseline); 214 String baseline = null; 228 if (arg.equals("-baseline")) { 229 baseline = args[i + 1]; 230 if (baseline.startsWith("-")) { 234 buffer.append(" -baseline 979 setDefaults(String buildName, String baseline) argument [all...] |
/external/skia/bin/ |
H A D | compare | 19 parser.add_argument('baseline', help='Baseline file.') 24 for (path, d) in [(args.baseline, a), (args.experiment, b)]:
|