Home | History | Annotate | Download | only in vintf

Lines Matching refs:other

36     inline bool operator==(const Version &other) const {
37 return majorVer == other.majorVer && minorVer == other.minorVer;
39 inline bool operator!=(const Version &other) const {
40 return !((*this) == other);
42 inline bool operator<(const Version &other) const {
43 if (majorVer < other.majorVer)
45 if (majorVer > other.majorVer)
47 return minorVer < other.minorVer;
49 inline bool operator>(const Version &other) const {
50 return other < (*this);
52 inline bool operator<=(const Version &other) const {
53 return !((*this) > other);
55 inline bool operator>=(const Version &other) const {
56 return !((*this) < other);
70 inline bool operator==(const KernelVersion &other) const {
71 return version == other.version
72 && majorRev == other.majorRev
73 && minorRev == other.minorRev;
75 inline bool operator!=(const KernelVersion &other) const {
76 return !((*this) == other);