Debian Codegraph @

src/3rdparty/javascriptcore/JavaScriptCore/wtf/PassRefPtr.h

raw symbols SCIP
1 /*
2 * Copyright (C) 2005, 2006, 2007 Apple Inc. All rights reserved.
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
13 *
14 * You should have received a copy of the GNU Library General Public License
15 * along with this library; see the file COPYING.LIB. If not, write to
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18 *
19 */
20
21 #ifndef WTF_PassRefPtr_h
22 #define WTF_PassRefPtr_hcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/PassRefPtr.h:22:9`!
23
24 #include "AlwaysInline.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h`/
25
26 namespace WTFcxx . . $ `<built-in>:467:9`! {
27
28 template<typename T> class RefPtrcxx . . $ QTWTF/RefPtr#;
29 template<typename T> class PassRefPtrcxx . . $ QTWTF/PassRefPtr#;
30 template <typename T> PassRefPtrcxx . . $ QTWTF/PassRefPtr#<T> adoptRefcxx . . $ QTWTF/adoptRef(e761da608bb8c29c).(T*);
31
32 // Remove inline for winscw compiler to prevent the compiler agressively resolving
33 // T::deref(), which will fail compiling when PassRefPtr<T> is used as class member
34 // or function arguments before T is defined.
35 template<typename T>
36 #if !COMPILERcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:39:9`!(WINSCW)
37 inline
38 #endif
39 void derefIfNotNullcxx . . $ QTWTF/derefIfNotNull(ebd0a1552f8ce24f).(T* ptr)
40 {
41 if (UNLIKELYcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:45:9`!(ptr != 0))
42 ptr->deref();
43 }
44
45 template<typename T> class PassRefPtrcxx . . $ QTWTF/PassRefPtr# {
46 public:
47 PassRefPtrcxx . . $ QTWTF/PassRefPtr#`PassRefPtr<T>`(49f6e7a06ebc5aa8).() : m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr.(0) {}
48 PassRefPtrcxx . . $ QTWTF/PassRefPtr#`PassRefPtr<T>`(ebd0a1552f8ce24f).(T* ptr) : m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr.(ptr) { if (ptr) ptr->ref(); }
49 // It somewhat breaks the type system to allow transfer of ownership out of
50 // a const PassRefPtr. However, it makes it much easier to work with PassRefPtr
51 // temporaries, and we don't really have a need to use real const PassRefPtrs
52 // anyway.
53 PassRefPtrcxx . . $ QTWTF/PassRefPtr#`PassRefPtr<T>`(123f134bdb0cc2e6).(const PassRefPtr& o) : m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr.(o.releaseRefcxx . . $ QTWTF/PassRefPtr#releaseRef(5a2a78a048fb49a8).()) {}
54 template <typename U> PassRefPtrcxx . . $ QTWTF/PassRefPtr#`PassRefPtr<T>`(71361d7f1043064a).(const PassRefPtrcxx . . $ QTWTF/PassRefPtr#<U>& o) : m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr.(o.releaseRefcxx . . $ QTWTF/PassRefPtr#releaseRef(5a2a78a048fb49a8).()) { }
55
56 ALWAYS_INLINEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:25:9`! ~cxx . . $ QTWTF/PassRefPtr#`~PassRefPtr<T>`(49f6e7a06ebc5aa8).PassRefPtr() { derefIfNotNullcxx . . $ QTWTF/derefIfNotNull(ebd0a1552f8ce24f).<T>(m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr.); }
57
58 template <class U>
59 PassRefPtrcxx . . $ QTWTF/PassRefPtr#`PassRefPtr<T>`(11a1ac667024f826).(const RefPtrcxx . . $ QTWTF/RefPtr#<U>& o) : m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr.(o.getcxx . . $ QTWTF/RefPtr#get(5a2a78a048fb49a8).()) { if (T* ptr = m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr.) ptr->ref(); }
60
61 T* getcxx . . $ QTWTF/PassRefPtr#get(5a2a78a048fb49a8).() const { return m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr.; }
62
63 void clearcxx . . $ QTWTF/PassRefPtr#clear(49f6e7a06ebc5aa8).() { if (T* ptr = m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr.) ptr->deref(); m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr. = 0; }
64 T* releaseRefcxx . . $ QTWTF/PassRefPtr#releaseRef(5a2a78a048fb49a8).() const { T* tmp = m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr.; m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr. = 0; return tmp; }
65
66 T& operatorcxx . . $ QTWTF/PassRefPtr#`operator*`(c93303b41ac66b6d).*() const { return *m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr.; }
67 T* operatorcxx . . $ QTWTF/PassRefPtr#`operator->`(5a2a78a048fb49a8).->() const { return m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr.; }
68
69 bool operatorcxx . . $ QTWTF/PassRefPtr#`operator!`(50ce9a9e25b4a850).!() const { return !m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr.; }
70
71 // This conversion operator allows implicit conversion to bool but not to other integer types.
72 typedef T* (PassRefPtrcxx . . $ QTWTF/PassRefPtr#::*UnspecifiedBoolTypecxx . . $ QTWTF/PassRefPtr#UnspecifiedBoolType#);
73 operatorcxx . . $ QTWTF/PassRefPtr#`operator type-parameter-0-0 *PassRefPtr<T>::*`(8e027111a4974ca0). UnspecifiedBoolTypecxx . . $ QTWTF/PassRefPtr#UnspecifiedBoolType#() const { return m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr. ? &PassRefPtrcxx . . $ QTWTF/PassRefPtr#::m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr. : 0; }
74
75 PassRefPtr& operatorcxx . . $ QTWTF/PassRefPtr#`operator=`(bc6852fc83dd53c3).=(T*);
76 PassRefPtr& operatorcxx . . $ QTWTF/PassRefPtr#`operator=`(c71f126f3a0de825).=(const PassRefPtr&);
77 template <typename U> PassRefPtr& operatorcxx . . $ QTWTF/PassRefPtr#`operator=`(6d18dcfaeac3a792).=(const PassRefPtrcxx . . $ QTWTF/PassRefPtr#<U>&);
78 template <typename U> PassRefPtr& operatorcxx . . $ QTWTF/PassRefPtr#`operator=`(108d36b771caea8d).=(const RefPtrcxx . . $ QTWTF/RefPtr#<U>&);
79
80 friend PassRefPtr adoptRefcxx . . $ QTWTF/adoptRef(dd6333c72e403e9f).<T>(T*);
81 private:
82 // adopting constructor
83 PassRefPtrcxx . . $ QTWTF/PassRefPtr#`PassRefPtr<T>`(3f82c0a79a3d735).(T* ptr, bool) : m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr.(ptr) {}
84 mutable T* m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr.;
85 };
86
87 // NonNullPassRefPtr: Optimized for passing non-null pointers. A NonNullPassRefPtr
88 // begins life non-null, and can only become null through a call to releaseRef()
89 // or clear().
90
91 // FIXME: NonNullPassRefPtr could just inherit from PassRefPtr. However,
92 // if we use inheritance, GCC's optimizer fails to realize that destruction
93 // of a released NonNullPassRefPtr is a no-op. So, for now, just copy the
94 // most important code from PassRefPtr.
95 template <typename T> class NonNullPassRefPtrcxx . . $ QTWTF/NonNullPassRefPtr# {
96 public:
97 NonNullPassRefPtrcxx . . $ QTWTF/NonNullPassRefPtr#`NonNullPassRefPtr<T>`(ebd0a1552f8ce24f).(T* ptr)
98 : m_ptrcxx . . $ QTWTF/NonNullPassRefPtr#m_ptr.(ptr)
99 {
100 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(m_ptr);
101 m_ptrcxx . . $ QTWTF/NonNullPassRefPtr#m_ptr.->ref();
102 }
103
104 template <class U> NonNullPassRefPtrcxx . . $ QTWTF/NonNullPassRefPtr#`NonNullPassRefPtr<T>`(11a1ac667024f826).(const RefPtrcxx . . $ QTWTF/RefPtr#<U>& o)
105 : m_ptrcxx . . $ QTWTF/NonNullPassRefPtr#m_ptr.(o.getcxx . . $ QTWTF/RefPtr#get(5a2a78a048fb49a8).())
106 {
107 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(m_ptr);
108 m_ptrcxx . . $ QTWTF/NonNullPassRefPtr#m_ptr.->ref();
109 }
110
111 NonNullPassRefPtrcxx . . $ QTWTF/NonNullPassRefPtr#`NonNullPassRefPtr<T>`(aefdec69c55364eb).(const NonNullPassRefPtr& o)
112 : m_ptrcxx . . $ QTWTF/NonNullPassRefPtr#m_ptr.(o.releaseRefcxx . . $ QTWTF/NonNullPassRefPtr#releaseRef(5a2a78a048fb49a8).())
113 {
114 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(m_ptr);
115 }
116
117 template <class U> NonNullPassRefPtrcxx . . $ QTWTF/NonNullPassRefPtr#`NonNullPassRefPtr<T>`(71ac27562e9f34e5).(const NonNullPassRefPtrcxx . . $ QTWTF/NonNullPassRefPtr#<U>& o)
118 : m_ptrcxx . . $ QTWTF/NonNullPassRefPtr#m_ptr.(o.releaseRefcxx . . $ QTWTF/NonNullPassRefPtr#releaseRef(5a2a78a048fb49a8).())
119 {
120 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(m_ptr);
121 }
122
123 template <class U> NonNullPassRefPtrcxx . . $ QTWTF/NonNullPassRefPtr#`NonNullPassRefPtr<T>`(71361d7f1043064a).(const PassRefPtrcxx . . $ QTWTF/PassRefPtr#<U>& o)
124 : m_ptrcxx . . $ QTWTF/NonNullPassRefPtr#m_ptr.(o.releaseRefcxx . . $ QTWTF/PassRefPtr#releaseRef(5a2a78a048fb49a8).())
125 {
126 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(m_ptr);
127 }
128
129 ALWAYS_INLINEcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:25:9`! ~cxx . . $ QTWTF/NonNullPassRefPtr#`~NonNullPassRefPtr<T>`(49f6e7a06ebc5aa8).NonNullPassRefPtr() { derefIfNotNullcxx . . $ QTWTF/derefIfNotNull(ebd0a1552f8ce24f).(m_ptrcxx . . $ QTWTF/NonNullPassRefPtr#m_ptr.); }
130
131 T* getcxx . . $ QTWTF/NonNullPassRefPtr#get(5a2a78a048fb49a8).() const { return m_ptrcxx . . $ QTWTF/NonNullPassRefPtr#m_ptr.; }
132
133 void clearcxx . . $ QTWTF/NonNullPassRefPtr#clear(49f6e7a06ebc5aa8).() { derefIfNotNullcxx . . $ QTWTF/derefIfNotNull(ebd0a1552f8ce24f).(m_ptrcxx . . $ QTWTF/NonNullPassRefPtr#m_ptr.); m_ptrcxx . . $ QTWTF/NonNullPassRefPtr#m_ptr. = 0; }
134 T* releaseRefcxx . . $ QTWTF/NonNullPassRefPtr#releaseRef(5a2a78a048fb49a8).() const { T* tmp = m_ptrcxx . . $ QTWTF/NonNullPassRefPtr#m_ptr.; m_ptrcxx . . $ QTWTF/NonNullPassRefPtr#m_ptr. = 0; return tmp; }
135
136 T& operatorcxx . . $ QTWTF/NonNullPassRefPtr#`operator*`(c93303b41ac66b6d).*() const { return *m_ptrcxx . . $ QTWTF/NonNullPassRefPtr#m_ptr.; }
137 T* operatorcxx . . $ QTWTF/NonNullPassRefPtr#`operator->`(5a2a78a048fb49a8).->() const { return m_ptrcxx . . $ QTWTF/NonNullPassRefPtr#m_ptr.; }
138
139 private:
140 mutable T* m_ptrcxx . . $ QTWTF/NonNullPassRefPtr#m_ptr.;
141 };
142
143 template <typename T> template <typename U> inline PassRefPtrcxx . . $ QTWTF/PassRefPtr#<T>& PassRefPtrcxx . . $ QTWTF/PassRefPtr#<T>::operatorcxx . . $ QTWTF/PassRefPtr#`operator=`(108d36b771caea8d).=(const RefPtrcxx . . $ QTWTF/RefPtr#<U>& o)
144 {
145 T* optr = o.getcxx . . $ QTWTF/RefPtr#get(5a2a78a048fb49a8).();
146 if (optr)
147 optr->ref();
148 T* ptr = m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr.;
149 m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr. = optr;
150 if (ptr)
151 ptr->deref();
152 return *this;
153 }
154
155 template <typename T> inline PassRefPtrcxx . . $ QTWTF/PassRefPtr#<T>& PassRefPtrcxx . . $ QTWTF/PassRefPtr#<T>::operatorcxx . . $ QTWTF/PassRefPtr#`operator=`(bc6852fc83dd53c3).=(T* optr)
156 {
157 if (optr)
158 optr->ref();
159 T* ptr = m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr.;
160 m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr. = optr;
161 if (ptr)
162 ptr->deref();
163 return *this;
164 }
165
166 template <typename T> inline PassRefPtrcxx . . $ QTWTF/PassRefPtr#<T>& PassRefPtrcxx . . $ QTWTF/PassRefPtr#<T>::operatorcxx . . $ QTWTF/PassRefPtr#`operator=`(c71f126f3a0de825).=(const PassRefPtrcxx . . $ QTWTF/PassRefPtr#<T>& ref)
167 {
168 T* ptr = m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr.;
169 m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr. = ref.releaseRefcxx . . $ QTWTF/PassRefPtr#releaseRef(5a2a78a048fb49a8).();
170 if (ptr)
171 ptr->deref();
172 return *this;
173 }
174
175 template <typename T> template <typename U> inline PassRefPtrcxx . . $ QTWTF/PassRefPtr#<T>& PassRefPtrcxx . . $ QTWTF/PassRefPtr#<T>::operatorcxx . . $ QTWTF/PassRefPtr#`operator=`(6d18dcfaeac3a792).=(const PassRefPtrcxx . . $ QTWTF/PassRefPtr#<U>& ref)
176 {
177 T* ptr = m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr.;
178 m_ptrcxx . . $ QTWTF/PassRefPtr#m_ptr. = ref.releaseRefcxx . . $ QTWTF/PassRefPtr#releaseRef(5a2a78a048fb49a8).();
179 if (ptr)
180 ptr->deref();
181 return *this;
182 }
183
184 template <typename T, typename U> inline bool operatorcxx . . $ QTWTF/`operator==`(53f2ef751fb2c4b).==(const PassRefPtrcxx . . $ QTWTF/PassRefPtr#<T>& a, const PassRefPtrcxx . . $ QTWTF/PassRefPtr#<U>& b)
185 {
186 return a.getcxx . . $ QTWTF/PassRefPtr#get(5a2a78a048fb49a8).() ==cxx . . $ QTWTF/`operator==`(53f2ef751fb2c4b). b.getcxx . . $ QTWTF/PassRefPtr#get(5a2a78a048fb49a8).();
187 }
188
189 template <typename T, typename U> inline bool operatorcxx . . $ QTWTF/`operator==`(8bba44cd2316e962).==(const PassRefPtrcxx . . $ QTWTF/PassRefPtr#<T>& a, const RefPtrcxx . . $ QTWTF/RefPtr#<U>& b)
190 {
191 return a.getcxx . . $ QTWTF/PassRefPtr#get(5a2a78a048fb49a8).() ==cxx . . $ QTWTF/`operator==`(8bba44cd2316e962). b.getcxx . . $ QTWTF/RefPtr#get(5a2a78a048fb49a8).();
192 }
193
194 template <typename T, typename U> inline bool operatorcxx . . $ QTWTF/`operator==`(31369b2754de4004).==(const RefPtrcxx . . $ QTWTF/RefPtr#<T>& a, const PassRefPtrcxx . . $ QTWTF/PassRefPtr#<U>& b)
195 {
196 return a.getcxx . . $ QTWTF/RefPtr#get(5a2a78a048fb49a8).() ==cxx . . $ QTWTF/`operator==`(31369b2754de4004). b.getcxx . . $ QTWTF/PassRefPtr#get(5a2a78a048fb49a8).();
197 }
198
199 template <typename T, typename U> inline bool operatorcxx . . $ QTWTF/`operator==`(4bad3d8cb7496246).==(const PassRefPtrcxx . . $ QTWTF/PassRefPtr#<T>& a, U* b)
200 {
201 return a.getcxx . . $ QTWTF/PassRefPtr#get(5a2a78a048fb49a8).() ==cxx . . $ QTWTF/`operator==`(4bad3d8cb7496246). b;
202 }
203
204 template <typename T, typename U> inline bool operatorcxx . . $ QTWTF/`operator==`(b1a6445b02f80637).==(T* a, const PassRefPtrcxx . . $ QTWTF/PassRefPtr#<U>& b)
205 {
206 return a ==cxx . . $ QTWTF/`operator==`(b1a6445b02f80637). b.getcxx . . $ QTWTF/PassRefPtr#get(5a2a78a048fb49a8).();
207 }
208
209 template <typename T, typename U> inline bool operatorcxx . . $ QTWTF/`operator!=`(53f2ef751fb2c4b).!=(const PassRefPtrcxx . . $ QTWTF/PassRefPtr#<T>& a, const PassRefPtrcxx . . $ QTWTF/PassRefPtr#<U>& b)
210 {
211 return a.getcxx . . $ QTWTF/PassRefPtr#get(5a2a78a048fb49a8).() !=cxx . . $ QTWTF/`operator!=`(53f2ef751fb2c4b). b.getcxx . . $ QTWTF/PassRefPtr#get(5a2a78a048fb49a8).();
212 }
213
214 template <typename T, typename U> inline bool operatorcxx . . $ QTWTF/`operator!=`(8bba44cd2316e962).!=(const PassRefPtrcxx . . $ QTWTF/PassRefPtr#<T>& a, const RefPtrcxx . . $ QTWTF/RefPtr#<U>& b)
215 {
216 return a.getcxx . . $ QTWTF/PassRefPtr#get(5a2a78a048fb49a8).() !=cxx . . $ QTWTF/`operator!=`(8bba44cd2316e962). b.getcxx . . $ QTWTF/RefPtr#get(5a2a78a048fb49a8).();
217 }
218
219 template <typename T, typename U> inline bool operatorcxx . . $ QTWTF/`operator!=`(31369b2754de4004).!=(const RefPtrcxx . . $ QTWTF/RefPtr#<T>& a, const PassRefPtrcxx . . $ QTWTF/PassRefPtr#<U>& b)
220 {
221 return a.getcxx . . $ QTWTF/RefPtr#get(5a2a78a048fb49a8).() !=cxx . . $ QTWTF/`operator!=`(31369b2754de4004). b.getcxx . . $ QTWTF/PassRefPtr#get(5a2a78a048fb49a8).();
222 }
223
224 template <typename T, typename U> inline bool operatorcxx . . $ QTWTF/`operator!=`(4bad3d8cb7496246).!=(const PassRefPtrcxx . . $ QTWTF/PassRefPtr#<T>& a, U* b)
225 {
226 return a.getcxx . . $ QTWTF/PassRefPtr#get(5a2a78a048fb49a8).() !=cxx . . $ QTWTF/`operator!=`(4bad3d8cb7496246). b;
227 }
228
229 template <typename T, typename U> inline bool operatorcxx . . $ QTWTF/`operator!=`(b1a6445b02f80637).!=(T* a, const PassRefPtrcxx . . $ QTWTF/PassRefPtr#<U>& b)
230 {
231 return a !=cxx . . $ QTWTF/`operator!=`(b1a6445b02f80637). b.getcxx . . $ QTWTF/PassRefPtr#get(5a2a78a048fb49a8).();
232 }
233
234 template <typename T> inline PassRefPtrcxx . . $ QTWTF/PassRefPtr#<T> adoptRefcxx . . $ QTWTF/adoptRef(e761da608bb8c29c).(T* p)
235 {
236 return PassRefPtrcxx . . $ QTWTF/PassRefPtr#<T>(p, true);
237 }
238
239 template <typename T, typename U> inline PassRefPtrcxx . . $ QTWTF/PassRefPtr#<T> static_pointer_castcxx . . $ QTWTF/static_pointer_cast(958110bcd75ef05e).(const PassRefPtrcxx . . $ QTWTF/PassRefPtr#<U>& p)
240 {
241 return adoptRefcxx . . $ QTWTF/adoptRef(e761da608bb8c29c).(static_cast<T*>(p.releaseRefcxx . . $ QTWTF/PassRefPtr#releaseRef(5a2a78a048fb49a8).()));
242 }
243
244 template <typename T, typename U> inline PassRefPtrcxx . . $ QTWTF/PassRefPtr#<T> const_pointer_castcxx . . $ QTWTF/const_pointer_cast(958110bcd75ef05e).(const PassRefPtrcxx . . $ QTWTF/PassRefPtr#<U>& p)
245 {
246 return adoptRefcxx . . $ QTWTF/adoptRef(e761da608bb8c29c).(const_cast<T*>(p.releaseRefcxx . . $ QTWTF/PassRefPtr#releaseRef(5a2a78a048fb49a8).()));
247 }
248
249 template <typename T> inline T* getPtrcxx . . $ QTWTF/getPtr(1f9cf8dd3a6e3bea).(const PassRefPtrcxx . . $ QTWTF/PassRefPtr#<T>& p)
250 {
251 return p.getcxx . . $ QTWTF/PassRefPtr#get(5a2a78a048fb49a8).();
252 }
253
254 } // namespace WTF
255
256 using WTFcxx . . $ `<built-in>:467:9`!::PassRefPtrcxx . . $ PassRefPtr#;
257 using WTFcxx . . $ `<built-in>:467:9`!::NonNullPassRefPtrcxx . . $ NonNullPassRefPtr#;
258 using WTFcxx . . $ `<built-in>:467:9`!::adoptRefcxx . . $ adoptRef(e761da608bb8c29c).;
259 using WTFcxx . . $ `<built-in>:467:9`!::static_pointer_castcxx . . $ static_pointer_cast(958110bcd75ef05e).;
260 using WTFcxx . . $ `<built-in>:467:9`!::const_pointer_castcxx . . $ const_pointer_cast(958110bcd75ef05e).;
261
262 #endif // WTF_PassRefPtr_h