| 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, 2010, 2012 Apple Inc. All rights | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010, 2012 Apple Inc. All rights |
| 4 * reserved. | 4 * reserved. |
| 5 * Copyright (C) 2007-2009 Torch Mobile, Inc. | 5 * Copyright (C) 2007-2009 Torch Mobile, Inc. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 return String(); | 287 return String(); |
| 288 return m_impl->lower(localeIdentifier); | 288 return m_impl->lower(localeIdentifier); |
| 289 } | 289 } |
| 290 | 290 |
| 291 String String::upper(const AtomicString& localeIdentifier) const { | 291 String String::upper(const AtomicString& localeIdentifier) const { |
| 292 if (!m_impl) | 292 if (!m_impl) |
| 293 return String(); | 293 return String(); |
| 294 return m_impl->upper(localeIdentifier); | 294 return m_impl->upper(localeIdentifier); |
| 295 } | 295 } |
| 296 | 296 |
| 297 String String::upperASCII() const { |
| 298 if (!m_impl) |
| 299 return String(); |
| 300 return m_impl->upperASCII(); |
| 301 } |
| 302 |
| 297 String String::stripWhiteSpace() const { | 303 String String::stripWhiteSpace() const { |
| 298 if (!m_impl) | 304 if (!m_impl) |
| 299 return String(); | 305 return String(); |
| 300 return m_impl->stripWhiteSpace(); | 306 return m_impl->stripWhiteSpace(); |
| 301 } | 307 } |
| 302 | 308 |
| 303 String String::stripWhiteSpace(IsWhiteSpaceFunctionPtr isWhiteSpace) const { | 309 String String::stripWhiteSpace(IsWhiteSpaceFunctionPtr isWhiteSpace) const { |
| 304 if (!m_impl) | 310 if (!m_impl) |
| 305 return String(); | 311 return String(); |
| 306 return m_impl->stripWhiteSpace(isWhiteSpace); | 312 return m_impl->stripWhiteSpace(isWhiteSpace); |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 817 return out << '"'; | 823 return out << '"'; |
| 818 } | 824 } |
| 819 | 825 |
| 820 #ifndef NDEBUG | 826 #ifndef NDEBUG |
| 821 void String::show() const { | 827 void String::show() const { |
| 822 dataLogF("%s\n", asciiDebug(impl()).data()); | 828 dataLogF("%s\n", asciiDebug(impl()).data()); |
| 823 } | 829 } |
| 824 #endif | 830 #endif |
| 825 | 831 |
| 826 } // namespace WTF | 832 } // namespace WTF |
| OLD | NEW |