| 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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 size_t find(char character, unsigned start = 0); | 371 size_t find(char character, unsigned start = 0); |
| 372 size_t find(UChar character, unsigned start = 0); | 372 size_t find(UChar character, unsigned start = 0); |
| 373 size_t find(CharacterMatchFunctionPtr, unsigned index = 0); | 373 size_t find(CharacterMatchFunctionPtr, unsigned index = 0); |
| 374 | 374 |
| 375 // Find substrings. | 375 // Find substrings. |
| 376 size_t find(const StringView&, unsigned index = 0); | 376 size_t find(const StringView&, unsigned index = 0); |
| 377 size_t findIgnoringCase(const StringView&, unsigned index = 0); | 377 size_t findIgnoringCase(const StringView&, unsigned index = 0); |
| 378 size_t findIgnoringASCIICase(const StringView&, unsigned index = 0); | 378 size_t findIgnoringASCIICase(const StringView&, unsigned index = 0); |
| 379 | 379 |
| 380 size_t reverseFind(UChar, unsigned index = UINT_MAX); | 380 size_t reverseFind(UChar, unsigned index = UINT_MAX); |
| 381 size_t reverseFind(StringImpl*, unsigned index = UINT_MAX); | 381 size_t reverseFind(const StringView&, unsigned index = UINT_MAX); |
| 382 | 382 |
| 383 bool startsWith(UChar) const; | 383 bool startsWith(UChar) const; |
| 384 bool startsWith(const StringView&) const; | 384 bool startsWith(const StringView&) const; |
| 385 bool startsWithIgnoringCase(const StringView&) const; | 385 bool startsWithIgnoringCase(const StringView&) const; |
| 386 bool startsWithIgnoringASCIICase(const StringView&) const; | 386 bool startsWithIgnoringASCIICase(const StringView&) const; |
| 387 | 387 |
| 388 bool endsWith(UChar) const; | 388 bool endsWith(UChar) const; |
| 389 bool endsWith(const StringView&) const; | 389 bool endsWith(const StringView&) const; |
| 390 bool endsWithIgnoringCase(const StringView&) const; | 390 bool endsWithIgnoringCase(const StringView&) const; |
| 391 bool endsWithIgnoringASCIICase(const StringView&) const; | 391 bool endsWithIgnoringASCIICase(const StringView&) const; |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 709 } // namespace WTF | 709 } // namespace WTF |
| 710 | 710 |
| 711 using WTF::StringImpl; | 711 using WTF::StringImpl; |
| 712 using WTF::TextCaseASCIIInsensitive; | 712 using WTF::TextCaseASCIIInsensitive; |
| 713 using WTF::TextCaseInsensitive; | 713 using WTF::TextCaseInsensitive; |
| 714 using WTF::TextCaseSensitive; | 714 using WTF::TextCaseSensitive; |
| 715 using WTF::TextCaseSensitivity; | 715 using WTF::TextCaseSensitivity; |
| 716 using WTF::equal; | 716 using WTF::equal; |
| 717 using WTF::equalNonNull; | 717 using WTF::equalNonNull; |
| 718 using WTF::lengthOfNullTerminatedString; | 718 using WTF::lengthOfNullTerminatedString; |
| 719 using WTF::reverseFind; |
| 719 | 720 |
| 720 #endif | 721 #endif |
| OLD | NEW |