| 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 266 | 266 | 
| 267 String String::Substring(unsigned pos, unsigned len) const { | 267 String String::Substring(unsigned pos, unsigned len) const { | 
| 268   if (!impl_) | 268   if (!impl_) | 
| 269     return String(); | 269     return String(); | 
| 270   return impl_->Substring(pos, len); | 270   return impl_->Substring(pos, len); | 
| 271 } | 271 } | 
| 272 | 272 | 
| 273 String String::DeprecatedLower() const { | 273 String String::DeprecatedLower() const { | 
| 274   if (!impl_) | 274   if (!impl_) | 
| 275     return String(); | 275     return String(); | 
| 276   return impl_->Lower(); | 276   return impl_->LowerUnicode(); | 
| 277 } | 277 } | 
| 278 | 278 | 
| 279 String String::DeprecatedUpper() const { | 279 String String::DeprecatedUpper() const { | 
| 280   if (!impl_) | 280   if (!impl_) | 
| 281     return String(); | 281     return String(); | 
| 282   return impl_->Upper(); | 282   return impl_->UpperUnicode(); | 
| 283 } | 283 } | 
| 284 | 284 | 
| 285 String String::Lower(const AtomicString& locale_identifier) const { | 285 String String::LowerUnicode(const AtomicString& locale_identifier) const { | 
| 286   if (!impl_) | 286   if (!impl_) | 
| 287     return String(); | 287     return String(); | 
| 288   return impl_->Lower(locale_identifier); | 288   return impl_->LowerUnicode(locale_identifier); | 
| 289 } | 289 } | 
| 290 | 290 | 
| 291 String String::Upper(const AtomicString& locale_identifier) const { | 291 String String::UpperUnicode(const AtomicString& locale_identifier) const { | 
| 292   if (!impl_) | 292   if (!impl_) | 
| 293     return String(); | 293     return String(); | 
| 294   return impl_->Upper(locale_identifier); | 294   return impl_->UpperUnicode(locale_identifier); | 
| 295 } | 295 } | 
| 296 | 296 | 
| 297 String String::UpperASCII() const { | 297 String String::UpperASCII() const { | 
| 298   if (!impl_) | 298   if (!impl_) | 
| 299     return String(); | 299     return String(); | 
| 300   return impl_->UpperASCII(); | 300   return impl_->UpperASCII(); | 
| 301 } | 301 } | 
| 302 | 302 | 
| 303 String String::StripWhiteSpace() const { | 303 String String::StripWhiteSpace() const { | 
| 304   if (!impl_) | 304   if (!impl_) | 
| (...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 824   return out << '"'; | 824   return out << '"'; | 
| 825 } | 825 } | 
| 826 | 826 | 
| 827 #ifndef NDEBUG | 827 #ifndef NDEBUG | 
| 828 void String::Show() const { | 828 void String::Show() const { | 
| 829   DataLogF("%s\n", AsciiDebug(Impl()).Data()); | 829   DataLogF("%s\n", AsciiDebug(Impl()).Data()); | 
| 830 } | 830 } | 
| 831 #endif | 831 #endif | 
| 832 | 832 | 
| 833 }  // namespace WTF | 833 }  // namespace WTF | 
| OLD | NEW | 
|---|