| 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. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. |
| 4 * All rights reserved. | 4 * All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| 11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
| 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
| 15 * | 15 * |
| 16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
| 17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
| 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
| 20 * | 20 * |
| 21 */ | 21 */ |
| 22 | 22 |
| 23 #ifndef WTFString_h | 23 #ifndef WTFString_h |
| 24 #define WTFString_h | 24 #define WTFString_h |
| 25 | 25 |
| 26 // This file would be called String.h, but that conflicts with <string.h> | 26 // This file would be called String.h, but that conflicts with <string.h> |
| 27 // on systems without case-sensitive file systems. | 27 // on systems without case-sensitive file systems. |
| 28 | 28 |
| 29 #include <algorithm> |
| 30 #include <iosfwd> |
| 29 #include "wtf/Allocator.h" | 31 #include "wtf/Allocator.h" |
| 30 #include "wtf/Compiler.h" | 32 #include "wtf/Compiler.h" |
| 31 #include "wtf/HashTableDeletedValueType.h" | 33 #include "wtf/HashTableDeletedValueType.h" |
| 32 #include "wtf/WTFExport.h" | 34 #include "wtf/WTFExport.h" |
| 33 #include "wtf/text/ASCIIFastPath.h" | 35 #include "wtf/text/ASCIIFastPath.h" |
| 34 #include "wtf/text/StringImpl.h" | 36 #include "wtf/text/StringImpl.h" |
| 35 #include "wtf/text/StringView.h" | 37 #include "wtf/text/StringView.h" |
| 36 #include <algorithm> | |
| 37 #include <iosfwd> | |
| 38 | 38 |
| 39 #ifdef __OBJC__ | 39 #ifdef __OBJC__ |
| 40 #include <objc/objc.h> | 40 #include <objc/objc.h> |
| 41 #endif | 41 #endif |
| 42 | 42 |
| 43 namespace WTF { | 43 namespace WTF { |
| 44 | 44 |
| 45 class CString; | 45 class CString; |
| 46 struct StringHash; | 46 struct StringHash; |
| 47 | 47 |
| (...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 593 using WTF::String; | 593 using WTF::String; |
| 594 using WTF::emptyString; | 594 using WTF::emptyString; |
| 595 using WTF::emptyString16Bit; | 595 using WTF::emptyString16Bit; |
| 596 using WTF::charactersAreAllASCII; | 596 using WTF::charactersAreAllASCII; |
| 597 using WTF::equal; | 597 using WTF::equal; |
| 598 using WTF::find; | 598 using WTF::find; |
| 599 using WTF::isSpaceOrNewline; | 599 using WTF::isSpaceOrNewline; |
| 600 | 600 |
| 601 #include "wtf/text/AtomicString.h" | 601 #include "wtf/text/AtomicString.h" |
| 602 #endif // WTFString_h | 602 #endif // WTFString_h |
| OLD | NEW |