Home
last modified time | relevance | path

Searched refs:model_ (Results 1 – 19 of 19) sorted by relevance

/third_party/cef/libcef/browser/
Dmenu_manager.cc102 model_ = new CefMenuModelImpl(this, nullptr, false); in CefMenuManager()
108 model_->set_delegate(nullptr); in ~CefMenuManager()
136 model_->Clear(); in CreateContextMenu()
154 model_.get()); in CreateContextMenu()
156 MenuWillShow(model_); in CreateContextMenu()
158 if (model_->GetCount() > 0) { in CreateContextMenu()
169 model_.get(), callbackImpl.get())) { in CreateContextMenu()
182 DCHECK(model_->VerifyRefCount()); in CreateContextMenu()
185 if (model_->GetCount() == 0 && !custom_menu) { in CreateContextMenu()
186 MenuClosed(model_); in CreateContextMenu()
[all …]
Dsimple_menu_model_impl.cc46 model_(model), in CefSimpleMenuModelImpl()
51 DCHECK(model_); in CefSimpleMenuModelImpl()
58 DCHECK(!model_); in ~CefSimpleMenuModelImpl()
74 delete model_; in Detach()
75 model_ = nullptr; in Detach()
88 model_->Clear(); in Clear()
96 return model_->GetItemCount(); in GetCount()
103 model_->AddSeparator(ui::NORMAL_SEPARATOR); in AddSeparator()
111 model_->AddItem(command_id, label); in AddItem()
120 model_->AddCheckItem(command_id, label); in AddCheckItem()
[all …]
Dsimple_menu_model_impl.h140 ui::SimpleMenuModel* model() const { return model_; } in model()
155 ui::SimpleMenuModel* model_; variable
Dmenu_model_impl.h182 ui::MenuModel* model() const { return model_.get(); } in model()
223 std::unique_ptr<ui::MenuModel> model_; variable
Dmenu_manager.h71 CefRefPtr<CefMenuModelImpl> model_; variable
Dmenu_model_impl.cc247 model_.reset(new CefSimpleMenuModel(this)); in CefMenuModelImpl()
/third_party/cef/libcef/browser/native/
Dnative_menu_win.cc193 ui::MenuModel* model = menu_win->model_; in OnMenuCommand()
292 data->native_menu_win->model_->GetTypeAt(data->model_index); in OnDrawItem()
297 data->native_menu_win->model_->GetIconAt(data->model_index); in OnDrawItem()
324 data->native_menu_win->model_->IsItemCheckedAt( in OnDrawItem()
442 : model_(model), in CefNativeMenuWin()
486 model_->MenuWillShow(); in RunMenuAt()
507 model_->MenuWillClose(); in RunMenuAt()
518 owner_draw_ = model_->HasIcons() || owner_draw_; in Rebuild()
521 menu_index < first_item_index_ + model_->GetItemCount(); ++menu_index) { in Rebuild()
523 if (model_->GetTypeAt(model_index) == ui::MenuModel::TYPE_SEPARATOR) in Rebuild()
[all …]
Dmenu_2.h74 ui::MenuModel* model() const { return model_; } in model()
80 ui::MenuModel* model_;
Dmenu_2.cc12 : model_(model), wrapper_(MenuWrapper::CreateWrapper(model)) { in Menu2()
Dnative_menu_win.h113 ui::MenuModel* model_; variable
/third_party/cef/libcef/browser/chrome/
Dchrome_context_menu_handler.cc34 model_ = new CefSimpleMenuModelImpl( in InitMenu()
38 handler_->OnBeforeContextMenu(browser_, GetFrame(), params_, model_); in InitMenu()
92 model_->Detach(); in OnMenuClosed()
99 model_ = nullptr; in OnMenuClosed()
178 CefRefPtr<CefSimpleMenuModelImpl> model_; member in context_menu::__anond6e26d3b0111::CefContextMenuObserver
/third_party/node/deps/v8/src/base/
Dcpu.h39 int model() const { return model_; } in model()
140 int model_; variable
Dcpu.cc408 model_(0), in CPU()
485 model_ = ((cpu_info[0] >> 4) & 0xF) + ((cpu_info[0] >> 12) & 0xF0); in CPU()
515 switch (model_) { in CPU()
/third_party/mindspore/patches/
D0004-cross-compile-ndkso-fp16-nnrt-train_capi.patch2838 + ModelC() : model_(nullptr) {}
2865 + std::shared_ptr<Model> model_;
2940 + if (model_ == nullptr) {
2941 + MS_LOG(ERROR) << "model_ is nullptr.";
2964 + auto inputs = model_->GetInputs();
2994 + if (model_->GetTrainMode() == true) {
3007 + if (model_ == nullptr) {
3008 + MS_LOG(ERROR) << "model_ is nullptr.";
3144 + auto outputs = model_->GetOutputs();
3226 + impl->model_ = std::make_shared<mindspore::Model>();
[all …]
D0006-remove-lite-expression-fix-double-loadso.patch7303 int status = texport.ExportInit(model_.get()->graph_.name_, model_.get()->graph_.version_);
7313 …Net(export_kernels, tensors_, const_output_tensors_, output_tensor_name, model_.get(), quant_type);
7314 …et(export_kernels, tensors_, const_output_tensors_, out_put_tensor_name, model_.get(), quant_type);
7321 …std::all_of(model_->graph_.all_nodes_.begin(), model_->graph_.all_nodes_.end(), [](const LiteGraph…
7324 status = texport.SaveModel(model_.get(), destination);
7336 …e == MT_TRAIN) ? train_output_tensor_names_ : eval_output_tensor_names_, model_.get(), quant_type);
7338 …e == MT_TRAIN) ? train_output_tensor_names_ : eval_output_tensor_names_, model_.get(), quant_type);
7517 - auto inputs = cb_data.model_->GetInputs();
7558 - if (model_ != nullptr) {
7559 - delete model_;
[all …]
D0009-npu-zero-copy.patch115 …auto ret = impl->model_->Predict(ms_tensor_inputs, &ms_tensor_outputs, before_call_back, after_cal…
D0005-micro-for-ohos.patch9330 - status = texport.ExportNet(export_kernels, tensors_, output_tensor_name, model_.get(), quant_t…
9332 …Net(export_kernels, tensors_, const_output_tensors_, output_tensor_name, model_.get(), quant_type);
9342 - model_.get(), quant_type);
9346 …e == MT_TRAIN) ? train_output_tensor_names_ : eval_output_tensor_names_, model_.get(), quant_type);
9350 + model_.get(), quant_type);
9363 - status = texport.ExportInit(model_.get()->graph_.name_, model_.get()->graph_.version_);
9364 + auto status = texport.ExportInit(model_.get()->graph_.name_, model_.get()->graph_.version_);
9367 - status = texport.ExportNet(inference_kernels_, tensors_, eval_output_tensor_names_, model_.get()…
9369 + model_.get(), QT_NONE);
9439 - status = texport.ExportNet(export_kernels, tensors_, out_put_tensor_name, model_.get(), quant_…
[all …]
/third_party/chromium/patch/
D0003-ohos-1115.patch38532 if (!model_)
44013 - const int id = (model_->download() &&
44015 - model_->download()))
44020 + id = (model_->download() &&
44022 + model_->download()))
44026 + id = model_->download() ? IDS_PROMPT_DEEP_SCANNING_DOWNLOAD
44040 model_->profile())
44058 model_->CompleteSafeBrowsingScan();
44060 model_->SetOpenWhenComplete(true);
D0004-ohos-3.2-Beta5.patch6265 model_->Clear();