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