| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 operator const String&() const { return m_string; } | 89 operator const String&() const { return m_string; } |
| 90 const String& string() const { return m_string; }; | 90 const String& string() const { return m_string; }; |
| 91 | 91 |
| 92 StringImpl* impl() const { return m_string.impl(); } | 92 StringImpl* impl() const { return m_string.impl(); } |
| 93 | 93 |
| 94 bool is8Bit() const { return m_string.is8Bit(); } | 94 bool is8Bit() const { return m_string.is8Bit(); } |
| 95 const LChar* characters8() const { return m_string.characters8(); } | 95 const LChar* characters8() const { return m_string.characters8(); } |
| 96 const UChar* characters16() const { return m_string.characters16(); } | 96 const UChar* characters16() const { return m_string.characters16(); } |
| 97 unsigned length() const { return m_string.length(); } | 97 unsigned length() const { return m_string.length(); } |
| 98 | 98 |
| 99 UChar operator[](unsigned int i) const { return m_string[i]; } | 99 UChar operator[](unsigned i) const { return m_string[i]; } |
| 100 | 100 |
| 101 bool contains(UChar c) const { return m_string.contains(c); } | 101 bool contains(UChar c) const { return m_string.contains(c); } |
| 102 bool contains(const LChar* s, bool caseSensitive = true) const | 102 bool contains(const LChar* s, bool caseSensitive = true) const |
| 103 { return m_string.contains(s, caseSensitive); } | 103 { return m_string.contains(s, caseSensitive); } |
| 104 bool contains(const String& s, bool caseSensitive = true) const | 104 bool contains(const String& s, bool caseSensitive = true) const |
| 105 { return m_string.contains(s, caseSensitive); } | 105 { return m_string.contains(s, caseSensitive); } |
| 106 | 106 |
| 107 size_t find(UChar c, size_t start = 0) const { return m_string.find(c, start
); } | 107 size_t find(UChar c, size_t start = 0) const { return m_string.find(c, start
); } |
| 108 size_t find(const LChar* s, size_t start = 0, bool caseSentitive = true) con
st | 108 size_t find(const LChar* s, size_t start = 0, bool caseSentitive = true) con
st |
| 109 { return m_string.find(s, start, caseSentitive); } | 109 { return m_string.find(s, start, caseSentitive); } |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 using WTF::nullAtom; | 264 using WTF::nullAtom; |
| 265 using WTF::emptyAtom; | 265 using WTF::emptyAtom; |
| 266 using WTF::starAtom; | 266 using WTF::starAtom; |
| 267 using WTF::xmlAtom; | 267 using WTF::xmlAtom; |
| 268 using WTF::xmlnsAtom; | 268 using WTF::xmlnsAtom; |
| 269 using WTF::xlinkAtom; | 269 using WTF::xlinkAtom; |
| 270 #endif | 270 #endif |
| 271 | 271 |
| 272 #include "wtf/text/StringConcatenate.h" | 272 #include "wtf/text/StringConcatenate.h" |
| 273 #endif // AtomicString_h | 273 #endif // AtomicString_h |
| OLD | NEW |