/third_party/ninja/src/ |
D | metrics.cc | 80 ScopedMetric::ScopedMetric(Metric* metric) { in ScopedMetric() argument 81 metric_ = metric; in ScopedMetric() 95 Metric* metric = new Metric; in NewMetric() local 96 metric->name = name; in NewMetric() 97 metric->count = 0; in NewMetric() 98 metric->sum = 0; in NewMetric() 99 metrics_.push_back(metric); in NewMetric() 100 return metric; in NewMetric() 114 Metric* metric = *i; in Report() local 115 double total = metric->sum / (double)1000; in Report() [all …]
|
/third_party/node/deps/npm/node_modules/byte-size/ |
D | index.mjs | 2 …convert a bytes value into a more human-readable format. Choose between [metric or IEC units](http… 58 options.units = options.units || 'metric' 62 { expFrom: 0, expTo: 1, metric: 'B', iec: 'B', metric_octet: 'o', iec_octet: 'o' }, property 63 { expFrom: 1, expTo: 2, metric: 'kB', iec: 'KiB', metric_octet: 'ko', iec_octet: 'Kio' }, property 64 { expFrom: 2, expTo: 3, metric: 'MB', iec: 'MiB', metric_octet: 'Mo', iec_octet: 'Mio' }, property 65 { expFrom: 3, expTo: 4, metric: 'GB', iec: 'GiB', metric_octet: 'Go', iec_octet: 'Gio' }, property 66 { expFrom: 4, expTo: 5, metric: 'TB', iec: 'TiB', metric_octet: 'To', iec_octet: 'Tio' }, property 67 { expFrom: 5, expTo: 6, metric: 'PB', iec: 'PiB', metric_octet: 'Po', iec_octet: 'Pio' }, property 68 { expFrom: 6, expTo: 7, metric: 'EB', iec: 'EiB', metric_octet: 'Eo', iec_octet: 'Eio' }, property 69 { expFrom: 7, expTo: 8, metric: 'ZB', iec: 'ZiB', metric_octet: 'Zo', iec_octet: 'Zio' }, property [all …]
|
/third_party/node/deps/npm/node_modules/byte-size/dist/ |
D | index.js | 68 { expFrom: 0, expTo: 1, metric: 'B', iec: 'B', metric_octet: 'o', iec_octet: 'o' }, property 69 { expFrom: 1, expTo: 2, metric: 'kB', iec: 'KiB', metric_octet: 'ko', iec_octet: 'Kio' }, property 70 { expFrom: 2, expTo: 3, metric: 'MB', iec: 'MiB', metric_octet: 'Mo', iec_octet: 'Mio' }, property 71 { expFrom: 3, expTo: 4, metric: 'GB', iec: 'GiB', metric_octet: 'Go', iec_octet: 'Gio' }, property 72 { expFrom: 4, expTo: 5, metric: 'TB', iec: 'TiB', metric_octet: 'To', iec_octet: 'Tio' }, property 73 { expFrom: 5, expTo: 6, metric: 'PB', iec: 'PiB', metric_octet: 'Po', iec_octet: 'Pio' }, property 74 { expFrom: 6, expTo: 7, metric: 'EB', iec: 'EiB', metric_octet: 'Eo', iec_octet: 'Eio' }, property 75 { expFrom: 7, expTo: 8, metric: 'ZB', iec: 'ZiB', metric_octet: 'Zo', iec_octet: 'Zio' }, property 76 { expFrom: 8, expTo: 9, metric: 'YB', iec: 'YiB', metric_octet: 'Yo', iec_octet: 'Yio' } property
|
/third_party/freetype/src/pcf/ |
D | pcfdrivr.c | 476 PCF_Metric metric; in PCF_Glyph_Load() local 496 metric = face->metrics + glyph_index; in PCF_Glyph_Load() 498 bitmap->rows = (unsigned int)( metric->ascent + in PCF_Glyph_Load() 499 metric->descent ); in PCF_Glyph_Load() 500 bitmap->width = (unsigned int)( metric->rightSideBearing - in PCF_Glyph_Load() 501 metric->leftSideBearing ); in PCF_Glyph_Load() 528 slot->bitmap_left = metric->leftSideBearing; in PCF_Glyph_Load() 529 slot->bitmap_top = metric->ascent; in PCF_Glyph_Load() 531 slot->metrics.horiAdvance = (FT_Pos)( metric->characterWidth * 64 ); in PCF_Glyph_Load() 532 slot->metrics.horiBearingX = (FT_Pos)( metric->leftSideBearing * 64 ); in PCF_Glyph_Load() [all …]
|
D | pcfread.c | 320 PCF_Metric metric ) in pcf_get_metric() argument 336 (void)FT_STREAM_READ_FIELDS( fields, metric ); in pcf_get_metric() 347 metric->leftSideBearing = (FT_Short)( compr.leftSideBearing - 0x80 ); in pcf_get_metric() 348 metric->rightSideBearing = (FT_Short)( compr.rightSideBearing - 0x80 ); in pcf_get_metric() 349 metric->characterWidth = (FT_Short)( compr.characterWidth - 0x80 ); in pcf_get_metric() 350 metric->ascent = (FT_Short)( compr.ascent - 0x80 ); in pcf_get_metric() 351 metric->descent = (FT_Short)( compr.descent - 0x80 ); in pcf_get_metric() 352 metric->attributes = 0; in pcf_get_metric() 359 metric->characterWidth, in pcf_get_metric() 360 metric->leftSideBearing, in pcf_get_metric() [all …]
|
/third_party/skia/third_party/externals/freetype/src/pcf/ |
D | pcfdrivr.c | 476 PCF_Metric metric; in PCF_Glyph_Load() local 496 metric = face->metrics + glyph_index; in PCF_Glyph_Load() 498 bitmap->rows = (unsigned int)( metric->ascent + in PCF_Glyph_Load() 499 metric->descent ); in PCF_Glyph_Load() 500 bitmap->width = (unsigned int)( metric->rightSideBearing - in PCF_Glyph_Load() 501 metric->leftSideBearing ); in PCF_Glyph_Load() 528 slot->bitmap_left = metric->leftSideBearing; in PCF_Glyph_Load() 529 slot->bitmap_top = metric->ascent; in PCF_Glyph_Load() 531 slot->metrics.horiAdvance = (FT_Pos)( metric->characterWidth * 64 ); in PCF_Glyph_Load() 532 slot->metrics.horiBearingX = (FT_Pos)( metric->leftSideBearing * 64 ); in PCF_Glyph_Load() [all …]
|
D | pcfread.c | 320 PCF_Metric metric ) in pcf_get_metric() argument 336 (void)FT_STREAM_READ_FIELDS( fields, metric ); in pcf_get_metric() 347 metric->leftSideBearing = (FT_Short)( compr.leftSideBearing - 0x80 ); in pcf_get_metric() 348 metric->rightSideBearing = (FT_Short)( compr.rightSideBearing - 0x80 ); in pcf_get_metric() 349 metric->characterWidth = (FT_Short)( compr.characterWidth - 0x80 ); in pcf_get_metric() 350 metric->ascent = (FT_Short)( compr.ascent - 0x80 ); in pcf_get_metric() 351 metric->descent = (FT_Short)( compr.descent - 0x80 ); in pcf_get_metric() 352 metric->attributes = 0; in pcf_get_metric() 359 metric->characterWidth, in pcf_get_metric() 360 metric->leftSideBearing, in pcf_get_metric() [all …]
|
/third_party/skia/third_party/externals/dawn/scripts/ |
D | perf_test_runner.py | 30 metric = 'wall_time' variable 108 def get_results(metric, extra_args=[]): argument 121 pattern = metric + r'.*= ([0-9.]+)' 124 print("Did not find the metric '%s' in the test output:" % metric) 137 experiment_scores = get_results(metric, ["--override-steps", str(steps)]) 140 sys.stdout.write("%s: %.2f" % (metric, score))
|
/third_party/flutter/skia/third_party/externals/angle2/scripts/ |
D | perf_test_runner.py | 23 metric = 'wall_time' variable 107 def get_results(metric, extra_args=[]): argument 120 pattern = metric + r'= ([0-9.]+)' 123 print("Did not find the metric '%s' in the test output:" % metric) 136 experiment_scores = get_results(metric, ["--steps", str(steps)]) 139 sys.stdout.write("%s: %.2f" % (metric, score))
|
/third_party/flutter/skia/third_party/externals/freetype/src/pcf/ |
D | pcfdrivr.c | 477 PCF_Metric metric; in PCF_Glyph_Load() local 497 metric = face->metrics + glyph_index; in PCF_Glyph_Load() 499 bitmap->rows = (unsigned int)( metric->ascent + in PCF_Glyph_Load() 500 metric->descent ); in PCF_Glyph_Load() 501 bitmap->width = (unsigned int)( metric->rightSideBearing - in PCF_Glyph_Load() 502 metric->leftSideBearing ); in PCF_Glyph_Load() 529 slot->bitmap_left = metric->leftSideBearing; in PCF_Glyph_Load() 530 slot->bitmap_top = metric->ascent; in PCF_Glyph_Load() 532 slot->metrics.horiAdvance = (FT_Pos)( metric->characterWidth * 64 ); in PCF_Glyph_Load() 533 slot->metrics.horiBearingX = (FT_Pos)( metric->leftSideBearing * 64 ); in PCF_Glyph_Load() [all …]
|
D | pcfread.c | 321 PCF_Metric metric ) in pcf_get_metric() argument 337 (void)FT_STREAM_READ_FIELDS( fields, metric ); in pcf_get_metric() 348 metric->leftSideBearing = (FT_Short)( compr.leftSideBearing - 0x80 ); in pcf_get_metric() 349 metric->rightSideBearing = (FT_Short)( compr.rightSideBearing - 0x80 ); in pcf_get_metric() 350 metric->characterWidth = (FT_Short)( compr.characterWidth - 0x80 ); in pcf_get_metric() 351 metric->ascent = (FT_Short)( compr.ascent - 0x80 ); in pcf_get_metric() 352 metric->descent = (FT_Short)( compr.descent - 0x80 ); in pcf_get_metric() 353 metric->attributes = 0; in pcf_get_metric() 360 metric->characterWidth, in pcf_get_metric() 361 metric->leftSideBearing, in pcf_get_metric() [all …]
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-vorg-table.hh | 104 VertOriginMetric metric; in subset() local 105 metric.glyph = new_glyph; in subset() 106 metric.vertOriginY = _.vertOriginY; in subset() 107 return metric; in subset()
|
/third_party/harfbuzz/src/ |
D | hb-ot-vorg-table.hh | 104 VertOriginMetric metric; in subset() local 105 metric.glyph = new_glyph; in subset() 106 metric.vertOriginY = _.vertOriginY; in subset() 107 return metric; in subset()
|
/third_party/skia/third_party/externals/angle2/scripts/ |
D | perf_test_runner.py | 132 def get_results(metric, extra_args=[]): argument 145 pattern = r'\.' + metric + r':.*= ([0-9.]+)' 150 raise Exception('Did not find the metric "%s" in the test output' % metric) 160 experiment_scores = get_results(args.metric, 164 sys.stdout.write("%s: %.2f" % (args.metric, score))
|
/third_party/skia/modules/canvaskit/ |
D | paragraph_bindings.cpp | 296 for (auto metric : metrics) { in GetLineMetrics() local 298 m.set("startIndex", metric.fStartIndex); in GetLineMetrics() 299 m.set("endIndex", metric.fEndIndex); in GetLineMetrics() 300 m.set("endExcludingWhitespaces", metric.fEndExcludingWhitespaces); in GetLineMetrics() 301 m.set("endIncludingNewline", metric.fEndIncludingNewline); in GetLineMetrics() 302 m.set("isHardBreak", metric.fHardBreak); in GetLineMetrics() 303 m.set("ascent", metric.fAscent); in GetLineMetrics() 304 m.set("descent", metric.fDescent); in GetLineMetrics() 305 m.set("height", metric.fHeight); in GetLineMetrics() 306 m.set("width", metric.fWidth); in GetLineMetrics() [all …]
|
/third_party/libwebsockets/READMEs/ |
D | README.lws_metrics.md | 74 names in the reporting policy same as any other metric names. 84 Histogram metrics track differently-qualified results in the same metric, for 85 example the metric `n.cn.failures` maintains separate result counts for all 114 /* 0 = leave metric to accumulate, 1 = reset the metric */ 144 A single metric aggregation object has separate "go / no-go" counters, since 149 - a mean of a 64-bit event metric, separate for go and no-go events 151 - a min and max of the metric 176 |`LWSMTFL_REPORT_MEAN`|the mean is interesting for this metric| 187 |metric name|scope|type|meaning| 201 |metric name|scope|type|meaning|
|
/third_party/toybox/toys/pending/ |
D | route.c | 132 int flags, ref, use, metric, mss, win, irtt, items; in display_routes() local 143 &gate, &flags, &ref, &use, &metric, &mask, &mss, &win, &irtt)) == 11) in display_routes() 162 else xprintf("%-6d %-2d %7d %s\n", metric, ref, use, iface); in display_routes() 410 int prefixlen, metric, use, refcount, flag, items = 0; in display_routes6() local 419 &prefixlen, ipv6_src_addr+8, &metric, &use, &refcount, &flag, in display_routes6() 436 toybuf, buf2, flag_val, metric, refcount, use, iface); in display_routes6()
|
/third_party/flutter/skia/third_party/externals/icu/source/data/unit/ |
D | ps.txt | 485 metric-ton{ 684 cup-metric{ 685 dnam{"metric cups"} 686 one{"{0} metric cup"} 687 other{"{0} metric cups"} 737 pint-metric{ 738 dnam{"metric pints"} 739 one{"{0} metric pint"} 740 other{"{0} metric pints"} 1357 metric-ton{ [all …]
|
D | ia.txt | 317 metric-ton{ 442 cup-metric{ 443 dnam{"tassas metric"} 475 pint-metric{ 476 dnam{"pintas metric"} 881 metric-ton{ 1006 cup-metric{ 1039 pint-metric{
|
D | en.txt | 490 metric-ton{ 491 dnam{"metric tons"} 492 one{"{0} metric ton"} 493 other{"{0} metric tons"} 694 cup-metric{ 695 dnam{"metric cups"} 696 one{"{0} metric cup"} 697 other{"{0} metric cups"} 747 pint-metric{ 748 dnam{"metric pints"} [all …]
|
D | mzn.txt | 249 metric-ton{ 385 cup-metric{ 423 pint-metric{ 759 metric-ton{ 895 cup-metric{ 933 pint-metric{
|
D | lo.txt | 401 metric-ton{ 563 cup-metric{ 565 other{"{0} metric cups"} 606 pint-metric{ 607 dnam{"metric pints"} 608 other{"{0} metric pints"} 1223 metric-ton{ 1385 cup-metric{ 1428 pint-metric{
|
/third_party/rust/crates/tracing/tracing-opentelemetry/src/ |
D | metrics.rs | 60 if let Some(metric) = lock.get(name) { in update_metric() 61 update(metric); in update_metric() 71 let metric = lock.entry(name).or_insert_with(insert); in update_metric() localVariable 72 update(metric) in update_metric()
|
/third_party/icu/icu4c/source/data/unit/ |
D | mzn.txt | 249 metric-ton{ 385 cup-metric{ 423 pint-metric{ 759 metric-ton{ 895 cup-metric{ 933 pint-metric{
|
/third_party/skia/third_party/externals/icu/source/data/unit/ |
D | mzn.txt | 249 metric-ton{ 385 cup-metric{ 423 pint-metric{ 759 metric-ton{ 895 cup-metric{ 933 pint-metric{
|