/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/skia/tools/skpdiff/ |
H A D | SkDifferentPixelsMetric_cpu.cpp | 17 bool SkDifferentPixelsMetric::diff(SkBitmap* baseline, SkBitmap* test, bool computeMask, argument 22 if (baseline->width() != test->width() || baseline->height() != test->height() || 23 baseline->width() <= 0 || baseline->height() <= 0 || 24 baseline->colorType() != test->colorType()) { 28 int width = baseline->width(); 29 int height = baseline->height(); 39 baseline->lockPixels(); 43 unsigned char* baselineRow = (unsigned char*)baseline [all...] |
H A D | SkDifferentPixelsMetric_opencl.cpp | 20 "__kernel void diff(read_only image2d_t baseline, read_only image2d_t test, \n" 23 " uint4 baselinePixel = read_imageui(baseline, gInSampler, coord); \n" 39 bool SkDifferentPixelsMetric::diff(SkBitmap* baseline, SkBitmap* test, bool computeMask, argument 51 if (baseline->width() != test->width() || baseline->height() != test->height() || 52 baseline->width() <= 0 || baseline->height() <= 0 || 53 baseline->config() != test->config()) { 62 if (!this->makeImage2D(baseline, &baselineImage) || !this->makeImage2D(test, &testImage)) { 68 result->result = 1.0 / ((double)baseline [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderButton.cpp | 93 int RenderButton::baselinePosition(FontBaseline baseline, bool firstLine, LineDirectionMode direction, LinePositionMode linePositionMode) const argument 97 // avoid RenderFlexibleBox synthesizing a baseline that we don't want. 100 // To ensure that we have a consistent baseline when we have no children, 102 // baseline for the empty case manually here. 108 return RenderFlexibleBox::baselinePosition(baseline, firstLine, direction, linePositionMode);
|
H A D | RenderTableSection.h | 124 , baseline() 131 LayoutUnit baseline; member in struct:blink::FINAL::RowStruct 210 LayoutUnit rowBaseline(unsigned row) { return m_grid[row].baseline; }
|
/external/chromium_org/third_party/skia/tools/skpdiff/ |
H A D | SkDifferentPixelsMetric_cpu.cpp | 17 bool SkDifferentPixelsMetric::diff(SkBitmap* baseline, SkBitmap* test, argument 23 if (baseline->width() != test->width() || baseline->height() != test->height() || 24 baseline->width() <= 0 || baseline->height() <= 0 || 25 baseline->colorType() != test->colorType()) { 26 SkASSERT(baseline->width() == test->width()); 27 SkASSERT(baseline->height() == test->height()); 28 SkASSERT(baseline->width() > 0); 29 SkASSERT(baseline [all...] |
H A D | SkDifferentPixelsMetric_opencl.cpp | 20 "__kernel void diff(read_only image2d_t baseline, read_only image2d_t test, \n" 23 " uint4 baselinePixel = read_imageui(baseline, gInSampler, coord); \n" 39 bool SkDifferentPixelsMetric::diff(SkBitmap* baseline, SkBitmap* test, bool computeAlphaMask, argument 52 if (baseline->width() != test->width() || baseline->height() != test->height() || 53 baseline->width() <= 0 || baseline->height() <= 0 || 54 baseline->config() != test->config()) { 63 if (!this->makeImage2D(baseline, &baselineImage) || !this->makeImage2D(test, &testImage)) { 69 result->result = 1.0 / ((double)baseline [all...] |
/external/chromium_org/ash/system/web_notification/ |
H A D | ash_popup_alignment_delegate_unittest.cc | 135 int baseline = alignment_delegate()->GetBaseLine(); local 145 EXPECT_LT(baseline, alignment_delegate()->GetBaseLine()); 153 int baseline = alignment_delegate()->GetBaseLine(); local 163 EXPECT_EQ(baseline, alignment_delegate()->GetBaseLine()); 172 int baseline = alignment_delegate()->GetBaseLine(); local 176 EXPECT_LT(baseline, alignment_delegate()->GetBaseLine()); 180 EXPECT_GT(baseline, alignment_delegate()->GetBaseLine()); 187 int baseline = alignment_delegate()->GetBaseLine(); local 193 EXPECT_EQ(baseline - kTrayHeight - message_center::kMarginBetweenItems,
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
H A D | SVGTextLayoutEngineBaseline.cpp | 71 EDominantBaseline baseline = style.dominantBaseline(); local 72 if (baseline == DB_AUTO) { 74 baseline = DB_CENTRAL; 76 baseline = DB_ALPHABETIC; 79 switch (baseline) { 81 // FIXME: The dominant-baseline and the baseline-table components are set by determining the predominant script of the character data content. 118 EAlignmentBaseline baseline = textRenderer->style()->svgStyle().alignmentBaseline(); local 119 if (baseline == AB_AUTO || baseline [all...] |
H A D | RenderSVGInlineText.cpp | 163 float baseline = m_scaledFont.fontMetrics().floatAscent(); local 188 FloatRect fragmentRect(fragment.x, fragment.y - baseline, fragment.width, fragment.height);
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
H A D | bookmark_bar_instructions_view.cc | 56 int baseline = view->GetBaseline(); local 57 if (baseline != -1) { 58 ascent = std::max(ascent, baseline); 59 descent = std::max(descent, pref.height() - baseline); 77 int baseline = view->GetBaseline(); local 79 if (baseline != -1 && baseline_ != -1) 80 y = baseline_ - baseline;
|
/external/chromium_org/third_party/skia/gm/ |
H A D | drawbitmaprect.cpp | 136 SkScalar baseline = dstRect.height() + local 139 0, baseline,
|
/external/chromium_org/ui/gfx/ |
H A D | platform_font_win.h | 87 int baseline, 95 int baseline() const { return baseline_; } function in class:gfx::PlatformFontWin::HFontRef
|
H A D | platform_font_win.cc | 149 return font_ref_->baseline(); 263 const int baseline = std::max<int>(1, font_metrics.tmAscent); local 277 return new HFontRef(font, font_size, height, baseline, cap_height, 321 int baseline, 328 baseline_(baseline), 318 HFontRef(HFONT hfont, int font_size, int height, int baseline, int cap_height, int ave_char_width, int style) argument
|
/external/skia/gm/ |
H A D | drawbitmaprect.cpp | 135 SkScalar baseline = dstRect.height() + local 138 0, baseline,
|
/external/chromium_org/chrome/browser/spellchecker/ |
H A D | spellcheck_custom_dictionary_unittest.cc | 1120 // Record a baseline. 1130 scoped_ptr<HistogramSamples> baseline = histogram->SnapshotSamples(); local 1144 samples->Subtract(*baseline); 1161 samples2->Subtract(*baseline);
|
/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 | 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...] |
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 | PerformanceResults.java | 34 * Usually performance results are built for a current build vs. a baseline build. 46 String baselineName; // Name of the baseline build used for comparison 102 public PerformanceResults(String name, String baseline, String baselinePrefix, PrintStream stream) { argument 104 this.baselineName = baseline; 124 * Returns the name of the baseline used for extracted results 126 * @return The build name of the baseline of <code>null</code> 127 * if no specific baseline is used for the extracted results. 134 * Get the baseline prefix (computed from #baselineName). 263 * 1: all except baseline builds 264 * 2: all except baseline an [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/chromium_org/chrome/browser/chromeos/policy/ |
H A D | device_status_collector_browsertest.cc | 86 // Set the baseline time to a fixed value (1 AM) to prevent test flakiness 104 // Reset the baseline time. 128 // The number of simulated periods since the baseline time. 397 Time baseline = Time::Now().LocalMidnight(); local 404 baseline += TimeDelta::FromDays(1); 405 status_collector_->SetBaselineTime(baseline); 417 baseline += TimeDelta::FromDays(1); 418 status_collector_->SetBaselineTime(baseline); 421 baseline -= TimeDelta::FromDays(20); 422 status_collector_->SetBaselineTime(baseline); [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrBitmapTextContext.cpp | 232 SkAxisAlignment baseline = SkComputeAxisAlignmentForHText(fContext->getMatrix()); local 233 if (kX_SkAxisAlignment == baseline) { 236 } else if (kY_SkAxisAlignment == baseline) { 303 SkAxisAlignment baseline = SkComputeAxisAlignmentForHText(ctm); local 307 if (kX_SkAxisAlignment == baseline) { 312 } else if (kY_SkAxisAlignment == baseline) {
|
/external/chromium_org/tools/imagediff/ |
H A D | image_diff.cc | 147 float PercentageDifferent(const Image& baseline, const Image& actual) { argument 148 int w = std::min(baseline.w(), actual.w()); 149 int h = std::min(baseline.h(), actual.h()); 155 if (baseline.pixel_at(x, y) != actual.pixel_at(x, y)) 161 int max_w = std::max(baseline.w(), actual.w()); 162 int max_h = std::max(baseline.h(), actual.h()); 181 float HistogramPercentageDifferent(const Image& baseline, const Image& actual) { argument 186 int w = std::min(baseline.w(), actual.w()); 187 int h = std::min(baseline.h(), actual.h()); 189 // Count occurences of each RGBA pixel value of baseline i [all...] |
/external/skia/src/gpu/ |
H A D | GrBitmapTextContext.cpp | 234 SkAxisAlignment baseline = SkComputeAxisAlignmentForHText(fContext->getMatrix()); local 235 if (kX_SkAxisAlignment == baseline) { 238 } else if (kY_SkAxisAlignment == baseline) { 305 SkAxisAlignment baseline = SkComputeAxisAlignmentForHText(ctm); local 309 if (kX_SkAxisAlignment == baseline) { 314 } else if (kY_SkAxisAlignment == baseline) {
|
/external/chromium_org/chrome/renderer/printing/ |
H A D | print_web_view_helper_browsertest.cc | 415 bool baseline = false; local 453 if (baseline) {
|