| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) 1999 Lars Knoll (knoll@kde.org) | 2 * (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 647 } | 647 } |
| 648 } | 648 } |
| 649 | 649 |
| 650 // StringHash is the default hash for String | 650 // StringHash is the default hash for String |
| 651 template<typename T> struct DefaultHash; | 651 template<typename T> struct DefaultHash; |
| 652 template<> struct DefaultHash<String> { | 652 template<> struct DefaultHash<String> { |
| 653 typedef StringHash Hash; | 653 typedef StringHash Hash; |
| 654 }; | 654 }; |
| 655 | 655 |
| 656 // Shared global empty string. | 656 // Shared global empty string. |
| 657 WTF_EXPORT const String& emptyString(); | 657 WTF_EXPORT const String& emptyString(bool is8Bit = true); |
| 658 WTF_EXPORT extern const String& xmlnsWithColon; | 658 WTF_EXPORT extern const String& xmlnsWithColon; |
| 659 | 659 |
| 660 } // namespace WTF | 660 } // namespace WTF |
| 661 | 661 |
| 662 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(String); | 662 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(String); |
| 663 | 663 |
| 664 using WTF::CString; | 664 using WTF::CString; |
| 665 using WTF::KeepTrailingZeros; | 665 using WTF::KeepTrailingZeros; |
| 666 using WTF::StrictUTF8Conversion; | 666 using WTF::StrictUTF8Conversion; |
| 667 using WTF::StrictUTF8ConversionReplacingUnpairedSurrogatesWithFFFD; | 667 using WTF::StrictUTF8ConversionReplacingUnpairedSurrogatesWithFFFD; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 684 using WTF::charactersToFloat; | 684 using WTF::charactersToFloat; |
| 685 using WTF::equal; | 685 using WTF::equal; |
| 686 using WTF::equalIgnoringCase; | 686 using WTF::equalIgnoringCase; |
| 687 using WTF::find; | 687 using WTF::find; |
| 688 using WTF::isAllSpecialCharacters; | 688 using WTF::isAllSpecialCharacters; |
| 689 using WTF::isSpaceOrNewline; | 689 using WTF::isSpaceOrNewline; |
| 690 using WTF::reverseFind; | 690 using WTF::reverseFind; |
| 691 | 691 |
| 692 #include "wtf/text/AtomicString.h" | 692 #include "wtf/text/AtomicString.h" |
| 693 #endif // WTFString_h | 693 #endif // WTFString_h |
| OLD | NEW |