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