| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) 1999 Lars Knoll (knoll@kde.org) | 2 * (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. |
| 4 * All rights reserved. | 4 * 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 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 468 inline bool operator!=(const String& a, const char* b) { | 468 inline bool operator!=(const String& a, const char* b) { |
| 469 return !(a == b); | 469 return !(a == b); |
| 470 } | 470 } |
| 471 inline bool operator!=(const char* a, const String& b) { | 471 inline bool operator!=(const char* a, const String& b) { |
| 472 return !(a == b); | 472 return !(a == b); |
| 473 } | 473 } |
| 474 | 474 |
| 475 inline bool EqualPossiblyIgnoringCase(const String& a, | 475 inline bool EqualPossiblyIgnoringCase(const String& a, |
| 476 const String& b, | 476 const String& b, |
| 477 bool ignore_case) { | 477 bool ignore_case) { |
| 478 return ignore_case ? EqualIgnoringCase(a, b) : (a == b); | 478 return ignore_case ? DeprecatedEqualIgnoringCase(a, b) : (a == b); |
| 479 } | 479 } |
| 480 | 480 |
| 481 inline bool EqualIgnoringNullity(const String& a, const String& b) { | 481 inline bool EqualIgnoringNullity(const String& a, const String& b) { |
| 482 return EqualIgnoringNullity(a.Impl(), b.Impl()); | 482 return EqualIgnoringNullity(a.Impl(), b.Impl()); |
| 483 } | 483 } |
| 484 | 484 |
| 485 template <size_t inlineCapacity> | 485 template <size_t inlineCapacity> |
| 486 inline bool EqualIgnoringNullity(const Vector<UChar, inlineCapacity>& a, | 486 inline bool EqualIgnoringNullity(const Vector<UChar, inlineCapacity>& a, |
| 487 const String& b) { | 487 const String& b) { |
| 488 return EqualIgnoringNullity(a, b.Impl()); | 488 return EqualIgnoringNullity(a, b.Impl()); |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 601 using WTF::String; | 601 using WTF::String; |
| 602 using WTF::g_empty_string; | 602 using WTF::g_empty_string; |
| 603 using WTF::g_empty_string16_bit; | 603 using WTF::g_empty_string16_bit; |
| 604 using WTF::CharactersAreAllASCII; | 604 using WTF::CharactersAreAllASCII; |
| 605 using WTF::Equal; | 605 using WTF::Equal; |
| 606 using WTF::Find; | 606 using WTF::Find; |
| 607 using WTF::IsSpaceOrNewline; | 607 using WTF::IsSpaceOrNewline; |
| 608 | 608 |
| 609 #include "wtf/text/AtomicString.h" | 609 #include "wtf/text/AtomicString.h" |
| 610 #endif // WTFString_h | 610 #endif // WTFString_h |
| OLD | NEW |