[Qt]r57240 broke Qt build (gcc bug)
[WebKit-https.git] / Source / WTF / ChangeLog
1 2012-05-02  Adenilson Cavalcanti  <cavalcantii@gmail.com>
2
3         [Qt]r57240 broke Qt build (gcc bug)
4         https://bugs.webkit.org/show_bug.cgi?id=37253
5
6         Reviewed by Noam Rosenthal.
7
8         Removing workaround macro since current gcc/Qt doesn't require it to compile.
9
10         * wtf/PassRefPtr.h:
11         (WTF):
12
13 2012-04-30  Oliver Hunt  <oliver@apple.com>
14
15         Investigate overflows in Canvas putImageData routine
16         https://bugs.webkit.org/show_bug.cgi?id=61373
17
18         Reviewed by Gavin Barraclough.
19
20         Allow floating point multiplies of checked types (complete with
21         bounds checks).
22
23         * wtf/CheckedArithmetic.h:
24         (Checked):
25         (WTF::Checked::operator*=):
26
27 2012-04-30  Benjamin Poulain  <benjamin@webkit.org>
28
29         Add String::startsWith() and endsWith() for string literals
30         https://bugs.webkit.org/show_bug.cgi?id=85154
31
32         Reviewed by Darin Adler.
33
34         When invoking StringImpl::startsWidth() or StringImpl::endsWith() with
35         a string literal, a new String was constructed implicitly, allocating
36         a new StringImpl and copying the characters for the operation.
37
38         This patch adds a version of those methods for single characters and
39         string literals.
40         This allows us to avoid allocating memory and use the characters in place,
41         and it permits some extra shortcuts in the implementation.
42
43         * wtf/text/AtomicString.h:
44         (WTF::AtomicString::startsWith):
45         (AtomicString):
46         (WTF::AtomicString::endsWith):
47         * wtf/text/StringImpl.cpp:
48         (WTF::equalInner):
49         (WTF):
50         (WTF::StringImpl::startsWith):
51         (WTF::StringImpl::endsWith):
52         * wtf/text/StringImpl.h:
53         (WTF::StringImpl::startsWith):
54         (StringImpl):
55         (WTF::StringImpl::endsWith):
56         * wtf/text/WTFString.h:
57         (WTF::String::startsWith):
58         (String):
59         (WTF::String::endsWith):
60
61 2012-04-30  Anders Carlsson  <andersca@apple.com>
62
63         WTF::bind should work with blocks
64         https://bugs.webkit.org/show_bug.cgi?id=85227
65
66         Reviewed by Sam Weinig.
67
68         Add a block type FunctionWrapper specialization.
69
70         * wtf/Functional.h:
71
72 2012-04-28  Emil A Eklund  <eae@chromium.org>
73
74         Add ENABLE_SUBPIXEL_LAYOUT controlling FractionalLayoutUnit denominator
75         https://bugs.webkit.org/show_bug.cgi?id=85146
76
77         Reviewed by Eric Seidel.
78
79         Add a new flag for controlling the fixed point denominator in
80         FractionalLayoutUnit. Controls whether the denominator is set to 60 or 1.
81         Until we change the LayoutUnit typedef this change will have no effect.
82
83         * wtf/Platform.h:
84
85 2012-04-29  Kent Tamura  <tkent@chromium.org>
86
87         [Mac] Add LocalizedDateMac
88         https://bugs.webkit.org/show_bug.cgi?id=85039
89
90         Reviewed by Kentaro Hara.
91
92         * wtf/DateMath.h:
93         (WTF): Add monthFullName[]. It is useful to make fallback month
94         names for calendar/date related features.
95
96 2012-04-26  Carlos Garcia Campos  <cgarcia@igalia.com>
97
98         [SOUP] Add a way to register custom uri schemes in WebKit2
99         https://bugs.webkit.org/show_bug.cgi?id=84130
100
101         Reviewed by Martin Robinson.
102
103         Add GPtrArray template to be able to use GRefPtr with GPtrArrays.
104
105         * wtf/gobject/GRefPtr.cpp:
106         (WTF::refGPtr):
107         (WTF):
108         (WTF::derefGPtr):
109         * wtf/gobject/GRefPtr.h:
110         (WTF):
111         * wtf/gobject/GTypedefs.h:
112
113 2012-04-26  Nico Weber  <thakis@chromium.org>
114
115         Don't define WTF_COMPILER_SUPPORTS_CXX_NULLPTR twice when building with clang on windows.
116         https://bugs.webkit.org/show_bug.cgi?id=85018
117
118         Reviewed by Anders Carlsson.
119
120         Clang sets _MSC_VER when compiling for a -pc-win32 target (just like it sets __GNUC__ on unix).
121         As a result, WTF_COMPILER_SUPPORTS_CXX_NULLPTR gets currently set twice, once for clang and
122         once for _MSC_VER. Guard the second instance with !COMPILER(CLANG). This matches the gcc code
123         for WTF_COMPILER_SUPPORTS_CXX_NULLPTR in the same file.
124
125         * wtf/Compiler.h:
126
127 2012-04-26  Antonio Gomes  <agomes@rim.com>
128
129         [BlackBerry] properly disable DRAG_SUPPORT
130         https://bugs.webkit.org/show_bug.cgi?id=84952
131
132         Reviewed by Daniel Bates.
133
134         * wtf/Platform.h: Remove the line that disables drag support from here
135         for the BlackBerry port.
136
137 2012-04-25  Benjamin Poulain  <benjamin@webkit.org>
138
139         Add a version of StringImpl::find() without offset
140         https://bugs.webkit.org/show_bug.cgi?id=83968
141
142         Reviewed by Sam Weinig.
143
144         This patch add a version of StringImpl::find() without offset, Instead of using the default
145         value for the index.
146
147         By not having the index, we can skip a couple of branches and a few instructions. This gives
148         significant gains when the strings are short-ish.
149
150         The case of empty string is moved below (matchLength == 1) since it is a less common operation.
151
152         * wtf/text/StringImpl.cpp:
153         (WTF::StringImpl::find):
154         (WTF):
155         * wtf/text/StringImpl.h:
156         (StringImpl):
157         * wtf/text/WTFString.h:
158         (String):
159         (WTF::String::find):
160
161 2012-04-25  Darin Adler  <darin@apple.com>
162
163         Iterating a HashMap<String, X> involves a string equality comparison to check for the empty value
164         https://bugs.webkit.org/show_bug.cgi?id=84524
165
166         Reviewed by Antti Koivisto.
167
168         * wtf/HashMap.h: Added a struct template, HashMapValueTraits, that derives from
169         PairHashTraits, adds an isEmptyValue function that looks only at the key, not
170         the mapped value, in the hash table value, and uses the isHashTraitsEmptyValue
171         function template to check if the key is empty.
172
173 2012-04-25  Landry Breuil  <landry@openbsd.org>
174
175         Include <sys/param.h>, needed for sysctl() on OpenBSD/NetBSD
176         https://bugs.webkit.org/show_bug.cgi?id=82585
177
178         Reviewed by Zoltan Herczeg.
179
180         * wtf/NumberOfCores.cpp: include <sys/param.h> on the BSDs
181
182 2012-04-25  Kenneth Russell  <kbr@google.com>
183
184         Delete CanvasPixelArray, ByteArray, JSByteArray and JSC code once unreferenced
185         https://bugs.webkit.org/show_bug.cgi?id=83655
186
187         Reviewed by Oliver Hunt.
188
189         * GNUmakefile.list.am:
190         * WTF.gypi:
191         * WTF.pro:
192         * WTF.vcproj/WTF.vcproj:
193         * WTF.xcodeproj/project.pbxproj:
194         * wtf/ByteArray.cpp: Removed.
195         * wtf/ByteArray.h: Removed.
196         * wtf/CMakeLists.txt:
197
198 2012-04-25  Philippe Normand  <pnormand@igalia.com>
199
200         Webkit build fails due to missing gstreamer include file on Kubuntu 8.04
201         https://bugs.webkit.org/show_bug.cgi?id=81913
202
203         Reviewed by Tor Arne Vestbø.
204
205         * WTF.pri: GStreamer build support implies GLib support, as it's
206         done in WebCore.pri.
207
208 2012-04-24  Benjamin Poulain  <bpoulain@apple.com>
209
210         Generalize the single character optimization of r114072
211         https://bugs.webkit.org/show_bug.cgi?id=83961
212
213         Reviewed by Eric Seidel.
214
215         This patch makes some improvment over String::find() in the case of lookup for a single
216         character.
217
218         The two function find(UChar|LChar) are replaced by a template.
219
220         The case of searching a UChar in a 8bit string has a shortcut if the UChar cannot
221         possibly match any character in the range of the type LChar.
222
223         The slow case StringImpl::find(StringImpl*) is modified to
224         -Do not allocate in the fast case if only one string is 8bit.
225         -Use the shortcut for searching UChar in LChar.
226
227         This speed up the function by about 7% when avoiding string conversion.
228
229         * wtf/text/StringImpl.cpp:
230         (WTF::StringImpl::find):
231         * wtf/text/StringImpl.h:
232         (StringImpl):
233         (WTF):
234         (WTF::find):
235         (WTF::StringImpl::find):
236
237 2012-04-24  Darin Adler  <darin@apple.com>
238
239         Iterating a HashMap<String, X> involves a string equality comparison to check for the empty value
240         https://bugs.webkit.org/show_bug.cgi?id=84524
241
242         Reviewed by Antti Koivisto.
243
244         Added a new algorithm for checking for empty buckets that can be specialized.
245         Specialized it for String. We may later want to do the same thing for KURL.
246         It's not important to do it for AtomicString, since AtomicString's == function
247         is already a simple pointer equality compare. We may also later want to do
248         something similar for pairs that have String objects in them.
249
250         * wtf/HashTable.h:
251         (WTF::HashTable::isEmptyBucket): Call the new isHashTraitsEmptyValue function, which
252         will do something more efficient for String.
253
254         * wtf/HashTraits.h: Added hasIsEmptyValueFunction to hash traits, with a default value
255         of false. This allows us to continue to get automatic comparison with the appropriate
256         emptyValue result for all existing traits, but supply a custom isEmptyValue function
257         for HashTraits<String>. Putting an isEmptyValue function into the traits would require
258         overriding it in every class that has a custom value for emptyValue. Specialized
259         HashTraits for String to add hasIsEmptyValueFunction and declare, but not define, the
260         isEmptyValue function.
261         (WTF::isHashTraitsEmptyValue): Added a function that uses the HashTraitsEmptyValueChecker
262         struct to use either == combined with the emptyValue function or the isEmptyValue function.
263
264         * wtf/text/StringHash.h: Removed unneeded includes and sorted the using statements at
265         the bottom of the file.
266         (WTF::HashTraits<String>::isEmptyValue): Define this function here, since here we have
267         included the WTFString.h header; the HashTraits.h header compiles without WTFString.h.
268
269 2012-04-23  Kenneth Russell  <kbr@google.com>
270
271         Change ImageData to reference Uint8ClampedArray rather than CanvasPixelArray
272         https://bugs.webkit.org/show_bug.cgi?id=73011
273
274         Reviewed by Oliver Hunt.
275
276         * wtf/ArrayBuffer.h:
277         (ArrayBuffer):
278         (WTF::ArrayBuffer::create):
279         (WTF::ArrayBuffer::createUninitialized):
280         (WTF):
281         (WTF::ArrayBufferContents::tryAllocate):
282         * wtf/TypedArrayBase.h:
283         (WTF::TypedArrayBase::createUninitialized):
284         (TypedArrayBase):
285         * wtf/Uint8ClampedArray.h:
286         (Uint8ClampedArray):
287         (WTF::Uint8ClampedArray::createUninitialized):
288         (WTF):
289         (WTF::Uint8ClampedArray::zeroFill):
290
291 2012-04-23  George Staikos  <staikos@webkit.org>
292
293         Enable parallel GC for BlackBerry.
294         https://bugs.webkit.org/show_bug.cgi?id=84633
295
296         Reviewed by Antonio Gomes.
297
298         * wtf/Platform.h:
299
300 2012-04-23  Sheriff Bot  <webkit.review.bot@gmail.com>
301
302         Unreviewed, rolling out r114914.
303         http://trac.webkit.org/changeset/114914
304         https://bugs.webkit.org/show_bug.cgi?id=84615
305
306         Causing infinite hangs on some tests involving HashMaps with
307         integer keys (Requested by dimich on #webkit).
308
309         * wtf/HashTable.h:
310         (WTF::HashTable::isEmptyBucket):
311         * wtf/HashTraits.h:
312         * wtf/text/StringHash.h:
313
314 2012-04-23  Darin Adler  <darin@apple.com>
315
316         Iterating a HashMap<String, X> involves a string equality comparison to check for the empty value
317         https://bugs.webkit.org/show_bug.cgi?id=84524
318
319         Reviewed by Antti Koivisto.
320
321         Added a new algorithm for checking for empty buckets that can be specialized.
322         Specialized it for String. We may later want to do the same thing for KURL.
323         It's not important to do it for AtomicString, since AtomicString's == function
324         is already a simple pointer equality compare.
325
326         * wtf/HashTable.h:
327         (WTF::HashTable::isEmptyBucket): Call the new isHashTraitsEmptyValue function, which
328         will do something more efficient for String.
329
330         * wtf/HashTraits.h: Added hasIsEmptyValueFunction to hash traits, with a default value
331         of false. This allows us to continue to get automatic comparison with the appropriate
332         emptyValue result for all existing traits, but supply a custom isEmptyValue function
333         for HashTraits<String>. Putting an isEmptyValue function into the traits would require
334         overriding it in every class that has a custom value for emptyValue. Specialized
335         HashTraits for String to add hasIsEmptyValueFunction and declare, but not define, the
336         isEmptyValue function.
337         (WTF::isHashTraitsEmptyValue): Added a function that uses the HashTraitsEmptyValueChecker
338         struct to use either == combined with the emptyValue function or the isEmptyValue function.
339         (PairHashTraits): Define hasIsEmptyValueFunction and isEmptyValue.
340
341         * wtf/text/StringHash.h: Removed unneeded includes and sorted the using statements at
342         the bottom of the file.
343         (WTF::HashTraits<String>::isEmptyValue): Define this function here, since here we have
344         included the WTFString.h header; the HashTraits.h header compiles without WTFString.h.
345
346 2012-04-18  Myles Maxfield  <mmaxfield@google.com>
347
348         Somehow, there's an errant backslash in my last WTF patch
349         https://bugs.webkit.org/show_bug.cgi?id=84290
350
351         Reviewed by Andreas Kling.
352
353         * wtf/StdLibExtras.h:
354         (WTF::roundUpToMultipleOf):
355
356 2012-04-16  Nico Weber  <thakis@chromium.org>
357
358         Make NullPtr.h compile with clang -std=c++11 and libstdc++4.2
359         https://bugs.webkit.org/show_bug.cgi?id=83999
360
361         Reviewed by Sam Weinig.
362
363         Before this patch, NullPtr.h assumed that a working |nullptr| implied
364         a working |std::nullptr_t| as well. With clang and libstdc++4.2, this
365         is not true.
366
367         I tested (-stdlib=libc++, -stdlib=libstdc++) x (-std=c++11, -std=c++03)
368         with clang.
369
370         * wtf/NullPtr.h:
371         (std):
372
373 2012-04-14  Sam Weinig  <sam@webkit.org>
374
375         Harden WTF::ByteArray::create()
376         https://bugs.webkit.org/show_bug.cgi?id=83318
377
378         Reviewed by Maciej Stachowiak.
379
380         * wtf/ByteArray.cpp:
381         (WTF::ByteArray::create):
382         Add overflow check. I don't believe there is anyway to trigger this currently,
383         hence no tests, so this should be considered hardening.
384
385 2012-04-12  Benjamin Poulain  <bpoulain@apple.com>
386
387         Inline StringImpl::find(UChar, ...)
388         https://bugs.webkit.org/show_bug.cgi?id=83737
389
390         Reviewed by Geoffrey Garen.
391
392         The implementation of StringImpl::find() is a simple branch before invoking one of
393         two inline functions. The overhead of having a function for StringImpl::find() is significant.
394
395         It is better to let the compiler decide if that should be inlined or not.
396
397         * wtf/text/StringImpl.cpp:
398         * wtf/text/StringImpl.h:
399         (StringImpl):
400         (WTF::find):
401         (WTF):
402         (WTF::reverseFind):
403         (WTF::StringImpl::find):
404         * wtf/text/WTFString.h:
405
406 2012-04-12  Balazs Kelemen  <kbalazs@webkit.org>
407
408         [Qt] Fix WebKit1 build with V8
409         https://bugs.webkit.org/show_bug.cgi?id=83322
410
411         Reviewed by Adam Barth.
412
413         * wtf/StdLibExtras.h:
414         (WTF):
415
416 2012-04-12  Jer Noble  <jer.noble@apple.com>
417
418         ThreadingWin: Mutex::unlock() can be "over-unlocked".
419         https://bugs.webkit.org/show_bug.cgi?id=83725
420
421         Reviewed by David Levin.
422
423         In order to support the behavior of pthread_mutex_trylock(), the Windows Mutex class includes
424         a recursion counter which is incremented in Mutex::lock(), decremented in Mutex::unlock(),
425         and checked in Mutex::tryLock().  If the mutex is "over-unlocked", the counter wraps around to
426         MAX_INT, and subsequent calls to Mutex::trylock() will fail. Raise an ASSERT in this situation
427         so the "over-unlock" will be caught.
428
429         * wtf/ThreadingWin.cpp:
430         (WTF::Mutex::unlock): ASSERT if unlocking a non-locked mutex.
431
432 2012-04-10  Mark Rowe  <mrowe@apple.com>
433
434         <rdar://problem/10583749> WebKit2 should log to both ASL and stderr
435
436         Reviewed by Sam Weinig.
437
438         * wtf/Assertions.cpp: Add a WTFLogAlways function that unconditionally logs the given message.
439         * wtf/Assertions.h:
440
441 2012-04-10  Patrick Gansterer  <paroga@webkit.org>
442
443         Cleanup wtf/Platform.h and config.h files
444         https://bugs.webkit.org/show_bug.cgi?id=83431
445
446         Reviewed by Eric Seidel.
447
448         The ENABLE() and USE() macros take care about the case when the flag
449         isn't defined. So there is no need to define anything with 0.
450
451         Also move duplicated code from the config.h files to Platform.h and
452         merge a few preprocessor commands to make the file more readable.
453
454         * config.h:
455         * wtf/Platform.h:
456
457 2012-04-10  Filip Pizlo  <fpizlo@apple.com>
458
459         DFG should flush SetLocals to arguments
460         https://bugs.webkit.org/show_bug.cgi?id=83554
461
462         Reviewed by Gavin Barraclough.
463         
464         Added an isRoot() method that is a faster shorthand for saying
465         find() == this.
466
467         * wtf/UnionFind.h:
468         (WTF::UnionFind::isRoot):
469         (UnionFind):
470
471 2012-04-10  Adam Klein  <adamk@chromium.org>
472
473         Remove unused NonNullPassRefPtr from WTF
474         https://bugs.webkit.org/show_bug.cgi?id=82389
475
476         Reviewed by Kentaro Hara.
477
478         NonNullPassRefPtr seems to be unused since JSC allocation was
479         restructured in r84052.
480
481         If someone decides they need this later, they can always revert this patch.
482
483         * wtf/PassRefPtr.h:
484         * wtf/RefPtr.h:
485         (RefPtr):
486
487 2012-04-10  Patrick Gansterer  <paroga@webkit.org>
488
489         [CMake] Enable USE_FOLDERS property
490         https://bugs.webkit.org/show_bug.cgi?id=83571
491
492         Reviewed by Daniel Bates.
493
494         Setting the FOLDER property on targets gives more structure 
495         to the generated Visual Studio solutions.
496         This does not affect other CMake generators.
497
498         * wtf/CMakeLists.txt:
499
500 2012-04-09  Patrick Gansterer  <paroga@webkit.org>
501
502         Port BinarySemaphoreWin.cpp to WinCE
503         https://bugs.webkit.org/show_bug.cgi?id=83502
504
505         Reviewed by Daniel Bates.
506
507         Replace WaitForSingleObjectEx with WaitForSingleObject since
508         the additonal parameter supported by the extended function
509         is not used anyway and the function does not exist on WinCE.
510
511         * wtf/CMakeLists.txt:
512         * wtf/PlatformWinCE.cmake:
513         * wtf/threads/win/BinarySemaphoreWin.cpp:
514         (WTF::BinarySemaphore::wait):
515
516 2012-04-09  Patrick Gansterer  <paroga@webkit.org>
517
518         [CMake] Build fix for USE_SYSTEM_MALLOC after r113570.
519
520         * wtf/CMakeLists.txt:
521
522 2012-04-09  Patrick Gansterer  <paroga@webkit.org>
523
524         Remove HAVE_STDINT_H
525         https://bugs.webkit.org/show_bug.cgi?id=83434
526
527         Reviewed by Kentaro Hara.
528
529         HAVE_STDINT_H is defined with 1 all the time and we us stdint.h without HAVE(STDINT_H) already.
530
531         * config.h:
532         * wtf/FastMalloc.cpp:
533         * wtf/TCPageMap.h:
534         * wtf/TCSpinLock.h:
535         * wtf/TCSystemAlloc.cpp:
536
537 2012-04-06  Benjamin Poulain  <bpoulain@apple.com>
538
539         Get rid of the useless flag PREEMPT_GEOLOCATION_PERMISSION
540         https://bugs.webkit.org/show_bug.cgi?id=83325
541
542         Reviewed by Ryosuke Niwa.
543
544         * wtf/Platform.h: Remove the flag.
545
546 2012-04-06  Darin Adler  <darin@apple.com>
547
548         Streamline strtod and fix some related problems
549         https://bugs.webkit.org/show_bug.cgi?id=82857
550
551         Reviewed by Geoffrey Garen.
552
553         Replaced the strtod function template with a parseDouble function, eliminating
554         the following unneeded features:
555
556         - need for a trailing null character and a call to strlen
557         - needless conversion of string lengths from size_t to int and back that created
558           the possibility of incorrect truncation
559         - one level of function call; use inlining instead
560         - construction of the StringToDoubleConverter object; it was used to pass
561           arguments that are known at compile time
562         - most of the StringToDoubleConverter::StringToDouble function's body; it was
563           code we did not need
564         - parsing of Infinity and NaN at the strtod level; added recently when we moved
565           from the old strtod to the new one, and not needed or helpful at this level
566         - multiple copies of code to narrow to single byte strings; in many cases
567           this was done even when starting with an LChar string that is already
568           single-byte, now we handle this with an overload of parseDouble
569
570         * wtf/dtoa.cpp:
571         Removed a long comment about the original strtod function that no longer
572         applies since we deleted that function long ago. Removed a lot of includes.
573         Removed the strtod function templates and its instantiations, since they
574         are now replaced by the parseDouble function.
575         (WTF::Internal::parseDoubleFromLongString): Added.
576         * wtf/dtoa.h:
577         Added an include of ASCIICType.h so we can use isASCII in a function in this
578         header. Left the heretofore unneeded include of double-conversion.h, since we
579         now want to use it in a function in this header. Removed the AllowTrailingJunkTag
580         and AllowTrailingSpacesTag enumerations and the strtod function template. Added
581         new parseDouble function, and inline implementation of it.
582
583         * wtf/dtoa/double-conversion.cc: Removed quite a bit of unused code, hardcoding
584         all the StringToDouble function arguments that come from data members so it can
585         be a much smaller static member function. Also changed the types of arguments
586         from int to size_t.
587         * wtf/dtoa/double-conversion.h: Removed most of the StringToDoubleConverter
588         class, leaving only the conversion function as a static member function.
589
590         * wtf/text/StringImpl.cpp:
591         (WTF::StringImpl::toDouble): Got rid of didReadNumber.
592         (WTF::StringImpl::toFloat): Ditto.
593         * wtf/text/StringImpl.h: Ditto.
594         * wtf/text/WTFString.cpp:
595         (WTF::String::toDouble): Got rid of didReadNumber.
596         (WTF::String::toFloat): Ditto.
597         (WTF::toDoubleType): Rewrote this function to use parseDouble. Moved the code
598         to skip leading spaces here, because other callers of parseDouble don't want
599         to do that. Repurposed the check for an empty string so it's now the same
600         code shared by all the "parsed nothing" cases. Removed the code to convert
601         the buffer to ASCII for two reasons: (1) We don't need that code at all when
602         CharType is LChar, and (2) We now handle this through the two overloads for
603         the parseDouble function. Disallowing trailing junk is now handled here,
604         rather than inside parseDouble.
605         (WTF::charactersToDouble): Updated for changes to toDoubleType. Removed the
606         didReadNumber argument.
607         (WTF::charactersToFloat): Ditto. Also added overloads that return the parsed
608         length. These are a slightly more powerful way to do what didReadNumber was
609         used for before.
610
611         * wtf/text/WTFString.h: Added comments, eliminated didReadNumber, and added
612         overloads of charactersToFloat that replace charactersToFloatIgnoringJunk.
613
614 2012-04-05  Patrick Gansterer  <paroga@webkit.org>
615
616         [WinCE] Remove unnecessary function decleration
617         https://bugs.webkit.org/show_bug.cgi?id=83155
618
619         Reviewed by Kentaro Hara.
620
621         * wtf/DateMath.cpp:
622         * wtf/Platform.h:
623
624 2012-04-04  Patrick Gansterer  <paroga@webkit.org>
625
626         Add WTF::getCurrentLocalTime()
627         https://bugs.webkit.org/show_bug.cgi?id=83164
628
629         Reviewed by Alexey Proskuryakov.
630
631         Replace the calls to WTF::getLocalTime() with time(0) with the new function.
632         This allows us to use Win32 API on windows to get the same result in a next step.
633
634         Also remove the inline keyword from WTF::getLocalTime(), since there is no need for
635         it and it will make the later Win32 API changes easier.
636
637         * WTF.gyp/WTF.gyp:
638         * wtf/CurrentTime.cpp:
639         (WTF::getLocalTime):
640         (WTF::getCurrentLocalTime):
641         * wtf/CurrentTime.h:
642
643 2012-04-04  Chris Rogers  <crogers@google.com>
644
645         Web Audio should use MutexTryLocker class
646         https://bugs.webkit.org/show_bug.cgi?id=83194
647
648         Reviewed by Kenneth Russell.
649
650         Add MutexTryLocker class which can be used as a stack-based object wrapping a Mutex.
651         It will automatically unlock the Mutex in its destructor if the tryLock() succeeded.
652
653         * wtf/ThreadingPrimitives.h:
654         (MutexTryLocker):
655         (WTF::MutexTryLocker::MutexTryLocker):
656         (WTF::MutexTryLocker::~MutexTryLocker):
657         (WTF::MutexTryLocker::locked):
658         Check if the tryLock() on the Mutex succeeded.
659         (WTF):
660
661 2012-04-04  Kausalya Madhusudhanan  <kmadhusu@chromium.org>
662
663         [Coverity] Address some uninit constructor values.
664         https://bugs.webkit.org/show_bug.cgi?id=82424
665
666         Reviewed by Stephen White.
667
668         New tests are not required since I did not modify any code behavior. I just initialized the class member variables in the constructor.
669
670         * wtf/ArrayBufferView.cpp:
671         (WTF::ArrayBufferView::ArrayBufferView):
672
673 2012-03-30  David Barr  <davidbarr@chromium.org>
674
675         Split up top-level .gitignore and .gitattributes
676         https://bugs.webkit.org/show_bug.cgi?id=82687
677
678         Reviewed by Tor Arne Vestbø.
679
680         * WTF.gyp/.gitignore: Added.
681
682 2012-03-29  Kevin Ollivier  <kevino@theolliviers.com>
683
684         [wx] Unreviewed build fix. Add export symbols needed to
685         build wx under Windows.
686         
687         * wtf/NullPtr.h:
688         * wtf/ParallelJobsGeneric.h:
689         (ParallelEnvironment):
690         * wtf/ThreadSpecific.h:
691         (WTF):
692
693 2012-03-29  Kevin Ollivier  <kevino@theolliviers.com>
694
695         [wx] Unreviewed build fix. Add WTF_EXPORT_PRIVATE_NO_RTTI
696         so that ports not using RTTI can add symbol exports to
697         classes that RTTI ports export with WTF_EXPORT_PRIVATE_RTTI.
698
699         * wtf/ArrayBufferView.h:
700         * wtf/ExportMacros.h:
701
702 2012-03-29  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
703
704         HashMap<>::add should return a more descriptive object
705         https://bugs.webkit.org/show_bug.cgi?id=71063
706
707         Reviewed by Ryosuke Niwa.
708
709         Make HashTable<>::add() and derivate functions return an AddResult struct instead
710         of a pair. This struct contains contains 'iterator' and 'isNewEntry' members, that are
711         more readable at callsites than previous 'first' and 'second'.
712
713         * wtf/HashCountedSet.h:
714         (HashCountedSet):
715         (WTF::::add):
716         * wtf/HashMap.h:
717         (HashMap):
718         (WTF):
719         (WTF::::set):
720         * wtf/HashSet.h:
721         (HashSet):
722         (WTF::::add):
723         (WTF):
724         * wtf/HashTable.h:
725         (WTF::HashTableAddResult::HashTableAddResult):
726         (HashTableAddResult):
727         (WTF):
728         (HashTable):
729         (WTF::HashTable::add):
730         (WTF::::add):
731         (WTF::::addPassingHashCode):
732         * wtf/ListHashSet.h:
733         (ListHashSet):
734         (WTF::::add):
735         (WTF::::insertBefore):
736         * wtf/RefPtrHashMap.h:
737         (WTF):
738         (WTF::::set):
739         * wtf/Spectrum.h:
740         (WTF::Spectrum::add):
741         * wtf/WTFThreadData.cpp:
742         (JSC::IdentifierTable::add):
743         * wtf/WTFThreadData.h:
744         (IdentifierTable):
745         * wtf/text/AtomicString.cpp:
746         (WTF::addToStringTable):
747         (WTF::AtomicString::addSlowCase):
748
749 2012-03-29  Andreas Kling  <kling@webkit.org>
750
751         String: Subscript operator shouldn't force conversion to 16-bit characters.
752         <http://webkit.org/b/82613>
753
754         Reviewed by Anders Carlsson.
755
756         Forward String::operator[] to StringImpl::operator[] instead of indexing into characters().
757         This avoid implicit conversion of 8-bit strings to 16-bit, and as an example, reduces memory
758         usage on http://www.allthingsd.com/ by 360kB.
759
760         * wtf/text/WTFString.h:
761         (WTF::String::operator[]):
762
763 2012-03-28  Carlos Garcia Campos  <cgarcia@igalia.com>
764
765         [GTK] Implement PlatformStrategies
766         https://bugs.webkit.org/show_bug.cgi?id=82454
767
768         Reviewed by Xan Lopez.
769
770         * wtf/Platform.h: Define WTF_USE_PLATFORM_STRATEGIES for GTK+
771         platform too.
772
773 2012-03-26  Ryosuke Niwa  <rniwa@webkit.org>
774
775         Set eol-style: native on WTF.sln per Ryan Sleevi's request.
776
777         * WTF.vcproj/WTF.sln: Added property svn:eol-style.
778
779 2012-03-26  Ryosuke Niwa  <rniwa@webkit.org>
780
781         Chromium build fix; add BitVector.h/cpp to gypi.
782
783         * WTF.gypi:
784
785 2012-03-26  Ryosuke Niwa  <rniwa@webkit.org>
786
787         Touch BitVector as a speculative fix for Chromium Linux.
788
789         * wtf/BitVector.h:
790         (BitVector):
791
792 2012-03-23  Ryosuke Niwa  <rniwa@webkit.org>
793
794         cssText should use shorthand notations
795         https://bugs.webkit.org/show_bug.cgi?id=81737
796
797         Reviewed by Enrica Casucci.
798
799         * wtf/BitVector.h:
800         (BitVector):
801         (WTF::BitVector::ensureSizeAndSet): Added.
802
803 2012-03-26  Carlos Garcia Campos  <cgarcia@igalia.com>
804
805         Unreviewed. Fix make distcheck.
806
807         * GNUmakefile.list.am: Add config.h to the source file list.
808
809 2012-03-25  Kevin Ollivier  <kevino@theolliviers.com>
810
811         [wx] Unreviewed build fix. Move WTF to its own static lib build.
812
813         * wscript: Added.
814
815 2012-03-23  Tony Chang  <tony@chromium.org>
816
817         [chromium] Unreviewed, move a comment closer to where it matters and
818         make it more specific.
819
820         * WTF.gyp/WTF.gyp:
821
822 2012-03-23  Steve Falkenburg  <sfalken@apple.com>
823
824         Update Apple Windows build files for WTF move
825         https://bugs.webkit.org/show_bug.cgi?id=82069
826
827         Reviewed by Jessie Berlin.
828
829         * WTF.vcproj/WTF.make: Added.
830         * WTF.vcproj/WTF.sln: Added.
831
832 2012-03-23  Dean Jackson  <dino@apple.com>
833
834         Disable CSS_SHADERS in Apple builds
835         https://bugs.webkit.org/show_bug.cgi?id=81996
836
837         Reviewed by Simon Fraser.
838
839         Put ENABLE_CSS_SHADERS into Platform.h, but disable for
840         Apple builds.
841
842         * wtf/Platform.h:
843
844 2012-03-23  Tony Chang  <tony@chromium.org>
845
846         [chromium] rename newwtf target back to wtf
847         https://bugs.webkit.org/show_bug.cgi?id=82064
848
849         Reviewed by Adam Barth.
850
851         * WTF.gyp/WTF.gyp:
852
853 2012-03-22  Jessie Berlin  <jberlin@apple.com>
854
855         Windows build fix after r111778.
856
857         * WTF.vcproj/WTF.vcproj:
858         DateMath.h and DateMath.cpp should be built by WTF, since they are part of WTF.
859
860 2012-03-22  Raphael Kubo da Costa  <rakuco@FreeBSD.org>
861
862         [CMake] Unreviewed build fix after r111778.
863
864         * CMakeLists.txt: Added.
865         * wtf/CMakeLists.txt: Add ${CMAKE_BINARY_DIR} to the include paths
866         for cmakeconfig.h to be found.
867
868 2012-03-22  Tony Chang  <tony@chromium.org>
869
870         Unreviewed, attempt to fix the chromium-win build and another attempt
871         at fixing the chromium-android build.
872
873         * WTF.gyp/WTF.gyp:
874
875 2012-03-22  Tony Chang  <tony@chromium.org>
876
877         Unreviewed, attempt to fix chromium-android build.
878
879         * WTF.gyp/WTF.gyp:
880
881 2012-03-22  Tony Chang  <tony@chromium.org>
882
883         Unreviewed, fix chromium build after wtf move.
884
885         Move wtf_config and wtf settings to newwtf.
886
887         * WTF.gyp/WTF.gyp:
888
889 2012-03-22  Martin Robinson  <mrobinson@igalia.com>
890
891         One more GTK+ build fix after r111778.
892
893         * GNUmakefile.am: Adding missing include path.
894
895 2012-03-22  Martin Robinson  <mrobinson@igalia.com>
896
897         Fixed the GTK+ WTF/JavaScriptCore build after r111778.
898
899         * GNUmakefile.am: Remove some extra trailing backslashes and a few uncessary
900           variables.
901         * GNUmakefile.list.am: Ditto.
902
903 2012-03-22  Dan Bernstein  <mitz@apple.com>
904
905         Fixed the JavaScriptCore debug build after r111778.
906
907         * WTF.xcodeproj/project.pbxproj: Use debug DEBUG_DEFINES when building
908         the Debug configuration.
909
910 2012-03-22  Csaba Osztrogonác  <ossy@webkit.org>
911
912         Actually move WTF files to their new home
913         https://bugs.webkit.org/show_bug.cgi?id=81844
914
915         [Qt] Unreviewed buildfix after r111778.
916
917         * WTF.pri:
918
919 2012-03-22  Eric Seidel  <eric@webkit.org>
920
921         Actually move WTF files to their new home
922         https://bugs.webkit.org/show_bug.cgi?id=81844
923
924         Unreviewed attempt to fix AppleWin.
925
926         * WTF.vcproj/WTFCommon.vsprops:
927
928 2012-03-22  Eric Seidel  <eric@webkit.org>
929
930         Actually move WTF files to their new home
931         https://bugs.webkit.org/show_bug.cgi?id=81844
932
933         Unreviewed.  The 5MB file move is not very reviewable,
934         but various port representatives have OK'd changes to the
935         individual build systems.
936
937         * Configurations/WTF.xcconfig:
938         * GNUmakefile.list.am:
939         * Stub.cpp: Removed.
940         * Stub.h: Removed.
941         * WTF.gypi:
942         * WTF.pri:
943         * WTF.pro:
944         * WTF.vcproj/WTF.vcproj:
945         * WTF.vcproj/copy-files.cmd:
946         * WTF.xcodeproj/project.pbxproj:
947         * config.h:
948         * wtf/ASCIICType.h: Renamed from Source/JavaScriptCore/wtf/ASCIICType.h.
949         (WTF):
950         (WTF::isASCII):
951         (WTF::isASCIIAlpha):
952         (WTF::isASCIIDigit):
953         (WTF::isASCIIAlphanumeric):
954         (WTF::isASCIIHexDigit):
955         (WTF::isASCIILower):
956         (WTF::isASCIIOctalDigit):
957         (WTF::isASCIIPrintable):
958         (WTF::isASCIISpace):
959         (WTF::isASCIIUpper):
960         (WTF::toASCIILower):
961         (WTF::toASCIILowerUnchecked):
962         (WTF::toASCIIUpper):
963         (WTF::toASCIIHexValue):
964         (WTF::lowerNibbleToASCIIHexDigit):
965         (WTF::upperNibbleToASCIIHexDigit):
966         (WTF::isASCIIAlphaCaselessEqual):
967         * wtf/AVLTree.h: Renamed from Source/JavaScriptCore/wtf/AVLTree.h.
968         (WTF):
969         (AVLTreeDefaultBSet):
970         (WTF::AVLTreeDefaultBSet::operator[]):
971         (WTF::AVLTreeDefaultBSet::set):
972         (WTF::AVLTreeDefaultBSet::reset):
973         (AVLTree):
974         (WTF::AVLTree::abstractor):
975         (WTF::AVLTree::purge):
976         (WTF::AVLTree::is_empty):
977         (WTF::AVLTree::AVLTree):
978         (Iterator):
979         (WTF::AVLTree::Iterator::Iterator):
980         (WTF::AVLTree::Iterator::start_iter):
981         (WTF::AVLTree::Iterator::start_iter_least):
982         (WTF::AVLTree::Iterator::start_iter_greatest):
983         (WTF::AVLTree::Iterator::operator*):
984         (WTF::AVLTree::Iterator::operator++):
985         (WTF::AVLTree::Iterator::operator--):
986         (WTF::AVLTree::Iterator::cmp_k_n):
987         (WTF::AVLTree::Iterator::cmp_n_n):
988         (WTF::AVLTree::Iterator::get_lt):
989         (WTF::AVLTree::Iterator::get_gt):
990         (WTF::AVLTree::Iterator::null):
991         (WTF::AVLTree::build):
992         (abs_plus_root):
993         (WTF::AVLTree::get_lt):
994         (WTF::AVLTree::set_lt):
995         (WTF::AVLTree::get_gt):
996         (WTF::AVLTree::set_gt):
997         (WTF::AVLTree::get_bf):
998         (WTF::AVLTree::set_bf):
999         (WTF::AVLTree::cmp_k_n):
1000         (WTF::AVLTree::cmp_n_n):
1001         (WTF::AVLTree::null):
1002         (WTF::AVLTree::balance):
1003         (WTF::::insert):
1004         (WTF::::search):
1005         (WTF::::search_least):
1006         (WTF::::search_greatest):
1007         (WTF::::remove):
1008         (WTF::::subst):
1009         * wtf/Alignment.h: Renamed from Source/JavaScriptCore/wtf/Alignment.h.
1010         (WTF):
1011         (WTF::swap):
1012         * wtf/AlwaysInline.h: Renamed from Source/JavaScriptCore/wtf/AlwaysInline.h.
1013         * wtf/ArrayBuffer.cpp: Renamed from Source/JavaScriptCore/wtf/ArrayBuffer.cpp.
1014         (WTF):
1015         (WTF::ArrayBuffer::transfer):
1016         (WTF::ArrayBuffer::addView):
1017         (WTF::ArrayBuffer::removeView):
1018         * wtf/ArrayBuffer.h: Renamed from Source/JavaScriptCore/wtf/ArrayBuffer.h.
1019         (WTF):
1020         (ArrayBufferContents):
1021         (WTF::ArrayBufferContents::ArrayBufferContents):
1022         (WTF::ArrayBufferContents::data):
1023         (WTF::ArrayBufferContents::sizeInBytes):
1024         (WTF::ArrayBufferContents::transfer):
1025         (ArrayBuffer):
1026         (WTF::ArrayBuffer::isNeutered):
1027         (WTF::ArrayBuffer::~ArrayBuffer):
1028         (WTF::ArrayBuffer::clampValue):
1029         (WTF::ArrayBuffer::create):
1030         (WTF::ArrayBuffer::ArrayBuffer):
1031         (WTF::ArrayBuffer::data):
1032         (WTF::ArrayBuffer::byteLength):
1033         (WTF::ArrayBuffer::slice):
1034         (WTF::ArrayBuffer::sliceImpl):
1035         (WTF::ArrayBuffer::clampIndex):
1036         (WTF::ArrayBufferContents::tryAllocate):
1037         (WTF::ArrayBufferContents::~ArrayBufferContents):
1038         * wtf/ArrayBufferView.cpp: Renamed from Source/JavaScriptCore/wtf/ArrayBufferView.cpp.
1039         (WTF):
1040         (WTF::ArrayBufferView::ArrayBufferView):
1041         (WTF::ArrayBufferView::~ArrayBufferView):
1042         (WTF::ArrayBufferView::neuter):
1043         * wtf/ArrayBufferView.h: Renamed from Source/JavaScriptCore/wtf/ArrayBufferView.h.
1044         (WTF):
1045         (WTF::ArrayBufferView::setImpl):
1046         (WTF::ArrayBufferView::setRangeImpl):
1047         (WTF::ArrayBufferView::zeroRangeImpl):
1048         (WTF::ArrayBufferView::calculateOffsetAndLength):
1049         * wtf/Assertions.cpp: Renamed from Source/JavaScriptCore/wtf/Assertions.cpp.
1050         * wtf/Assertions.h: Renamed from Source/JavaScriptCore/wtf/Assertions.h.
1051         (assertUnused):
1052         (assertWithMessageUnused):
1053         * wtf/Atomics.h: Renamed from Source/JavaScriptCore/wtf/Atomics.h.
1054         (WTF):
1055         (WTF::atomicIncrement):
1056         (WTF::atomicDecrement):
1057         (WTF::weakCompareAndSwap):
1058         (WTF::weakCompareAndSwapUIntPtr):
1059         * wtf/BitVector.cpp: Renamed from Source/JavaScriptCore/wtf/BitVector.cpp.
1060         (WTF):
1061         (WTF::BitVector::setSlow):
1062         (WTF::BitVector::resize):
1063         (WTF::BitVector::clearAll):
1064         (WTF::BitVector::OutOfLineBits::create):
1065         (WTF::BitVector::OutOfLineBits::destroy):
1066         (WTF::BitVector::resizeOutOfLine):
1067         (WTF::BitVector::dump):
1068         * wtf/BitVector.h: Renamed from Source/JavaScriptCore/wtf/BitVector.h.
1069         (WTF):
1070         (BitVector):
1071         (WTF::BitVector::BitVector):
1072         (WTF::BitVector::~BitVector):
1073         (WTF::BitVector::operator=):
1074         (WTF::BitVector::size):
1075         (WTF::BitVector::ensureSize):
1076         (WTF::BitVector::quickGet):
1077         (WTF::BitVector::quickSet):
1078         (WTF::BitVector::quickClear):
1079         (WTF::BitVector::get):
1080         (WTF::BitVector::set):
1081         (WTF::BitVector::clear):
1082         (WTF::BitVector::bitsInPointer):
1083         (WTF::BitVector::maxInlineBits):
1084         (WTF::BitVector::byteCount):
1085         (WTF::BitVector::makeInlineBits):
1086         (OutOfLineBits):
1087         (WTF::BitVector::OutOfLineBits::numBits):
1088         (WTF::BitVector::OutOfLineBits::numWords):
1089         (WTF::BitVector::OutOfLineBits::bits):
1090         (WTF::BitVector::OutOfLineBits::OutOfLineBits):
1091         (WTF::BitVector::isInline):
1092         (WTF::BitVector::outOfLineBits):
1093         (WTF::BitVector::bits):
1094         * wtf/Bitmap.h: Renamed from Source/JavaScriptCore/wtf/Bitmap.h.
1095         (WTF):
1096         (Bitmap):
1097         (WTF::::Bitmap):
1098         (WTF::::get):
1099         (WTF::::set):
1100         (WTF::::testAndSet):
1101         (WTF::::testAndClear):
1102         (WTF::::concurrentTestAndSet):
1103         (WTF::::concurrentTestAndClear):
1104         (WTF::::clear):
1105         (WTF::::clearAll):
1106         (WTF::::nextPossiblyUnset):
1107         (WTF::::findRunOfZeros):
1108         (WTF::::count):
1109         (WTF::::isEmpty):
1110         (WTF::::isFull):
1111         * wtf/BlockStack.h: Renamed from Source/JavaScriptCore/wtf/BlockStack.h.
1112         (WTF):
1113         (BlockStack):
1114         (WTF::::BlockStack):
1115         (WTF::::~BlockStack):
1116         (WTF::::blocks):
1117         (WTF::::grow):
1118         (WTF::::shrink):
1119         * wtf/BloomFilter.h: Renamed from Source/JavaScriptCore/wtf/BloomFilter.h.
1120         (WTF):
1121         (BloomFilter):
1122         (WTF::BloomFilter::maximumCount):
1123         (WTF::BloomFilter::BloomFilter):
1124         (WTF::BloomFilter::mayContain):
1125         (WTF::BloomFilter::add):
1126         (WTF::BloomFilter::remove):
1127         (WTF::BloomFilter::firstSlot):
1128         (WTF::BloomFilter::secondSlot):
1129         (WTF::::add):
1130         (WTF::::remove):
1131         (WTF::::clear):
1132         (WTF::::likelyEmpty):
1133         (WTF::::isClear):
1134         * wtf/BoundsCheckedPointer.h: Renamed from Source/JavaScriptCore/wtf/BoundsCheckedPointer.h.
1135         (WTF):
1136         (BoundsCheckedPointer):
1137         (WTF::BoundsCheckedPointer::BoundsCheckedPointer):
1138         (WTF::BoundsCheckedPointer::operator=):
1139         (WTF::BoundsCheckedPointer::operator+=):
1140         (WTF::BoundsCheckedPointer::operator-=):
1141         (WTF::BoundsCheckedPointer::operator+):
1142         (WTF::BoundsCheckedPointer::operator-):
1143         (WTF::BoundsCheckedPointer::operator++):
1144         (WTF::BoundsCheckedPointer::operator--):
1145         (WTF::BoundsCheckedPointer::operator<):
1146         (WTF::BoundsCheckedPointer::operator<=):
1147         (WTF::BoundsCheckedPointer::operator>):
1148         (WTF::BoundsCheckedPointer::operator>=):
1149         (WTF::BoundsCheckedPointer::operator==):
1150         (WTF::BoundsCheckedPointer::operator!=):
1151         (WTF::BoundsCheckedPointer::operator!):
1152         (WTF::BoundsCheckedPointer::get):
1153         (WTF::BoundsCheckedPointer::operator*):
1154         (WTF::BoundsCheckedPointer::operator[]):
1155         (WTF::BoundsCheckedPointer::strcat):
1156         (WTF::BoundsCheckedPointer::validate):
1157         * wtf/BumpPointerAllocator.h: Renamed from Source/JavaScriptCore/wtf/BumpPointerAllocator.h.
1158         (WTF):
1159         (BumpPointerPool):
1160         (WTF::BumpPointerPool::ensureCapacity):
1161         (WTF::BumpPointerPool::alloc):
1162         (WTF::BumpPointerPool::dealloc):
1163         (WTF::BumpPointerPool::operator new):
1164         (WTF::BumpPointerPool::BumpPointerPool):
1165         (WTF::BumpPointerPool::create):
1166         (WTF::BumpPointerPool::shrink):
1167         (WTF::BumpPointerPool::destroy):
1168         (WTF::BumpPointerPool::ensureCapacityCrossPool):
1169         (WTF::BumpPointerPool::deallocCrossPool):
1170         (BumpPointerAllocator):
1171         (WTF::BumpPointerAllocator::BumpPointerAllocator):
1172         (WTF::BumpPointerAllocator::~BumpPointerAllocator):
1173         (WTF::BumpPointerAllocator::startAllocator):
1174         (WTF::BumpPointerAllocator::stopAllocator):
1175         * wtf/ByteArray.cpp: Renamed from Source/JavaScriptCore/wtf/ByteArray.cpp.
1176         (WTF):
1177         (WTF::ByteArray::create):
1178         * wtf/ByteArray.h: Renamed from Source/JavaScriptCore/wtf/ByteArray.h.
1179         (ByteArray):
1180         (WTF::ByteArray::length):
1181         (WTF::ByteArray::set):
1182         (WTF::ByteArray::get):
1183         (WTF::ByteArray::data):
1184         (WTF::ByteArray::clear):
1185         (WTF::ByteArray::deref):
1186         (WTF::ByteArray::offsetOfSize):
1187         (WTF::ByteArray::offsetOfData):
1188         (WTF::ByteArray::ByteArray):
1189         * wtf/CMakeLists.txt: Renamed from Source/JavaScriptCore/wtf/CMakeLists.txt.
1190         * wtf/CONTRIBUTORS.pthreads-win32: Renamed from Source/JavaScriptCore/wtf/CONTRIBUTORS.pthreads-win32.
1191         * wtf/CheckedArithmetic.h: Renamed from Source/JavaScriptCore/wtf/CheckedArithmetic.h.
1192         (WTF):
1193         (CrashOnOverflow):
1194         (WTF::CrashOnOverflow::overflowed):
1195         (WTF::CrashOnOverflow::clearOverflow):
1196         (WTF::CrashOnOverflow::hasOverflowed):
1197         (RecordOverflow):
1198         (WTF::RecordOverflow::RecordOverflow):
1199         (WTF::RecordOverflow::overflowed):
1200         (WTF::RecordOverflow::clearOverflow):
1201         (WTF::RecordOverflow::hasOverflowed):
1202         (WTF::isInBounds):
1203         (RemoveChecked):
1204         (WTF::safeAdd):
1205         (WTF::safeSub):
1206         (WTF::safeMultiply):
1207         (WTF::safeEquals):
1208         (WTF::workAroundClangBug):
1209         (Checked):
1210         (WTF::Checked::Checked):
1211         (WTF::Checked::operator=):
1212         (WTF::Checked::operator++):
1213         (WTF::Checked::operator--):
1214         (WTF::Checked::operator!):
1215         (WTF::Checked::operator UnspecifiedBoolType*):
1216         (WTF::Checked::unsafeGet):
1217         (WTF::Checked::operator+=):
1218         (WTF::Checked::operator-=):
1219         (WTF::Checked::operator*=):
1220         (WTF::Checked::operator==):
1221         (WTF::Checked::operator!=):
1222         (WTF::operator+):
1223         (WTF::operator-):
1224         (WTF::operator*):
1225         * wtf/CheckedBoolean.h: Renamed from Source/JavaScriptCore/wtf/CheckedBoolean.h.
1226         (CheckedBoolean):
1227         (CheckedBoolean::CheckedBoolean):
1228         (CheckedBoolean::~CheckedBoolean):
1229         (CheckedBoolean::operator bool):
1230         * wtf/Compiler.h: Renamed from Source/JavaScriptCore/wtf/Compiler.h.
1231         * wtf/Complex.h: Renamed from Source/JavaScriptCore/wtf/Complex.h.
1232         (WTF):
1233         (WTF::complexFromMagnitudePhase):
1234         * wtf/CryptographicallyRandomNumber.cpp: Renamed from Source/JavaScriptCore/wtf/CryptographicallyRandomNumber.cpp.
1235         (WTF::cryptographicallyRandomNumber):
1236         (WTF):
1237         (WTF::cryptographicallyRandomValues):
1238         * wtf/CryptographicallyRandomNumber.h: Renamed from Source/JavaScriptCore/wtf/CryptographicallyRandomNumber.h.
1239         (WTF):
1240         * wtf/CurrentTime.cpp: Renamed from Source/JavaScriptCore/wtf/CurrentTime.cpp.
1241         (WTF):
1242         (WTF::highResUpTime):
1243         (WTF::lowResUTCTime):
1244         (WTF::qpcAvailable):
1245         (WTF::currentTime):
1246         (WTF::currentSystemTime):
1247         (WTF::monotonicallyIncreasingTime):
1248         * wtf/CurrentTime.h: Renamed from Source/JavaScriptCore/wtf/CurrentTime.h.
1249         (WTF):
1250         (WTF::currentTimeMS):
1251         (WTF::getLocalTime):
1252         * wtf/DataLog.cpp: Renamed from Source/JavaScriptCore/wtf/DataLog.cpp.
1253         (WTF):
1254         (WTF::initializeLogFileOnce):
1255         (WTF::initializeLogFile):
1256         (WTF::dataFile):
1257         (WTF::dataLogV):
1258         (WTF::dataLog):
1259         * wtf/DataLog.h: Renamed from Source/JavaScriptCore/wtf/DataLog.h.
1260         (WTF):
1261         * wtf/DateMath.cpp: Renamed from Source/JavaScriptCore/wtf/DateMath.cpp.
1262         (WTF):
1263         (WTF::isLeapYear):
1264         (WTF::daysInYear):
1265         (WTF::daysFrom1970ToYear):
1266         (WTF::msToDays):
1267         (WTF::twoDigitStringFromNumber):
1268         (WTF::msToYear):
1269         (WTF::dayInYear):
1270         (WTF::msToMilliseconds):
1271         (WTF::msToMinutes):
1272         (WTF::msToHours):
1273         (WTF::monthFromDayInYear):
1274         (WTF::checkMonth):
1275         (WTF::dayInMonthFromDayInYear):
1276         (WTF::monthToDayInYear):
1277         (WTF::dateToDaysFrom1970):
1278         (WTF::maximumYearForDST):
1279         (WTF::minimumYearForDST):
1280         (WTF::equivalentYearForDST):
1281         (WTF::calculateUTCOffset):
1282         (WTF::calculateDSTOffsetSimple):
1283         (WTF::calculateDSTOffset):
1284         (WTF::initializeDates):
1285         (WTF::ymdhmsToSeconds):
1286         (KnownZone):
1287         (WTF::skipSpacesAndComments):
1288         (WTF::findMonth):
1289         (WTF::parseLong):
1290         (WTF::parseES5DatePortion):
1291         (WTF::parseES5TimePortion):
1292         (WTF::parseES5DateFromNullTerminatedCharacters):
1293         (WTF::parseDateFromNullTerminatedCharacters):
1294         (WTF::timeClip):
1295         (WTF::makeRFC2822DateString):
1296         * wtf/DateMath.h: Renamed from Source/JavaScriptCore/wtf/DateMath.h.
1297         (WTF):
1298         (WTF::jsCurrentTime):
1299         * wtf/DecimalNumber.cpp: Renamed from Source/JavaScriptCore/wtf/DecimalNumber.cpp.
1300         (WTF):
1301         (WTF::DecimalNumber::bufferLengthForStringDecimal):
1302         (WTF::DecimalNumber::bufferLengthForStringExponential):
1303         (WTF::DecimalNumber::toStringDecimal):
1304         (WTF::DecimalNumber::toStringExponential):
1305         * wtf/DecimalNumber.h: Renamed from Source/JavaScriptCore/wtf/DecimalNumber.h.
1306         (WTF):
1307         (DecimalNumber):
1308         (WTF::DecimalNumber::DecimalNumber):
1309         (WTF::DecimalNumber::sign):
1310         (WTF::DecimalNumber::exponent):
1311         (WTF::DecimalNumber::significand):
1312         (WTF::DecimalNumber::precision):
1313         * wtf/Decoder.h: Renamed from Source/JavaScriptCore/wtf/Decoder.h.
1314         (WTF):
1315         (Decoder):
1316         (WTF::Decoder::Decoder):
1317         (WTF::Decoder::~Decoder):
1318         * wtf/Deque.h: Renamed from Source/JavaScriptCore/wtf/Deque.h.
1319         (WTF):
1320         (Deque):
1321         (WTF::Deque::size):
1322         (WTF::Deque::isEmpty):
1323         (WTF::Deque::begin):
1324         (WTF::Deque::end):
1325         (WTF::Deque::rbegin):
1326         (WTF::Deque::rend):
1327         (WTF::Deque::first):
1328         (WTF::Deque::last):
1329         (DequeIteratorBase):
1330         (WTF::DequeIteratorBase::assign):
1331         (DequeIterator):
1332         (WTF::DequeIterator::DequeIterator):
1333         (WTF::DequeIterator::operator=):
1334         (WTF::DequeIterator::operator*):
1335         (WTF::DequeIterator::operator->):
1336         (WTF::DequeIterator::operator==):
1337         (WTF::DequeIterator::operator!=):
1338         (WTF::DequeIterator::operator++):
1339         (WTF::DequeIterator::operator--):
1340         (DequeConstIterator):
1341         (WTF::DequeConstIterator::DequeConstIterator):
1342         (WTF::DequeConstIterator::operator=):
1343         (WTF::DequeConstIterator::operator*):
1344         (WTF::DequeConstIterator::operator->):
1345         (WTF::DequeConstIterator::operator==):
1346         (WTF::DequeConstIterator::operator!=):
1347         (WTF::DequeConstIterator::operator++):
1348         (WTF::DequeConstIterator::operator--):
1349         (DequeReverseIterator):
1350         (WTF::DequeReverseIterator::DequeReverseIterator):
1351         (WTF::DequeReverseIterator::operator=):
1352         (WTF::DequeReverseIterator::operator*):
1353         (WTF::DequeReverseIterator::operator->):
1354         (WTF::DequeReverseIterator::operator==):
1355         (WTF::DequeReverseIterator::operator!=):
1356         (WTF::DequeReverseIterator::operator++):
1357         (WTF::DequeReverseIterator::operator--):
1358         (DequeConstReverseIterator):
1359         (WTF::DequeConstReverseIterator::DequeConstReverseIterator):
1360         (WTF::DequeConstReverseIterator::operator=):
1361         (WTF::DequeConstReverseIterator::operator*):
1362         (WTF::DequeConstReverseIterator::operator->):
1363         (WTF::DequeConstReverseIterator::operator==):
1364         (WTF::DequeConstReverseIterator::operator!=):
1365         (WTF::DequeConstReverseIterator::operator++):
1366         (WTF::DequeConstReverseIterator::operator--):
1367         (WTF::::checkValidity):
1368         (WTF::::checkIndexValidity):
1369         (WTF::::invalidateIterators):
1370         (WTF::::Deque):
1371         (WTF::deleteAllValues):
1372         (WTF::=):
1373         (WTF::::destroyAll):
1374         (WTF::::~Deque):
1375         (WTF::::swap):
1376         (WTF::::clear):
1377         (WTF::::findIf):
1378         (WTF::::expandCapacityIfNeeded):
1379         (WTF::::expandCapacity):
1380         (WTF::::takeFirst):
1381         (WTF::::append):
1382         (WTF::::prepend):
1383         (WTF::::removeFirst):
1384         (WTF::::remove):
1385         (WTF::::addToIteratorsList):
1386         (WTF::::removeFromIteratorsList):
1387         (WTF::::DequeIteratorBase):
1388         (WTF::::~DequeIteratorBase):
1389         (WTF::::isEqual):
1390         (WTF::::increment):
1391         (WTF::::decrement):
1392         (WTF::::after):
1393         (WTF::::before):
1394         * wtf/DisallowCType.h: Renamed from Source/JavaScriptCore/wtf/DisallowCType.h.
1395         * wtf/DoublyLinkedList.h: Renamed from Source/JavaScriptCore/wtf/DoublyLinkedList.h.
1396         (WTF):
1397         (DoublyLinkedListNode):
1398         (WTF::::DoublyLinkedListNode):
1399         (WTF::::setPrev):
1400         (WTF::::setNext):
1401         (WTF::::prev):
1402         (WTF::::next):
1403         (DoublyLinkedList):
1404         (WTF::::DoublyLinkedList):
1405         (WTF::::isEmpty):
1406         (WTF::::size):
1407         (WTF::::clear):
1408         (WTF::::head):
1409         (WTF::::tail):
1410         (WTF::::push):
1411         (WTF::::append):
1412         (WTF::::remove):
1413         (WTF::::removeHead):
1414         * wtf/DynamicAnnotations.cpp: Renamed from Source/JavaScriptCore/wtf/DynamicAnnotations.cpp.
1415         (WTFAnnotateBenignRaceSized):
1416         (WTFAnnotateHappensBefore):
1417         (WTFAnnotateHappensAfter):
1418         * wtf/DynamicAnnotations.h: Renamed from Source/JavaScriptCore/wtf/DynamicAnnotations.h.
1419         * wtf/Encoder.h: Renamed from Source/JavaScriptCore/wtf/Encoder.h.
1420         (WTF):
1421         (Encoder):
1422         (WTF::Encoder::Encoder):
1423         (WTF::Encoder::~Encoder):
1424         * wtf/ExportMacros.h: Renamed from Source/JavaScriptCore/wtf/ExportMacros.h.
1425         * wtf/FastAllocBase.h: Renamed from Source/JavaScriptCore/wtf/FastAllocBase.h.
1426         (WTF):
1427         (WTF::fastNew):
1428         (Internal):
1429         (WTF::Internal::NewArrayImpl::fastNewArray):
1430         (WTF::fastNewArray):
1431         (WTF::fastDelete):
1432         (WTF::fastDeleteSkippingDestructor):
1433         (WTF::Internal::DeleteArrayImpl::fastDeleteArray):
1434         (WTF::fastDeleteArray):
1435         (WTF::fastNonNullDelete):
1436         (WTF::Internal::NonNullDeleteArrayImpl::fastNonNullDeleteArray):
1437         (WTF::fastNonNullDeleteArray):
1438         * wtf/FastMalloc.cpp: Renamed from Source/JavaScriptCore/wtf/FastMalloc.cpp.
1439         (WTF):
1440         (WTF::isForbidden):
1441         (WTF::fastMallocForbid):
1442         (WTF::fastMallocAllow):
1443         (WTF::initializeIsForbiddenKey):
1444         (Internal):
1445         (WTF::Internal::fastMallocMatchFailed):
1446         (WTF::fastZeroedMalloc):
1447         (WTF::fastStrDup):
1448         (WTF::tryFastZeroedMalloc):
1449         (WTF::tryFastMalloc):
1450         (WTF::fastMalloc):
1451         (WTF::tryFastCalloc):
1452         (WTF::fastCalloc):
1453         (WTF::fastFree):
1454         (WTF::tryFastRealloc):
1455         (WTF::fastRealloc):
1456         (WTF::releaseFastMallocFreeMemory):
1457         (WTF::fastMallocStatistics):
1458         (WTF::fastMallocSize):
1459         (FastMallocZone):
1460         (WTF::FastMallocZone::goodSize):
1461         (WTF::FastMallocZone::check):
1462         (WTF::FastMallocZone::print):
1463         (WTF::FastMallocZone::log):
1464         (WTF::FastMallocZone::forceLock):
1465         (WTF::FastMallocZone::forceUnlock):
1466         (WTF::FastMallocZone::statistics):
1467         (WTF::FastMallocZone::zoneValloc):
1468         (WTF::FastMallocZone::zoneDestroy):
1469         (WTF::KernelSupportsTLS):
1470         (WTF::CheckIfKernelSupportsTLS):
1471         (WTF::ClassIndex):
1472         (TCEntry):
1473         (WTF::LgFloor):
1474         (WTF::SLL_Next):
1475         (WTF::SLL_SetNext):
1476         (WTF::SLL_Push):
1477         (WTF::SLL_Pop):
1478         (WTF::SLL_PopRange):
1479         (WTF::SLL_PushRange):
1480         (WTF::SLL_Size):
1481         (WTF::SizeClass):
1482         (WTF::ByteSizeForClass):
1483         (WTF::NumMoveSize):
1484         (WTF::InitSizeClasses):
1485         (WTF::MetaDataAlloc):
1486         (PageHeapAllocator):
1487         (WTF::PageHeapAllocator::Init):
1488         (WTF::PageHeapAllocator::New):
1489         (WTF::PageHeapAllocator::Delete):
1490         (WTF::PageHeapAllocator::inuse):
1491         (WTF::PageHeapAllocator::recordAdministrativeRegions):
1492         (WTF::pages):
1493         (WTF::AllocationSize):
1494         (Span):
1495         (WTF::Event):
1496         (WTF::NewSpan):
1497         (WTF::DeleteSpan):
1498         (WTF::DLL_Init):
1499         (WTF::DLL_Remove):
1500         (WTF::DLL_IsEmpty):
1501         (WTF::DLL_Length):
1502         (WTF::DLL_Print):
1503         (WTF::DLL_Prepend):
1504         (StackTrace):
1505         (MapSelector):
1506         (TCMalloc_PageHeap):
1507         (WTF::TCMalloc_PageHeap::GetDescriptor):
1508         (WTF::TCMalloc_PageHeap::GetDescriptorEnsureSafe):
1509         (WTF::TCMalloc_PageHeap::SystemBytes):
1510         (WTF::TCMalloc_PageHeap::FreeBytes):
1511         (WTF::TCMalloc_PageHeap::GetSizeClassIfCached):
1512         (WTF::TCMalloc_PageHeap::CacheSizeClass):
1513         (SpanList):
1514         (WTF::TCMalloc_PageHeap::RecordSpan):
1515         (WTF::TCMalloc_PageHeap::init):
1516         (WTF::TCMalloc_PageHeap::initializeScavenger):
1517         (WTF::TCMalloc_PageHeap::isScavengerSuspended):
1518         (WTF::TCMalloc_PageHeap::scheduleScavenger):
1519         (WTF::TCMalloc_PageHeap::rescheduleScavenger):
1520         (WTF::TCMalloc_PageHeap::suspendScavenger):
1521         (WTF::TCMalloc_PageHeap::scavengerTimerFired):
1522         (WTF::TCMalloc_PageHeap::runScavengerThread):
1523         (WTF::TCMalloc_PageHeap::signalScavenger):
1524         (WTF::TCMalloc_PageHeap::scavenge):
1525         (WTF::TCMalloc_PageHeap::shouldScavenge):
1526         (WTF::TCMalloc_PageHeap::New):
1527         (WTF::TCMalloc_PageHeap::AllocLarge):
1528         (WTF::TCMalloc_PageHeap::Split):
1529         (WTF::TCMalloc_PageHeap::Carve):
1530         (WTF::mergeDecommittedStates):
1531         (WTF::TCMalloc_PageHeap::Delete):
1532         (WTF::TCMalloc_PageHeap::IncrementalScavenge):
1533         (WTF::TCMalloc_PageHeap::RegisterSizeClass):
1534         (WTF::TCMalloc_PageHeap::ReturnedBytes):
1535         (WTF::PagesToMB):
1536         (WTF::TCMalloc_PageHeap::Dump):
1537         (WTF::TCMalloc_PageHeap::GrowHeap):
1538         (WTF::TCMalloc_PageHeap::Check):
1539         (WTF::TCMalloc_PageHeap::CheckList):
1540         (WTF::TCMalloc_PageHeap::ReleaseFreeList):
1541         (WTF::TCMalloc_PageHeap::ReleaseFreePages):
1542         (TCMalloc_ThreadCache_FreeList):
1543         (WTF::TCMalloc_ThreadCache_FreeList::Init):
1544         (WTF::TCMalloc_ThreadCache_FreeList::length):
1545         (WTF::TCMalloc_ThreadCache_FreeList::empty):
1546         (WTF::TCMalloc_ThreadCache_FreeList::lowwatermark):
1547         (WTF::TCMalloc_ThreadCache_FreeList::clear_lowwatermark):
1548         (WTF::TCMalloc_ThreadCache_FreeList::Push):
1549         (WTF::TCMalloc_ThreadCache_FreeList::PushRange):
1550         (WTF::TCMalloc_ThreadCache_FreeList::PopRange):
1551         (WTF::TCMalloc_ThreadCache_FreeList::Pop):
1552         (WTF::TCMalloc_ThreadCache_FreeList::enumerateFreeObjects):
1553         (TCMalloc_ThreadCache):
1554         (WTF::TCMalloc_ThreadCache::freelist_length):
1555         (WTF::TCMalloc_ThreadCache::Size):
1556         (WTF::TCMalloc_ThreadCache::enumerateFreeObjects):
1557         (TCMalloc_Central_FreeList):
1558         (WTF::TCMalloc_Central_FreeList::length):
1559         (WTF::TCMalloc_Central_FreeList::tc_length):
1560         (WTF::TCMalloc_Central_FreeList::enumerateFreeObjects):
1561         (TCMalloc_Central_FreeListPadded):
1562         (WTF::getPageHeap):
1563         (WTF::TCMalloc_PageHeap::periodicScavenge):
1564         (WTF::TCMalloc_PageHeap::scavengerThread):
1565         (WTF::setThreadHeap):
1566         (WTF::TCMalloc_Central_FreeList::Init):
1567         (WTF::TCMalloc_Central_FreeList::ReleaseListToSpans):
1568         (WTF::TCMalloc_Central_FreeList::ReleaseToSpans):
1569         (WTF::TCMalloc_Central_FreeList::EvictRandomSizeClass):
1570         (WTF::TCMalloc_Central_FreeList::MakeCacheSpace):
1571         (WTF::TCMalloc_Central_FreeList::ShrinkCache):
1572         (WTF::TCMalloc_Central_FreeList::InsertRange):
1573         (WTF::TCMalloc_Central_FreeList::RemoveRange):
1574         (WTF::TCMalloc_Central_FreeList::FetchFromSpansSafe):
1575         (WTF::TCMalloc_Central_FreeList::FetchFromSpans):
1576         (WTF::TCMalloc_Central_FreeList::Populate):
1577         (WTF::TCMalloc_ThreadCache::SampleAllocation):
1578         (WTF::TCMalloc_ThreadCache::Init):
1579         (WTF::TCMalloc_ThreadCache::Cleanup):
1580         (WTF::TCMalloc_ThreadCache::Allocate):
1581         (WTF::TCMalloc_ThreadCache::Deallocate):
1582         (WTF::TCMalloc_ThreadCache::FetchFromCentralCache):
1583         (WTF::TCMalloc_ThreadCache::ReleaseToCentralCache):
1584         (WTF::TCMalloc_ThreadCache::Scavenge):
1585         (WTF::TCMalloc_ThreadCache::PickNextSample):
1586         (WTF::TCMalloc_ThreadCache::InitModule):
1587         (WTF::TCMalloc_ThreadCache::NewHeap):
1588         (WTF::TCMalloc_ThreadCache::GetThreadHeap):
1589         (WTF::TCMalloc_ThreadCache::GetCache):
1590         (WTF::TCMalloc_ThreadCache::GetCacheIfPresent):
1591         (WTF::TCMalloc_ThreadCache::InitTSD):
1592         (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
1593         * wtf/FastMalloc.h: Renamed from Source/JavaScriptCore/wtf/FastMalloc.h.
1594         (WTF):
1595         (WTF::TryMallocReturnValue::TryMallocReturnValue):
1596         (WTF::TryMallocReturnValue::~TryMallocReturnValue):
1597         (TryMallocReturnValue):
1598         (WTF::TryMallocReturnValue::operator PossiblyNull<T>):
1599         (WTF::TryMallocReturnValue::getValue):
1600         (FastMallocStatistics):
1601         (ValidationHeader):
1602         (Internal):
1603         (WTF::Internal::fastMallocValidationHeader):
1604         (WTF::Internal::fastMallocValidationSuffix):
1605         (WTF::Internal::fastMallocMatchValidationType):
1606         (WTF::Internal::setFastMallocMatchValidationType):
1607         (WTF::fastMallocMatchValidateMalloc):
1608         (WTF::fastMallocMatchValidateFree):
1609         (WTF::fastMallocValidate):
1610         (throw):
1611         * wtf/FixedArray.h: Renamed from Source/JavaScriptCore/wtf/FixedArray.h.
1612         (WTF):
1613         (FixedArray):
1614         (WTF::FixedArray::operator[]):
1615         (WTF::FixedArray::data):
1616         (WTF::FixedArray::size):
1617         * wtf/Float32Array.h: Renamed from Source/JavaScriptCore/wtf/Float32Array.h.
1618         (WTF):
1619         (Float32Array):
1620         (WTF::Float32Array::set):
1621         (WTF::Float32Array::item):
1622         (WTF::Float32Array::isFloatArray):
1623         (WTF::Float32Array::create):
1624         (WTF::Float32Array::Float32Array):
1625         (WTF::Float32Array::subarray):
1626         * wtf/Float64Array.h: Renamed from Source/JavaScriptCore/wtf/Float64Array.h.
1627         (WTF):
1628         (Float64Array):
1629         (WTF::Float64Array::set):
1630         (WTF::Float64Array::item):
1631         (WTF::Float64Array::isDoubleArray):
1632         (WTF::Float64Array::create):
1633         (WTF::Float64Array::Float64Array):
1634         (WTF::Float64Array::subarray):
1635         * wtf/Forward.h: Renamed from Source/JavaScriptCore/wtf/Forward.h.
1636         (WTF):
1637         * wtf/Functional.h: Renamed from Source/JavaScriptCore/wtf/Functional.h.
1638         (WTF):
1639         (HasRefAndDeref):
1640         (NoType):
1641         (BaseMixin):
1642         (WTF::R):
1643         (WTF::C::):
1644         (WTF::RefAndDeref::ref):
1645         (WTF::RefAndDeref::deref):
1646         (ParamStorageTraits):
1647         (WTF::ParamStorageTraits::wrap):
1648         (WTF::ParamStorageTraits::unwrap):
1649         (FunctionImplBase):
1650         (WTF::FunctionImplBase::~FunctionImplBase):
1651         (FunctionBase):
1652         (WTF::FunctionBase::isNull):
1653         (WTF::FunctionBase::FunctionBase):
1654         (WTF::FunctionBase::impl):
1655         (WTF::bind):
1656         * wtf/GetPtr.h: Renamed from Source/JavaScriptCore/wtf/GetPtr.h.
1657         (WTF):
1658         (WTF::getPtr):
1659         * wtf/HashCountedSet.h: Renamed from Source/JavaScriptCore/wtf/HashCountedSet.h.
1660         (WTF):
1661         (HashCountedSet):
1662         (WTF::HashCountedSet::HashCountedSet):
1663         (WTF::::size):
1664         (WTF::::capacity):
1665         (WTF::::isEmpty):
1666         (WTF::::begin):
1667         (WTF::::end):
1668         (WTF::::find):
1669         (WTF::::contains):
1670         (WTF::::count):
1671         (WTF::::add):
1672         (WTF::::remove):
1673         (WTF::::removeAll):
1674         (WTF::::clear):
1675         (WTF::copyToVector):
1676         * wtf/HashFunctions.h: Renamed from Source/JavaScriptCore/wtf/HashFunctions.h.
1677         (WTF):
1678         (WTF::intHash):
1679         (WTF::IntHash::hash):
1680         (WTF::IntHash::equal):
1681         (IntHash):
1682         (WTF::FloatHash::hash):
1683         (WTF::FloatHash::equal):
1684         (FloatHash):
1685         (WTF::PtrHash::hash):
1686         (WTF::PtrHash::equal):
1687         (PtrHash):
1688         (WTF::PairHash::hash):
1689         (WTF::PairHash::equal):
1690         (PairHash):
1691         * wtf/HashIterators.h: Renamed from Source/JavaScriptCore/wtf/HashIterators.h.
1692         (WTF):
1693         (HashTableConstKeysIterator):
1694         (WTF::HashTableConstKeysIterator::HashTableConstKeysIterator):
1695         (WTF::HashTableConstKeysIterator::get):
1696         (WTF::HashTableConstKeysIterator::operator*):
1697         (WTF::HashTableConstKeysIterator::operator->):
1698         (WTF::HashTableConstKeysIterator::operator++):
1699         (HashTableConstValuesIterator):
1700         (WTF::HashTableConstValuesIterator::HashTableConstValuesIterator):
1701         (WTF::HashTableConstValuesIterator::get):
1702         (WTF::HashTableConstValuesIterator::operator*):
1703         (WTF::HashTableConstValuesIterator::operator->):
1704         (WTF::HashTableConstValuesIterator::operator++):
1705         (HashTableKeysIterator):
1706         (WTF::HashTableKeysIterator::HashTableKeysIterator):
1707         (WTF::HashTableKeysIterator::get):
1708         (WTF::HashTableKeysIterator::operator*):
1709         (WTF::HashTableKeysIterator::operator->):
1710         (WTF::HashTableKeysIterator::operator++):
1711         (WTF::HashTableKeysIterator::operator HashTableConstKeysIterator<HashTableType, KeyType, MappedType>):
1712         (HashTableValuesIterator):
1713         (WTF::HashTableValuesIterator::HashTableValuesIterator):
1714         (WTF::HashTableValuesIterator::get):
1715         (WTF::HashTableValuesIterator::operator*):
1716         (WTF::HashTableValuesIterator::operator->):
1717         (WTF::HashTableValuesIterator::operator++):
1718         (WTF::HashTableValuesIterator::operator HashTableConstValuesIterator<HashTableType, KeyType, MappedType>):
1719         (WTF::operator==):
1720         (WTF::operator!=):
1721         * wtf/HashMap.h: Renamed from Source/JavaScriptCore/wtf/HashMap.h.
1722         (WTF):
1723         (ReferenceTypeMaker):
1724         (HashMap):
1725         (WTF::HashMap::keys):
1726         (WTF::HashMap::values):
1727         (HashMapKeysProxy):
1728         (WTF::HashMap::HashMapKeysProxy::begin):
1729         (WTF::HashMap::HashMapKeysProxy::end):
1730         (HashMapValuesProxy):
1731         (WTF::HashMap::HashMapValuesProxy::begin):
1732         (WTF::HashMap::HashMapValuesProxy::end):
1733         (WTF::PairFirstExtractor::extract):
1734         (WTF::HashMapTranslator::hash):
1735         (WTF::HashMapTranslator::equal):
1736         (WTF::HashMapTranslator::translate):
1737         (WTF::HashMapTranslatorAdapter::hash):
1738         (WTF::HashMapTranslatorAdapter::equal):
1739         (WTF::HashMapTranslatorAdapter::translate):
1740         (WTF::::swap):
1741         (WTF::::size):
1742         (WTF::::capacity):
1743         (WTF::::isEmpty):
1744         (WTF::::begin):
1745         (WTF::::end):
1746         (WTF::::find):
1747         (WTF::::contains):
1748         (WTF::::inlineAdd):
1749         (WTF::::set):
1750         (WTF::::add):
1751         (WTF::::get):
1752         (WTF::::remove):
1753         (WTF::::clear):
1754         (WTF::::take):
1755         (WTF::::checkConsistency):
1756         (WTF::operator==):
1757         (WTF::operator!=):
1758         (WTF::deleteAllPairSeconds):
1759         (WTF::deleteAllValues):
1760         (WTF::deleteAllPairFirsts):
1761         (WTF::deleteAllKeys):
1762         (WTF::copyKeysToVector):
1763         (WTF::copyValuesToVector):
1764         * wtf/HashSet.h: Renamed from Source/JavaScriptCore/wtf/HashSet.h.
1765         (WTF):
1766         (HashSet):
1767         (WTF::IdentityExtractor::extract):
1768         (WTF::HashSetTranslatorAdapter::hash):
1769         (WTF::HashSetTranslatorAdapter::equal):
1770         (WTF::HashSetTranslatorAdapter::translate):
1771         (WTF::::swap):
1772         (WTF::::size):
1773         (WTF::::capacity):
1774         (WTF::::isEmpty):
1775         (WTF::::begin):
1776         (WTF::::end):
1777         (WTF::::find):
1778         (WTF::::contains):
1779         (WTF::::add):
1780         (WTF::::remove):
1781         (WTF::::clear):
1782         (WTF::deleteAllValues):
1783         (WTF::fastDeleteAllValues):
1784         (WTF::copyToVector):
1785         * wtf/HashTable.cpp: Renamed from Source/JavaScriptCore/wtf/HashTable.cpp.
1786         (WTF):
1787         (WTF::hashTableStatsMutex):
1788         (WTF::HashTableStats::~HashTableStats):
1789         (WTF::HashTableStats::recordCollisionAtCount):
1790         * wtf/HashTable.h: Renamed from Source/JavaScriptCore/wtf/HashTable.h.
1791         (WTF):
1792         (HashTableStats):
1793         (WTF::addIterator):
1794         (WTF::removeIterator):
1795         (HashTableConstIterator):
1796         (WTF::HashTableConstIterator::skipEmptyBuckets):
1797         (WTF::HashTableConstIterator::HashTableConstIterator):
1798         (WTF::HashTableConstIterator::~HashTableConstIterator):
1799         (WTF::HashTableConstIterator::operator=):
1800         (WTF::HashTableConstIterator::get):
1801         (WTF::HashTableConstIterator::operator*):
1802         (WTF::HashTableConstIterator::operator->):
1803         (WTF::HashTableConstIterator::operator++):
1804         (WTF::HashTableConstIterator::operator==):
1805         (WTF::HashTableConstIterator::operator!=):
1806         (WTF::HashTableConstIterator::checkValidity):
1807         (HashTableIterator):
1808         (WTF::HashTableIterator::HashTableIterator):
1809         (WTF::HashTableIterator::get):
1810         (WTF::HashTableIterator::operator*):
1811         (WTF::HashTableIterator::operator->):
1812         (WTF::HashTableIterator::operator++):
1813         (WTF::HashTableIterator::operator==):
1814         (WTF::HashTableIterator::operator!=):
1815         (WTF::HashTableIterator::operator const_iterator):
1816         (WTF::hashTableSwap):
1817         (IdentityHashTranslator):
1818         (WTF::IdentityHashTranslator::hash):
1819         (WTF::IdentityHashTranslator::equal):
1820         (WTF::IdentityHashTranslator::translate):
1821         (HashTable):
1822         (WTF::HashTable::~HashTable):
1823         (WTF::HashTable::begin):
1824         (WTF::HashTable::end):
1825         (WTF::HashTable::size):
1826         (WTF::HashTable::capacity):
1827         (WTF::HashTable::isEmpty):
1828         (WTF::HashTable::add):
1829         (WTF::HashTable::find):
1830         (WTF::HashTable::contains):
1831         (WTF::HashTable::isEmptyBucket):
1832         (WTF::HashTable::isDeletedBucket):
1833         (WTF::HashTable::isEmptyOrDeletedBucket):
1834         (WTF::HashTable::lookup):
1835         (WTF::HashTable::checkTableConsistency):
1836         (WTF::HashTable::internalCheckTableConsistency):
1837         (WTF::HashTable::internalCheckTableConsistencyExceptSize):
1838         (WTF::HashTable::lookupForWriting):
1839         (WTF::HashTable::shouldExpand):
1840         (WTF::HashTable::mustRehashInPlace):
1841         (WTF::HashTable::shouldShrink):
1842         (WTF::HashTable::shrink):
1843         (WTF::HashTable::deleteBucket):
1844         (WTF::HashTable::makeLookupResult):
1845         (WTF::HashTable::makeIterator):
1846         (WTF::HashTable::makeConstIterator):
1847         (WTF::HashTable::makeKnownGoodIterator):
1848         (WTF::HashTable::makeKnownGoodConstIterator):
1849         (WTF::HashTable::checkTableConsistencyExceptSize):
1850         (WTF::HashTable::invalidateIterators):
1851         (WTF::::HashTable):
1852         (WTF::doubleHash):
1853         (WTF::::checkKey):
1854         (WTF::::lookup):
1855         (WTF::::lookupForWriting):
1856         (WTF::::fullLookupForWriting):
1857         (WTF::::initializeBucket):
1858         (WTF::::add):
1859         (WTF::::addPassingHashCode):
1860         (WTF::::reinsert):
1861         (WTF::::find):
1862         (WTF::::contains):
1863         (WTF::::removeAndInvalidateWithoutEntryConsistencyCheck):
1864         (WTF::::removeAndInvalidate):
1865         (WTF::::remove):
1866         (WTF::::removeWithoutEntryConsistencyCheck):
1867         (WTF::::allocateTable):
1868         (WTF::::deallocateTable):
1869         (WTF::::expand):
1870         (WTF::::rehash):
1871         (WTF::::clear):
1872         (WTF::::swap):
1873         (WTF::=):
1874         (WTF::::checkTableConsistency):
1875         (WTF::::checkTableConsistencyExceptSize):
1876         (WTF::::invalidateIterators):
1877         (WTF::HashTableConstIteratorAdapter::HashTableConstIteratorAdapter):
1878         (HashTableConstIteratorAdapter):
1879         (WTF::HashTableConstIteratorAdapter::get):
1880         (WTF::HashTableConstIteratorAdapter::operator*):
1881         (WTF::HashTableConstIteratorAdapter::operator->):
1882         (WTF::HashTableConstIteratorAdapter::operator++):
1883         (WTF::HashTableIteratorAdapter::HashTableIteratorAdapter):
1884         (HashTableIteratorAdapter):
1885         (WTF::HashTableIteratorAdapter::get):
1886         (WTF::HashTableIteratorAdapter::operator*):
1887         (WTF::HashTableIteratorAdapter::operator->):
1888         (WTF::HashTableIteratorAdapter::operator++):
1889         (WTF::HashTableIteratorAdapter::operator HashTableConstIteratorAdapter<HashTableType, ValueType>):
1890         (WTF::operator==):
1891         (WTF::operator!=):
1892         * wtf/HashTraits.h: Renamed from Source/JavaScriptCore/wtf/HashTraits.h.
1893         (WTF):
1894         (GenericHashTraits):
1895         (WTF::GenericHashTraits::emptyValue):
1896         (WTF::GenericHashTraits::store):
1897         (WTF::GenericHashTraits::passOut):
1898         (WTF::GenericHashTraits::peek):
1899         (FloatHashTraits):
1900         (WTF::FloatHashTraits::emptyValue):
1901         (WTF::FloatHashTraits::constructDeletedValue):
1902         (WTF::FloatHashTraits::isDeletedValue):
1903         (UnsignedWithZeroKeyHashTraits):
1904         (WTF::UnsignedWithZeroKeyHashTraits::emptyValue):
1905         (WTF::UnsignedWithZeroKeyHashTraits::constructDeletedValue):
1906         (WTF::UnsignedWithZeroKeyHashTraits::isDeletedValue):
1907         (SimpleClassHashTraits):
1908         (WTF::SimpleClassHashTraits::constructDeletedValue):
1909         (WTF::SimpleClassHashTraits::isDeletedValue):
1910         (PairHashTraits):
1911         (WTF::PairHashTraits::emptyValue):
1912         (WTF::PairHashTraits::constructDeletedValue):
1913         (WTF::PairHashTraits::isDeletedValue):
1914         * wtf/HexNumber.h: Renamed from Source/JavaScriptCore/wtf/HexNumber.h.
1915         (WTF):
1916         (Internal):
1917         (WTF::Internal::hexDigitsForMode):
1918         (WTF::appendByteAsHex):
1919         (WTF::placeByteAsHexCompressIfPossible):
1920         (WTF::placeByteAsHex):
1921         (WTF::appendUnsignedAsHex):
1922         (WTF::appendUnsignedAsHexFixedSize):
1923         * wtf/InlineASM.h: Renamed from Source/JavaScriptCore/wtf/InlineASM.h.
1924         * wtf/Int16Array.h: Renamed from Source/JavaScriptCore/wtf/Int16Array.h.
1925         (WTF):
1926         (Int16Array):
1927         (WTF::Int16Array::set):
1928         (WTF::Int16Array::isShortArray):
1929         (WTF::Int16Array::create):
1930         (WTF::Int16Array::Int16Array):
1931         (WTF::Int16Array::subarray):
1932         * wtf/Int32Array.h: Renamed from Source/JavaScriptCore/wtf/Int32Array.h.
1933         (WTF):
1934         (Int32Array):
1935         (WTF::Int32Array::set):
1936         (WTF::Int32Array::isIntArray):
1937         (WTF::Int32Array::create):
1938         (WTF::Int32Array::Int32Array):
1939         (WTF::Int32Array::subarray):
1940         * wtf/Int8Array.h: Renamed from Source/JavaScriptCore/wtf/Int8Array.h.
1941         (WTF):
1942         (Int8Array):
1943         (WTF::Int8Array::set):
1944         (WTF::Int8Array::isByteArray):
1945         (WTF::Int8Array::create):
1946         (WTF::Int8Array::Int8Array):
1947         (WTF::Int8Array::subarray):
1948         * wtf/IntegralTypedArrayBase.h: Renamed from Source/JavaScriptCore/wtf/IntegralTypedArrayBase.h.
1949         (WTF):
1950         (IntegralTypedArrayBase):
1951         (WTF::IntegralTypedArrayBase::set):
1952         (WTF::IntegralTypedArrayBase::item):
1953         (WTF::IntegralTypedArrayBase::IntegralTypedArrayBase):
1954         * wtf/ListHashSet.h: Renamed from Source/JavaScriptCore/wtf/ListHashSet.h.
1955         (WTF):
1956         (ListHashSet):
1957         (ListHashSetNodeAllocator):
1958         (WTF::ListHashSetNodeAllocator::ListHashSetNodeAllocator):
1959         (WTF::ListHashSetNodeAllocator::allocate):
1960         (WTF::ListHashSetNodeAllocator::deallocate):
1961         (WTF::ListHashSetNodeAllocator::pool):
1962         (WTF::ListHashSetNodeAllocator::pastPool):
1963         (WTF::ListHashSetNodeAllocator::inPool):
1964         (ListHashSetNode):
1965         (WTF::ListHashSetNode::ListHashSetNode):
1966         (WTF::ListHashSetNode::operator new):
1967         (WTF::ListHashSetNode::destroy):
1968         (WTF::ListHashSetNodeHashFunctions::hash):
1969         (WTF::ListHashSetNodeHashFunctions::equal):
1970         (ListHashSetNodeHashFunctions):
1971         (ListHashSetIterator):
1972         (WTF::ListHashSetIterator::ListHashSetIterator):
1973         (WTF::ListHashSetIterator::get):
1974         (WTF::ListHashSetIterator::operator*):
1975         (WTF::ListHashSetIterator::operator->):
1976         (WTF::ListHashSetIterator::operator++):
1977         (WTF::ListHashSetIterator::operator--):
1978         (WTF::ListHashSetIterator::operator==):
1979         (WTF::ListHashSetIterator::operator!=):
1980         (WTF::ListHashSetIterator::operator const_iterator):
1981         (WTF::ListHashSetIterator::node):
1982         (ListHashSetConstIterator):
1983         (WTF::ListHashSetConstIterator::ListHashSetConstIterator):
1984         (WTF::ListHashSetConstIterator::get):
1985         (WTF::ListHashSetConstIterator::operator*):
1986         (WTF::ListHashSetConstIterator::operator->):
1987         (WTF::ListHashSetConstIterator::operator++):
1988         (WTF::ListHashSetConstIterator::operator--):
1989         (WTF::ListHashSetConstIterator::operator==):
1990         (WTF::ListHashSetConstIterator::operator!=):
1991         (WTF::ListHashSetConstIterator::node):
1992         (ListHashSetReverseIterator):
1993         (WTF::ListHashSetReverseIterator::ListHashSetReverseIterator):
1994         (WTF::ListHashSetReverseIterator::get):
1995         (WTF::ListHashSetReverseIterator::operator*):
1996         (WTF::ListHashSetReverseIterator::operator->):
1997         (WTF::ListHashSetReverseIterator::operator++):
1998         (WTF::ListHashSetReverseIterator::operator--):
1999         (WTF::ListHashSetReverseIterator::operator==):
2000         (WTF::ListHashSetReverseIterator::operator!=):
2001         (WTF::ListHashSetReverseIterator::operator const_reverse_iterator):
2002         (WTF::ListHashSetReverseIterator::node):
2003         (ListHashSetConstReverseIterator):
2004         (WTF::ListHashSetConstReverseIterator::ListHashSetConstReverseIterator):
2005         (WTF::ListHashSetConstReverseIterator::get):
2006         (WTF::ListHashSetConstReverseIterator::operator*):
2007         (WTF::ListHashSetConstReverseIterator::operator->):
2008         (WTF::ListHashSetConstReverseIterator::operator++):
2009         (WTF::ListHashSetConstReverseIterator::operator--):
2010         (WTF::ListHashSetConstReverseIterator::operator==):
2011         (WTF::ListHashSetConstReverseIterator::operator!=):
2012         (WTF::ListHashSetConstReverseIterator::node):
2013         (WTF::ListHashSetTranslator::hash):
2014         (WTF::ListHashSetTranslator::equal):
2015         (WTF::ListHashSetTranslator::translate):
2016         (WTF::::ListHashSet):
2017         (WTF::=):
2018         (WTF::::swap):
2019         (WTF::::~ListHashSet):
2020         (WTF::::size):
2021         (WTF::::capacity):
2022         (WTF::::isEmpty):
2023         (WTF::::begin):
2024         (WTF::::end):
2025         (WTF::::rbegin):
2026         (WTF::::rend):
2027         (WTF::::first):
2028         (WTF::::last):
2029         (WTF::::removeLast):
2030         (WTF::::find):
2031         (WTF::ListHashSetTranslatorAdapter::hash):
2032         (WTF::ListHashSetTranslatorAdapter::equal):
2033         (WTF::::contains):
2034         (WTF::::add):
2035         (WTF::::insertBefore):
2036         (WTF::::remove):
2037         (WTF::::clear):
2038         (WTF::::unlinkAndDelete):
2039         (WTF::::appendNode):
2040         (WTF::::insertNodeBefore):
2041         (WTF::::deleteAllNodes):
2042         (WTF::::makeReverseIterator):
2043         (WTF::::makeConstReverseIterator):
2044         (WTF::::makeIterator):
2045         (WTF::::makeConstIterator):
2046         (WTF::deleteAllValues):
2047         * wtf/ListRefPtr.h: Renamed from Source/JavaScriptCore/wtf/ListRefPtr.h.
2048         (WTF):
2049         (ListRefPtr):
2050         (WTF::ListRefPtr::ListRefPtr):
2051         (WTF::ListRefPtr::~ListRefPtr):
2052         (WTF::ListRefPtr::operator=):
2053         (WTF::getPtr):
2054         * wtf/Locker.h: Renamed from Source/JavaScriptCore/wtf/Locker.h.
2055         (WTF):
2056         (Locker):
2057         (WTF::Locker::Locker):
2058         (WTF::Locker::~Locker):
2059         * wtf/MD5.cpp: Renamed from Source/JavaScriptCore/wtf/MD5.cpp.
2060         (WTF):
2061         (WTF::testMD5):
2062         (WTF::expectMD5):
2063         (WTF::reverseBytes):
2064         (WTF::MD5Transform):
2065         (WTF::MD5::MD5):
2066         (WTF::MD5::addBytes):
2067         (WTF::MD5::checksum):
2068         * wtf/MD5.h: Renamed from Source/JavaScriptCore/wtf/MD5.h.
2069         (WTF):
2070         (MD5):
2071         (WTF::MD5::addBytes):
2072         * wtf/MainThread.cpp: Renamed from Source/JavaScriptCore/wtf/MainThread.cpp.
2073         (WTF):
2074         (FunctionWithContext):
2075         (WTF::FunctionWithContext::FunctionWithContext):
2076         (WTF::FunctionWithContext::operator == ):
2077         (FunctionWithContextFinder):
2078         (WTF::FunctionWithContextFinder::FunctionWithContextFinder):
2079         (WTF::FunctionWithContextFinder::operator()):
2080         (WTF::mainThreadFunctionQueueMutex):
2081         (WTF::functionQueue):
2082         (WTF::initializeMainThread):
2083         (WTF::initializeMainThreadOnce):
2084         (WTF::initializeMainThreadToProcessMainThreadOnce):
2085         (WTF::initializeMainThreadToProcessMainThread):
2086         (WTF::dispatchFunctionsFromMainThread):
2087         (WTF::callOnMainThread):
2088         (WTF::callOnMainThreadAndWait):
2089         (WTF::cancelCallOnMainThread):
2090         (WTF::callFunctionObject):
2091         (WTF::setMainThreadCallbacksPaused):
2092         (WTF::isMainThread):
2093         (WTF::initializeGCThreads):
2094         (WTF::registerGCThread):
2095         (WTF::isMainThreadOrGCThread):
2096         * wtf/MainThread.h: Renamed from Source/JavaScriptCore/wtf/MainThread.h.
2097         (WTF):
2098         (WTF::isMainThreadOrGCThread):
2099         * wtf/MallocZoneSupport.h: Renamed from Source/JavaScriptCore/wtf/MallocZoneSupport.h.
2100         (WTF):
2101         (RemoteMemoryReader):
2102         (WTF::RemoteMemoryReader::RemoteMemoryReader):
2103         (WTF::RemoteMemoryReader::operator()):
2104         (WTF::RemoteMemoryReader::nextEntryInLinkedList):
2105         * wtf/MathExtras.h: Renamed from Source/JavaScriptCore/wtf/MathExtras.h.
2106         (wtf_ceil):
2107         (isfinite):
2108         (isinf):
2109         (signbit):
2110         (round):
2111         (roundf):
2112         (llround):
2113         (llroundf):
2114         (lround):
2115         (lroundf):
2116         (trunc):
2117         (abs):
2118         (isnan):
2119         (nextafter):
2120         (nextafterf):
2121         (copysign):
2122         (log2):
2123         (log2f):
2124         (wtf_atan2):
2125         (wtf_fmod):
2126         (wtf_pow):
2127         (deg2rad):
2128         (rad2deg):
2129         (deg2grad):
2130         (grad2deg):
2131         (turn2deg):
2132         (deg2turn):
2133         (rad2grad):
2134         (grad2rad):
2135         (defaultMinimumForClamp):
2136         (defaultMaximumForClamp):
2137         (clampTo):
2138         (clampToInteger):
2139         (clampToFloat):
2140         (clampToPositiveInteger):
2141         (isWithinIntRange):
2142         (decomposeDouble):
2143         (doubleToInteger):
2144         * wtf/MessageQueue.h: Renamed from Source/JavaScriptCore/wtf/MessageQueue.h.
2145         (WTF):
2146         (MessageQueue):
2147         (WTF::MessageQueue::MessageQueue):
2148         (WTF::MessageQueue::infiniteTime):
2149         (WTF::MessageQueue::alwaysTruePredicate):
2150         (WTF::::~MessageQueue):
2151         (WTF::::append):
2152         (WTF::::appendAndCheckEmpty):
2153         (WTF::::prepend):
2154         (WTF::::waitForMessage):
2155         (WTF::::waitForMessageFilteredWithTimeout):
2156         (WTF::::tryGetMessage):
2157         (WTF::::tryGetMessageIgnoringKilled):
2158         (WTF::::removeIf):
2159         (WTF::::isEmpty):
2160         (WTF::::kill):
2161         (WTF::::killed):
2162         * wtf/MetaAllocator.cpp: Renamed from Source/JavaScriptCore/wtf/MetaAllocator.cpp.
2163         (WTF):
2164         (WTF::MetaAllocator::~MetaAllocator):
2165         (WTF::MetaAllocatorTracker::notify):
2166         (WTF::MetaAllocatorTracker::release):
2167         (WTF::MetaAllocator::release):
2168         (WTF::MetaAllocatorHandle::MetaAllocatorHandle):
2169         (WTF::MetaAllocatorHandle::~MetaAllocatorHandle):
2170         (WTF::MetaAllocatorHandle::shrink):
2171         (WTF::MetaAllocator::MetaAllocator):
2172         (WTF::MetaAllocator::allocate):
2173         (WTF::MetaAllocator::currentStatistics):
2174         (WTF::MetaAllocator::findAndRemoveFreeSpace):
2175         (WTF::MetaAllocator::addFreeSpaceFromReleasedHandle):
2176         (WTF::MetaAllocator::addFreshFreeSpace):
2177         (WTF::MetaAllocator::debugFreeSpaceSize):
2178         (WTF::MetaAllocator::addFreeSpace):
2179         (WTF::MetaAllocator::incrementPageOccupancy):
2180         (WTF::MetaAllocator::decrementPageOccupancy):
2181         (WTF::MetaAllocator::roundUp):
2182         (WTF::MetaAllocator::allocFreeSpaceNode):
2183         (WTF::MetaAllocator::freeFreeSpaceNode):
2184         (WTF::MetaAllocator::dumpProfile):
2185         * wtf/MetaAllocator.h: Renamed from Source/JavaScriptCore/wtf/MetaAllocator.h.
2186         (WTF):
2187         (MetaAllocatorTracker):
2188         (WTF::MetaAllocatorTracker::find):
2189         (MetaAllocator):
2190         (WTF::MetaAllocator::trackAllocations):
2191         (WTF::MetaAllocator::bytesAllocated):
2192         (WTF::MetaAllocator::bytesReserved):
2193         (WTF::MetaAllocator::bytesCommitted):
2194         (Statistics):
2195         (WTF::MetaAllocator::dumpProfile):
2196         (FreeSpaceNode):
2197         (WTF::MetaAllocator::FreeSpaceNode::FreeSpaceNode):
2198         (WTF::MetaAllocator::FreeSpaceNode::key):
2199         * wtf/MetaAllocatorHandle.h: Renamed from Source/JavaScriptCore/wtf/MetaAllocatorHandle.h.
2200         (WTF):
2201         (MetaAllocatorHandle):
2202         (WTF::MetaAllocatorHandle::start):
2203         (WTF::MetaAllocatorHandle::end):
2204         (WTF::MetaAllocatorHandle::sizeInBytes):
2205         (WTF::MetaAllocatorHandle::isManaged):
2206         (WTF::MetaAllocatorHandle::allocator):
2207         (WTF::MetaAllocatorHandle::ownerUID):
2208         (WTF::MetaAllocatorHandle::key):
2209         * wtf/NonCopyingSort.h: Renamed from Source/JavaScriptCore/wtf/NonCopyingSort.h.
2210         (WTF):
2211         (WTF::siftDown):
2212         (WTF::heapify):
2213         (WTF::heapSort):
2214         (WTF::nonCopyingSort):
2215         * wtf/Noncopyable.h: Renamed from Source/JavaScriptCore/wtf/Noncopyable.h.
2216         * wtf/NotFound.h: Renamed from Source/JavaScriptCore/wtf/NotFound.h.
2217         (WTF):
2218         * wtf/NullPtr.cpp: Renamed from Source/JavaScriptCore/wtf/NullPtr.cpp.
2219         * wtf/NullPtr.h: Renamed from Source/JavaScriptCore/wtf/NullPtr.h.
2220         * wtf/NumberOfCores.cpp: Renamed from Source/JavaScriptCore/wtf/NumberOfCores.cpp.
2221         (WTF):
2222         (WTF::numberOfProcessorCores):
2223         * wtf/NumberOfCores.h: Renamed from Source/JavaScriptCore/wtf/NumberOfCores.h.
2224         (WTF):
2225         * wtf/OSAllocator.h: Renamed from Source/JavaScriptCore/wtf/OSAllocator.h.
2226         (WTF):
2227         (OSAllocator):
2228         (WTF::OSAllocator::reserveAndCommit):
2229         (WTF::OSAllocator::decommitAndRelease):
2230         (WTF::OSAllocator::reallocateCommitted):
2231         * wtf/OSAllocatorPosix.cpp: Renamed from Source/JavaScriptCore/wtf/OSAllocatorPosix.cpp.
2232         (WTF):
2233         (WTF::OSAllocator::reserveUncommitted):
2234         (WTF::OSAllocator::reserveAndCommit):
2235         (WTF::OSAllocator::commit):
2236         (WTF::OSAllocator::decommit):
2237         (WTF::OSAllocator::releaseDecommitted):
2238         * wtf/OSAllocatorWin.cpp: Renamed from Source/JavaScriptCore/wtf/OSAllocatorWin.cpp.
2239         (WTF):
2240         (WTF::protection):
2241         (WTF::OSAllocator::reserveUncommitted):
2242         (WTF::OSAllocator::reserveAndCommit):
2243         (WTF::OSAllocator::commit):
2244         (WTF::OSAllocator::decommit):
2245         (WTF::OSAllocator::releaseDecommitted):
2246         * wtf/OSRandomSource.cpp: Renamed from Source/JavaScriptCore/wtf/OSRandomSource.cpp.
2247         (WTF):
2248         (WTF::cryptographicallyRandomValuesFromOS):
2249         * wtf/OSRandomSource.h: Renamed from Source/JavaScriptCore/wtf/OSRandomSource.h.
2250         (WTF):
2251         * wtf/OwnArrayPtr.h: Renamed from Source/JavaScriptCore/wtf/OwnArrayPtr.h.
2252         (WTF):
2253         (OwnArrayPtr):
2254         (WTF::OwnArrayPtr::OwnArrayPtr):
2255         (WTF::OwnArrayPtr::~OwnArrayPtr):
2256         (WTF::OwnArrayPtr::get):
2257         (WTF::OwnArrayPtr::operator*):
2258         (WTF::OwnArrayPtr::operator->):
2259         (WTF::OwnArrayPtr::operator[]):
2260         (WTF::OwnArrayPtr::operator!):
2261         (WTF::OwnArrayPtr::operator UnspecifiedBoolType):
2262         (WTF::OwnArrayPtr::operator=):
2263         (WTF::OwnArrayPtr::swap):
2264         (WTF::::OwnArrayPtr):
2265         (WTF::::clear):
2266         (WTF::::release):
2267         (WTF::::leakPtr):
2268         (WTF::=):
2269         (WTF::swap):
2270         (WTF::operator==):
2271         (WTF::operator!=):
2272         (WTF::getPtr):
2273         * wtf/OwnPtr.h: Renamed from Source/JavaScriptCore/wtf/OwnPtr.h.
2274         (WTF):
2275         (OwnPtr):
2276         (WTF::OwnPtr::OwnPtr):
2277         (WTF::OwnPtr::~OwnPtr):
2278         (WTF::OwnPtr::get):
2279         (WTF::OwnPtr::operator*):
2280         (WTF::OwnPtr::operator->):
2281         (WTF::OwnPtr::operator!):
2282         (WTF::OwnPtr::operator UnspecifiedBoolType):
2283         (WTF::OwnPtr::operator=):
2284         (WTF::OwnPtr::swap):
2285         (WTF::OwnPtr::operator==):
2286         (WTF::OwnPtr::operator!=):
2287         (WTF::::OwnPtr):
2288         (WTF::::clear):
2289         (WTF::::release):
2290         (WTF::::leakPtr):
2291         (WTF::=):
2292         (WTF::swap):
2293         (WTF::operator==):
2294         (WTF::operator!=):
2295         (WTF::getPtr):
2296         * wtf/OwnPtrCommon.h: Renamed from Source/JavaScriptCore/wtf/OwnPtrCommon.h.
2297         (WTF):
2298         (WTF::deleteOwnedPtr):
2299         * wtf/PackedIntVector.h: Renamed from Source/JavaScriptCore/wtf/PackedIntVector.h.
2300         (WTF):
2301         (PackedIntVector):
2302         (WTF::PackedIntVector::PackedIntVector):
2303         (WTF::PackedIntVector::operator=):
2304         (WTF::PackedIntVector::size):
2305         (WTF::PackedIntVector::ensureSize):
2306         (WTF::PackedIntVector::resize):
2307         (WTF::PackedIntVector::clearAll):
2308         (WTF::PackedIntVector::get):
2309         (WTF::PackedIntVector::set):
2310         (WTF::PackedIntVector::mask):
2311         * wtf/PageAllocation.h: Renamed from Source/JavaScriptCore/wtf/PageAllocation.h.
2312         (WTF):
2313         (PageAllocation):
2314         (WTF::PageAllocation::PageAllocation):
2315         (WTF::PageAllocation::operator bool):
2316         (WTF::PageAllocation::allocate):
2317         (WTF::PageAllocation::deallocate):
2318         * wtf/PageAllocationAligned.cpp: Renamed from Source/JavaScriptCore/wtf/PageAllocationAligned.cpp.
2319         (WTF):
2320         (WTF::PageAllocationAligned::allocate):
2321         (WTF::PageAllocationAligned::deallocate):
2322         * wtf/PageAllocationAligned.h: Renamed from Source/JavaScriptCore/wtf/PageAllocationAligned.h.
2323         (WTF):
2324         (PageAllocationAligned):
2325         (WTF::PageAllocationAligned::PageAllocationAligned):
2326         * wtf/PageBlock.cpp: Renamed from Source/JavaScriptCore/wtf/PageBlock.cpp.
2327         (WTF):
2328         (WTF::systemPageSize):
2329         (WTF::pageSize):
2330         (WTF::pageMask):
2331         * wtf/PageBlock.h: Renamed from Source/JavaScriptCore/wtf/PageBlock.h.
2332         (WTF):
2333         (WTF::isPageAligned):
2334         (WTF::isPowerOfTwo):
2335         (PageBlock):
2336         (WTF::PageBlock::base):
2337         (WTF::PageBlock::size):
2338         (WTF::PageBlock::operator bool):
2339         (WTF::PageBlock::contains):
2340         (WTF::PageBlock::PageBlock):
2341         * wtf/PageReservation.h: Renamed from Source/JavaScriptCore/wtf/PageReservation.h.
2342         (WTF):
2343         (PageReservation):
2344         (WTF::PageReservation::PageReservation):
2345         (WTF::PageReservation::operator bool):
2346         (WTF::PageReservation::commit):
2347         (WTF::PageReservation::decommit):
2348         (WTF::PageReservation::committed):
2349         (WTF::PageReservation::reserve):
2350         (WTF::PageReservation::reserveWithGuardPages):
2351         (WTF::PageReservation::deallocate):
2352         * wtf/ParallelJobs.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobs.h.
2353         (WTF):
2354         (ParallelJobs):
2355         (WTF::ParallelJobs::ParallelJobs):
2356         (WTF::ParallelJobs::numberOfJobs):
2357         (WTF::ParallelJobs::parameter):
2358         (WTF::ParallelJobs::execute):
2359         * wtf/ParallelJobsGeneric.cpp: Renamed from Source/JavaScriptCore/wtf/ParallelJobsGeneric.cpp.
2360         (WTF):
2361         (WTF::ParallelEnvironment::ParallelEnvironment):
2362         (WTF::ParallelEnvironment::execute):
2363         (WTF::ParallelEnvironment::ThreadPrivate::tryLockFor):
2364         (WTF::ParallelEnvironment::ThreadPrivate::execute):
2365         (WTF::ParallelEnvironment::ThreadPrivate::waitForFinish):
2366         (WTF::ParallelEnvironment::ThreadPrivate::workerThread):
2367         * wtf/ParallelJobsGeneric.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsGeneric.h.
2368         (WTF):
2369         (ParallelEnvironment):
2370         (WTF::ParallelEnvironment::numberOfJobs):
2371         (ThreadPrivate):
2372         (WTF::ParallelEnvironment::ThreadPrivate::ThreadPrivate):
2373         (WTF::ParallelEnvironment::ThreadPrivate::create):
2374         * wtf/ParallelJobsLibdispatch.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsLibdispatch.h.
2375         (WTF):
2376         (ParallelEnvironment):
2377         (WTF::ParallelEnvironment::ParallelEnvironment):
2378         (WTF::ParallelEnvironment::numberOfJobs):
2379         (WTF::ParallelEnvironment::execute):
2380         * wtf/ParallelJobsOpenMP.h: Renamed from Source/JavaScriptCore/wtf/ParallelJobsOpenMP.h.
2381         (WTF):
2382         (ParallelEnvironment):
2383         (WTF::ParallelEnvironment::ParallelEnvironment):
2384         (WTF::ParallelEnvironment::numberOfJobs):
2385         (WTF::ParallelEnvironment::execute):
2386         * wtf/PassOwnArrayPtr.h: Renamed from Source/JavaScriptCore/wtf/PassOwnArrayPtr.h.
2387         (WTF):
2388         (PassOwnArrayPtr):
2389         (WTF::PassOwnArrayPtr::PassOwnArrayPtr):
2390         (WTF::PassOwnArrayPtr::~PassOwnArrayPtr):
2391         (WTF::PassOwnArrayPtr::get):
2392         (WTF::PassOwnArrayPtr::operator*):
2393         (WTF::PassOwnArrayPtr::operator->):
2394         (WTF::PassOwnArrayPtr::operator!):
2395         (WTF::PassOwnArrayPtr::operator UnspecifiedBoolType):
2396         (WTF::PassOwnArrayPtr::operator=):
2397         (WTF::::leakPtr):
2398         (WTF::operator==):
2399         (WTF::operator!=):
2400         (WTF::adoptArrayPtr):
2401         (WTF::deleteOwnedArrayPtr):
2402         (WTF::static_pointer_cast):
2403         (WTF::const_pointer_cast):
2404         (WTF::getPtr):
2405         * wtf/PassOwnPtr.h: Renamed from Source/JavaScriptCore/wtf/PassOwnPtr.h.
2406         (WTF):
2407         (PassOwnPtr):
2408         (WTF::PassOwnPtr::PassOwnPtr):
2409         (WTF::PassOwnPtr::~PassOwnPtr):
2410         (WTF::PassOwnPtr::get):
2411         (WTF::PassOwnPtr::operator*):
2412         (WTF::PassOwnPtr::operator->):
2413         (WTF::PassOwnPtr::operator!):
2414         (WTF::PassOwnPtr::operator UnspecifiedBoolType):
2415         (WTF::PassOwnPtr::operator=):
2416         (WTF::PassOwnPtr::operator==):
2417         (WTF::PassOwnPtr::operator!=):
2418         (WTF::::leakPtr):
2419         (WTF::operator==):
2420         (WTF::operator!=):
2421         (WTF::adoptPtr):
2422         (WTF::static_pointer_cast):
2423         (WTF::const_pointer_cast):
2424         (WTF::getPtr):
2425         * wtf/PassRefPtr.h: Renamed from Source/JavaScriptCore/wtf/PassRefPtr.h.
2426         (WTF):
2427         (WTF::adopted):
2428         (WTF::refIfNotNull):
2429         (WTF::derefIfNotNull):
2430         (PassRefPtr):
2431         (WTF::PassRefPtr::PassRefPtr):
2432         (WTF::PassRefPtr::~PassRefPtr):
2433         (WTF::PassRefPtr::get):
2434         (WTF::PassRefPtr::operator*):
2435         (WTF::PassRefPtr::operator->):
2436         (WTF::PassRefPtr::operator!):
2437         (WTF::PassRefPtr::operator UnspecifiedBoolType):
2438         (WTF::PassRefPtr::operator=):
2439         (NonNullPassRefPtr):
2440         (WTF::NonNullPassRefPtr::NonNullPassRefPtr):
2441         (WTF::NonNullPassRefPtr::~NonNullPassRefPtr):
2442         (WTF::NonNullPassRefPtr::get):
2443         (WTF::NonNullPassRefPtr::operator*):
2444         (WTF::NonNullPassRefPtr::operator->):
2445         (WTF::NonNullPassRefPtr::operator=):
2446         (WTF::::PassRefPtr):
2447         (WTF::::leakRef):
2448         (WTF::operator==):
2449         (WTF::operator!=):
2450         (WTF::adoptRef):
2451         (WTF::static_pointer_cast):
2452         (WTF::const_pointer_cast):
2453         (WTF::getPtr):
2454         * wtf/PassTraits.h: Renamed from Source/JavaScriptCore/wtf/PassTraits.h.
2455         (WTF):
2456         (PassTraits):
2457         (WTF::PassTraits::transfer):
2458         * wtf/PlatformBlackBerry.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformBlackBerry.cmake.
2459         * wtf/PlatformEfl.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformEfl.cmake.
2460         * wtf/PlatformWinCE.cmake: Renamed from Source/JavaScriptCore/wtf/PlatformWinCE.cmake.
2461         * wtf/PossiblyNull.h: Renamed from Source/JavaScriptCore/wtf/PossiblyNull.h.
2462         (WTF):
2463         (WTF::PossiblyNull::PossiblyNull):
2464         (WTF::PossiblyNull::~PossiblyNull):
2465         (PossiblyNull):
2466         (WTF::::getValue):
2467         * wtf/RandomNumber.cpp: Renamed from Source/JavaScriptCore/wtf/RandomNumber.cpp.
2468         (WTF):
2469         (WTF::randomNumber):
2470         * wtf/RandomNumber.h: Renamed from Source/JavaScriptCore/wtf/RandomNumber.h.
2471         (WTF):
2472         * wtf/RandomNumberSeed.h: Renamed from Source/JavaScriptCore/wtf/RandomNumberSeed.h.
2473         (WTF):
2474         (WTF::initializeRandomNumberGenerator):
2475         * wtf/RedBlackTree.h: Renamed from Source/JavaScriptCore/wtf/RedBlackTree.h.
2476         (WTF):
2477         (RedBlackTree):
2478         (Node):
2479         (WTF::RedBlackTree::Node::successor):
2480         (WTF::RedBlackTree::Node::predecessor):
2481         (WTF::RedBlackTree::Node::reset):
2482         (WTF::RedBlackTree::Node::parent):
2483         (WTF::RedBlackTree::Node::setParent):
2484         (WTF::RedBlackTree::Node::left):
2485         (WTF::RedBlackTree::Node::setLeft):
2486         (WTF::RedBlackTree::Node::right):
2487         (WTF::RedBlackTree::Node::setRight):
2488         (WTF::RedBlackTree::Node::color):
2489         (WTF::RedBlackTree::Node::setColor):
2490         (WTF::RedBlackTree::RedBlackTree):
2491         (WTF::RedBlackTree::insert):
2492         (WTF::RedBlackTree::remove):
2493         (WTF::RedBlackTree::findExact):
2494         (WTF::RedBlackTree::findLeastGreaterThanOrEqual):
2495         (WTF::RedBlackTree::findGreatestLessThanOrEqual):
2496         (WTF::RedBlackTree::first):
2497         (WTF::RedBlackTree::last):
2498         (WTF::RedBlackTree::size):
2499         (WTF::RedBlackTree::isEmpty):
2500         (WTF::RedBlackTree::treeMinimum):
2501         (WTF::RedBlackTree::treeMaximum):
2502         (WTF::RedBlackTree::treeInsert):
2503         (WTF::RedBlackTree::leftRotate):
2504         (WTF::RedBlackTree::rightRotate):
2505         (WTF::RedBlackTree::removeFixup):
2506         * wtf/RefCounted.h: Renamed from Source/JavaScriptCore/wtf/RefCounted.h.
2507         (WTF):
2508         (RefCountedBase):
2509         (WTF::RefCountedBase::ref):
2510         (WTF::RefCountedBase::hasOneRef):
2511         (WTF::RefCountedBase::refCount):
2512         (WTF::RefCountedBase::turnOffVerifier):
2513         (WTF::RefCountedBase::relaxAdoptionRequirement):
2514         (WTF::RefCountedBase::addressOfCount):
2515         (WTF::RefCountedBase::RefCountedBase):
2516         (WTF::RefCountedBase::~RefCountedBase):
2517         (WTF::RefCountedBase::derefBase):
2518         (WTF::RefCountedBase::deletionHasBegun):
2519         (WTF::adopted):
2520         (RefCounted):
2521         (WTF::RefCounted::deref):
2522         (WTF::RefCounted::RefCounted):
2523         (WTF::RefCounted::~RefCounted):
2524         (RefCountedCustomAllocated):
2525         (WTF::RefCountedCustomAllocated::deref):
2526         (WTF::RefCountedCustomAllocated::~RefCountedCustomAllocated):
2527         (WTF::RefCountedBase::setMutexForVerifier):
2528         (WTF::RefCountedBase::setDispatchQueueForVerifier):
2529         * wtf/RefCountedArray.h: Renamed from Source/JavaScriptCore/wtf/RefCountedArray.h.
2530         (WTF):
2531         (RefCountedArray):
2532         (WTF::RefCountedArray::RefCountedArray):
2533         (WTF::RefCountedArray::operator=):
2534         (WTF::RefCountedArray::~RefCountedArray):
2535         (WTF::RefCountedArray::size):
2536         (WTF::RefCountedArray::data):
2537         (WTF::RefCountedArray::begin):
2538         (WTF::RefCountedArray::end):
2539         (WTF::RefCountedArray::at):
2540         (WTF::RefCountedArray::operator[]):
2541         (Header):
2542         (WTF::RefCountedArray::Header::size):
2543         (WTF::RefCountedArray::Header::payload):
2544         (WTF::RefCountedArray::Header::fromPayload):
2545         * wtf/RefCountedLeakCounter.cpp: Renamed from Source/JavaScriptCore/wtf/RefCountedLeakCounter.cpp.
2546         (WTF):
2547         (WTF::RefCountedLeakCounter::suppressMessages):
2548         (WTF::RefCountedLeakCounter::cancelMessageSuppression):
2549         (WTF::RefCountedLeakCounter::RefCountedLeakCounter):
2550         (WTF::RefCountedLeakCounter::~RefCountedLeakCounter):
2551         (WTF::RefCountedLeakCounter::increment):
2552         (WTF::RefCountedLeakCounter::decrement):
2553         * wtf/RefCountedLeakCounter.h: Renamed from Source/JavaScriptCore/wtf/RefCountedLeakCounter.h.
2554         (WTF):
2555         (RefCountedLeakCounter):
2556         * wtf/RefPtr.h: Renamed from Source/JavaScriptCore/wtf/RefPtr.h.
2557         (WTF):
2558         (RefPtr):
2559         (WTF::RefPtr::RefPtr):
2560         (WTF::RefPtr::isHashTableDeletedValue):
2561         (WTF::RefPtr::~RefPtr):
2562         (WTF::RefPtr::get):
2563         (WTF::RefPtr::release):
2564         (WTF::RefPtr::operator*):
2565         (WTF::RefPtr::operator->):
2566         (WTF::RefPtr::operator!):
2567         (WTF::RefPtr::operator UnspecifiedBoolType):
2568         (WTF::RefPtr::operator=):
2569         (WTF::RefPtr::hashTableDeletedValue):
2570         (WTF::::RefPtr):
2571         (WTF::::clear):
2572         (WTF::=):
2573         (WTF::::swap):
2574         (WTF::swap):
2575         (WTF::operator==):
2576         (WTF::operator!=):
2577         (WTF::static_pointer_cast):
2578         (WTF::const_pointer_cast):
2579         (WTF::getPtr):
2580         * wtf/RefPtrHashMap.h: Renamed from Source/JavaScriptCore/wtf/RefPtrHashMap.h.
2581         (WTF):
2582         (WTF::::swap):
2583         (WTF::::size):
2584         (WTF::::capacity):
2585         (WTF::::isEmpty):
2586         (WTF::::begin):
2587         (WTF::::end):
2588         (WTF::::find):
2589         (WTF::::contains):
2590         (WTF::::inlineAdd):
2591         (WTF::::set):
2592         (WTF::::add):
2593         (WTF::::get):
2594         (WTF::::inlineGet):
2595         (WTF::::remove):
2596         (WTF::::clear):
2597         (WTF::::take):
2598         * wtf/RetainPtr.h: Renamed from Source/JavaScriptCore/wtf/RetainPtr.h.
2599         (WTF):
2600         (WTF::adoptNSReference):
2601         (RetainPtr):
2602         (WTF::RetainPtr::RetainPtr):
2603         (WTF::RetainPtr::isHashTableDeletedValue):
2604         (WTF::RetainPtr::~RetainPtr):
2605         (WTF::RetainPtr::get):
2606         (WTF::RetainPtr::operator->):
2607         (WTF::RetainPtr::operator!):
2608         (WTF::RetainPtr::operator UnspecifiedBoolType):
2609         (WTF::RetainPtr::operator=):
2610         (WTF::RetainPtr::hashTableDeletedValue):
2611         (WTF::::RetainPtr):
2612         (WTF::::clear):
2613         (WTF::::leakRef):
2614         (WTF::=):
2615         (WTF::::adoptCF):
2616         (WTF::::adoptNS):
2617         (WTF::::swap):
2618         (WTF::swap):
2619         (WTF::operator==):
2620         (WTF::operator!=):
2621         (WTF::adoptCF):
2622         (WTF::adoptNS):
2623         (WTF::retainPtr):
2624         * wtf/SHA1.cpp: Renamed from Source/JavaScriptCore/wtf/SHA1.cpp.
2625         (WTF):
2626         (WTF::testSHA1):
2627         (WTF::expectSHA1):
2628         (WTF::f):
2629         (WTF::k):
2630         (WTF::rotateLeft):
2631         (WTF::SHA1::SHA1):
2632         (WTF::SHA1::addBytes):
2633         (WTF::SHA1::computeHash):
2634         (WTF::SHA1::finalize):
2635         (WTF::SHA1::processBlock):
2636         (WTF::SHA1::reset):
2637         * wtf/SHA1.h: Renamed from Source/JavaScriptCore/wtf/SHA1.h.
2638         (WTF):
2639         (SHA1):
2640         (WTF::SHA1::addBytes):
2641         * wtf/SegmentedVector.h: Renamed from Source/JavaScriptCore/wtf/SegmentedVector.h.
2642         (WTF):
2643         (SegmentedVectorIterator):
2644         (WTF::SegmentedVectorIterator::~SegmentedVectorIterator):
2645         (WTF::SegmentedVectorIterator::operator*):
2646         (WTF::SegmentedVectorIterator::operator->):
2647         (WTF::SegmentedVectorIterator::operator++):
2648         (WTF::SegmentedVectorIterator::operator==):
2649         (WTF::SegmentedVectorIterator::operator!=):
2650         (WTF::SegmentedVectorIterator::operator=):
2651         (WTF::SegmentedVectorIterator::SegmentedVectorIterator):
2652         (SegmentedVector):
2653         (WTF::SegmentedVector::SegmentedVector):
2654         (WTF::SegmentedVector::~SegmentedVector):
2655         (WTF::SegmentedVector::size):
2656         (WTF::SegmentedVector::isEmpty):
2657         (WTF::SegmentedVector::at):
2658         (WTF::SegmentedVector::operator[]):
2659         (WTF::SegmentedVector::last):
2660         (WTF::SegmentedVector::append):
2661         (WTF::SegmentedVector::alloc):
2662         (WTF::SegmentedVector::removeLast):
2663         (WTF::SegmentedVector::grow):
2664         (WTF::SegmentedVector::clear):
2665         (WTF::SegmentedVector::begin):
2666         (WTF::SegmentedVector::end):
2667         (WTF::SegmentedVector::deleteAllSegments):
2668         (WTF::SegmentedVector::segmentExistsFor):
2669         (WTF::SegmentedVector::segmentFor):
2670         (WTF::SegmentedVector::subscriptFor):
2671         (WTF::SegmentedVector::ensureSegmentsFor):
2672         (WTF::SegmentedVector::ensureSegment):
2673         * wtf/SentinelLinkedList.h: Renamed from Source/JavaScriptCore/wtf/SentinelLinkedList.h.
2674         (WTF):
2675         (BasicRawSentinelNode):
2676         (WTF::BasicRawSentinelNode::BasicRawSentinelNode):
2677         (WTF::BasicRawSentinelNode::setPrev):
2678         (WTF::BasicRawSentinelNode::setNext):
2679         (WTF::BasicRawSentinelNode::prev):
2680         (WTF::BasicRawSentinelNode::next):
2681         (WTF::BasicRawSentinelNode::isOnList):
2682         (SentinelLinkedList):
2683         (WTF::SentinelLinkedList::isEmpty):
2684         (WTF::::remove):
2685         (WTF::::SentinelLinkedList):
2686         (WTF::::begin):
2687         (WTF::::end):
2688         (WTF::::push):
2689         * wtf/SimpleStats.h: Renamed from Source/JavaScriptCore/wtf/SimpleStats.h.
2690         (WTF):
2691         (SimpleStats):
2692         (WTF::SimpleStats::SimpleStats):
2693         (WTF::SimpleStats::add):
2694         (WTF::SimpleStats::operator!):
2695         (WTF::SimpleStats::count):
2696         (WTF::SimpleStats::sum):
2697         (WTF::SimpleStats::sumOfSquares):
2698         (WTF::SimpleStats::mean):
2699         (WTF::SimpleStats::variance):
2700         (WTF::SimpleStats::standardDeviation):
2701         * wtf/SinglyLinkedList.h: Renamed from Source/JavaScriptCore/wtf/SinglyLinkedList.h.
2702         (WTF):
2703         (SinglyLinkedList):
2704         (WTF::::SinglyLinkedList):
2705         (WTF::::isEmpty):
2706         (WTF::::push):
2707         (WTF::::pop):
2708         * wtf/SizeLimits.cpp: Renamed from Source/JavaScriptCore/wtf/SizeLimits.cpp.
2709         (WTF):
2710         (SameSizeAsRefCounted):
2711         * wtf/Spectrum.h: Renamed from Source/JavaScriptCore/wtf/Spectrum.h.
2712         (WTF):
2713         (Spectrum):
2714         (WTF::Spectrum::Spectrum):
2715         (WTF::Spectrum::add):
2716         (WTF::Spectrum::get):
2717         (WTF::Spectrum::begin):
2718         (WTF::Spectrum::end):
2719         (WTF::Spectrum::KeyAndCount::KeyAndCount):
2720         (KeyAndCount):
2721         (WTF::Spectrum::KeyAndCount::operator<):
2722         (WTF::Spectrum::buildList):
2723         * wtf/StackBounds.cpp: Renamed from Source/JavaScriptCore/wtf/StackBounds.cpp.
2724         (WTF):
2725         (WTF::estimateStackBound):
2726         (WTF::StackBounds::initialize):
2727         (WTF::detectGrowingDownward):
2728         (WTF::isPageWritable):
2729         (WTF::getLowerStackBound):
2730         (WTF::getUpperStackBound):
2731         * wtf/StackBounds.h: Renamed from Source/JavaScriptCore/wtf/StackBounds.h.
2732         (WTF):
2733         (StackBounds):
2734         (WTF::StackBounds::StackBounds):
2735         (WTF::StackBounds::currentThreadStackBounds):
2736         (WTF::StackBounds::origin):
2737         (WTF::StackBounds::current):
2738         (WTF::StackBounds::recursionLimit):
2739         (WTF::StackBounds::recursionCheck):
2740         (WTF::StackBounds::isGrowingDownward):
2741         (WTF::StackBounds::checkConsistency):
2742         * wtf/StaticConstructors.h: Renamed from Source/JavaScriptCore/wtf/StaticConstructors.h.
2743         * wtf/StdLibExtras.h: Renamed from Source/JavaScriptCore/wtf/StdLibExtras.h.
2744         (isPointerTypeAlignmentOkay):
2745         (reinterpret_cast_ptr):
2746         (WTF):
2747         (WTF::isPointerAligned):
2748         (WTF::is8ByteAligned):
2749         (WTF::bitwise_cast):
2750         (WTF::safeCast):
2751         (WTF::bitCount):
2752         (WTF::roundUpToMultipleOf):
2753         (WTF::binarySearch):
2754         (WTF::binarySearchWithFunctor):
2755         (WTF::genericBinarySearch):
2756         (operator new):
2757         * wtf/StringExtras.cpp: Renamed from Source/JavaScriptCore/wtf/StringExtras.cpp.
2758         (strcasecmp):
2759         (strncasecmp):
2760         * wtf/StringExtras.h: Renamed from Source/JavaScriptCore/wtf/StringExtras.h.
2761         (snprintf):
2762         (wtf_vsnprintf):
2763         (strnicmp):
2764         (stricmp):
2765         (strdup):
2766         (strncasecmp):
2767         (strcasecmp):
2768         (strnstr):
2769         * wtf/StringHasher.h: Renamed from Source/JavaScriptCore/wtf/StringHasher.h.
2770         (WTF):
2771         (StringHasher):
2772         (WTF::StringHasher::StringHasher):
2773         (WTF::StringHasher::addCharacters):
2774         (WTF::StringHasher::addCharacter):
2775         (WTF::StringHasher::hash):
2776         (WTF::StringHasher::computeHash):
2777         (WTF::StringHasher::hashMemory):
2778         (WTF::StringHasher::defaultConverter):
2779         (WTF::StringHasher::addCharactersToHash):
2780         * wtf/TCPackedCache.h: Renamed from Source/JavaScriptCore/wtf/TCPackedCache.h.
2781         (PackedCache):
2782         (PackedCache::PackedCache):
2783         (PackedCache::Put):
2784         (PackedCache::Has):
2785         (PackedCache::GetOrDefault):
2786         (PackedCache::Clear):
2787         (PackedCache::EntryToValue):
2788         (PackedCache::EntryToUpper):
2789         (PackedCache::KeyToUpper):
2790         (PackedCache::UpperToPartialKey):
2791         (PackedCache::Hash):
2792         (PackedCache::KeyMatch):
2793         * wtf/TCPageMap.h: Renamed from Source/JavaScriptCore/wtf/TCPageMap.h.
2794         (TCMalloc_PageMap1):
2795         (TCMalloc_PageMap1::init):
2796         (TCMalloc_PageMap1::Ensure):
2797         (TCMalloc_PageMap1::PreallocateMoreMemory):
2798         (TCMalloc_PageMap1::get):
2799         (TCMalloc_PageMap1::set):
2800         (TCMalloc_PageMap2):
2801         (Leaf):
2802         (TCMalloc_PageMap2::init):
2803         (TCMalloc_PageMap2::get):
2804         (TCMalloc_PageMap2::set):
2805         (TCMalloc_PageMap2::Ensure):
2806         (TCMalloc_PageMap2::PreallocateMoreMemory):
2807         (TCMalloc_PageMap2::visitValues):
2808         (TCMalloc_PageMap2::visitAllocations):
2809         (TCMalloc_PageMap3):
2810         (Node):
2811         (TCMalloc_PageMap3::NewNode):
2812         (TCMalloc_PageMap3::init):
2813         (TCMalloc_PageMap3::get):
2814         (TCMalloc_PageMap3::set):
2815         (TCMalloc_PageMap3::Ensure):
2816         (TCMalloc_PageMap3::PreallocateMoreMemory):
2817         (TCMalloc_PageMap3::visitValues):
2818         (TCMalloc_PageMap3::visitAllocations):
2819         * wtf/TCSpinLock.h: Renamed from Source/JavaScriptCore/wtf/TCSpinLock.h.
2820         (TCMalloc_SpinLock):
2821         (TCMalloc_SpinLock::Lock):
2822         (TCMalloc_SpinLock::Unlock):
2823         (TCMalloc_SpinLock::IsHeld):
2824         (TCMalloc_SpinLock::Init):
2825         (TCMalloc_SpinLock::Finalize):
2826         (TCMalloc_SlowLock):
2827         (TCMalloc_SpinLockHolder):
2828         (TCMalloc_SpinLockHolder::TCMalloc_SpinLockHolder):
2829         (TCMalloc_SpinLockHolder::~TCMalloc_SpinLockHolder):
2830         * wtf/TCSystemAlloc.cpp: Renamed from Source/JavaScriptCore/wtf/TCSystemAlloc.cpp.
2831         (TrySbrk):
2832         (TryMmap):
2833         (TryVirtualAlloc):
2834         (TryDevMem):
2835         (TCMalloc_SystemAlloc):
2836         (TCMalloc_SystemRelease):
2837         (TCMalloc_SystemCommit):
2838         * wtf/TCSystemAlloc.h: Renamed from Source/JavaScriptCore/wtf/TCSystemAlloc.h.
2839         (TCMalloc_SystemRelease):
2840         (TCMalloc_SystemCommit):
2841         * wtf/TemporaryChange.h: Renamed from Source/JavaScriptCore/wtf/TemporaryChange.h.
2842         (WTF):
2843         (TemporaryChange):
2844         (WTF::TemporaryChange::TemporaryChange):
2845         (WTF::TemporaryChange::~TemporaryChange):
2846         * wtf/ThreadFunctionInvocation.h: Renamed from Source/JavaScriptCore/wtf/ThreadFunctionInvocation.h.
2847         (WTF):
2848         (WTF::ThreadFunctionInvocation::ThreadFunctionInvocation):
2849         (ThreadFunctionInvocation):
2850         * wtf/ThreadIdentifierDataPthreads.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadIdentifierDataPthreads.cpp.
2851         (WTF):
2852         (WTF::ThreadIdentifierData::~ThreadIdentifierData):
2853         (WTF::ThreadIdentifierData::initializeOnce):
2854         (WTF::ThreadIdentifierData::identifier):
2855         (WTF::ThreadIdentifierData::initialize):
2856         (WTF::ThreadIdentifierData::destruct):
2857         * wtf/ThreadIdentifierDataPthreads.h: Renamed from Source/JavaScriptCore/wtf/ThreadIdentifierDataPthreads.h.
2858         (WTF):
2859         (ThreadIdentifierData):
2860         (WTF::ThreadIdentifierData::ThreadIdentifierData):
2861         * wtf/ThreadRestrictionVerifier.h: Renamed from Source/JavaScriptCore/wtf/ThreadRestrictionVerifier.h.
2862         (WTF):
2863         (ThreadRestrictionVerifier):
2864         (WTF::ThreadRestrictionVerifier::ThreadRestrictionVerifier):
2865         (WTF::ThreadRestrictionVerifier::~ThreadRestrictionVerifier):
2866         (WTF::ThreadRestrictionVerifier::setMutexMode):
2867         (WTF::ThreadRestrictionVerifier::setDispatchQueueMode):
2868         (WTF::ThreadRestrictionVerifier::turnOffVerification):
2869         (WTF::ThreadRestrictionVerifier::setShared):
2870         (WTF::ThreadRestrictionVerifier::isSafeToUse):
2871         * wtf/ThreadSafeRefCounted.h: Renamed from Source/JavaScriptCore/wtf/ThreadSafeRefCounted.h.
2872         (WTF):
2873         (ThreadSafeRefCountedBase):
2874         (WTF::ThreadSafeRefCountedBase::ThreadSafeRefCountedBase):
2875         (WTF::ThreadSafeRefCountedBase::ref):
2876         (WTF::ThreadSafeRefCountedBase::hasOneRef):
2877         (WTF::ThreadSafeRefCountedBase::refCount):
2878         (WTF::ThreadSafeRefCountedBase::derefBase):
2879         (ThreadSafeRefCounted):
2880         (WTF::ThreadSafeRefCounted::deref):
2881         (WTF::ThreadSafeRefCounted::ThreadSafeRefCounted):
2882         * wtf/ThreadSpecific.h: Renamed from Source/JavaScriptCore/wtf/ThreadSpecific.h.
2883         (WTF):
2884         (ThreadSpecific):
2885         (Data):
2886         (WTF::ThreadSpecific::Data::Data):
2887         (WTF::::ThreadSpecific):
2888         (WTF::::get):
2889         (WTF::::set):
2890         (WTF::::~ThreadSpecific):
2891         (WTF::::destroy):
2892         (WTF::::isSet):
2893         (WTF::T):
2894         (WTF::::operator):
2895         * wtf/ThreadSpecificWin.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadSpecificWin.cpp.
2896         (WTF):
2897         (WTF::tlsKeyCount):
2898         (WTF::tlsKeys):
2899         (WTF::ThreadSpecificThreadExit):
2900         * wtf/Threading.cpp: Renamed from Source/JavaScriptCore/wtf/Threading.cpp.
2901         (WTF):
2902         (NewThreadContext):
2903         (WTF::NewThreadContext::NewThreadContext):
2904         (WTF::threadEntryPoint):
2905         (WTF::createThread):
2906         (WTF::ThreadFunctionWithReturnValueInvocation::ThreadFunctionWithReturnValueInvocation):
2907         (ThreadFunctionWithReturnValueInvocation):
2908         (WTF::compatEntryPoint):
2909         (WTF::waitForThreadCompletion):
2910         * wtf/Threading.h: Renamed from Source/JavaScriptCore/wtf/Threading.h.
2911         (WTF):
2912         * wtf/ThreadingNone.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingNone.cpp.
2913         * wtf/ThreadingPrimitives.h: Renamed from Source/JavaScriptCore/wtf/ThreadingPrimitives.h.
2914         (WTF):
2915         (PlatformMutex):
2916         (PlatformCondition):
2917         (Mutex):
2918         (WTF::Mutex::impl):
2919         (ReadWriteLock):
2920         (ThreadCondition):
2921         * wtf/ThreadingPthreads.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingPthreads.cpp.
2922         (WTF):
2923         (WTF::threadMapMutex):
2924         (WTF::initializeThreading):
2925         (WTF::lockAtomicallyInitializedStaticMutex):
2926         (WTF::unlockAtomicallyInitializedStaticMutex):
2927         (WTF::threadMap):
2928         (WTF::identifierByPthreadHandle):
2929         (WTF::establishIdentifierForPthreadHandle):
2930         (WTF::pthreadHandleForIdentifier):
2931         (WTF::clearPthreadHandleForIdentifier):
2932         (WTF::wtfThreadEntryPoint):
2933         (WTF::createThreadInternal):
2934         (WTF::initializeCurrentThreadInternal):
2935         (WTF::waitForThreadCompletion):
2936         (WTF::detachThread):
2937         (WTF::yield):
2938         (WTF::currentThread):
2939         (WTF::Mutex::Mutex):
2940         (WTF::Mutex::~Mutex):
2941         (WTF::Mutex::lock):
2942         (WTF::Mutex::tryLock):
2943         (WTF::Mutex::unlock):
2944         (WTF::ReadWriteLock::ReadWriteLock):
2945         (WTF::ReadWriteLock::~ReadWriteLock):
2946         (WTF::ReadWriteLock::readLock):
2947         (WTF::ReadWriteLock::tryReadLock):
2948         (WTF::ReadWriteLock::writeLock):
2949         (WTF::ReadWriteLock::tryWriteLock):
2950         (WTF::ReadWriteLock::unlock):
2951         (WTF::ThreadCondition::ThreadCondition):
2952         (WTF::ThreadCondition::~ThreadCondition):
2953         (WTF::ThreadCondition::wait):
2954         (WTF::ThreadCondition::timedWait):
2955         (WTF::ThreadCondition::signal):
2956         (WTF::ThreadCondition::broadcast):
2957         * wtf/ThreadingWin.cpp: Renamed from Source/JavaScriptCore/wtf/ThreadingWin.cpp.
2958         (WTF):
2959         (tagTHREADNAME_INFO):
2960         (WTF::initializeCurrentThreadInternal):
2961         (WTF::lockAtomicallyInitializedStaticMutex):
2962         (WTF::unlockAtomicallyInitializedStaticMutex):
2963         (WTF::threadMapMutex):
2964         (WTF::initializeThreading):
2965         (WTF::threadMap):
2966         (WTF::storeThreadHandleByIdentifier):
2967         (WTF::threadHandleForIdentifier):
2968         (WTF::clearThreadHandleForIdentifier):
2969         (WTF::wtfThreadEntryPoint):
2970         (WTF::createThreadInternal):
2971         (WTF::waitForThreadCompletion):
2972         (WTF::detachThread):
2973         (WTF::yield):
2974         (WTF::currentThread):
2975         (WTF::Mutex::Mutex):
2976         (WTF::Mutex::~Mutex):
2977         (WTF::Mutex::lock):
2978         (WTF::Mutex::tryLock):
2979         (WTF::Mutex::unlock):
2980         (WTF::PlatformCondition::timedWait):
2981         (WTF::PlatformCondition::signal):
2982         (WTF::ThreadCondition::ThreadCondition):
2983         (WTF::ThreadCondition::~ThreadCondition):
2984         (WTF::ThreadCondition::wait):
2985         (WTF::ThreadCondition::timedWait):
2986         (WTF::ThreadCondition::signal):
2987         (WTF::ThreadCondition::broadcast):
2988         (WTF::absoluteTimeToWaitTimeoutInterval):
2989         * wtf/TypeTraits.cpp: Renamed from Source/JavaScriptCore/wtf/TypeTraits.cpp.
2990         (WTF):
2991         * wtf/TypeTraits.h: Renamed from Source/JavaScriptCore/wtf/TypeTraits.h.
2992         (WTF):
2993         (IsConvertibleToInteger):
2994         (IsArray):
2995         (IsSameType):
2996         (IsSubclass):
2997         (NoType):
2998         (IsSubclassOfTemplate):
2999         (RemoveTemplate):
3000         (RemoveConst):
3001         (RemoveVolatile):
3002         (RemoveConstVolatile):
3003         (RemovePointer):
3004         (RemoveReference):
3005         (RemoveExtent):
3006         (DecayArray):
3007         (IntegralConstant):
3008         * wtf/TypedArrayBase.h: Renamed from Source/JavaScriptCore/wtf/TypedArrayBase.h.
3009         (WTF):
3010         (TypedArrayBase):
3011         (WTF::TypedArrayBase::data):
3012         (WTF::TypedArrayBase::set):
3013         (WTF::TypedArrayBase::setRange):
3014         (WTF::TypedArrayBase::zeroRange):
3015         (WTF::TypedArrayBase::length):
3016         (WTF::TypedArrayBase::byteLength):
3017         (WTF::TypedArrayBase::TypedArrayBase):
3018         (WTF::TypedArrayBase::create):
3019         (WTF::TypedArrayBase::subarrayImpl):
3020         (WTF::TypedArrayBase::neuter):
3021         * wtf/Uint16Array.h: Renamed from Source/JavaScriptCore/wtf/Uint16Array.h.
3022         (WTF):
3023         (Uint16Array):
3024         (WTF::Uint16Array::set):
3025         (WTF::Uint16Array::isUnsignedShortArray):
3026         (WTF::Uint16Array::create):
3027         (WTF::Uint16Array::Uint16Array):
3028         (WTF::Uint16Array::subarray):
3029         * wtf/Uint32Array.h: Renamed from Source/JavaScriptCore/wtf/Uint32Array.h.
3030         (WTF):
3031         (Uint32Array):
3032         (WTF::Uint32Array::set):
3033         (WTF::Uint32Array::isUnsignedIntArray):
3034         (WTF::Uint32Array::create):
3035         (WTF::Uint32Array::Uint32Array):
3036         (WTF::Uint32Array::subarray):
3037         * wtf/Uint8Array.h: Renamed from Source/JavaScriptCore/wtf/Uint8Array.h.
3038         (WTF):
3039         (Uint8Array):
3040         (WTF::Uint8Array::set):
3041         (WTF::Uint8Array::isUnsignedByteArray):
3042         (WTF::Uint8Array::create):
3043         (WTF::Uint8Array::Uint8Array):
3044         (WTF::Uint8Array::subarray):
3045         * wtf/Uint8ClampedArray.h: Renamed from Source/JavaScriptCore/wtf/Uint8ClampedArray.h.
3046         (WTF):
3047         (Uint8ClampedArray):
3048         (WTF::Uint8ClampedArray::set):
3049         (WTF::Uint8ClampedArray::isUnsignedByteClampedArray):
3050         (WTF::Uint8ClampedArray::create):
3051         (WTF::Uint8ClampedArray::Uint8ClampedArray):
3052         (WTF::Uint8ClampedArray::subarray):
3053         * wtf/UnionFind.h: Renamed from Source/JavaScriptCore/wtf/UnionFind.h.
3054         (WTF):
3055         (UnionFind):
3056         (WTF::UnionFind::UnionFind):
3057         (WTF::UnionFind::find):
3058         (WTF::UnionFind::unify):
3059         * wtf/UnusedParam.h: Renamed from Source/JavaScriptCore/wtf/UnusedParam.h.
3060         (unusedParam):
3061         * wtf/VMTags.h: Renamed from Source/JavaScriptCore/wtf/VMTags.h.
3062         * wtf/ValueCheck.h: Renamed from Source/JavaScriptCore/wtf/ValueCheck.h.
3063         (WTF):
3064         (ValueCheck):
3065         (WTF::ValueCheck::checkConsistency):
3066         * wtf/Vector.h: Renamed from Source/JavaScriptCore/wtf/Vector.h.
3067         (WTF):
3068         (WTF::VectorTypeOperations::destruct):
3069         (VectorTypeOperations):
3070         (WTF::VectorTypeOperations::initialize):
3071         (WTF::VectorTypeOperations::move):
3072         (WTF::VectorTypeOperations::moveOverlapping):
3073         (WTF::VectorTypeOperations::uninitializedCopy):
3074         (WTF::VectorTypeOperations::uninitializedFill):
3075         (WTF::VectorTypeOperations::compare):
3076         (VectorBufferBase):
3077         (WTF::VectorBufferBase::allocateBuffer):
3078         (WTF::VectorBufferBase::tryAllocateBuffer):
3079         (WTF::VectorBufferBase::deallocateBuffer):
3080         (WTF::VectorBufferBase::buffer):
3081         (WTF::VectorBufferBase::bufferSlot):
3082         (WTF::VectorBufferBase::capacity):
3083         (WTF::VectorBufferBase::releaseBuffer):
3084         (WTF::VectorBufferBase::VectorBufferBase):
3085         (WTF::VectorBufferBase::~VectorBufferBase):
3086         (VectorBuffer):
3087         (WTF::VectorBuffer::VectorBuffer):
3088         (WTF::VectorBuffer::~VectorBuffer):
3089         (WTF::VectorBuffer::allocateBuffer):
3090         (WTF::VectorBuffer::tryAllocateBuffer):
3091         (WTF::VectorBuffer::deallocateBuffer):
3092         (WTF::VectorBuffer::swap):
3093         (WTF::VectorBuffer::restoreInlineBufferIfNeeded):
3094         (WTF::VectorBuffer::releaseBuffer):
3095         (WTF::VectorBuffer::inlineBuffer):
3096         (Vector):
3097         (WTF::Vector::Vector):
3098         (WTF::Vector::~Vector):
3099         (WTF::Vector::size):
3100         (WTF::Vector::capacity):
3101         (WTF::Vector::isEmpty):
3102         (WTF::Vector::at):
3103         (WTF::Vector::operator[]):
3104         (WTF::Vector::data):
3105         (WTF::Vector::dataSlot):
3106         (WTF::Vector::begin):
3107         (WTF::Vector::end):
3108         (WTF::Vector::rbegin):
3109         (WTF::Vector::rend):
3110         (WTF::Vector::reversed):
3111         (WTF::Vector::first):
3112         (WTF::Vector::last):
3113         (WTF::Vector::shrinkToFit):
3114         (WTF::Vector::clear):
3115         (WTF::Vector::removeLast):
3116         (WTF::Vector::fill):
3117         (WTF::Vector::swap):
3118         (VectorReverseProxy):
3119         (WTF::Vector::VectorReverseProxy::begin):
3120         (WTF::Vector::VectorReverseProxy::end):
3121         (WTF::operator<<):
3122         (WTF::operator>>):
3123         (WTF::::Vector):
3124         (WTF::=):
3125         (WTF::typelessPointersAreEqual):
3126         (WTF::::contains):
3127         (WTF::::find):
3128         (WTF::::reverseFind):
3129         (WTF::::fill):
3130         (WTF::::appendRange):
3131         (WTF::::expandCapacity):
3132         (WTF::::tryExpandCapacity):
3133         (WTF::::resize):
3134         (WTF::::shrink):
3135         (WTF::::grow):
3136         (WTF::::reserveCapacity):
3137         (WTF::::tryReserveCapacity):
3138         (WTF::::reserveInitialCapacity):
3139         (WTF::::shrinkCapacity):
3140         (WTF::::append):
3141         (WTF::::tryAppend):
3142         (WTF::::appendSlowCase):
3143         (WTF::::uncheckedAppend):
3144         (WTF::::insert):
3145         (WTF::::prepend):
3146         (WTF::::remove):
3147         (WTF::::reverse):
3148         (WTF::::releaseBuffer):
3149         (WTF::::checkConsistency):
3150         (WTF::deleteAllValues):
3151         (WTF::swap):
3152         (WTF::operator==):
3153         (WTF::operator!=):
3154         * wtf/VectorTraits.h: Renamed from Source/JavaScriptCore/wtf/VectorTraits.h.
3155         (WTF):
3156         (SimpleClassVectorTraits):
3157         * wtf/WTFThreadData.cpp: Renamed from Source/JavaScriptCore/wtf/WTFThreadData.cpp.
3158         (WTF):
3159         (WTF::WTFThreadData::WTFThreadData):
3160         (WTF::WTFThreadData::~WTFThreadData):
3161         (JSC):
3162         (JSC::IdentifierTable::~IdentifierTable):
3163         (JSC::IdentifierTable::add):
3164         * wtf/WTFThreadData.h: Renamed from Source/JavaScriptCore/wtf/WTFThreadData.h.
3165         (JSC):
3166         (IdentifierTable):
3167         (JSC::IdentifierTable::remove):
3168         (JSC::IdentifierTable::literalTable):
3169         (WTF):
3170         (WTFThreadData):
3171         (WTF::WTFThreadData::atomicStringTable):
3172         (WTF::WTFThreadData::currentIdentifierTable):
3173         (WTF::WTFThreadData::setCurrentIdentifierTable):
3174         (WTF::WTFThreadData::resetCurrentIdentifierTable):
3175         (WTF::WTFThreadData::stack):
3176         (WTF::wtfThreadData):
3177         * wtf/blackberry/MainThreadBlackBerry.cpp: Renamed from Source/JavaScriptCore/wtf/blackberry/MainThreadBlackBerry.cpp.
3178         (WTF):
3179         (WTF::initializeMainThreadPlatform):
3180         (WTF::scheduleDispatchFunctionsOnMainThread):
3181         * wtf/chromium/ChromiumThreading.h: Renamed from Source/JavaScriptCore/wtf/chromium/ChromiumThreading.h.
3182         (WTF):
3183         (ChromiumThreading):
3184         * wtf/chromium/MainThreadChromium.cpp: Renamed from Source/JavaScriptCore/wtf/chromium/MainThreadChromium.cpp.
3185         (WTF):
3186         (WTF::initializeMainThread):
3187         (WTF::callOnMainThread):
3188         (WTF::callOnMainThreadAndWait):
3189         (WTF::setMainThreadCallbacksPaused):
3190         (WTF::isMainThread):
3191         * wtf/dtoa.cpp: Renamed from Source/JavaScriptCore/wtf/dtoa.cpp.
3192         (WTF):
3193         (WTF::storeInc):
3194         (WTF::BigInt::BigInt):
3195         (BigInt):
3196         (WTF::BigInt::clear):
3197         (WTF::BigInt::size):
3198         (WTF::BigInt::resize):
3199         (WTF::BigInt::words):
3200         (WTF::BigInt::append):
3201         (WTF::multadd):
3202         (WTF::hi0bits):
3203         (WTF::lo0bits):
3204         (WTF::i2b):
3205         (WTF::mult):
3206         (P5Node):
3207         (WTF::P5Node::P5Node):
3208         (WTF::pow5mult):
3209         (WTF::lshift):
3210         (WTF::cmp):
3211         (WTF::diff):
3212         (WTF::d2b):
3213         (WTF::strtod):
3214         (WTF::quorem):
3215         (WTF::dtoa):
3216         * wtf/dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa.h.
3217         (WTF):
3218         * wtf/dtoa/COPYING: Renamed from Source/JavaScriptCore/wtf/dtoa/COPYING.
3219         * wtf/dtoa/LICENSE: Renamed from Source/JavaScriptCore/wtf/dtoa/LICENSE.
3220         * wtf/dtoa/README: Renamed from Source/JavaScriptCore/wtf/dtoa/README.
3221         * wtf/dtoa/bignum-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum-dtoa.cc.
3222         * wtf/dtoa/bignum-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum-dtoa.h.
3223         (WTF):
3224         (double_conversion):
3225         * wtf/dtoa/bignum.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum.cc.
3226         * wtf/dtoa/bignum.h: Renamed from Source/JavaScriptCore/wtf/dtoa/bignum.h.
3227         (WTF):
3228         (double_conversion):
3229         (Bignum):
3230         (WTF::double_conversion::Bignum::Times10):
3231         (WTF::double_conversion::Bignum::Equal):
3232         (WTF::double_conversion::Bignum::LessEqual):
3233         (WTF::double_conversion::Bignum::Less):
3234         (WTF::double_conversion::Bignum::PlusEqual):
3235         (WTF::double_conversion::Bignum::PlusLessEqual):
3236         (WTF::double_conversion::Bignum::PlusLess):
3237         (WTF::double_conversion::Bignum::EnsureCapacity):
3238         (WTF::double_conversion::Bignum::BigitLength):
3239         * wtf/dtoa/cached-powers.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/cached-powers.cc.
3240         * wtf/dtoa/cached-powers.h: Renamed from Source/JavaScriptCore/wtf/dtoa/cached-powers.h.
3241         (WTF):
3242         (double_conversion):
3243         (PowersOfTenCache):
3244         * wtf/dtoa/diy-fp.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/diy-fp.cc.
3245         * wtf/dtoa/diy-fp.h: Renamed from Source/JavaScriptCore/wtf/dtoa/diy-fp.h.
3246         (WTF):
3247         (double_conversion):
3248         (DiyFp):
3249         (WTF::double_conversion::DiyFp::DiyFp):
3250         (WTF::double_conversion::DiyFp::Subtract):
3251         (WTF::double_conversion::DiyFp::Minus):
3252         (WTF::double_conversion::DiyFp::Times):
3253         (WTF::double_conversion::DiyFp::Normalize):
3254         (WTF::double_conversion::DiyFp::f):
3255         (WTF::double_conversion::DiyFp::e):
3256         (WTF::double_conversion::DiyFp::set_f):
3257         (WTF::double_conversion::DiyFp::set_e):
3258         * wtf/dtoa/double-conversion.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/double-conversion.cc.
3259         * wtf/dtoa/double-conversion.h: Renamed from Source/JavaScriptCore/wtf/dtoa/double-conversion.h.
3260         (WTF):
3261         (double_conversion):
3262         (DoubleToStringConverter):
3263         (WTF::double_conversion::DoubleToStringConverter::DoubleToStringConverter):
3264         (StringToDoubleConverter):
3265         (WTF::double_conversion::StringToDoubleConverter::StringToDoubleConverter):
3266         * wtf/dtoa/double.h: Renamed from Source/JavaScriptCore/wtf/dtoa/double.h.
3267         (WTF):
3268         (double_conversion):
3269         (WTF::double_conversion::double_to_uint64):
3270         (WTF::double_conversion::uint64_to_double):
3271         (Double):
3272         (WTF::double_conversion::Double::Double):
3273         (WTF::double_conversion::Double::AsDiyFp):
3274         (WTF::double_conversion::Double::AsNormalizedDiyFp):
3275         (WTF::double_conversion::Double::AsUint64):
3276         (WTF::double_conversion::Double::NextDouble):
3277         (WTF::double_conversion::Double::Exponent):
3278         (WTF::double_conversion::Double::Significand):
3279         (WTF::double_conversion::Double::IsDenormal):
3280         (WTF::double_conversion::Double::IsSpecial):
3281         (WTF::double_conversion::Double::IsNan):
3282         (WTF::double_conversion::Double::IsInfinite):
3283         (WTF::double_conversion::Double::Sign):
3284         (WTF::double_conversion::Double::UpperBoundary):
3285         (WTF::double_conversion::Double::NormalizedBoundaries):
3286         (WTF::double_conversion::Double::value):
3287         (WTF::double_conversion::Double::SignificandSizeForOrderOfMagnitude):
3288         (WTF::double_conversion::Double::Infinity):
3289         (WTF::double_conversion::Double::NaN):
3290         (WTF::double_conversion::Double::DiyFpToUint64):
3291         * wtf/dtoa/fast-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/fast-dtoa.cc.
3292         * wtf/dtoa/fast-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/fast-dtoa.h.
3293         (WTF):
3294         (double_conversion):
3295         * wtf/dtoa/fixed-dtoa.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/fixed-dtoa.cc.
3296         * wtf/dtoa/fixed-dtoa.h: Renamed from Source/JavaScriptCore/wtf/dtoa/fixed-dtoa.h.
3297         (WTF):
3298         (double_conversion):
3299         * wtf/dtoa/strtod.cc: Renamed from Source/JavaScriptCore/wtf/dtoa/strtod.cc.
3300         * wtf/dtoa/strtod.h: Renamed from Source/JavaScriptCore/wtf/dtoa/strtod.h.
3301         (WTF):
3302         (double_conversion):
3303         * wtf/dtoa/utils.h: Renamed from Source/JavaScriptCore/wtf/dtoa/utils.h.
3304         (WTF):
3305         (double_conversion):
3306         (WTF::double_conversion::Max):
3307         (WTF::double_conversion::Min):
3308         (WTF::double_conversion::StrLength):
3309         (Vector):
3310         (WTF::double_conversion::Vector::Vector):
3311         (WTF::double_conversion::Vector::SubVector):
3312         (WTF::double_conversion::Vector::length):
3313         (WTF::double_conversion::Vector::is_empty):
3314         (WTF::double_conversion::Vector::start):
3315         (WTF::double_conversion::Vector::operator[]):
3316         (WTF::double_conversion::Vector::first):
3317         (WTF::double_conversion::Vector::last):
3318         (StringBuilder):
3319         (WTF::double_conversion::StringBuilder::StringBuilder):
3320         (WTF::double_conversion::StringBuilder::~StringBuilder):
3321         (WTF::double_conversion::StringBuilder::size):
3322         (WTF::double_conversion::StringBuilder::position):
3323         (WTF::double_conversion::StringBuilder::SetPosition):
3324         (WTF::double_conversion::StringBuilder::Reset):
3325         (WTF::double_conversion::StringBuilder::AddCharacter):
3326         (WTF::double_conversion::StringBuilder::AddString):
3327         (WTF::double_conversion::StringBuilder::AddSubstring):
3328         (WTF::double_conversion::StringBuilder::AddPadding):
3329         (WTF::double_conversion::StringBuilder::Finalize):
3330         (WTF::double_conversion::StringBuilder::is_finalized):
3331         (WTF::double_conversion::BitCast):
3332         * wtf/efl/MainThreadEfl.cpp: Renamed from Source/JavaScriptCore/wtf/efl/MainThreadEfl.cpp.
3333         (WTF):
3334         (WTF::pipeObject):
3335         (WTF::monitorDispatchFunctions):
3336         (WTF::initializeMainThreadPlatform):
3337         (WTF::scheduleDispatchFunctionsOnMainThread):
3338         * wtf/efl/OwnPtrEfl.cpp: Renamed from Source/JavaScriptCore/wtf/efl/OwnPtrEfl.cpp.
3339         (WTF):
3340         (WTF::deleteOwnedPtr):
3341         * wtf/gobject/GOwnPtr.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GOwnPtr.cpp.
3342         (WTF):
3343         (WTF::GError):
3344         (WTF::GList):
3345         (WTF::GSList):
3346         (WTF::GPatternSpec):
3347         (WTF::GDir):
3348         (WTF::GTimer):
3349         (WTF::GKeyFile):
3350         * wtf/gobject/GOwnPtr.h: Renamed from Source/JavaScriptCore/wtf/gobject/GOwnPtr.h.
3351         (WTF):
3352         (GOwnPtr):
3353         (WTF::GOwnPtr::GOwnPtr):
3354         (WTF::GOwnPtr::~GOwnPtr):
3355         (WTF::GOwnPtr::get):
3356         (WTF::GOwnPtr::release):
3357         (WTF::GOwnPtr::outPtr):
3358         (WTF::GOwnPtr::set):
3359         (WTF::GOwnPtr::clear):
3360         (WTF::GOwnPtr::operator*):
3361         (WTF::GOwnPtr::operator->):
3362         (WTF::GOwnPtr::operator!):
3363         (WTF::GOwnPtr::operator UnspecifiedBoolType):
3364         (WTF::GOwnPtr::swap):
3365         (WTF::swap):
3366         (WTF::operator==):
3367         (WTF::operator!=):
3368         (WTF::getPtr):
3369         (WTF::freeOwnedGPtr):
3370         * wtf/gobject/GRefPtr.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GRefPtr.cpp.
3371         (WTF):
3372         (WTF::refGPtr):
3373         (WTF::derefGPtr):
3374         (_GVariant):
3375         * wtf/gobject/GRefPtr.h: Renamed from Source/JavaScriptCore/wtf/gobject/GRefPtr.h.
3376         (WTF):
3377         (GRefPtr):
3378         (WTF::GRefPtr::GRefPtr):
3379         (WTF::GRefPtr::~GRefPtr):
3380         (WTF::GRefPtr::clear):
3381         (WTF::GRefPtr::isHashTableDeletedValue):
3382         (WTF::GRefPtr::get):
3383         (WTF::GRefPtr::operator*):
3384         (WTF::GRefPtr::operator->):
3385         (WTF::GRefPtr::operator!):
3386         (WTF::GRefPtr::operator UnspecifiedBoolType):
3387         (WTF::GRefPtr::hashTableDeletedValue):
3388         (WTF::=):
3389         (WTF::::swap):
3390         (WTF::swap):
3391         (WTF::operator==):
3392         (WTF::operator!=):
3393         (WTF::static_pointer_cast):
3394         (WTF::const_pointer_cast):
3395         (WTF::getPtr):
3396         (WTF::adoptGRef):
3397         (WTF::refGPtr):
3398         (WTF::derefGPtr):
3399         * wtf/gobject/GTypedefs.h: Renamed from Source/JavaScriptCore/wtf/gobject/GTypedefs.h.
3400         * wtf/gobject/GlibUtilities.cpp: Renamed from Source/JavaScriptCore/wtf/gobject/GlibUtilities.cpp.
3401         (getCurrentExecutablePath):
3402         * wtf/gobject/GlibUtilities.h: Renamed from Source/JavaScriptCore/wtf/gobject/GlibUtilities.h.
3403         * wtf/gtk/MainThreadGtk.cpp: Renamed from Source/JavaScriptCore/wtf/gtk/MainThreadGtk.cpp.
3404         (WTF):
3405         (WTF::initializeMainThreadPlatform):
3406         (WTF::timeoutFired):
3407         (WTF::scheduleDispatchFunctionsOnMainThread):
3408         * wtf/mac/MainThreadMac.mm: Renamed from Source/JavaScriptCore/wtf/mac/MainThreadMac.mm.
3409         (-[JSWTFMainThreadCaller call]):
3410         (WTF):
3411         (WTF::initializeMainThreadPlatform):
3412         (WTF::initializeMainThreadToProcessMainThreadPlatform):
3413         (WTF::timerFired):
3414         (WTF::postTimer):
3415         (WTF::scheduleDispatchFunctionsOnMainThread):
3416         (WTF::isMainThread):
3417         * wtf/qt/MainThreadQt.cpp: Renamed from Source/JavaScriptCore/wtf/qt/MainThreadQt.cpp.
3418         (WTF):
3419         (MainThreadInvoker):
3420         (WTF::MainThreadInvoker::MainThreadInvoker):
3421         (WTF::MainThreadInvoker::event):
3422         (WTF::initializeMainThreadPlatform):
3423         (WTF::scheduleDispatchFunctionsOnMainThread):
3424         * wtf/qt/StringQt.cpp: Renamed from Source/JavaScriptCore/wtf/qt/StringQt.cpp.
3425         (WTF):
3426         (WTF::String::String):
3427         (WTF::String::operator QString):
3428         (WTF::operator<<):
3429         (WTF::operator>>):
3430         * wtf/qt/UtilsQt.h: Renamed from Source/JavaScriptCore/wtf/qt/UtilsQt.h.
3431         (escapeHtml):
3432         * wtf/qt/compat/QGuiApplication: Renamed from Source/JavaScriptCore/wtf/qt/compat/QGuiApplication.
3433         * wtf/qt/compat/qguiapplication.h: Renamed from Source/JavaScriptCore/wtf/qt/compat/qguiapplication.h.
3434         (QGuiApplication):
3435         (QGuiApplication::styleHints):
3436         * wtf/text/ASCIIFastPath.h: Renamed from Source/JavaScriptCore/wtf/text/ASCIIFastPath.h.
3437         (WTF):
3438         (WTF::isAlignedToMachineWord):
3439         (WTF::alignToMachineWord):
3440         (WTF::isAllASCII):
3441         (WTF::charactersAreAllASCII):
3442         * wtf/text/AtomicString.cpp: Renamed from Source/JavaScriptCore/wtf/text/AtomicString.cpp.
3443         (WTF):
3444         (AtomicStringTable):
3445         (WTF::AtomicStringTable::create):
3446         (WTF::AtomicStringTable::table):
3447         (WTF::AtomicStringTable::destroy):
3448         (WTF::stringTable):
3449         (WTF::addToStringTable):
3450         (WTF::CStringTranslator::hash):
3451         (CStringTranslator):
3452         (WTF::CStringTranslator::equal):
3453         (WTF::CStringTranslator::translate):
3454         (WTF::AtomicString::add):
3455         (UCharBuffer):
3456         (WTF::UCharBufferTranslator::hash):
3457         (UCharBufferTranslator):
3458         (WTF::UCharBufferTranslator::equal):
3459         (WTF::UCharBufferTranslator::translate):
3460         (HashAndCharacters):
3461         (WTF::HashAndCharactersTranslator::hash):
3462         (HashAndCharactersTranslator):
3463         (WTF::HashAndCharactersTranslator::equal):
3464         (WTF::HashAndCharactersTranslator::translate):
3465         (HashAndUTF8Characters):
3466         (WTF::HashAndUTF8CharactersTranslator::hash):
3467         (HashAndUTF8CharactersTranslator):
3468         (WTF::HashAndUTF8CharactersTranslator::equal):
3469         (WTF::HashAndUTF8CharactersTranslator::translate):
3470         (SubstringLocation):
3471         (WTF::SubstringTranslator::hash):
3472         (SubstringTranslator):
3473         (WTF::SubstringTranslator::equal):
3474         (WTF::SubstringTranslator::translate):
3475         (WTF::AtomicString::addSlowCase):
3476         (WTF::AtomicString::find):
3477         (WTF::AtomicString::remove):
3478         (WTF::AtomicString::lower):
3479         (WTF::AtomicString::fromUTF8Internal):
3480         (WTF::AtomicString::show):
3481         * wtf/text/AtomicString.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicString.h.
3482         (WTF):
3483         (AtomicString):
3484         (WTF::AtomicString::AtomicString):
3485         (WTF::AtomicString::isHashTableDeletedValue):
3486         (WTF::AtomicString::operator const String&):
3487         (WTF::AtomicString::string):
3488         (WTF::AtomicString::impl):
3489         (WTF::AtomicString::characters):
3490         (WTF::AtomicString::length):
3491         (WTF::AtomicString::operator[]):
3492         (WTF::AtomicString::contains):
3493         (WTF::AtomicString::find):
3494         (WTF::AtomicString::startsWith):
3495         (WTF::AtomicString::endsWith):
3496         (WTF::AtomicString::upper):
3497         (WTF::AtomicString::toInt):
3498         (WTF::AtomicString::toDouble):
3499         (WTF::AtomicString::toFloat):
3500         (WTF::AtomicString::percentage):
3501         (WTF::AtomicString::isNull):
3502         (WTF::AtomicString::isEmpty):
3503         (WTF::AtomicString::createCFString):
3504         (WTF::AtomicString::operator NSString*):
3505         (WTF::AtomicString::operator QString):
3506         (WTF::AtomicString::add):
3507         (WTF::operator==):
3508         (WTF::operator!=):
3509         (WTF::equalIgnoringCase):
3510         (WTF::AtomicString::fromUTF8):
3511         * wtf/text/AtomicStringHash.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicStringHash.h.
3512         (WTF):
3513         (WTF::AtomicStringHash::hash):
3514         (AtomicStringHash):
3515         (WTF::AtomicStringHash::equal):
3516         * wtf/text/AtomicStringImpl.h: Renamed from Source/JavaScriptCore/wtf/text/AtomicStringImpl.h.
3517         (WTF):
3518         (AtomicStringImpl):
3519         (WTF::AtomicStringImpl::AtomicStringImpl):
3520         * wtf/text/CString.cpp: Renamed from Source/JavaScriptCore/wtf/text/CString.cpp.
3521         (WTF):
3522         (WTF::CString::CString):
3523         (WTF::CString::init):
3524         (WTF::CString::mutableData):
3525         (WTF::CString::newUninitialized):
3526         (WTF::CString::copyBufferIfNeeded):
3527         (WTF::operator==):
3528         * wtf/text/CString.h: Renamed from Source/JavaScriptCore/wtf/text/CString.h.
3529         (WTF):
3530         (CStringBuffer):
3531         (WTF::CStringBuffer::data):
3532         (WTF::CStringBuffer::length):
3533         (WTF::CStringBuffer::create):
3534         (WTF::CStringBuffer::CStringBuffer):
3535         (WTF::CStringBuffer::mutableData):
3536         (CString):
3537         (WTF::CString::CString):
3538         (WTF::CString::data):
3539         (WTF::CString::length):
3540         (WTF::CString::isNull):
3541         (WTF::CString::buffer):
3542         (WTF::operator!=):
3543         * wtf/text/StringBuffer.h: Renamed from Source/JavaScriptCore/wtf/text/StringBuffer.h.
3544         (WTF):
3545         (StringBuffer):
3546         (WTF::StringBuffer::StringBuffer):
3547         (WTF::StringBuffer::~StringBuffer):
3548         (WTF::StringBuffer::shrink):
3549         (WTF::StringBuffer::resize):
3550         (WTF::StringBuffer::length):
3551         (WTF::StringBuffer::characters):
3552         (WTF::StringBuffer::operator[]):
3553         (WTF::StringBuffer::release):
3554         * wtf/text/StringBuilder.cpp: Renamed from Source/JavaScriptCore/wtf/text/StringBuilder.cpp.
3555         (WTF):
3556         (WTF::StringBuilder::reifyString):
3557         (WTF::StringBuilder::resize):
3558         (WTF::StringBuilder::allocateBuffer):
3559         (WTF::StringBuilder::allocateBufferUpConvert):
3560         (WTF::LChar):
3561         (WTF::UChar):
3562         (WTF::StringBuilder::reserveCapacity):
3563         (WTF::StringBuilder::appendUninitialized):
3564         (WTF::StringBuilder::appendUninitializedSlow):
3565         (WTF::StringBuilder::append):
3566         (WTF::StringBuilder::canShrink):
3567         (WTF::StringBuilder::shrinkToFit):
3568         * wtf/text/StringBuilder.h: Renamed from Source/JavaScriptCore/wtf/text/StringBuilder.h.
3569         (WTF):
3570         (StringBuilder):
3571         (WTF::StringBuilder::StringBuilder):
3572         (WTF::StringBuilder::append):
3573         (WTF::StringBuilder::toString):
3574         (WTF::StringBuilder::toStringPreserveCapacity):
3575         (WTF::StringBuilder::toAtomicString):
3576         (WTF::StringBuilder::length):
3577         (WTF::StringBuilder::isEmpty):
3578         (WTF::StringBuilder::capaci