/third_party/cef/libcef/browser/native/ |
D | menu_2.cc | 12 : 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()
|
D | menu_2.h | 83 std::unique_ptr<MenuWrapper> wrapper_; variable
|
/third_party/cef/libcef_dll/cpptoc/ |
D | cpptoc_scoped.h | 95 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()
|
D | cpptoc_ref_counted.h | 57 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/ |
D | 0027-js-buffer-leakage-bugfix.patch | 21 - 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_);
|
D | 0026-js-buffer-add-bugfix.patch | 19 - &(model_napi->wrapper_)); 32 …tus = napi_wrap(env, jsThis, tensprNapi, MSTensorNapi::Finalize, nullptr, &(tensprNapi->wrapper_));
|
D | 0008-add-js-api.patch | 664 + 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/ |
D | ctocpp_ref_counted.h | 108 ClassName wrapper_; 123 CefRefPtr<BaseName> wrapperPtr(&wrapperStruct->wrapper_); 126 wrapperStruct->wrapper_.UnderlyingRelease(); 146 wrapperStruct->wrapper_.UnderlyingAddRef();
|
D | ctocpp_scoped.h | 103 ClassName wrapper_; 117 return CefOwnPtr<BaseName>(&wrapperStruct->wrapper_);
|
/third_party/node/test/js-native-api/8_passing_wrapped/ |
D | myobject.cc | 6 MyObject::MyObject() : env_(nullptr), wrapper_(nullptr) {} in MyObject() 10 napi_delete_reference(env_, wrapper_); in ~MyObject() 62 &obj->wrapper_)); in New()
|
D | myobject.h | 23 napi_ref wrapper_; variable
|
/third_party/node/test/js-native-api/7_factory_wrap/ |
D | myobject.cc | 6 MyObject::MyObject() : env_(nullptr), wrapper_(nullptr) {} in MyObject() 8 MyObject::~MyObject() { napi_delete_reference(env_, wrapper_); } in ~MyObject() 66 &obj->wrapper_)); in New()
|
D | myobject.h | 24 napi_ref wrapper_; variable
|
/third_party/node/test/js-native-api/6_object_wrap/ |
D | 6_object_wrap.cc | 7 : value_(value), env_(nullptr), wrapper_(nullptr) {} in MyObject() 9 MyObject::~MyObject() { napi_delete_reference(env_, wrapper_); } in ~MyObject() 67 &obj->wrapper_)); in New()
|
D | myobject.h | 23 napi_ref wrapper_; variable
|
/third_party/cef/libcef/browser/net_service/ |
D | resource_request_handler_wrapper.cc | 185 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/ |
D | gmock-actions.h | 706 : performed_(false), wrapper_(wrapper) {} 712 return std::move(wrapper_->payload); 717 const std::shared_ptr<R> wrapper_;
|