Home
last modified time | relevance | path

Searched refs:wrapperStruct (Results 1 – 4 of 4) sorted by relevance

/third_party/cef/libcef_dll/cpptoc/
Dcpptoc_scoped.h87 WrapperStruct* wrapperStruct = GetWrapperStruct(s); in UnwrapOwn() local
91 if (wrapperStruct->type_ != kWrapperType) in UnwrapOwn()
92 return UnwrapDerivedOwn(wrapperStruct->type_, s); in UnwrapOwn()
95 DCHECK(wrapperStruct->wrapper_->owned_); in UnwrapOwn()
96 DCHECK(wrapperStruct->object_); in UnwrapOwn()
100 BaseName* object = wrapperStruct->object_; in UnwrapOwn()
101 wrapperStruct->object_ = nullptr; in UnwrapOwn()
103 delete wrapperStruct->wrapper_; in UnwrapOwn()
121 WrapperStruct* wrapperStruct = GetWrapperStruct(s); in UnwrapRaw() local
125 if (wrapperStruct->type_ != kWrapperType) in UnwrapRaw()
[all …]
Dcpptoc_ref_counted.h46 WrapperStruct* wrapperStruct = GetWrapperStruct(s); in Unwrap() local
50 if (wrapperStruct->type_ != kWrapperType) in Unwrap()
51 return UnwrapDerived(wrapperStruct->type_, s); in Unwrap()
54 CefRefPtr<BaseName> objectPtr(wrapperStruct->object_); in Unwrap()
57 wrapperStruct->wrapper_->Release(); in Unwrap()
67 WrapperStruct* wrapperStruct = GetWrapperStruct(s); in Get() local
69 DCHECK_EQ(kWrapperType, wrapperStruct->type_); in Get()
70 return wrapperStruct->object_; in Get()
149 WrapperStruct* wrapperStruct = in struct_add_ref() local
152 DCHECK_EQ(kWrapperType, wrapperStruct->type_); in struct_add_ref()
[all …]
/third_party/cef/libcef_dll/ctocpp/
Dctocpp_scoped.h77 WrapperStruct* wrapperStruct = GetWrapperStruct(this); in GetStruct() local
79 DCHECK_EQ(kWrapperType, wrapperStruct->type_); in GetStruct()
80 return wrapperStruct->struct_; in GetStruct()
113 WrapperStruct* wrapperStruct = new WrapperStruct;
114 wrapperStruct->type_ = kWrapperType;
115 wrapperStruct->struct_ = s;
117 return CefOwnPtr<BaseName>(&wrapperStruct->wrapper_);
126 WrapperStruct* wrapperStruct = GetWrapperStruct(c.get());
130 if (wrapperStruct->type_ != kWrapperType)
131 return UnwrapDerivedOwn(wrapperStruct->type_, std::move(c));
[all …]
Dctocpp_ref_counted.h47 WrapperStruct* wrapperStruct = GetWrapperStruct(this); in GetStruct() local
49 DCHECK_EQ(kWrapperType, wrapperStruct->type_); in GetStruct()
50 return wrapperStruct->struct_; in GetStruct()
118 WrapperStruct* wrapperStruct = new WrapperStruct;
119 wrapperStruct->type_ = kWrapperType;
120 wrapperStruct->struct_ = s;
123 CefRefPtr<BaseName> wrapperPtr(&wrapperStruct->wrapper_);
126 wrapperStruct->wrapper_.UnderlyingRelease();
137 WrapperStruct* wrapperStruct = GetWrapperStruct(c.get());
141 if (wrapperStruct->type_ != kWrapperType)
[all …]