Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Side by Side Diff: Source/wtf/text/AtomicString.h

Issue 207783002: Omit "int" when using "unsigned" modifier (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/wtf/Uint32Array.h ('k') | Source/wtf/text/IntegerToStringConversion.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 operator const String&() const { return m_string; } 89 operator const String&() const { return m_string; }
90 const String& string() const { return m_string; }; 90 const String& string() const { return m_string; };
91 91
92 StringImpl* impl() const { return m_string.impl(); } 92 StringImpl* impl() const { return m_string.impl(); }
93 93
94 bool is8Bit() const { return m_string.is8Bit(); } 94 bool is8Bit() const { return m_string.is8Bit(); }
95 const LChar* characters8() const { return m_string.characters8(); } 95 const LChar* characters8() const { return m_string.characters8(); }
96 const UChar* characters16() const { return m_string.characters16(); } 96 const UChar* characters16() const { return m_string.characters16(); }
97 unsigned length() const { return m_string.length(); } 97 unsigned length() const { return m_string.length(); }
98 98
99 UChar operator[](unsigned int i) const { return m_string[i]; } 99 UChar operator[](unsigned i) const { return m_string[i]; }
100 100
101 bool contains(UChar c) const { return m_string.contains(c); } 101 bool contains(UChar c) const { return m_string.contains(c); }
102 bool contains(const LChar* s, bool caseSensitive = true) const 102 bool contains(const LChar* s, bool caseSensitive = true) const
103 { return m_string.contains(s, caseSensitive); } 103 { return m_string.contains(s, caseSensitive); }
104 bool contains(const String& s, bool caseSensitive = true) const 104 bool contains(const String& s, bool caseSensitive = true) const
105 { return m_string.contains(s, caseSensitive); } 105 { return m_string.contains(s, caseSensitive); }
106 106
107 size_t find(UChar c, size_t start = 0) const { return m_string.find(c, start ); } 107 size_t find(UChar c, size_t start = 0) const { return m_string.find(c, start ); }
108 size_t find(const LChar* s, size_t start = 0, bool caseSentitive = true) con st 108 size_t find(const LChar* s, size_t start = 0, bool caseSentitive = true) con st
109 { return m_string.find(s, start, caseSentitive); } 109 { return m_string.find(s, start, caseSentitive); }
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 using WTF::nullAtom; 264 using WTF::nullAtom;
265 using WTF::emptyAtom; 265 using WTF::emptyAtom;
266 using WTF::starAtom; 266 using WTF::starAtom;
267 using WTF::xmlAtom; 267 using WTF::xmlAtom;
268 using WTF::xmlnsAtom; 268 using WTF::xmlnsAtom;
269 using WTF::xlinkAtom; 269 using WTF::xlinkAtom;
270 #endif 270 #endif
271 271
272 #include "wtf/text/StringConcatenate.h" 272 #include "wtf/text/StringConcatenate.h"
273 #endif // AtomicString_h 273 #endif // AtomicString_h
OLDNEW
« no previous file with comments | « Source/wtf/Uint32Array.h ('k') | Source/wtf/text/IntegerToStringConversion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698