Lines Matching refs:other
122 datetime::delta::operator==(const datetime::delta& other) const in operator ==()
124 return seconds == other.seconds && useconds == other.useconds; in operator ==()
134 datetime::delta::operator!=(const datetime::delta& other) const in operator !=()
136 return !(*this == other); in operator !=()
146 datetime::delta::operator<(const datetime::delta& other) const in operator <()
148 return seconds < other.seconds || in operator <()
149 (seconds == other.seconds && useconds < other.useconds); in operator <()
160 datetime::delta::operator<=(const datetime::delta& other) const in operator <=()
162 return (*this) < other || (*this) == other; in operator <=()
172 datetime::delta::operator>(const datetime::delta& other) const in operator >()
174 return seconds > other.seconds || in operator >()
175 (seconds == other.seconds && useconds > other.useconds); in operator >()
186 datetime::delta::operator>=(const datetime::delta& other) const in operator >=()
188 return (*this) > other || (*this) == other; in operator >=()
198 datetime::delta::operator+(const datetime::delta& other) const in operator +()
201 other.to_microseconds()); in operator +()
211 datetime::delta::operator+=(const datetime::delta& other) in operator +=() argument
213 *this = *this + other; in operator +=()
461 datetime::timestamp::operator==(const datetime::timestamp& other) const in operator ==()
463 return _pimpl->data.tv_sec == other._pimpl->data.tv_sec && in operator ==()
464 _pimpl->data.tv_usec == other._pimpl->data.tv_usec; in operator ==()
474 datetime::timestamp::operator!=(const datetime::timestamp& other) const in operator !=()
476 return !(*this == other); in operator !=()
486 datetime::timestamp::operator<(const datetime::timestamp& other) const in operator <()
488 return to_microseconds() < other.to_microseconds(); in operator <()
499 datetime::timestamp::operator<=(const datetime::timestamp& other) const in operator <=()
501 return to_microseconds() <= other.to_microseconds(); in operator <=()
511 datetime::timestamp::operator>(const datetime::timestamp& other) const in operator >()
513 return to_microseconds() > other.to_microseconds(); in operator >()
524 datetime::timestamp::operator>=(const datetime::timestamp& other) const in operator >=()
526 return to_microseconds() >= other.to_microseconds(); in operator >=()
536 datetime::timestamp::operator+(const datetime::delta& other) const in operator +()
539 other.to_microseconds()); in operator +()
549 datetime::timestamp::operator+=(const datetime::delta& other) in operator +=() argument
551 *this = *this + other; in operator +=()
562 datetime::timestamp::operator-(const datetime::delta& other) const in operator -()
565 other.to_microseconds()); in operator -()
575 datetime::timestamp::operator-=(const datetime::delta& other) in operator -=() argument
577 *this = *this - other; in operator -=()
591 datetime::timestamp::operator-(const datetime::timestamp& other) const in operator -()
597 if ((*this) < other) in operator -()
600 other.to_microseconds()); in operator -()