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