Debian Codegraph @

src/3rdparty/javascriptcore/JavaScriptCore/runtime/UString.h

raw symbols SCIP
1 /*
2 * Copyright (C) 1999-2000 Harri Porten ([email protected])
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
4 * Copyright (C) 2009 Google Inc. All rights reserved.
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
20 *
21 */
22
23 #ifndef UString_h
24 #define UString_hcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/runtime/UString.h:24:9`!
25
26 #include "Collector.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.h`/
27 #include "UStringImpl.h"cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/runtime/UStringImpl.h`/
28 #include <stdint.h>
29 #include <string.h>
30 #include <wtf/Assertions.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h`/
31 #include <wtf/CrossThreadRefCounted.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/wtf/CrossThreadRefCounted.h`/
32 #include <wtf/OwnFastMallocPtr.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/wtf/OwnFastMallocPtr.h`/
33 #include <wtf/PassRefPtr.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/wtf/PassRefPtr.h`/
34 #include <wtf/PtrAndFlags.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/wtf/PtrAndFlags.h`/
35 #include <wtf/RefPtr.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/wtf/RefPtr.h`/
36 #include <wtf/Vector.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h`/
37 #include <wtf/unicode/Unicode.h>cxx . . $ `<file>/src/3rdparty/javascriptcore/JavaScriptCore/wtf/unicode/Unicode.h`/
38
39 #if PLATFORMcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:33:9`!(QT)
40 #include <QtCore/qstring.h>
41 #endif
42
43 namespace JSCcxx . . $ QTJSC/ {
44
45 using WTFcxx . . $ `<built-in>:467:9`!::PlacementNewAdoptTypecxx . . $ QTWTF/PlacementNewAdoptType#;
46 using WTFcxx . . $ `<built-in>:467:9`!::PlacementNewAdoptcxx . . $ QTWTF/PlacementNewAdopt.;
47
48 class CStringcxx . . $ QTJSC/CString# {
49 public:
50 CStringcxx . . $ QTJSC/CString#CString(49f6e7a06ebc5aa8).()
51 : m_lengthcxx . . $ QTJSC/CString#m_length.(0)
52 , m_datacxx . . $ QTJSC/CString#m_data.(0)
53 {
54 }
55
56 CStringcxx . . $ QTJSC/CString#CString(85c52e162fed56f9).(const char*);
57 CStringcxx . . $ QTJSC/CString#CString(7cafb6e0818eff3b).(const char*, size_tcxx . . $ size_t#);
58 CStringcxx . . $ QTJSC/CString#CString(f113043c45ce5422).(const CStringcxx . . $ QTJSC/CString#&);
59
60 ~cxx . . $ QTJSC/CString#`~CString`(49f6e7a06ebc5aa8).CStringcxx . . $ QTJSC/CString#();
61
62 static CStringcxx . . $ QTJSC/CString# adoptcxx . . $ QTJSC/CString#adopt(328b68d1112ffd19).(char*, size_tcxx . . $ size_t#); // buffer should be allocated with new[].
63
64 CStringcxx . . $ QTJSC/CString#& appendcxx . . $ QTJSC/CString#append(6cdc8ba6a410cc19).(const CStringcxx . . $ QTJSC/CString#&);
65 CStringcxx . . $ QTJSC/CString#& operatorcxx . . $ QTJSC/CString#`operator=`(fbe391b56b16ab89).=(const char* c);
66 CStringcxx . . $ QTJSC/CString#& operatorcxx . . $ QTJSC/CString#`operator=`(6cdc8ba6a410cc19).=(const CStringcxx . . $ QTJSC/CString#&);
67 CStringcxx . . $ QTJSC/CString#& operatorcxx . . $ QTJSC/CString#`operator+=`(6cdc8ba6a410cc19).+=(const CStringcxx . . $ QTJSC/CString#& c) { return appendcxx . . $ QTJSC/CString#append(6cdc8ba6a410cc19).(c); }
68
69 size_tcxx . . $ size_t# sizecxx . . $ QTJSC/CString#size(fe4d2d262d4164a8).() const { return m_lengthcxx . . $ QTJSC/CString#m_length.; }
70 const char* c_strcxx . . $ QTJSC/CString#c_str(a9f41ea0e82d88cf).() const { return m_datacxx . . $ QTJSC/CString#m_data.; }
71
72 private:
73 size_tcxx . . $ size_t# m_lengthcxx . . $ QTJSC/CString#m_length.;
74 char* m_datacxx . . $ QTJSC/CString#m_data.;
75 };
76
77 bool operatorcxx . . $ QTJSC/`operator==`(e9142ab59ce7dac8).==(const CStringcxx . . $ QTJSC/CString#&, const CStringcxx . . $ QTJSC/CString#&);
78
79 typedef Vectorcxx . . $ Vector#<char, 32> CStringBuffercxx . . $ QTJSC/CStringBuffer#;
80
81 class UStringcxx . . $ QTJSC/UString# {
82 friend class JITcxx . . $ QTJSC/JIT#;
83
84 public:
85 #if PLATFORMcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:33:9`!(QT)
86 operatorcxx . . $ QTJSC/UString#`operator QString`(6ef7b6c27b00b43d). QT_PREPEND_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:146:10`!(QString)() const
87 {
88 return QT_PREPEND_NAMESPACEcxx . . $ QString#QString(272b2502a4d0f1bc).(QString)(reinterpret_cast<const QT_PREPEND_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:146:10`!(QChar)*>(this->datacxx . . $ QTJSC/UString#data(9865edf6270d80f8).()), this->sizecxx . . $ QTJSC/UString#size(455f465bc33b4cdf).());
89 }
90
91 UStringcxx . . $ QTJSC/UString#UString(3520e46b33348bf6).(const QT_PREPEND_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:146:10`!(QString)& str)
92 {
93 *this =cxx . . $ QTJSC/UString#`operator=`(851e20fdc87a162a). JSCcxx . . $ QTJSC/::UStringcxx . . $ QTJSC/UString#(reinterpret_cast<const UCharcxx . . $ UChar#*>(str.constDatacxx . . $ QString#constData(4b5a7d1cd542e2bb).()), str.lengthcxx . . $ QString#length(455f465bc33b4cdf).());
94 }
95 #endif
96 typedef UStringImplcxx . . $ QTJSC/UStringImpl# Repcxx . . $ QTJSC/UString#Rep#;
97
98 public:
99 // UString constructors passed char*s assume ISO Latin-1 encoding; for UTF8 use 'createFromUTF8', below.
100 UStringcxx . . $ QTJSC/UString#UString(49f6e7a06ebc5aa8).();
101 UStringcxx . . $ QTJSC/UString#UString(85c52e162fed56f9).(const char*); // Constructor for null-terminated string.
102 UStringcxx . . $ QTJSC/UString#UString(34d26762b42c433a).(const char*, int length);
103 UStringcxx . . $ QTJSC/UString#UString(280060e335061cbc).(const UCharcxx . . $ UChar#*, int length);
104 UStringcxx . . $ QTJSC/UString#UString(794bbbca577513a2).(const Vector<UChar>& buffer);
105
106 UStringcxx . . $ QTJSC/UString#UString(e6bad6cb9b63b14d).(const UStringcxx . . $ QTJSC/UString#& s)
107 : m_rep(s.m_rep)
108 {
109 }
110
111 // Special constructor for cases where we overwrite an object in place.
112 UStringcxx . . $ QTJSC/UString#UString(cc0015d274ebce84).(PlacementNewAdoptTypecxx . . $ QTJSC/PlacementNewAdoptType#)
113 : m_rep(PlacementNewAdopt)
114 {
115 }
116
117 ~cxx . . $ QTJSC/UString#`~UString`(49f6e7a06ebc5aa8).UStringcxx . . $ QTJSC/UString#()
118 {
119 }
120
121 template<size_tcxx . . $ size_t# inlineCapacity>
122 static PassRefPtrcxx . . $ PassRefPtr#<UStringImplcxx . . $ QTJSC/UStringImpl#> adoptcxx . . $ QTJSC/UString#adopt(ba4cde8cfd111b2f).(Vectorcxx . . $ Vector#<UCharcxx . . $ UChar#, inlineCapacity>& vector)
123 {
124 return Repcxx . . $ QTJSC/UString#Rep#::adoptcxx . . $ QTJSC/UStringImpl#adopt(ba4cde8cfd111b2f).(vector);
125 }
126
127 static UStringcxx . . $ QTJSC/UString# createFromUTF8cxx . . $ QTJSC/UString#createFromUTF8(7997a73d481bd958).(const char*);
128
129 static UStringcxx . . $ QTJSC/UString# fromcxx . . $ QTJSC/UString#from(1ed97944dfe079ad).(int);
130 static UStringcxx . . $ QTJSC/UString# fromcxx . . $ QTJSC/UString#from(e0c62135984997e0).(long long);
131 static UStringcxx . . $ QTJSC/UString# fromcxx . . $ QTJSC/UString#from(54d53174fb977824).(unsigned int);
132 static UStringcxx . . $ QTJSC/UString# fromcxx . . $ QTJSC/UString#from(243dcffc87344efa).(long);
133 static UStringcxx . . $ QTJSC/UString# fromcxx . . $ QTJSC/UString#from(f1fb2f715195f7ba).(double);
134
135 struct Rangecxx . . $ QTJSC/UString#Range# {
136 public:
137 Rangecxx . . $ QTJSC/UString#Range#Range(3e454b8ccf442868).(int pos, int len)
138 : positioncxx . . $ QTJSC/UString#Range#position.(pos)
139 , lengthcxx . . $ QTJSC/UString#Range#length.(len)
140 {
141 }
142
143 Rangecxx . . $ QTJSC/UString#Range#Range(49f6e7a06ebc5aa8).()
144 {
145 }
146
147 int positioncxx . . $ QTJSC/UString#Range#position.;
148 int lengthcxx . . $ QTJSC/UString#Range#length.;
149 };
150
151 UStringcxx . . $ QTJSC/UString# spliceSubstringsWithSeparatorscxx . . $ QTJSC/UString#spliceSubstringsWithSeparators(ed9cadda3b49decf).(const Rangecxx . . $ QTJSC/UString#Range#* substringRanges, int rangeCount, const UStringcxx . . $ QTJSC/UString#* separators, int separatorCount) const;
152
153 UStringcxx . . $ QTJSC/UString# replaceRangecxx . . $ QTJSC/UString#replaceRange(53b02ab961aae626).(int rangeStart, int RangeEnd, const UStringcxx . . $ QTJSC/UString#& replacement) const;
154
155 bool getCStringcxx . . $ QTJSC/UString#getCString(64738f2312fe887d).(CStringBuffercxx . . $ QTJSC/CStringBuffer#&) const;
156
157 // NOTE: This method should only be used for *debugging* purposes as it
158 // is neither Unicode safe nor free from side effects nor thread-safe.
159 char* asciicxx . . $ QTJSC/UString#ascii(e7e5aa338b9d5147).() const;
160
161 /**
162 * Convert the string to UTF-8, assuming it is UTF-16 encoded.
163 * In non-strict mode, this function is tolerant of badly formed UTF-16, it
164 * can create UTF-8 strings that are invalid because they have characters in
165 * the range U+D800-U+DDFF, U+FFFE, or U+FFFF, but the UTF-8 string is
166 * guaranteed to be otherwise valid.
167 * In strict mode, error is returned as null CString.
168 */
169 CStringcxx . . $ QTJSC/CString# UTF8Stringcxx . . $ QTJSC/UString#UTF8String(93ff631091aac352).(bool strict = false) const;
170
171 UStringcxx . . $ QTJSC/UString#& operatorcxx . . $ QTJSC/UString#`operator=`(70cadf8fa21ba6da).=(const char*c);
172
173 const UCharcxx . . $ UChar#* datacxx . . $ QTJSC/UString#data(9865edf6270d80f8).() const { return m_rep->data(); }
174
175 bool isNullcxx . . $ QTJSC/UString#isNull(50ce9a9e25b4a850).() const { return m_rep == &Rep::null(); }
176 bool isEmptycxx . . $ QTJSC/UString#isEmpty(50ce9a9e25b4a850).() const { return !m_rep->size(); }
177
178 bool is8Bitcxx . . $ QTJSC/UString#is8Bit(50ce9a9e25b4a850).() const;
179
180 int sizecxx . . $ QTJSC/UString#size(455f465bc33b4cdf).() const { return m_rep->size(); }
181
182 UCharcxx . . $ UChar# operatorcxx . . $ QTJSC/UString#`operator[]`(81721cd16838b595).[](int pos) const;
183
184 double toDoublecxx . . $ QTJSC/UString#toDouble(b2da4fe40e23cdf4).(bool tolerateTrailingJunk, bool tolerateEmptyString) const;
185 double toDoublecxx . . $ QTJSC/UString#toDouble(305e4bce9887ae63).(bool tolerateTrailingJunk) const;
186 double toDoublecxx . . $ QTJSC/UString#toDouble(21b6c25e127938e2).() const;
187
188 uint32_tcxx . . $ uint32_t# toUInt32cxx . . $ QTJSC/UString#toUInt32(870b63f89c7fb98).(bool* ok = 0) const;
189 uint32_tcxx . . $ uint32_t# toUInt32cxx . . $ QTJSC/UString#toUInt32(7e25dc0896afbd5b).(bool* ok, bool tolerateEmptyString) const;
190 uint32_tcxx . . $ uint32_t# toStrictUInt32cxx . . $ QTJSC/UString#toStrictUInt32(870b63f89c7fb98).(bool* ok = 0) const;
191
192 unsigned toArrayIndexcxx . . $ QTJSC/UString#toArrayIndex(870b63f89c7fb98).(bool* ok = 0) const;
193
194 int findcxx . . $ QTJSC/UString#find(70eccbdd5fc86362).(const UStringcxx . . $ QTJSC/UString#& f, int pos = 0) const;
195 int findcxx . . $ QTJSC/UString#find(2e669bd8f683556).(UCharcxx . . $ UChar#, int pos = 0) const;
196 int rfindcxx . . $ QTJSC/UString#rfind(70eccbdd5fc86362).(const UStringcxx . . $ QTJSC/UString#& f, int pos) const;
197 int rfindcxx . . $ QTJSC/UString#rfind(2e669bd8f683556).(UCharcxx . . $ UChar#, int pos) const;
198
199 UStringcxx . . $ QTJSC/UString# substrcxx . . $ QTJSC/UString#substr(2aae7669e5263855).(int pos = 0, int len = -1) const;
200
201 static const UStringcxx . . $ QTJSC/UString#& nullcxx . . $ QTJSC/UString#null(53a29c79ee266d14).() { return *nullUStringcxx . . $ QTJSC/UString#nullUString.; }
202
203 Repcxx . . $ QTJSC/UString#Rep#* repcxx . . $ QTJSC/UString#rep(eff8ac5d0836371c).() const { return m_rep.get(); }
204 static Repcxx . . $ QTJSC/UString#Rep#* nullRepcxx . . $ QTJSC/UString#nullRep(b56a90d0afa3b8ee).();
205
206 UStringcxx . . $ QTJSC/UString#UString(99d903a9fa1dfd54).(PassRefPtrcxx . . $ PassRefPtr#<Repcxx . . $ QTJSC/UString#Rep#> r)
207 : m_rep(r)
208 {
209 ASSERTcxx . . $ `src/3rdparty/javascriptcore/JavaScriptCore/wtf/Assertions.h:184:9`!(m_rep);
210 }
211
212 size_tcxx . . $ size_t# costcxx . . $ QTJSC/UString#cost(fe4d2d262d4164a8).() const { return m_rep->cost(); }
213
214 private:
215 void makeNullcxx . . $ QTJSC/UString#makeNull(49f6e7a06ebc5aa8).();
216
217 RefPtrcxx . . $ RefPtr#<Repcxx . . $ QTJSC/UString#Rep#> m_repcxx . . $ QTJSC/UString#m_rep.;
218 static UStringcxx . . $ QTJSC/UString#* nullUStringcxx . . $ QTJSC/UString#nullUString.;
219
220 friend void initializeUStringcxx . . $ QTJSC/initializeUString(49f6e7a06ebc5aa8).();
221 friend bool operatorcxx . . $ QTJSC/`operator==`(11610d830df66bbf).==(const UStringcxx . . $ QTJSC/UString#&, const UStringcxx . . $ QTJSC/UString#&);
222 };
223
224 ALWAYS_INLINEcxx . . $ `../3rdparty/javascriptcore/JavaScriptCore/wtf/AlwaysInline.h:25:9`! bool operatorcxx . . $ QTJSC/`operator==`(11610d830df66bbf).==(const UStringcxx . . $ QTJSC/UString#& s1, const UStringcxx . . $ QTJSC/UString#& s2)
225 {
226 int size = s1.sizecxx . . $ QTJSC/UString#size(455f465bc33b4cdf).();
227 switch (size) {
228 case 0:
229 return !s2.sizecxx . . $ QTJSC/UString#size(455f465bc33b4cdf).();
230 case 1:
231 return s2.sizecxx . . $ QTJSC/UString#size(455f465bc33b4cdf).() == 1 && s1.datacxx . . $ QTJSC/UString#data(9865edf6270d80f8).()[0] == s2.datacxx . . $ QTJSC/UString#data(9865edf6270d80f8).()[0];
232 case 2: {
233 if (s2.sizecxx . . $ QTJSC/UString#size(455f465bc33b4cdf).() != 2)
234 return false;
235 const UCharcxx . . $ UChar#* d1 = s1.datacxx . . $ QTJSC/UString#data(9865edf6270d80f8).();
236 const UCharcxx . . $ UChar#* d2 = s2.datacxx . . $ QTJSC/UString#data(9865edf6270d80f8).();
237 return (d1[0] == d2[0]) & (d1[1] == d2[1]);
238 }
239 default:
240 return s2.sizecxx . . $ QTJSC/UString#size(455f465bc33b4cdf).() == size && memcmp(s1.datacxx . . $ QTJSC/UString#data(9865edf6270d80f8).(), s2.datacxx . . $ QTJSC/UString#data(9865edf6270d80f8).(), size * sizeof(UCharcxx . . $ UChar#)) == 0;
241 }
242 }
243
244
245 inline bool operatorcxx . . $ QTJSC/`operator!=`(11610d830df66bbf).!=(const UStringcxx . . $ QTJSC/UString#& s1, const UStringcxx . . $ QTJSC/UString#& s2)
246 {
247 return !JSCcxx . . $ `<built-in>:463:9`!::operatorcxx . . $ QTJSC/`operator==`(11610d830df66bbf).==(s1, s2);
248 }
249
250 bool operatorcxx . . $ QTJSC/`operator<`(11610d830df66bbf).<(const UStringcxx . . $ QTJSC/UString#& s1, const UStringcxx . . $ QTJSC/UString#& s2);
251 bool operatorcxx . . $ QTJSC/`operator>`(11610d830df66bbf).>(const UStringcxx . . $ QTJSC/UString#& s1, const UStringcxx . . $ QTJSC/UString#& s2);
252
253 bool operatorcxx . . $ QTJSC/`operator==`(593d45c770f98d7c).==(const UStringcxx . . $ QTJSC/UString#& s1, const char* s2);
254
255 inline bool operatorcxx . . $ QTJSC/`operator!=`(593d45c770f98d7c).!=(const UStringcxx . . $ QTJSC/UString#& s1, const char* s2)
256 {
257 return !JSCcxx . . $ QTJSC/::operatorcxx . . $ QTJSC/`operator==`(593d45c770f98d7c).==(s1, s2);
258 }
259
260 inline bool operatorcxx . . $ QTJSC/`operator==`(2a94f8346549a239).==(const char *s1, const UStringcxx . . $ QTJSC/UString#& s2)
261 {
262 return operatorcxx . . $ QTJSC/`operator==`(593d45c770f98d7c).==(s2, s1);
263 }
264
265 inline bool operatorcxx . . $ QTJSC/`operator!=`(2a94f8346549a239).!=(const char *s1, const UStringcxx . . $ QTJSC/UString#& s2)
266 {
267 return !JSCcxx . . $ QTJSC/::operatorcxx . . $ QTJSC/`operator==`(2a94f8346549a239).==(s1, s2);
268 }
269
270 int comparecxx . . $ QTJSC/compare(3b03898a94650926).(const UStringcxx . . $ QTJSC/UString#&, const UStringcxx . . $ QTJSC/UString#&);
271
272 inline UStringcxx . . $ QTJSC/UString#::UStringcxx . . $ QTJSC/UString#UString(49f6e7a06ebc5aa8).()
273 : m_rep(&Rep::null())
274 {
275 }
276
277 // Rule from ECMA 15.2 about what an array index is.
278 // Must exactly match string form of an unsigned integer, and be less than 2^32 - 1.
279 inline unsigned UStringcxx . . $ QTJSC/UString#::toArrayIndexcxx . . $ QTJSC/UString#toArrayIndex(870b63f89c7fb98).(bool* ok) const
280 {
281 unsigned i = toStrictUInt32cxx . . $ QTJSC/UString#toStrictUInt32(870b63f89c7fb98).(ok);
282 if (ok && i >= 0xFFFFFFFFU)
283 *ok = false;
284 return i;
285 }
286
287 // We'd rather not do shared substring append for small strings, since
288 // this runs too much risk of a tiny initial string holding down a
289 // huge buffer.
290 // FIXME: this should be size_t but that would cause warnings until we
291 // fix UString sizes to be size_t instead of int
292 static const int minShareSizecxx . . $ QTJSC/minShareSize. = Heapcxx . . $ QTJSC/Heap#::minExtraCostcxx . . $ QTJSC/Heap#minExtraCost. / sizeof(UCharcxx . . $ UChar#);
293
294 struct IdentifierRepHashcxx . . $ QTJSC/IdentifierRepHash# : PtrHash<RefPtr<JSCcxx . . $ `<built-in>:463:9`!::UString::Rep> > {
295 static unsigned hashcxx . . $ QTJSC/IdentifierRepHash#hash(b30bb2124b1ad8b0).(const RefPtrcxx . . $ RefPtr#<JSCcxx . . $ `<built-in>:463:9`!::UStringcxx . . $ QTJSC/UString#::Repcxx . . $ QTJSC/UString#Rep#>& key) { return key->existingHash(); }
296 static unsigned hashcxx . . $ QTJSC/IdentifierRepHash#hash(49a6f72bc781367c).(JSCcxx . . $ QTJSC/::UStringcxx . . $ QTJSC/UString#::Repcxx . . $ QTJSC/UString#Rep#* key) { return key->existingHashcxx . . $ QTJSC/UStringImpl#existingHash(ddd8539a2fcdd4ce).(); }
297 };
298
299 void initializeUStringcxx . . $ QTJSC/initializeUString(49f6e7a06ebc5aa8).();
300
301 template<typename StringType>
302 class StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter# {
303 };
304
305 template<>
306 class StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<char*> {
307 public:
308 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#StringTypeAdapter(fda57c8427c60377).<char*>(char* buffer)
309 : m_buffercxx . . $ QTJSC/StringTypeAdapter#m_buffer.((unsigned char*)buffer)
310 , m_lengthcxx . . $ QTJSC/StringTypeAdapter#m_length.(strlen(buffer))
311 {
312 }
313
314 unsigned lengthcxx . . $ QTJSC/StringTypeAdapter#length(db52760e79bf9054).() { return m_lengthcxx . . $ QTJSC/StringTypeAdapter#m_length.; }
315
316 void writeTocxx . . $ QTJSC/StringTypeAdapter#writeTo(73187c801ff007).(UCharcxx . . $ UChar#* destination)
317 {
318 for (unsigned i = 0; i < m_lengthcxx . . $ QTJSC/StringTypeAdapter#m_length.; ++i)
319 destination[i] = m_buffercxx . . $ QTJSC/StringTypeAdapter#m_buffer.[i];
320 }
321
322 private:
323 const unsigned char* m_buffercxx . . $ QTJSC/StringTypeAdapter#m_buffer.;
324 unsigned m_lengthcxx . . $ QTJSC/StringTypeAdapter#m_length.;
325 };
326
327 template<>
328 class StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<const char*> {
329 public:
330 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#StringTypeAdapter(85c52e162fed56f9).<const char*>(const char* buffer)
331 : m_buffercxx . . $ QTJSC/StringTypeAdapter#m_buffer.((unsigned char*)buffer)
332 , m_lengthcxx . . $ QTJSC/StringTypeAdapter#m_length.(strlen(buffer))
333 {
334 }
335
336 unsigned lengthcxx . . $ QTJSC/StringTypeAdapter#length(db52760e79bf9054).() { return m_lengthcxx . . $ QTJSC/StringTypeAdapter#m_length.; }
337
338 void writeTocxx . . $ QTJSC/StringTypeAdapter#writeTo(73187c801ff007).(UCharcxx . . $ UChar#* destination)
339 {
340 for (unsigned i = 0; i < m_lengthcxx . . $ QTJSC/StringTypeAdapter#m_length.; ++i)
341 destination[i] = m_buffercxx . . $ QTJSC/StringTypeAdapter#m_buffer.[i];
342 }
343
344 private:
345 const unsigned char* m_buffercxx . . $ QTJSC/StringTypeAdapter#m_buffer.;
346 unsigned m_lengthcxx . . $ QTJSC/StringTypeAdapter#m_length.;
347 };
348
349 template<>
350 class StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<UStringcxx . . $ QTJSC/UString#> {
351 public:
352 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#StringTypeAdapter(4dd86957fca3e88f).<UString>(UStringcxx . . $ QTJSC/UString#& string)
353 : m_datacxx . . $ QTJSC/StringTypeAdapter#m_data.(string.datacxx . . $ QTJSC/UString#data(9865edf6270d80f8).())
354 , m_lengthcxx . . $ QTJSC/StringTypeAdapter#m_length.(string.sizecxx . . $ QTJSC/UString#size(455f465bc33b4cdf).())
355 {
356 }
357
358 unsigned lengthcxx . . $ QTJSC/StringTypeAdapter#length(db52760e79bf9054).() { return m_lengthcxx . . $ QTJSC/StringTypeAdapter#m_length.; }
359
360 void writeTocxx . . $ QTJSC/StringTypeAdapter#writeTo(73187c801ff007).(UCharcxx . . $ UChar#* destination)
361 {
362 for (unsigned i = 0; i < m_lengthcxx . . $ QTJSC/StringTypeAdapter#m_length.; ++i)
363 destination[i] = m_datacxx . . $ QTJSC/StringTypeAdapter#m_data.[i];
364 }
365
366 private:
367 const UCharcxx . . $ UChar#* m_datacxx . . $ QTJSC/StringTypeAdapter#m_data.;
368 unsigned m_lengthcxx . . $ QTJSC/StringTypeAdapter#m_length.;
369 };
370
371 template<typename StringType1, typename StringType2>
372 UStringcxx . . $ QTJSC/UString# makeStringcxx . . $ QTJSC/makeString(b1788f951b46c19b).(StringType1 string1, StringType2 string2)
373 {
374 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType1> adapter1(string1);
375 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType2> adapter2(string2);
376
377 UCharcxx . . $ UChar#* buffer;
378 unsigned length = adapter1.length() +cxx . . $ operator+(665ce30667a89d56). adapter2.length();
379 PassRefPtrcxx . . $ PassRefPtr#<UStringImplcxx . . $ QTJSC/UStringImpl#> resultImpl = UStringImpl::tryCreateUninitialized(length, buffer);
380 if (!resultImpl)
381 return UStringcxx . . $ QTJSC/UString#();
382
383 UCharcxx . . $ UChar#* result = buffer;
384 adapter1.writeTo(result);
385 result +=cxx . . $ `operator+=`(79c69f12ebd2f310). adapter1.length();
386 adapter2.writeTo(result);
387
388 return resultImpl;
389 }
390
391 template<typename StringType1, typename StringType2, typename StringType3>
392 UStringcxx . . $ QTJSC/UString# makeStringcxx . . $ QTJSC/makeString(ed877a6a3c3bcccb).(StringType1 string1, StringType2 string2, StringType3 string3)
393 {
394 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType1> adapter1(string1);
395 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType2> adapter2(string2);
396 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType3> adapter3(string3);
397
398 UCharcxx . . $ UChar#* buffer;
399 unsigned length = adapter1.length() +cxx . . $ operator+(665ce30667a89d56). adapter2.length() +cxx . . $ operator+(665ce30667a89d56). adapter3.length();
400 PassRefPtrcxx . . $ PassRefPtr#<UStringImplcxx . . $ QTJSC/UStringImpl#> resultImpl = UStringImpl::tryCreateUninitialized(length, buffer);
401 if (!resultImpl)
402 return UStringcxx . . $ QTJSC/UString#();
403
404 UCharcxx . . $ UChar#* result = buffer;
405 adapter1.writeTo(result);
406 result +=cxx . . $ `operator+=`(393fa817bb5da60e). adapter1.length();
407 adapter2.writeTo(result);
408 result +=cxx . . $ `operator+=`(393fa817bb5da60e). adapter2.length();
409 adapter3.writeTo(result);
410
411 return resultImpl;
412 }
413
414 template<typename StringType1, typename StringType2, typename StringType3, typename StringType4>
415 UStringcxx . . $ QTJSC/UString# makeStringcxx . . $ QTJSC/makeString(c5e90a13b4ed2bfe).(StringType1 string1, StringType2 string2, StringType3 string3, StringType4 string4)
416 {
417 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType1> adapter1(string1);
418 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType2> adapter2(string2);
419 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType3> adapter3(string3);
420 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType4> adapter4(string4);
421
422 UCharcxx . . $ UChar#* buffer;
423 unsigned length = adapter1.length() +cxx . . $ operator+(665ce30667a89d56). adapter2.length() +cxx . . $ operator+(f3789794639247d3). adapter3.length() +cxx . . $ operator+(f3789794639247d3). adapter4.length();
424 PassRefPtrcxx . . $ PassRefPtr#<UStringImplcxx . . $ QTJSC/UStringImpl#> resultImpl = UStringImpl::tryCreateUninitialized(length, buffer);
425 if (!resultImpl)
426 return UStringcxx . . $ QTJSC/UString#UString(e6bad6cb9b63b14d).();
427
428 UCharcxx . . $ UChar#* result = buffer;
429 adapter1.writeTo(result);
430 result +=cxx . . $ `operator+=`(393fa817bb5da60e). adapter1.length();
431 adapter2.writeTo(result);
432 result +=cxx . . $ `operator+=`(79c69f12ebd2f310). adapter2.length();
433 adapter3.writeTo(result);
434 result +=cxx . . $ `operator+=`(393fa817bb5da60e). adapter3.length();
435 adapter4.writeTo(result);
436
437 return resultImpl;
438 }
439
440 template<typename StringType1, typename StringType2, typename StringType3, typename StringType4, typename StringType5>
441 UStringcxx . . $ QTJSC/UString# makeStringcxx . . $ QTJSC/makeString(a0dd5bfa45d34a3b).(StringType1 string1, StringType2 string2, StringType3 string3, StringType4 string4, StringType5 string5)
442 {
443 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType1> adapter1(string1);
444 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType2> adapter2(string2);
445 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType3> adapter3(string3);
446 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType4> adapter4(string4);
447 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType5> adapter5(string5);
448
449 UCharcxx . . $ UChar#* buffer;
450 unsigned length = adapter1.length() +cxx . . $ operator+(665ce30667a89d56). adapter2.length() +cxx . . $ operator+(f3789794639247d3). adapter3.length() +cxx . . $ operator+(f3789794639247d3). adapter4.length() +cxx . . $ operator+(f3789794639247d3). adapter5.length();
451 PassRefPtrcxx . . $ PassRefPtr#<UStringImplcxx . . $ QTJSC/UStringImpl#> resultImpl = UStringImpl::tryCreateUninitialized(length, buffer);
452 if (!resultImpl)
453 return UStringcxx . . $ QTJSC/UString#UString(e6bad6cb9b63b14d).();
454
455 UCharcxx . . $ UChar#* result = buffer;
456 adapter1.writeTo(result);
457 result +=cxx . . $ `operator+=`(79c69f12ebd2f310). adapter1.length();
458 adapter2.writeTo(result);
459 result +=cxx . . $ `operator+=`(79c69f12ebd2f310). adapter2.length();
460 adapter3.writeTo(result);
461 result +=cxx . . $ `operator+=`(393fa817bb5da60e). adapter3.length();
462 adapter4.writeTo(result);
463 result +=cxx . . $ `operator+=`(79c69f12ebd2f310). adapter4.length();
464 adapter5.writeTo(result);
465
466 return resultImpl;
467 }
468
469 template<typename StringType1, typename StringType2, typename StringType3, typename StringType4, typename StringType5, typename StringType6>
470 UStringcxx . . $ QTJSC/UString# makeStringcxx . . $ QTJSC/makeString(ad9f90b75831975d).(StringType1 string1, StringType2 string2, StringType3 string3, StringType4 string4, StringType5 string5, StringType6 string6)
471 {
472 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType1> adapter1(string1);
473 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType2> adapter2(string2);
474 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType3> adapter3(string3);
475 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType4> adapter4(string4);
476 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType5> adapter5(string5);
477 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType6> adapter6(string6);
478
479 UCharcxx . . $ UChar#* buffer;
480 unsigned length = adapter1.length() +cxx . . $ operator+(665ce30667a89d56). adapter2.length() +cxx . . $ operator+(665ce30667a89d56). adapter3.length() +cxx . . $ operator+(665ce30667a89d56). adapter4.length() +cxx . . $ operator+(f3789794639247d3). adapter5.length() +cxx . . $ operator+(665ce30667a89d56). adapter6.length();
481 PassRefPtrcxx . . $ PassRefPtr#<UStringImplcxx . . $ QTJSC/UStringImpl#> resultImpl = UStringImpl::tryCreateUninitialized(length, buffer);
482 if (!resultImpl)
483 return UStringcxx . . $ QTJSC/UString#UString(e6bad6cb9b63b14d).();
484
485 UCharcxx . . $ UChar#* result = buffer;
486 adapter1.writeTo(result);
487 result +=cxx . . $ `operator+=`(79c69f12ebd2f310). adapter1.length();
488 adapter2.writeTo(result);
489 result +=cxx . . $ `operator+=`(79c69f12ebd2f310). adapter2.length();
490 adapter3.writeTo(result);
491 result +=cxx . . $ `operator+=`(393fa817bb5da60e). adapter3.length();
492 adapter4.writeTo(result);
493 result +=cxx . . $ `operator+=`(393fa817bb5da60e). adapter4.length();
494 adapter5.writeTo(result);
495 result +=cxx . . $ `operator+=`(393fa817bb5da60e). adapter5.length();
496 adapter6.writeTo(result);
497
498 return resultImpl;
499 }
500
501 template<typename StringType1, typename StringType2, typename StringType3, typename StringType4, typename StringType5, typename StringType6, typename StringType7>
502 UStringcxx . . $ QTJSC/UString# makeStringcxx . . $ QTJSC/makeString(f7de90cb355f2f24).(StringType1 string1, StringType2 string2, StringType3 string3, StringType4 string4, StringType5 string5, StringType6 string6, StringType7 string7)
503 {
504 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType1> adapter1(string1);
505 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType2> adapter2(string2);
506 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType3> adapter3(string3);
507 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType4> adapter4(string4);
508 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType5> adapter5(string5);
509 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType6> adapter6(string6);
510 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType7> adapter7(string7);
511
512 UCharcxx . . $ UChar#* buffer;
513 unsigned length = adapter1.length() +cxx . . $ operator+(f3789794639247d3). adapter2.length() +cxx . . $ operator+(f3789794639247d3). adapter3.length() +cxx . . $ operator+(f3789794639247d3). adapter4.length() +cxx . . $ operator+(665ce30667a89d56). adapter5.length() +cxx . . $ operator+(f3789794639247d3). adapter6.length() +cxx . . $ operator+(665ce30667a89d56). adapter7.length();
514 PassRefPtrcxx . . $ PassRefPtr#<UStringImplcxx . . $ QTJSC/UStringImpl#> resultImpl = UStringImpl::tryCreateUninitialized(length, buffer);
515 if (!resultImpl)
516 return UStringcxx . . $ QTJSC/UString#UString(e6bad6cb9b63b14d).();
517
518 UCharcxx . . $ UChar#* result = buffer;
519 adapter1.writeTo(result);
520 result +=cxx . . $ `operator+=`(79c69f12ebd2f310). adapter1.length();
521 adapter2.writeTo(result);
522 result +=cxx . . $ `operator+=`(79c69f12ebd2f310). adapter2.length();
523 adapter3.writeTo(result);
524 result +=cxx . . $ `operator+=`(79c69f12ebd2f310). adapter3.length();
525 adapter4.writeTo(result);
526 result +=cxx . . $ `operator+=`(79c69f12ebd2f310). adapter4.length();
527 adapter5.writeTo(result);
528 result +=cxx . . $ `operator+=`(393fa817bb5da60e). adapter5.length();
529 adapter6.writeTo(result);
530 result +=cxx . . $ `operator+=`(79c69f12ebd2f310). adapter6.length();
531 adapter7.writeTo(result);
532
533 return resultImpl;
534 }
535
536 template<typename StringType1, typename StringType2, typename StringType3, typename StringType4, typename StringType5, typename StringType6, typename StringType7, typename StringType8>
537 UStringcxx . . $ QTJSC/UString# makeStringcxx . . $ QTJSC/makeString(5ebd9889ee71eb6c).(StringType1 string1, StringType2 string2, StringType3 string3, StringType4 string4, StringType5 string5, StringType6 string6, StringType7 string7, StringType8 string8)
538 {
539 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType1> adapter1(string1);
540 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType2> adapter2(string2);
541 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType3> adapter3(string3);
542 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType4> adapter4(string4);
543 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType5> adapter5(string5);
544 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType6> adapter6(string6);
545 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType7> adapter7(string7);
546 StringTypeAdaptercxx . . $ QTJSC/StringTypeAdapter#<StringType8> adapter8(string8);
547
548 UCharcxx . . $ UChar#* buffer;
549 unsigned length = adapter1.length() +cxx . . $ operator+(f3789794639247d3). adapter2.length() +cxx . . $ operator+(665ce30667a89d56). adapter3.length() +cxx . . $ operator+(f3789794639247d3). adapter4.length() +cxx . . $ operator+(f3789794639247d3). adapter5.length() +cxx . . $ operator+(f3789794639247d3). adapter6.length() +cxx . . $ operator+(665ce30667a89d56). adapter7.length() +cxx . . $ operator+(f3789794639247d3). adapter8.length();
550 PassRefPtrcxx . . $ PassRefPtr#<UStringImplcxx . . $ QTJSC/UStringImpl#> resultImpl = UStringImpl::tryCreateUninitialized(length, buffer);
551 if (!resultImpl)
552 return UStringcxx . . $ QTJSC/UString#UString(e6bad6cb9b63b14d).();
553
554 UCharcxx . . $ UChar#* result = buffer;
555 adapter1.writeTo(result);
556 result +=cxx . . $ `operator+=`(79c69f12ebd2f310). adapter1.length();
557 adapter2.writeTo(result);
558 result +=cxx . . $ `operator+=`(393fa817bb5da60e). adapter2.length();
559 adapter3.writeTo(result);
560 result +=cxx . . $ `operator+=`(393fa817bb5da60e). adapter3.length();
561 adapter4.writeTo(result);
562 result +=cxx . . $ `operator+=`(79c69f12ebd2f310). adapter4.length();
563 adapter5.writeTo(result);
564 result +=cxx . . $ `operator+=`(79c69f12ebd2f310). adapter5.length();
565 adapter6.writeTo(result);
566 result +=cxx . . $ `operator+=`(79c69f12ebd2f310). adapter6.length();
567 adapter7.writeTo(result);
568 result +=cxx . . $ `operator+=`(393fa817bb5da60e). adapter7.length();
569 adapter8.writeTo(result);
570
571 return resultImpl;
572 }
573
574 } // namespace JSC
575
576 namespace WTFcxx . . $ QTWTF/ {
577
578 template<typename T> struct DefaultHashcxx . . $ QTWTF/DefaultHash#;
579 template<typename T> struct StrHashcxx . . $ QTWTF/StrHash#;
580
581 template<> struct StrHashcxx . . $ QTWTF/StrHash#<JSCcxx . . $ QTJSC/::UStringcxx . . $ QTJSC/UString#::Repcxx . . $ QTJSC/UString#Rep#*> {
582 static unsigned hashcxx . . $ QTWTF/StrHash#hash(c45e8378c1e18910).(const JSCcxx . . $ `<built-in>:463:9`!::UStringcxx . . $ QTJSC/UString#::Repcxx . . $ QTJSC/UString#Rep#* key) { return key->hashcxx . . $ QTJSC/UStringImpl#hash(ddd8539a2fcdd4ce).(); }
583 static bool equalcxx . . $ QTWTF/StrHash#equal(ec03a94da9606b8d).(const JSCcxx . . $ QTJSC/::UStringcxx . . $ QTJSC/UString#::Repcxx . . $ QTJSC/UString#Rep#* a, const JSCcxx . . $ QTJSC/::UStringcxx . . $ QTJSC/UString#::Repcxx . . $ QTJSC/UString#Rep#* b) { return JSCcxx . . $ `<built-in>:463:9`!::equalcxx . . $ QTJSC/equal(ec03a94da9606b8d).(a, b); }
584 static const bool safeToCompareToEmptyOrDeletedcxx . . $ QTWTF/StrHash#safeToCompareToEmptyOrDeleted. = false;
585 };
586
587 template<> struct StrHashcxx . . $ QTWTF/StrHash#<RefPtrcxx . . $ QTWTF/RefPtr#<JSCcxx . . $ `<built-in>:463:9`!::UStringcxx . . $ QTJSC/UString#::Repcxx . . $ QTJSC/UString#Rep#> > : public StrHashcxx . . $ QTWTF/StrHash#<JSCcxx . . $ `<built-in>:463:9`!::UStringcxx . . $ QTJSC/UString#::Repcxx . . $ QTJSC/UString#Rep#*> {
588 using StrHashcxx . . $ QTWTF/StrHash#<JSCcxx . . $ `<built-in>:463:9`!::UString::Rep*>::hashcxx . . $ QTWTF/StrHash#hash(c45e8378c1e18910).;
589 static unsigned hashcxx . . $ QTWTF/StrHash#hash(b30bb2124b1ad8b0).(const RefPtrcxx . . $ QTWTF/RefPtr#<JSCcxx . . $ `<built-in>:463:9`!::UStringcxx . . $ QTJSC/UString#::Repcxx . . $ QTJSC/UString#Rep#>& key) { return key->hash(); }
590 using StrHashcxx . . $ QTWTF/StrHash#<JSCcxx . . $ `<built-in>:463:9`!::UString::Rep*>::equalcxx . . $ QTWTF/StrHash#equal(ec03a94da9606b8d).;
591 static bool equalcxx . . $ QTWTF/StrHash#equal(f55005ac7aa276b6).(const RefPtrcxx . . $ QTWTF/RefPtr#<JSCcxx . . $ QTJSC/::UStringcxx . . $ QTJSC/UString#::Repcxx . . $ QTJSC/UString#Rep#>& a, const RefPtrcxx . . $ QTWTF/RefPtr#<JSCcxx . . $ `<built-in>:463:9`!::UStringcxx . . $ QTJSC/UString#::Repcxx . . $ QTJSC/UString#Rep#>& b) { return JSCcxx . . $ QTJSC/::equalcxx . . $ QTJSC/equal(ec03a94da9606b8d).(a.get(), b.get()); }
592 static bool equalcxx . . $ QTWTF/StrHash#equal(8642479153b3d02e).(const JSCcxx . . $ QTJSC/::UStringcxx . . $ QTJSC/UString#::Repcxx . . $ QTJSC/UString#Rep#* a, const RefPtrcxx . . $ QTWTF/RefPtr#<JSCcxx . . $ QTJSC/::UStringcxx . . $ QTJSC/UString#::Repcxx . . $ QTJSC/UString#Rep#>& b) { return JSCcxx . . $ `<built-in>:463:9`!::equalcxx . . $ QTJSC/equal(ec03a94da9606b8d).(a, b.get()); }
593 static bool equalcxx . . $ QTWTF/StrHash#equal(24f48ec2f0292d34).(const RefPtrcxx . . $ QTWTF/RefPtr#<JSCcxx . . $ QTJSC/::UStringcxx . . $ QTJSC/UString#::Repcxx . . $ QTJSC/UString#Rep#>& a, const JSCcxx . . $ QTJSC/::UStringcxx . . $ QTJSC/UString#::Repcxx . . $ QTJSC/UString#Rep#* b) { return JSCcxx . . $ `<built-in>:463:9`!::equalcxx . . $ QTJSC/equal(ec03a94da9606b8d).(a.get(), b); }
594
595 static const bool safeToCompareToEmptyOrDeletedcxx . . $ QTWTF/StrHash#safeToCompareToEmptyOrDeleted. = false;
596 };
597
598 template<> struct DefaultHashcxx . . $ QTWTF/DefaultHash#<JSCcxx . . $ QTJSC/::UStringcxx . . $ QTJSC/UString#::Repcxx . . $ QTJSC/UString#Rep#*> {
599 typedef StrHashcxx . . $ QTWTF/StrHash#<JSCcxx . . $ `<built-in>:463:9`!::UStringcxx . . $ QTJSC/UString#::Repcxx . . $ QTJSC/UString#Rep#*> Hashcxx . . $ QTWTF/DefaultHash#Hash#;
600 };
601
602 template<> struct DefaultHashcxx . . $ QTWTF/DefaultHash#<RefPtrcxx . . $ QTWTF/RefPtr#<JSCcxx . . $ `<built-in>:463:9`!::UStringcxx . . $ QTJSC/UString#::Repcxx . . $ QTJSC/UString#Rep#> > {
603 typedef StrHashcxx . . $ QTWTF/StrHash#<RefPtrcxx . . $ QTWTF/RefPtr#<JSCcxx . . $ QTJSC/::UStringcxx . . $ QTJSC/UString#::Repcxx . . $ QTJSC/UString#Rep#> > Hashcxx . . $ QTWTF/DefaultHash#Hash#;
604
605 };
606
607 } // namespace WTF
608
609 #endif