OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 #ifndef Sk64_DEFINED | 10 #ifndef Sk64_DEFINED |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 return a.fHi < b.fHi || (a.fHi == b.fHi && a.fLo <= b.fLo); | 214 return a.fHi < b.fHi || (a.fHi == b.fHi && a.fLo <= b.fLo); |
215 } | 215 } |
216 | 216 |
217 friend bool operator>(const Sk64& a, const Sk64& b) { | 217 friend bool operator>(const Sk64& a, const Sk64& b) { |
218 return a.fHi > b.fHi || (a.fHi == b.fHi && a.fLo > b.fLo); | 218 return a.fHi > b.fHi || (a.fHi == b.fHi && a.fLo > b.fLo); |
219 } | 219 } |
220 | 220 |
221 friend bool operator>=(const Sk64& a, const Sk64& b) { | 221 friend bool operator>=(const Sk64& a, const Sk64& b) { |
222 return a.fHi > b.fHi || (a.fHi == b.fHi && a.fLo >= b.fLo); | 222 return a.fHi > b.fHi || (a.fHi == b.fHi && a.fLo >= b.fLo); |
223 } | 223 } |
224 | |
225 #ifdef SkLONGLONG | |
226 SkLONGLONG getLongLong() const; | |
227 #endif | |
228 }; | 224 }; |
229 | 225 |
230 #endif | 226 #endif |
OLD | NEW |