| 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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 } | 419 } |
| 420 | 420 |
| 421 // Hash table deleted values, which are only constructed and never copied or | 421 // Hash table deleted values, which are only constructed and never copied or |
| 422 // destroyed. | 422 // destroyed. |
| 423 String(WTF::HashTableDeletedValueType) : m_impl(WTF::HashTableDeletedValue) {} | 423 String(WTF::HashTableDeletedValueType) : m_impl(WTF::HashTableDeletedValue) {} |
| 424 bool isHashTableDeletedValue() const { | 424 bool isHashTableDeletedValue() const { |
| 425 return m_impl.isHashTableDeletedValue(); | 425 return m_impl.isHashTableDeletedValue(); |
| 426 } | 426 } |
| 427 | 427 |
| 428 #ifndef NDEBUG | 428 #ifndef NDEBUG |
| 429 // For use in the debugger. |
| 429 void show() const; | 430 void show() const; |
| 430 #endif | 431 #endif |
| 431 | 432 |
| 432 private: | 433 private: |
| 433 typedef struct ImplicitConversionFromWTFStringToBoolDisallowed*( | 434 typedef struct ImplicitConversionFromWTFStringToBoolDisallowed*( |
| 434 String::*UnspecifiedBoolType); | 435 String::*UnspecifiedBoolType); |
| 435 operator UnspecifiedBoolType() const; | 436 operator UnspecifiedBoolType() const; |
| 436 | 437 |
| 437 template <typename CharacterType> | 438 template <typename CharacterType> |
| 438 void appendInternal(CharacterType); | 439 void appendInternal(CharacterType); |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 597 using WTF::String; | 598 using WTF::String; |
| 598 using WTF::emptyString; | 599 using WTF::emptyString; |
| 599 using WTF::emptyString16Bit; | 600 using WTF::emptyString16Bit; |
| 600 using WTF::charactersAreAllASCII; | 601 using WTF::charactersAreAllASCII; |
| 601 using WTF::equal; | 602 using WTF::equal; |
| 602 using WTF::find; | 603 using WTF::find; |
| 603 using WTF::isSpaceOrNewline; | 604 using WTF::isSpaceOrNewline; |
| 604 | 605 |
| 605 #include "wtf/text/AtomicString.h" | 606 #include "wtf/text/AtomicString.h" |
| 606 #endif // WTFString_h | 607 #endif // WTFString_h |
| OLD | NEW |