Home
last modified time | relevance | path

Searched refs:metrics_ (Results 1 – 23 of 23) sorted by relevance

/third_party/flutter/engine/flutter/third_party/txt/src/txt/
Dpaint_record.cc36 metrics_(metrics), in PaintRecord()
54 metrics_(metrics), in PaintRecord()
70 metrics_(metrics), in PaintRecord()
80 metrics_ = other.metrics_; in PaintRecord()
92 metrics_ = other.metrics_; in operator =()
Dpaint_record.h75 const SkFontMetrics& metrics() const { return metrics_; } in metrics()
98 SkFontMetrics metrics_; variable
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/
Dplatform_view.cc149 metrics_.size.width = logical_size.x; in OnPropertiesChanged()
150 metrics_.size.height = logical_size.y; in OnPropertiesChanged()
151 metrics_.size.depth = logical_size.z; in OnPropertiesChanged()
152 metrics_.padding.left = view_properties.inset_from_min.x; in OnPropertiesChanged()
153 metrics_.padding.top = view_properties.inset_from_min.y; in OnPropertiesChanged()
154 metrics_.padding.front = view_properties.inset_from_min.z; in OnPropertiesChanged()
155 metrics_.padding.right = view_properties.inset_from_max.x; in OnPropertiesChanged()
156 metrics_.padding.bottom = view_properties.inset_from_max.y; in OnPropertiesChanged()
157 metrics_.padding.back = view_properties.inset_from_max.z; in OnPropertiesChanged()
171 metrics_.scale = metrics.scale_x; in UpdateViewportMetrics()
[all …]
Dplatform_view.h79 flutter::LogicalMetrics metrics_; variable
/third_party/mindspore/mindspore/lite/src/cxx_api/metrics/
Dmetrics_adapter.h38 explicit MetricsAdapter(mindspore::Metrics *metrics) : metrics_(metrics) {} in MetricsAdapter()
41 void Clear() override { metrics_->Clear(); } in Clear()
43 float Eval() override { return metrics_->Eval(); } in Eval()
49 mindspore::Metrics *metrics_;
Dmetrics_impl.h35 explicit MetricsImpl(session::Metrics *metrics) : metrics_(metrics) {} in MetricsImpl()
36 session::Metrics *GetInternalMetrics() { return metrics_; } in GetInternalMetrics()
39 session::Metrics *metrics_ = nullptr;
/third_party/ninja/src/
Dmetrics.cc97 metrics_.push_back(metric); in NewMetric()
103 for (vector<Metric*>::iterator i = metrics_.begin(); in Report()
104 i != metrics_.end(); ++i) { in Report()
110 for (vector<Metric*>::iterator i = metrics_.begin(); in Report()
111 i != metrics_.end(); ++i) { in Report()
Dmetrics.h58 vector<Metric*> metrics_;
/third_party/flutter/engine/flutter/flow/
Dscene_update_context.h149 bool has_metrics() const { return !!metrics_; } in has_metrics()
151 metrics_ = std::move(metrics); in set_metrics()
153 const fuchsia::ui::gfx::MetricsPtr& metrics() const { return metrics_; } in metrics()
165 float ScaleX() const { return metrics_->scale_x * top_scale_x_; } in ScaleX()
166 float ScaleY() const { return metrics_->scale_y * top_scale_y_; } in ScaleY()
227 fuchsia::ui::gfx::MetricsPtr metrics_; variable
/third_party/grpc/src/csharp/Grpc.IntegrationTesting/CoreStats/
DStats.cs732 metrics_ = other.metrics_.Clone(); in Stats()
745 …private readonly pbc::RepeatedField<global::Grpc.Core.Metric> metrics_ = new pbc::RepeatedField<gl… field in Grpc.Core.Stats
748 get { return metrics_; }
764 if(!metrics_.Equals(other.metrics_)) return false; in Equals()
771 hash ^= metrics_.GetHashCode(); in GetHashCode()
788 metrics_.WriteTo(output, _repeated_metrics_codec); in WriteTo()
798 metrics_.WriteTo(ref output, _repeated_metrics_codec); in IBufferMessage.InternalWriteTo()
808 size += metrics_.CalculateSize(_repeated_metrics_codec); in CalculateSize()
820 metrics_.Add(other.metrics_); in MergeFrom()
836 metrics_.AddEntriesFrom(input, _repeated_metrics_codec); in MergeFrom()
[all …]
/third_party/mindspore/mindspore/ccsrc/fl/server/
Diteration.cc215 void Iteration::set_metrics(const std::shared_ptr<IterationMetrics> &metrics) { metrics_ = metrics;… in set_metrics()
313 if (metrics_ != nullptr) { in NewInstance()
314 if (!metrics_->Clear()) { in NewInstance()
648 if (server_node_->rank_id() != kLeaderServerRank || metrics_ == nullptr) { in SummarizeIteration()
653 metrics_->set_fl_name(ps::PSContext::instance()->fl_name()); in SummarizeIteration()
654 metrics_->set_fl_iteration_num(ps::PSContext::instance()->fl_iteration_num()); in SummarizeIteration()
655 metrics_->set_cur_iteration_num(iteration_num_); in SummarizeIteration()
656 metrics_->set_instance_state(instance_state_.load()); in SummarizeIteration()
657 metrics_->set_loss(loss_); in SummarizeIteration()
658 metrics_->set_accuracy(accuracy_); in SummarizeIteration()
[all …]
Diteration.h138 metrics_(nullptr), in Iteration()
231 std::shared_ptr<IterationMetrics> metrics_; variable
/third_party/mindspore/mindspore/lite/src/train/
Dtrain_loop.h47 metrics_ = metrics; in Init()
62 std::vector<mindspore::session::Metrics *> GetMetrics() override { return metrics_; } in GetMetrics()
72 std::vector<mindspore::session::Metrics *> metrics_; variable
Dtrain_loop.cc120 for (auto metric : metrics_) { in Eval()
152 for (auto metric : metrics_) metric->Update(cb_data.session_->GetInputs(), outputs); in Eval()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/
Dindex_sub_table_format2.cc112 if (metrics_ == NULL) { in BigMetrics()
117 metrics_ = new BigGlyphMetrics::Builder(data); in BigMetrics()
119 return metrics_; in BigMetrics()
194 if (metrics_ == NULL) { in SubSerialize()
206 size += metrics_->SubSerialize(slice); in SubSerialize()
214 metrics_.Attach(BigGlyphMetrics::Builder::CreateBuilder()); in Builder()
Dindex_sub_table_format5.cc237 if (metrics_ == NULL) { in BigMetrics()
242 metrics_ = new BigGlyphMetrics::Builder(data); in BigMetrics()
245 return metrics_; in BigMetrics()
Dindex_sub_table_format2.h83 BigGlyphMetricsBuilderPtr metrics_; variable
Dindex_sub_table_format5.h91 BigGlyphMetricsBuilderPtr metrics_; variable
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/
Dindex_sub_table_format2.cc112 if (metrics_ == NULL) { in BigMetrics()
117 metrics_ = new BigGlyphMetrics::Builder(data); in BigMetrics()
119 return metrics_; in BigMetrics()
194 if (metrics_ == NULL) { in SubSerialize()
206 size += metrics_->SubSerialize(slice); in SubSerialize()
214 metrics_.Attach(BigGlyphMetrics::Builder::CreateBuilder()); in Builder()
Dindex_sub_table_format5.cc237 if (metrics_ == NULL) { in BigMetrics()
242 metrics_ = new BigGlyphMetrics::Builder(data); in BigMetrics()
245 return metrics_; in BigMetrics()
Dindex_sub_table_format2.h83 BigGlyphMetricsBuilderPtr metrics_; variable
Dindex_sub_table_format5.h91 BigGlyphMetricsBuilderPtr metrics_; variable
/third_party/mindspore/mindspore/lite/src/cxx_api/model/
Dmodel_impl.h89 metrics_ = metrics; in InitMetrics()
92 std::vector<Metrics *> GetMetrics() { return metrics_; } in GetMetrics()
110 std::vector<Metrics *> metrics_; variable