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 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(); |
| 658 WTF_EXPORT const String& emptyString16Bit(); |
658 WTF_EXPORT extern const String& xmlnsWithColon; | 659 WTF_EXPORT extern const String& xmlnsWithColon; |
659 | 660 |
660 } // namespace WTF | 661 } // namespace WTF |
661 | 662 |
662 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(String); | 663 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(String); |
663 | 664 |
664 using WTF::CString; | 665 using WTF::CString; |
665 using WTF::KeepTrailingZeros; | 666 using WTF::KeepTrailingZeros; |
666 using WTF::StrictUTF8Conversion; | 667 using WTF::StrictUTF8Conversion; |
667 using WTF::StrictUTF8ConversionReplacingUnpairedSurrogatesWithFFFD; | 668 using WTF::StrictUTF8ConversionReplacingUnpairedSurrogatesWithFFFD; |
668 using WTF::String; | 669 using WTF::String; |
669 using WTF::emptyString; | 670 using WTF::emptyString; |
| 671 using WTF::emptyString16Bit; |
670 using WTF::append; | 672 using WTF::append; |
671 using WTF::appendNumber; | 673 using WTF::appendNumber; |
672 using WTF::charactersAreAllASCII; | 674 using WTF::charactersAreAllASCII; |
673 using WTF::charactersToIntStrict; | 675 using WTF::charactersToIntStrict; |
674 using WTF::charactersToUIntStrict; | 676 using WTF::charactersToUIntStrict; |
675 using WTF::charactersToInt64Strict; | 677 using WTF::charactersToInt64Strict; |
676 using WTF::charactersToUInt64Strict; | 678 using WTF::charactersToUInt64Strict; |
677 using WTF::charactersToIntPtrStrict; | 679 using WTF::charactersToIntPtrStrict; |
678 using WTF::charactersToInt; | 680 using WTF::charactersToInt; |
679 using WTF::charactersToUInt; | 681 using WTF::charactersToUInt; |
680 using WTF::charactersToInt64; | 682 using WTF::charactersToInt64; |
681 using WTF::charactersToUInt64; | 683 using WTF::charactersToUInt64; |
682 using WTF::charactersToIntPtr; | 684 using WTF::charactersToIntPtr; |
683 using WTF::charactersToDouble; | 685 using WTF::charactersToDouble; |
684 using WTF::charactersToFloat; | 686 using WTF::charactersToFloat; |
685 using WTF::equal; | 687 using WTF::equal; |
686 using WTF::equalIgnoringCase; | 688 using WTF::equalIgnoringCase; |
687 using WTF::find; | 689 using WTF::find; |
688 using WTF::isAllSpecialCharacters; | 690 using WTF::isAllSpecialCharacters; |
689 using WTF::isSpaceOrNewline; | 691 using WTF::isSpaceOrNewline; |
690 using WTF::reverseFind; | 692 using WTF::reverseFind; |
691 | 693 |
692 #include "wtf/text/AtomicString.h" | 694 #include "wtf/text/AtomicString.h" |
693 #endif // WTFString_h | 695 #endif // WTFString_h |
OLD | NEW |