| 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 String simplifyWhiteSpace(IsWhiteSpaceFunctionPtr, | 296 String simplifyWhiteSpace(IsWhiteSpaceFunctionPtr, |
| 297 StripBehavior = StripExtraWhiteSpace) const; | 297 StripBehavior = StripExtraWhiteSpace) const; |
| 298 | 298 |
| 299 String removeCharacters(CharacterMatchFunctionPtr) const; | 299 String removeCharacters(CharacterMatchFunctionPtr) const; |
| 300 template <bool isSpecialCharacter(UChar)> | 300 template <bool isSpecialCharacter(UChar)> |
| 301 bool isAllSpecialCharacters() const; | 301 bool isAllSpecialCharacters() const; |
| 302 | 302 |
| 303 // Return the string with case folded for case insensitive comparison. | 303 // Return the string with case folded for case insensitive comparison. |
| 304 String foldCase() const; | 304 String foldCase() const; |
| 305 | 305 |
| 306 PRINTF_FORMAT(1, 2) static String format(const char*, ...); | 306 // Takes a printf format and args and prints into a String. |
| 307 PRINTF_FORMAT(1, 2) static String format(const char* format, ...); |
| 307 | 308 |
| 308 // Returns an uninitialized string. The characters needs to be written | 309 // Returns an uninitialized string. The characters needs to be written |
| 309 // into the buffer returned in data before the returned string is used. | 310 // into the buffer returned in data before the returned string is used. |
| 310 // Failure to do this will have unpredictable results. | 311 // Failure to do this will have unpredictable results. |
| 311 static String createUninitialized(unsigned length, UChar*& data) { | 312 static String createUninitialized(unsigned length, UChar*& data) { |
| 312 return StringImpl::createUninitialized(length, data); | 313 return StringImpl::createUninitialized(length, data); |
| 313 } | 314 } |
| 314 static String createUninitialized(unsigned length, LChar*& data) { | 315 static String createUninitialized(unsigned length, LChar*& data) { |
| 315 return StringImpl::createUninitialized(length, data); | 316 return StringImpl::createUninitialized(length, data); |
| 316 } | 317 } |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 622 using WTF::String; | 623 using WTF::String; |
| 623 using WTF::emptyString; | 624 using WTF::emptyString; |
| 624 using WTF::emptyString16Bit; | 625 using WTF::emptyString16Bit; |
| 625 using WTF::charactersAreAllASCII; | 626 using WTF::charactersAreAllASCII; |
| 626 using WTF::equal; | 627 using WTF::equal; |
| 627 using WTF::find; | 628 using WTF::find; |
| 628 using WTF::isSpaceOrNewline; | 629 using WTF::isSpaceOrNewline; |
| 629 | 630 |
| 630 #include "wtf/text/AtomicString.h" | 631 #include "wtf/text/AtomicString.h" |
| 631 #endif // WTFString_h | 632 #endif // WTFString_h |
| OLD | NEW |