/external/skia/tools/skpdiff/ |
D | SkDifferentPixelsMetric_cpu.cpp | 17 bool SkDifferentPixelsMetric::diff(SkBitmap* baseline, SkBitmap* test, bool computeMask, in diff() argument 22 if (baseline->width() != test->width() || baseline->height() != test->height() || in diff() 23 baseline->width() <= 0 || baseline->height() <= 0 || in diff() 24 baseline->config() != test->config()) { in diff() 28 int width = baseline->width(); in diff() 29 int height = baseline->height(); in diff() 41 baseline->lockPixels(); in diff() 45 unsigned char* baselineRow = (unsigned char*)baseline->getAddr(0, y); in diff() 58 baseline->unlockPixels(); in diff()
|
D | SkDifferentPixelsMetric_opencl.cpp | 39 bool SkDifferentPixelsMetric::diff(SkBitmap* baseline, SkBitmap* test, bool computeMask, in diff() argument 51 if (baseline->width() != test->width() || baseline->height() != test->height() || in diff() 52 baseline->width() <= 0 || baseline->height() <= 0 || in diff() 53 baseline->config() != test->config()) { in diff() 62 if (!this->makeImage2D(baseline, &baselineImage) || !this->makeImage2D(test, &testImage)) { in diff() 68 result->result = 1.0 / ((double)baseline->width() * baseline->height()); in diff() 87 const size_t workSize[] = { baseline->width(), baseline->height() }; in diff()
|
D | SkPMetric.cpp | 442 bool SkPMetric::diff(SkBitmap* baseline, SkBitmap* test, bool computeMask, Result* result) const { in diff() argument 446 if (baseline->width() != test->width() || baseline->height() != test->height() || in diff() 447 baseline->width() <= 0 || baseline->height() <= 0) { in diff() 451 ImageLAB baselineLAB(baseline->width(), baseline->height()); in diff() 452 ImageLAB testLAB(baseline->width(), baseline->height()); in diff() 454 if (!bitmap_to_cielab(baseline, &baselineLAB) || !bitmap_to_cielab(test, &testLAB)) { in diff()
|
/external/chromium_org/chrome/browser/spellchecker/ |
D | spellcheck_host_metrics_unittest.cc | 44 scoped_ptr<HistogramSamples> baseline; in TEST_F() local 48 baseline = histogram->SnapshotSamples(); in TEST_F() 56 if (baseline.get()) in TEST_F() 57 samples->Subtract(*baseline); in TEST_F() 61 baseline.reset(samples.release()); in TEST_F() 69 samples->Subtract(*baseline); in TEST_F() 89 scoped_ptr<HistogramSamples> baseline = histogram->SnapshotSamples(); in TEST_F() local 97 samples->Subtract(*baseline); in TEST_F() 144 scoped_ptr<HistogramSamples> baseline; in TEST_F() local 147 baseline = histogram->SnapshotSamples(); in TEST_F() [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | GraphicsTypes.cpp | 189 String textBaselineName(TextBaseline baseline) in textBaselineName() argument 191 ASSERT(baseline >= 0); in textBaselineName() 192 ASSERT(baseline < 6); in textBaselineName() 194 return names[baseline]; in textBaselineName() 197 bool parseTextBaseline(const String& s, TextBaseline& baseline) in parseTextBaseline() argument 200 baseline = AlphabeticTextBaseline; in parseTextBaseline() 204 baseline = TopTextBaseline; in parseTextBaseline() 208 baseline = MiddleTextBaseline; in parseTextBaseline() 212 baseline = BottomTextBaseline; in parseTextBaseline() 216 baseline = IdeographicTextBaseline; in parseTextBaseline() [all …]
|
/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/ |
D | ConfigResults.java | 30 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 …]
|
D | BuildResults.java | 46 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/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
D | SVGTextLayoutEngineBaseline.cpp | 72 EDominantBaseline baseline = style->dominantBaseline(); in dominantBaselineToAlignmentBaseline() local 73 if (baseline == DB_AUTO) { in dominantBaselineToAlignmentBaseline() 75 baseline = DB_CENTRAL; in dominantBaselineToAlignmentBaseline() 77 baseline = DB_ALPHABETIC; in dominantBaselineToAlignmentBaseline() 80 switch (baseline) { in dominantBaselineToAlignmentBaseline() 120 EAlignmentBaseline baseline = textRenderer->style()->svgStyle()->alignmentBaseline(); in calculateAlignmentBaselineShift() local 121 if (baseline == AB_AUTO) { in calculateAlignmentBaselineShift() 122 baseline = dominantBaselineToAlignmentBaseline(isVerticalText, textRendererParent); in calculateAlignmentBaselineShift() 123 ASSERT(baseline != AB_AUTO); in calculateAlignmentBaselineShift() 129 switch (baseline) { in calculateAlignmentBaselineShift()
|
/external/chromium/chrome/browser/ui/views/bookmarks/ |
D | bookmark_bar_instructions_view.cc | 44 int baseline = view->GetBaseline(); in GetPreferredSize() local 45 if (baseline != -1) { in GetPreferredSize() 46 ascent = std::max(ascent, baseline); in GetPreferredSize() 47 descent = std::max(descent, pref.height() - baseline); in GetPreferredSize() 65 int baseline = view->GetBaseline(); in Layout() local 67 if (baseline != -1 && baseline_ != -1) in Layout() 68 y = baseline_ - baseline; in Layout()
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
D | bookmark_bar_instructions_view.cc | 56 int baseline = view->GetBaseline(); in GetPreferredSize() local 57 if (baseline != -1) { in GetPreferredSize() 58 ascent = std::max(ascent, baseline); in GetPreferredSize() 59 descent = std::max(descent, pref.height() - baseline); in GetPreferredSize() 77 int baseline = view->GetBaseline(); in Layout() local 79 if (baseline != -1 && baseline_ != -1) in Layout() 80 y = baseline_ - baseline; in Layout()
|
/external/chromium_org/tools/imagediff/ |
D | image_diff.cc | 147 float PercentageDifferent(const Image& baseline, const Image& actual) { in PercentageDifferent() argument 148 int w = std::min(baseline.w(), actual.w()); in PercentageDifferent() 149 int h = std::min(baseline.h(), actual.h()); in PercentageDifferent() 155 if (baseline.pixel_at(x, y) != actual.pixel_at(x, y)) in PercentageDifferent() 161 int max_w = std::max(baseline.w(), actual.w()); in PercentageDifferent() 162 int max_h = std::max(baseline.h(), actual.h()); in PercentageDifferent() 181 float HistogramPercentageDifferent(const Image& baseline, const Image& actual) { in HistogramPercentageDifferent() argument 186 int w = std::min(baseline.w(), actual.w()); in HistogramPercentageDifferent() 187 int h = std::min(baseline.h(), actual.h()); in HistogramPercentageDifferent() 194 baseline_histogram[baseline.pixel_at(x, y)]++; in HistogramPercentageDifferent() [all …]
|
/external/eigen/bench/btl/generic_bench/timers/ |
D | STL_timer.hh | 32 STL_Timer(){ baseline = false; }; // Default constructor in STL_Timer() 44 baseline = true; in start_baseline() 74 bool baseline; member in STL_Timer
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | SVGCSSPropertyNames.in | 43 alignment-baseline 44 baseline-shift 45 dominant-baseline
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/benchmark/ |
D | options.js | 487 function subtractData(data, baseline) { argument 489 if (baseline.data.length != count) { 494 var obj2 = baseline.data[i]; 538 function computeResults(data, baseline) { argument 548 if (baseline) { 549 computeDisplayResults(baseline); 550 if (!subtractData(data, baseline)) { 585 var baseline; 588 baseline = JSON.parse(baseline_json); 595 computeResults(data, baseline); [all …]
|
/external/skia/tools/ |
D | coverage.sh | 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/chromium_org/tools/site_compare/commands/ |
D | maskmaker.py | 171 baseline = None 173 baseline = Image.open(os.path.join(mask_scrape_dir, mask_scrapes[0])) 197 if baseline: 198 diff = ImageChops.multiply(ImageChops.difference(scrape, baseline),
|
/external/chromium_org/ui/gfx/ |
D | platform_font_win.cc | 141 return font_ref_->baseline(); in GetBaseline() 248 const int baseline = std::max<int>(1, font_metrics.tmAscent); in CreateHFontRef() local 262 return new HFontRef(font, font_size, height, baseline, cap_height, in CreateHFontRef() 275 int baseline, in HFontRef() argument 282 baseline_(baseline), in HFontRef()
|
D | platform_font_win.h | 88 int baseline, 96 int baseline() const { return baseline_; } in baseline() function
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/scripts/ |
D | results.properties | 12 -baseline 3.0_200406251208_200505301645 \ 13 -baseline.prefix 3.0_ \
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
D | SVGAttributeNames.in | 8 alignment-baseline 18 baseline-shift 47 dominant-baseline
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
D | GenerateResults.java | 189 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/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | RenderButton.cpp | 116 int RenderButton::baselinePosition(FontBaseline baseline, bool firstLine, LineDirectionMode directi… in baselinePosition() argument 131 return RenderFlexibleBox::baselinePosition(baseline, firstLine, direction, linePositionMode); in baselinePosition()
|
D | RenderTextControl.h | 101 …virtual int baselinePosition(FontBaseline baseline, bool firstLine, LineDirectionMode direction, L… in baselinePosition() argument 103 return RenderBlock::baselinePosition(baseline, firstLine, direction, position); in baselinePosition()
|
/external/chromium_org/third_party/JSON/JSON-2.59/t/ |
D | 22_comment_at_eof.t | 33 is( decoder( "[]" ), '[]', 'array baseline' ); 41 is( decoder( "" ), 'undef', 'eof baseline' );
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
D | device_status_collector_browsertest.cc | 395 Time baseline = Time::Now().LocalMidnight(); in TEST_F() local 402 baseline += TimeDelta::FromDays(1); in TEST_F() 403 status_collector_->SetBaselineTime(baseline); in TEST_F() 415 baseline += TimeDelta::FromDays(1); in TEST_F() 416 status_collector_->SetBaselineTime(baseline); in TEST_F() 419 baseline -= TimeDelta::FromDays(20); in TEST_F() 420 status_collector_->SetBaselineTime(baseline); in TEST_F()
|