/external/autotest/site_utils/lxc/ |
H A D | container.py | 21 from chromite.lib import metrics namespace 23 metrics = utils.metrics_mock variable 330 @metrics.SecondsTimerDecorator( 359 @metrics.SecondsTimerDecorator( 376 @metrics.SecondsTimerDecorator(
|
/external/autotest/tko/ |
H A D | parse.py | 35 from chromite.lib import metrics namespace 37 metrics = utils.metrics_mock variable 461 metrics.Counter( 737 metrics.Flush()
|
/external/emma/ant/ant14/com/vladium/emma/report/ |
H A D | ReportCfg.java | 75 public void setMetrics (final String metrics) argument 77 m_settings.setProperty (m_prefix.concat (METRICS), metrics); 370 public void setMetrics (final String metrics) argument 372 m_settings.setProperty (PREFIX.concat (METRICS), metrics);
|
/external/emma/core/java12/com/vladium/emma/report/ |
H A D | ReportProperties.java | 147 public void setMetrics (final IntIntMap metrics) argument 149 if ($assert.ENABLED) $assert.ASSERT (metrics != null, "null input: metrics"); 151 m_metrics = metrics;
|
/external/freetype/src/autofit/ |
H A D | afshaper.c | 447 AF_StyleMetrics metrics, 462 upem = (FT_Int)metrics->globals->face->units_per_EM; 463 style_class = metrics->style_class; 466 font = metrics->globals->hb_font; 493 hb_buffer_t* hb_buf = metrics->globals->hb_buf; 544 af_shaper_get_elem( AF_StyleMetrics metrics, argument 555 FT_UNUSED( metrics ); 618 AF_StyleMetrics metrics, 622 FT_Face face = metrics->globals->face; 653 af_shaper_get_elem( AF_StyleMetrics metrics, argument 446 af_shaper_get_cluster( const char* p, AF_StyleMetrics metrics, void* buf_, unsigned int* count ) argument 617 af_shaper_get_cluster( const char* p, AF_StyleMetrics metrics, void* buf_, unsigned int* count ) argument [all...] |
/external/freetype/src/cff/ |
H A D | cffgload.c | 241 glyph->x_scale = size->root.metrics.x_scale; 242 glyph->y_scale = size->root.metrics.y_scale; 262 TT_SBit_MetricsRec metrics; local 271 &metrics ); 283 glyph->root.metrics.width = (FT_Pos)metrics.width << 6; 284 glyph->root.metrics.height = (FT_Pos)metrics.height << 6; 286 glyph->root.metrics.horiBearingX = (FT_Pos)metrics 507 FT_Incremental_MetricsRec metrics; local 548 FT_Glyph_Metrics* metrics = &glyph->root.metrics; local [all...] |
/external/freetype/src/pfr/ |
H A D | pfrobjs.c | 367 FT_Glyph_Metrics* metrics = &pfrslot->metrics; local 381 if ( size && pfrsize->metrics.y_ppem < 24 ) 385 metrics->horiAdvance = 0; 386 metrics->vertAdvance = 0; 398 metrics->vertAdvance = advance; 400 metrics->horiAdvance = advance; 402 pfrslot->linearHoriAdvance = metrics->horiAdvance; 403 pfrslot->linearVertAdvance = metrics->vertAdvance; 405 /* make up vertical metrics( [all...] |
/external/harfbuzz_ng/src/ |
H A D | hb-ot-font.cc | 188 hb_font_extents_t *metrics, 192 metrics->ascender = font->em_scale_y (ot_font->h_metrics.ascender); 193 metrics->descender = font->em_scale_y (ot_font->h_metrics.descender); 194 metrics->line_gap = font->em_scale_y (ot_font->h_metrics.line_gap); 202 hb_font_extents_t *metrics, 206 metrics->ascender = font->em_scale_x (ot_font->v_metrics.ascender); 207 metrics->descender = font->em_scale_x (ot_font->v_metrics.descender); 208 metrics->line_gap = font->em_scale_x (ot_font->v_metrics.line_gap); 186 hb_ot_get_font_h_extents(hb_font_t *font HB_UNUSED, void *font_data, hb_font_extents_t *metrics, void *user_data HB_UNUSED) argument 200 hb_ot_get_font_v_extents(hb_font_t *font HB_UNUSED, void *font_data, hb_font_extents_t *metrics, void *user_data HB_UNUSED) argument
|
/external/icu/icu4c/source/samples/layout/ |
H A D | GDIFontInstance.cpp | 373 GLYPHMETRICS metrics; local 380 result = GetGlyphOutline(hdc, glyph, GGO_GLYPH_INDEX | GGO_METRICS, &metrics, 0, NULL, &identity); 386 advance.fX = metrics.gmCellIncX;
|
/external/libchrome/base/trace_event/ |
H A D | malloc_dump_provider.cc | 305 AllocationMetrics& metrics = metrics_by_context[alloc_size.context]; local 306 metrics.size += alloc_size.size; 307 metrics.count++;
|
/external/libmojo/base/android/java/src/org/chromium/base/metrics/ |
H A D | RecordHistogram.java | 5 package org.chromium.base.metrics; 33 * Tests may not have native initialized, so they may need to disable metrics. The value should 273 * Initializes the metrics system.
|
/external/skia/src/utils/ |
H A D | SkTextBox.cpp | 179 SkPaint::FontMetrics metrics; local 194 fontHeight = paint.getFontMetrics(&metrics); 220 y += fBox.fTop - metrics.fAscent; 226 if (y + metrics.fDescent + metrics.fLeading > 0) { 234 if (y + metrics.fAscent >= fBox.fBottom) { 238 return y + metrics.fDescent + metrics.fLeading;
|
/external/skia/tools/fonts/ |
H A D | SkRandomScalerContext.cpp | 183 void SkRandomScalerContext::generateFontMetrics(SkPaint::FontMetrics* metrics) { argument 184 fProxy->getFontMetrics(metrics);
|
H A D | SkTestScalerContext.cpp | 99 void SkTestTypeface::getFontMetrics(SkPaint::FontMetrics* metrics) { argument 100 *metrics = fTestFont->fMetrics; 254 void generateFontMetrics(SkPaint::FontMetrics* metrics) override { 255 this->getTestTypeface()->getFontMetrics(metrics); variable 256 SkPaintPriv::ScaleFontMetrics(metrics, fMatrix.getScaleY());
|
/external/skqp/src/utils/ |
H A D | SkTextBox.cpp | 179 SkPaint::FontMetrics metrics; local 194 fontHeight = paint.getFontMetrics(&metrics); 220 y += fBox.fTop - metrics.fAscent; 226 if (y + metrics.fDescent + metrics.fLeading > 0) { 234 if (y + metrics.fAscent >= fBox.fBottom) { 238 return y + metrics.fDescent + metrics.fLeading;
|
/external/skqp/tools/ |
H A D | SkRandomScalerContext.cpp | 183 void SkRandomScalerContext::generateFontMetrics(SkPaint::FontMetrics* metrics) { argument 184 fProxy->getFontMetrics(metrics);
|
H A D | SkTestScalerContext.cpp | 99 void SkTestTypeface::getFontMetrics(SkPaint::FontMetrics* metrics) { argument 100 *metrics = fTestFont->fMetrics; 254 void generateFontMetrics(SkPaint::FontMetrics* metrics) override { 255 this->getTestTypeface()->getFontMetrics(metrics); variable 256 SkPaintPriv::ScaleFontMetrics(metrics, fMatrix.getScaleY());
|
/external/tensorflow/tensorflow/contrib/eager/python/ |
H A D | tfe.py | 21 @@metrics 76 from tensorflow.contrib.eager.python import metrics namespace
|
/external/tensorflow/tensorflow/contrib/factorization/python/ops/ |
H A D | kmeans.py | 33 from tensorflow.python.ops import metrics namespace 229 eval_metric_ops={KMeansClustering.SCORE: metrics.mean(loss)},
|
/external/tensorflow/tensorflow/contrib/losses/python/metric_learning/ |
H A D | metric_loss_ops.py | 34 from sklearn import metrics namespace 572 """Computes the clustering score via sklearn.metrics functions. 584 See http://scikit-learn.org/stable/modules/classes.html#clustering-metrics 614 metrics.normalized_mutual_info_score, [labels, predictions], 622 metrics.adjusted_mutual_info_score, [labels, predictions], 631 metrics.adjusted_rand_score, [labels, predictions], [dtypes.float64], 641 metrics.v_measure_score, [labels, predictions], [dtypes.float64],
|
H A D | metric_loss_ops_test.py | 30 from sklearn import metrics namespace 395 loss = 1.0 - metrics.normalized_mutual_info_score( 418 1.0 - metrics.normalized_mutual_info_score( 440 loss_mult * (1.0 - metrics.normalized_mutual_info_score( 457 1.0 - metrics.normalized_mutual_info_score(y_gt, y_pred_i))) 486 1.0 - metrics.normalized_mutual_info_score(
|
/external/webrtc/webrtc/modules/audio_processing/ |
H A D | echo_cancellation_impl.cc | 291 // TODO(ajm): we currently just use the metrics from the first AEC. Think more 293 int EchoCancellationImpl::GetMetrics(Metrics* metrics) { argument 295 if (metrics == NULL) { 305 memset(metrics, 0, sizeof(Metrics)); 313 metrics->residual_echo_return_loss.instant = my_metrics.rerl.instant; 314 metrics->residual_echo_return_loss.average = my_metrics.rerl.average; 315 metrics->residual_echo_return_loss.maximum = my_metrics.rerl.max; 316 metrics->residual_echo_return_loss.minimum = my_metrics.rerl.min; 318 metrics->echo_return_loss.instant = my_metrics.erl.instant; 319 metrics [all...] |
/external/ImageMagick/MagickCore/ |
H A D | montage.c | 405 metrics; 540 (void) GetTypeMetrics(image_list[0],draw_info,&metrics,exception); 555 title_offset=(size_t) (2*(metrics.ascent-metrics.descent)* 614 (metrics.ascent-metrics.descent+4)*number_lines+ 656 (extract_info.y+border_width)*2+(double) ((metrics.ascent- 657 metrics.descent+4)*number_lines+(montage_info->shadow != MagickFalse ? 4 : 681 metrics; 689 (void) GetTypeMetrics(image_list[0],clone_info,&metrics,exceptio 400 metrics; local 676 metrics; local [all...] |
/external/autotest/client/common_lib/cros/ |
H A D | autoupdater.py | 19 from chromite.lib import metrics namespace 21 metrics = utils.metrics_mock variable 262 c = metrics.Counter('chromeos/autotest/autoupdater/trigger') 270 This is used for sending autoupdate metrics for this instance. 277 logging.warning('Unable to parse build name %s for metrics. ' 318 c = metrics.Counter('chromeos/autotest/autoupdater/update')
|
/external/autotest/scheduler/ |
H A D | agent_task.py | 129 from chromite.lib import metrics namespace 131 metrics = utils.metrics_mock variable 352 metrics.Counter( 700 metrics.Counter(self._COUNT_METRIC).increment( 706 metrics.SecondsDistribution(self._DURATION_METRIC).add( 715 metrics.Counter(self._DUT_METRIC).increment(fields=dut_fields)
|