OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. |
3 * Copyright (C) 2007-2009 Torch Mobile, Inc. | 3 * Copyright (C) 2007-2009 Torch Mobile, Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 10 matching lines...) Expand all Loading... |
21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
25 */ | 25 */ |
26 | 26 |
27 #include "config.h" | 27 #include "config.h" |
28 #include "wtf/text/TextEncodingRegistry.h" | 28 #include "wtf/text/TextEncodingRegistry.h" |
29 | 29 |
30 #include "wtf/ASCIICType.h" | 30 #include "wtf/ASCIICType.h" |
| 31 #include "wtf/Atomics.h" |
31 #include "wtf/CurrentTime.h" | 32 #include "wtf/CurrentTime.h" |
32 #include "wtf/HashMap.h" | 33 #include "wtf/HashMap.h" |
33 #include "wtf/HashSet.h" | 34 #include "wtf/HashSet.h" |
34 #include "wtf/MainThread.h" | 35 #include "wtf/MainThread.h" |
35 #include "wtf/StdLibExtras.h" | 36 #include "wtf/StdLibExtras.h" |
36 #include "wtf/StringExtras.h" | 37 #include "wtf/StringExtras.h" |
37 #include "wtf/ThreadingPrimitives.h" | 38 #include "wtf/ThreadingPrimitives.h" |
38 #include "wtf/text/CString.h" | 39 #include "wtf/text/CString.h" |
39 #include "wtf/text/TextCodecICU.h" | 40 #include "wtf/text/TextCodecICU.h" |
40 #include "wtf/text/TextCodecLatin1.h" | 41 #include "wtf/text/TextCodecLatin1.h" |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 MutexLocker lock(encodingRegistryMutex()); | 326 MutexLocker lock(encodingRegistryMutex()); |
326 | 327 |
327 TextEncodingNameMap::const_iterator it = textEncodingNameMap->begin(); | 328 TextEncodingNameMap::const_iterator it = textEncodingNameMap->begin(); |
328 TextEncodingNameMap::const_iterator end = textEncodingNameMap->end(); | 329 TextEncodingNameMap::const_iterator end = textEncodingNameMap->end(); |
329 for (; it != end; ++it) | 330 for (; it != end; ++it) |
330 fprintf(stderr, "'%s' => '%s'\n", it->key, it->value); | 331 fprintf(stderr, "'%s' => '%s'\n", it->key, it->value); |
331 } | 332 } |
332 #endif | 333 #endif |
333 | 334 |
334 } // namespace WTF | 335 } // namespace WTF |
OLD | NEW |