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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 size_t findIgnoringASCIICase(StringImpl*, unsigned index = 0); | 377 size_t findIgnoringASCIICase(StringImpl*, unsigned index = 0); |
378 | 378 |
379 size_t findNextLineStart(unsigned index = UINT_MAX); | 379 size_t findNextLineStart(unsigned index = UINT_MAX); |
380 | 380 |
381 size_t reverseFind(UChar, unsigned index = UINT_MAX); | 381 size_t reverseFind(UChar, unsigned index = UINT_MAX); |
382 size_t reverseFind(StringImpl*, unsigned index = UINT_MAX); | 382 size_t reverseFind(StringImpl*, unsigned index = UINT_MAX); |
383 | 383 |
384 size_t count(LChar) const; | 384 size_t count(LChar) const; |
385 | 385 |
386 bool startsWith(UChar) const; | 386 bool startsWith(UChar) const; |
387 bool startsWith(const char*, unsigned matchLength) const; | 387 bool startsWith(const char*, unsigned prefixLength) const; |
388 bool startsWith(const StringImpl*) const; | 388 bool startsWith(const StringImpl*) const; |
| 389 bool startsWithIgnoringCase(const char*, unsigned prefixLength) const; |
389 bool startsWithIgnoringCase(const StringImpl*) const; | 390 bool startsWithIgnoringCase(const StringImpl*) const; |
| 391 bool startsWithIgnoringASCIICase(const char*, unsigned prefixLength) const; |
390 bool startsWithIgnoringASCIICase(const StringImpl*) const; | 392 bool startsWithIgnoringASCIICase(const StringImpl*) const; |
391 | 393 |
392 bool endsWith(UChar) const; | 394 bool endsWith(UChar) const; |
393 bool endsWith(const char*, unsigned matchLength) const; | 395 bool endsWith(const char*, unsigned suffixLength) const; |
394 bool endsWith(const StringImpl*) const; | 396 bool endsWith(const StringImpl*) const; |
| 397 bool endsWithIgnoringCase(const char*, unsigned suffixLength) const; |
395 bool endsWithIgnoringCase(const StringImpl*) const; | 398 bool endsWithIgnoringCase(const StringImpl*) const; |
| 399 bool endsWithIgnoringASCIICase(const char*, unsigned suffixLength) const; |
396 bool endsWithIgnoringASCIICase(const StringImpl*) const; | 400 bool endsWithIgnoringASCIICase(const StringImpl*) const; |
397 | 401 |
398 PassRefPtr<StringImpl> replace(UChar, UChar); | 402 PassRefPtr<StringImpl> replace(UChar, UChar); |
399 PassRefPtr<StringImpl> replace(UChar, StringImpl*); | 403 PassRefPtr<StringImpl> replace(UChar, StringImpl*); |
400 ALWAYS_INLINE PassRefPtr<StringImpl> replace(UChar pattern, const char* repl
acement, unsigned replacementLength) { return replace(pattern, reinterpret_cast<
const LChar*>(replacement), replacementLength); } | 404 ALWAYS_INLINE PassRefPtr<StringImpl> replace(UChar pattern, const char* repl
acement, unsigned replacementLength) { return replace(pattern, reinterpret_cast<
const LChar*>(replacement), replacementLength); } |
401 PassRefPtr<StringImpl> replace(UChar, const LChar*, unsigned replacementLeng
th); | 405 PassRefPtr<StringImpl> replace(UChar, const LChar*, unsigned replacementLeng
th); |
402 PassRefPtr<StringImpl> replace(UChar, const UChar*, unsigned replacementLeng
th); | 406 PassRefPtr<StringImpl> replace(UChar, const UChar*, unsigned replacementLeng
th); |
403 PassRefPtr<StringImpl> replace(StringImpl*, StringImpl*); | 407 PassRefPtr<StringImpl> replace(StringImpl*, StringImpl*); |
404 PassRefPtr<StringImpl> replace(unsigned index, unsigned len, StringImpl*); | 408 PassRefPtr<StringImpl> replace(unsigned index, unsigned len, StringImpl*); |
405 PassRefPtr<StringImpl> upconvertedString(); | 409 PassRefPtr<StringImpl> upconvertedString(); |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
768 | 772 |
769 using WTF::StringImpl; | 773 using WTF::StringImpl; |
770 using WTF::equal; | 774 using WTF::equal; |
771 using WTF::equalNonNull; | 775 using WTF::equalNonNull; |
772 using WTF::TextCaseSensitivity; | 776 using WTF::TextCaseSensitivity; |
773 using WTF::TextCaseSensitive; | 777 using WTF::TextCaseSensitive; |
774 using WTF::TextCaseASCIIInsensitive; | 778 using WTF::TextCaseASCIIInsensitive; |
775 using WTF::TextCaseInsensitive; | 779 using WTF::TextCaseInsensitive; |
776 | 780 |
777 #endif | 781 #endif |
OLD | NEW |