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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 size_t find(StringImpl*); | 372 size_t find(StringImpl*); |
373 size_t find(StringImpl*, unsigned index); | 373 size_t find(StringImpl*, unsigned index); |
374 size_t findIgnoringCase(const LChar*, unsigned index = 0); | 374 size_t findIgnoringCase(const LChar*, unsigned index = 0); |
375 ALWAYS_INLINE size_t findIgnoringCase(const char* s, unsigned index = 0) { r
eturn findIgnoringCase(reinterpret_cast<const LChar*>(s), index); } | 375 ALWAYS_INLINE size_t findIgnoringCase(const char* s, unsigned index = 0) { r
eturn findIgnoringCase(reinterpret_cast<const LChar*>(s), index); } |
376 size_t findIgnoringCase(StringImpl*, unsigned index = 0); | 376 size_t findIgnoringCase(StringImpl*, unsigned index = 0); |
377 | 377 |
378 size_t findNextLineStart(unsigned index = UINT_MAX); | 378 size_t findNextLineStart(unsigned index = UINT_MAX); |
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(StringImpl*, unsigned index = UINT_MAX); |
382 size_t reverseFindIgnoringCase(StringImpl*, unsigned index = UINT_MAX); | |
383 | 382 |
384 size_t count(LChar) const; | 383 size_t count(LChar) const; |
385 | 384 |
386 bool startsWith(UChar) const; | 385 bool startsWith(UChar) const; |
387 bool startsWith(const char*, unsigned matchLength) const; | 386 bool startsWith(const char*, unsigned matchLength) const; |
388 bool startsWith(const StringImpl*) const; | 387 bool startsWith(const StringImpl*) const; |
389 bool startsWithIgnoringCase(const StringImpl*) const; | 388 bool startsWithIgnoringCase(const StringImpl*) const; |
390 | 389 |
391 bool endsWith(UChar) const; | 390 bool endsWith(UChar) const; |
392 bool endsWith(const char*, unsigned matchLength) const; | 391 bool endsWith(const char*, unsigned matchLength) const; |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 } | 765 } |
767 | 766 |
768 using WTF::StringImpl; | 767 using WTF::StringImpl; |
769 using WTF::equal; | 768 using WTF::equal; |
770 using WTF::equalNonNull; | 769 using WTF::equalNonNull; |
771 using WTF::TextCaseSensitivity; | 770 using WTF::TextCaseSensitivity; |
772 using WTF::TextCaseSensitive; | 771 using WTF::TextCaseSensitive; |
773 using WTF::TextCaseInsensitive; | 772 using WTF::TextCaseInsensitive; |
774 | 773 |
775 #endif | 774 #endif |
OLD | NEW |