| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 return a.name() == b.name(); | 71 return a.name() == b.name(); |
| 72 } | 72 } |
| 73 inline bool operator!=(const TextEncoding& a, const TextEncoding& b) { | 73 inline bool operator!=(const TextEncoding& a, const TextEncoding& b) { |
| 74 return a.name() != b.name(); | 74 return a.name() != b.name(); |
| 75 } | 75 } |
| 76 | 76 |
| 77 WTF_EXPORT const TextEncoding& ASCIIEncoding(); | 77 WTF_EXPORT const TextEncoding& ASCIIEncoding(); |
| 78 WTF_EXPORT const TextEncoding& Latin1Encoding(); | 78 WTF_EXPORT const TextEncoding& Latin1Encoding(); |
| 79 WTF_EXPORT const TextEncoding& UTF16BigEndianEncoding(); | 79 WTF_EXPORT const TextEncoding& UTF16BigEndianEncoding(); |
| 80 WTF_EXPORT const TextEncoding& UTF16LittleEndianEncoding(); | 80 WTF_EXPORT const TextEncoding& UTF16LittleEndianEncoding(); |
| 81 WTF_EXPORT const TextEncoding& UTF32Encoding(); |
| 81 WTF_EXPORT const TextEncoding& UTF32BigEndianEncoding(); | 82 WTF_EXPORT const TextEncoding& UTF32BigEndianEncoding(); |
| 82 WTF_EXPORT const TextEncoding& UTF32LittleEndianEncoding(); | 83 WTF_EXPORT const TextEncoding& UTF32LittleEndianEncoding(); |
| 83 WTF_EXPORT const TextEncoding& UTF8Encoding(); | 84 WTF_EXPORT const TextEncoding& UTF8Encoding(); |
| 84 WTF_EXPORT const TextEncoding& WindowsLatin1Encoding(); | 85 WTF_EXPORT const TextEncoding& WindowsLatin1Encoding(); |
| 85 | 86 |
| 86 } // namespace WTF | 87 } // namespace WTF |
| 87 | 88 |
| 88 using WTF::ASCIIEncoding; | 89 using WTF::ASCIIEncoding; |
| 89 using WTF::Latin1Encoding; | 90 using WTF::Latin1Encoding; |
| 90 using WTF::UTF16BigEndianEncoding; | 91 using WTF::UTF16BigEndianEncoding; |
| 91 using WTF::UTF16LittleEndianEncoding; | 92 using WTF::UTF16LittleEndianEncoding; |
| 93 using WTF::UTF32Encoding; |
| 92 using WTF::UTF32BigEndianEncoding; | 94 using WTF::UTF32BigEndianEncoding; |
| 93 using WTF::UTF32LittleEndianEncoding; | 95 using WTF::UTF32LittleEndianEncoding; |
| 94 using WTF::UTF8Encoding; | 96 using WTF::UTF8Encoding; |
| 95 using WTF::WindowsLatin1Encoding; | 97 using WTF::WindowsLatin1Encoding; |
| 96 | 98 |
| 97 #endif // TextEncoding_h | 99 #endif // TextEncoding_h |
| OLD | NEW |