| 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 * |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 String simplifyWhiteSpace(IsWhiteSpaceFunctionPtr, | 298 String simplifyWhiteSpace(IsWhiteSpaceFunctionPtr, |
| 299 StripBehavior = StripExtraWhiteSpace) const; | 299 StripBehavior = StripExtraWhiteSpace) const; |
| 300 | 300 |
| 301 String removeCharacters(CharacterMatchFunctionPtr) const; | 301 String removeCharacters(CharacterMatchFunctionPtr) const; |
| 302 template <bool isSpecialCharacter(UChar)> | 302 template <bool isSpecialCharacter(UChar)> |
| 303 bool isAllSpecialCharacters() const; | 303 bool isAllSpecialCharacters() const; |
| 304 | 304 |
| 305 // Return the string with case folded for case insensitive comparison. | 305 // Return the string with case folded for case insensitive comparison. |
| 306 String foldCase() const; | 306 String foldCase() const; |
| 307 | 307 |
| 308 static String format(const char*, ...) WTF_ATTRIBUTE_PRINTF(1, 2); | 308 PRINTF_FORMAT(1, 2) static String format(const char*, ...); |
| 309 | 309 |
| 310 // Returns an uninitialized string. The characters needs to be written | 310 // Returns an uninitialized string. The characters needs to be written |
| 311 // into the buffer returned in data before the returned string is used. | 311 // into the buffer returned in data before the returned string is used. |
| 312 // Failure to do this will have unpredictable results. | 312 // Failure to do this will have unpredictable results. |
| 313 static String createUninitialized(unsigned length, UChar*& data) { | 313 static String createUninitialized(unsigned length, UChar*& data) { |
| 314 return StringImpl::createUninitialized(length, data); | 314 return StringImpl::createUninitialized(length, data); |
| 315 } | 315 } |
| 316 static String createUninitialized(unsigned length, LChar*& data) { | 316 static String createUninitialized(unsigned length, LChar*& data) { |
| 317 return StringImpl::createUninitialized(length, data); | 317 return StringImpl::createUninitialized(length, data); |
| 318 } | 318 } |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 652 using WTF::emptyString; | 652 using WTF::emptyString; |
| 653 using WTF::emptyString16Bit; | 653 using WTF::emptyString16Bit; |
| 654 using WTF::charactersAreAllASCII; | 654 using WTF::charactersAreAllASCII; |
| 655 using WTF::equal; | 655 using WTF::equal; |
| 656 using WTF::find; | 656 using WTF::find; |
| 657 using WTF::isAllSpecialCharacters; | 657 using WTF::isAllSpecialCharacters; |
| 658 using WTF::isSpaceOrNewline; | 658 using WTF::isSpaceOrNewline; |
| 659 | 659 |
| 660 #include "wtf/text/AtomicString.h" | 660 #include "wtf/text/AtomicString.h" |
| 661 #endif // WTFString_h | 661 #endif // WTFString_h |
| OLD | NEW |