| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights
reserved. | 3 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights
reserved. |
| 4 * Copyright (C) 2009 Google Inc. All rights reserved. | 4 * Copyright (C) 2009 Google Inc. 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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 template<unsigned matchLength> | 390 template<unsigned matchLength> |
| 391 bool endsWith(const char (&prefix)[matchLength], bool caseSensitive = true)
const { return endsWith(prefix, matchLength - 1, caseSensitive); } | 391 bool endsWith(const char (&prefix)[matchLength], bool caseSensitive = true)
const { return endsWith(prefix, matchLength - 1, caseSensitive); } |
| 392 | 392 |
| 393 PassRefPtr<StringImpl> replace(UChar, UChar); | 393 PassRefPtr<StringImpl> replace(UChar, UChar); |
| 394 PassRefPtr<StringImpl> replace(UChar, StringImpl*); | 394 PassRefPtr<StringImpl> replace(UChar, StringImpl*); |
| 395 ALWAYS_INLINE PassRefPtr<StringImpl> replace(UChar pattern, const char* repl
acement, unsigned replacementLength) { return replace(pattern, reinterpret_cast<
const LChar*>(replacement), replacementLength); } | 395 ALWAYS_INLINE PassRefPtr<StringImpl> replace(UChar pattern, const char* repl
acement, unsigned replacementLength) { return replace(pattern, reinterpret_cast<
const LChar*>(replacement), replacementLength); } |
| 396 PassRefPtr<StringImpl> replace(UChar, const LChar*, unsigned replacementLeng
th); | 396 PassRefPtr<StringImpl> replace(UChar, const LChar*, unsigned replacementLeng
th); |
| 397 PassRefPtr<StringImpl> replace(UChar, const UChar*, unsigned replacementLeng
th); | 397 PassRefPtr<StringImpl> replace(UChar, const UChar*, unsigned replacementLeng
th); |
| 398 PassRefPtr<StringImpl> replace(StringImpl*, StringImpl*); | 398 PassRefPtr<StringImpl> replace(StringImpl*, StringImpl*); |
| 399 PassRefPtr<StringImpl> replace(unsigned index, unsigned len, StringImpl*); | 399 PassRefPtr<StringImpl> replace(unsigned index, unsigned len, StringImpl*); |
| 400 PassRefPtr<StringImpl> replaceUnpairedSurrogates(); |
| 400 PassRefPtr<StringImpl> upconvertedString(); | 401 PassRefPtr<StringImpl> upconvertedString(); |
| 401 | 402 |
| 402 #if USE(CF) | 403 #if USE(CF) |
| 403 RetainPtr<CFStringRef> createCFString(); | 404 RetainPtr<CFStringRef> createCFString(); |
| 404 #endif | 405 #endif |
| 405 #ifdef __OBJC__ | 406 #ifdef __OBJC__ |
| 406 operator NSString*(); | 407 operator NSString*(); |
| 407 #endif | 408 #endif |
| 408 | 409 |
| 409 #ifdef STRING_STATS | 410 #ifdef STRING_STATS |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 731 } | 732 } |
| 732 | 733 |
| 733 using WTF::StringImpl; | 734 using WTF::StringImpl; |
| 734 using WTF::equal; | 735 using WTF::equal; |
| 735 using WTF::equalNonNull; | 736 using WTF::equalNonNull; |
| 736 using WTF::TextCaseSensitivity; | 737 using WTF::TextCaseSensitivity; |
| 737 using WTF::TextCaseSensitive; | 738 using WTF::TextCaseSensitive; |
| 738 using WTF::TextCaseInsensitive; | 739 using WTF::TextCaseInsensitive; |
| 739 | 740 |
| 740 #endif | 741 #endif |
| OLD | NEW |