Home
last modified time | relevance | path

Searched refs:wrapper_ (Results 1 – 17 of 17) sorted by relevance

/third_party/cef/libcef/browser/native/
Dmenu_2.cc12 : model_(model), wrapper_(MenuWrapper::CreateWrapper(model)) { in Menu2()
19 return wrapper_->GetNativeMenu(); in GetNativeMenu()
23 wrapper_->RunMenuAt(point, alignment); in RunMenuAt()
31 wrapper_->CancelMenu(); in CancelMenu()
35 wrapper_->Rebuild(nullptr); in Rebuild()
39 wrapper_->UpdateStates(); in UpdateStates()
43 return wrapper_->GetMenuAction(); in GetMenuAction()
47 wrapper_->SetMinimumWidth(width); in SetMinimumWidth()
Dmenu_2.h83 std::unique_ptr<MenuWrapper> wrapper_; variable
/third_party/cef/libcef_dll/cpptoc/
Dcpptoc_scoped.h95 DCHECK(wrapperStruct->wrapper_->owned_); in UnwrapOwn()
103 delete wrapperStruct->wrapper_; in UnwrapOwn()
139 return static_cast<ClassName*>(wrapperStruct->wrapper_); in GetWrapper()
161 wrapper_struct_.wrapper_ = this; in CefCppToCScoped()
177 CefCppToCScoped<ClassName, BaseName, StructName>* wrapper_; member
217 DCHECK(wrapperStruct->wrapper_->owned_); in struct_del()
218 delete wrapperStruct->wrapper_; in struct_del()
Dcpptoc_ref_counted.h57 wrapperStruct->wrapper_->Release(); in Unwrap()
98 wrapper_struct_.wrapper_ = this; in CefCppToCRefCounted()
118 CefCppToCRefCounted<ClassName, BaseName, StructName>* wrapper_; member
154 wrapperStruct->wrapper_->AddRef(); in struct_add_ref()
167 return wrapperStruct->wrapper_->Release(); in struct_release()
180 return wrapperStruct->wrapper_->HasOneRef(); in struct_has_one_ref()
194 return wrapperStruct->wrapper_->HasAtLeastOneRef(); in struct_has_at_least_one_ref()
/third_party/mindspore/patches/
D0027-js-buffer-leakage-bugfix.patch21 - napi_ref wrapper_ = nullptr;
48 - napi_ref wrapper_ = nullptr;
60 -MSLiteModelNapi::MSLiteModelNapi() : env_(nullptr), wrapper_(nullptr) {
66 - if (wrapper_ != nullptr) {
67 - napi_delete_reference(env_, wrapper_);
151 - if (wrapper_ != nullptr) {
152 - napi_delete_reference(env_, wrapper_);
D0026-js-buffer-add-bugfix.patch19 - &(model_napi->wrapper_));
32 …tus = napi_wrap(env, jsThis, tensprNapi, MSTensorNapi::Finalize, nullptr, &(tensprNapi->wrapper_));
D0008-add-js-api.patch664 + napi_ref wrapper_ = nullptr;
725 + napi_ref wrapper_ = nullptr;
1157 +MSLiteModelNapi::MSLiteModelNapi() : env_(nullptr), wrapper_(nullptr) {
1162 + if (wrapper_ != nullptr) {
1163 + napi_delete_reference(env_, wrapper_);
1368 + &(model_napi->wrapper_));
2199 + if (wrapper_ != nullptr) {
2200 + napi_delete_reference(env_, wrapper_);
2223 …tus = napi_wrap(env, jsThis, tensprNapi, MSTensorNapi::Finalize, nullptr, &(tensprNapi->wrapper_));
/third_party/cef/libcef_dll/ctocpp/
Dctocpp_ref_counted.h108 ClassName wrapper_;
123 CefRefPtr<BaseName> wrapperPtr(&wrapperStruct->wrapper_);
126 wrapperStruct->wrapper_.UnderlyingRelease();
146 wrapperStruct->wrapper_.UnderlyingAddRef();
Dctocpp_scoped.h103 ClassName wrapper_;
117 return CefOwnPtr<BaseName>(&wrapperStruct->wrapper_);
/third_party/node/test/js-native-api/8_passing_wrapped/
Dmyobject.cc6 MyObject::MyObject() : env_(nullptr), wrapper_(nullptr) {} in MyObject()
10 napi_delete_reference(env_, wrapper_); in ~MyObject()
62 &obj->wrapper_)); in New()
Dmyobject.h23 napi_ref wrapper_; variable
/third_party/node/test/js-native-api/7_factory_wrap/
Dmyobject.cc6 MyObject::MyObject() : env_(nullptr), wrapper_(nullptr) {} in MyObject()
8 MyObject::~MyObject() { napi_delete_reference(env_, wrapper_); } in ~MyObject()
66 &obj->wrapper_)); in New()
Dmyobject.h24 napi_ref wrapper_; variable
/third_party/node/test/js-native-api/6_object_wrap/
D6_object_wrap.cc7 : value_(value), env_(nullptr), wrapper_(nullptr) {} in MyObject()
9 MyObject::~MyObject() { napi_delete_reference(env_, wrapper_); } in ~MyObject()
67 &obj->wrapper_)); in New()
Dmyobject.h23 napi_ref wrapper_; variable
/third_party/cef/libcef/browser/net_service/
Dresource_request_handler_wrapper.cc185 wrapper_ = wrapper; in SetWrapper()
205 if (wrapper_.MaybeValid()) { in NotifyOnDestroyed()
210 wrapper_)); in NotifyOnDestroyed()
217 base::WeakPtr<InterceptedRequestHandlerWrapper> wrapper_; member in net_service::__anon4318588c0111::InterceptedRequestHandlerWrapper::DestructionObserver
327 : wrapper_(wrapper) {} in InitHelper()
339 wrapper_ = nullptr; in Disconnect()
347 if (!wrapper_) in SetInitialized()
349 wrapper_->SetInitialized(std::move(init_state)); in SetInitialized()
350 wrapper_ = nullptr; in SetInitialized()
354 InterceptedRequestHandlerWrapper* wrapper_; member
/third_party/googletest/googlemock/include/gmock/
Dgmock-actions.h706 : performed_(false), wrapper_(wrapper) {}
712 return std::move(wrapper_->payload);
717 const std::shared_ptr<R> wrapper_;